Home
last modified time | relevance | path

Searched refs:od (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v5.4/arch/arm/mach-omap2/
Domap_device.c44 static void _add_clkdev(struct omap_device *od, const char *clk_alias, in _add_clkdev() argument
53 dev_dbg(&od->pdev->dev, "Creating %s -> %s\n", clk_alias, clk_name); in _add_clkdev()
55 r = clk_get_sys(dev_name(&od->pdev->dev), clk_alias); in _add_clkdev()
57 dev_dbg(&od->pdev->dev, in _add_clkdev()
73 dev_name(&od->pdev->dev)); in _add_clkdev()
75 rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev), in _add_clkdev()
81 dev_err(&od->pdev->dev, in _add_clkdev()
84 dev_err(&od->pdev->dev, in _add_clkdev()
108 static void _add_hwmod_clocks_clkdev(struct omap_device *od, in _add_hwmod_clocks_clkdev() argument
113 _add_clkdev(od, "fck", oh->main_clk); in _add_hwmod_clocks_clkdev()
[all …]
Domap-iommu.c20 struct omap_device *od; in omap_iommu_set_pwrdm_constraint() local
23 od = to_omap_device(pdev); in omap_iommu_set_pwrdm_constraint()
24 if (!od) in omap_iommu_set_pwrdm_constraint()
27 if (od->hwmods_cnt != 1) in omap_iommu_set_pwrdm_constraint()
30 pwrdm = omap_hwmod_get_pwrdm(od->hwmods[0]); in omap_iommu_set_pwrdm_constraint()
Dhsmmc.c75 struct omap_device *od; in omap_hsmmc_init_one() local
115 od = omap_device_alloc(pdev, ohs, 1); in omap_hsmmc_init_one()
116 if (IS_ERR(od)) { in omap_hsmmc_init_one()
139 omap_device_delete(od); in omap_hsmmc_init_one()
Domap_device.h77 void omap_device_delete(struct omap_device *od);
95 return pdev ? pdev->archdata.od : NULL; in to_omap_device()
/Linux-v5.4/fs/orangefs/
Ddir.c62 struct orangefs_dir *od, struct dentry *dentry, in do_readdir() argument
76 op->upcall.req.readdir.token = od->token; in do_readdir()
83 od->error = bufi; in do_readdir()
100 od->error = r; in do_readdir()
107 od->error = r; in do_readdir()
111 od->error = op->downcall.status; in do_readdir()
121 od->error = -EIO; in do_readdir()
127 od->token = resp->token; in do_readdir()
131 static int parse_readdir(struct orangefs_dir *od, in parse_readdir() argument
138 part = od->part; in parse_readdir()
[all …]
/Linux-v5.4/drivers/dma/
Dowl-dma.c256 static void dma_update(struct owl_dma *od, u32 reg, u32 val, bool state) in dma_update() argument
260 regval = readl(od->base + reg); in dma_update()
267 writel(val, od->base + reg); in dma_update()
270 static void dma_writel(struct owl_dma *od, u32 reg, u32 data) in dma_writel() argument
272 writel(data, od->base + reg); in dma_writel()
275 static u32 dma_readl(struct owl_dma *od, u32 reg) in dma_readl() argument
277 return readl(od->base + reg); in dma_readl()
323 static void owl_dma_free_lli(struct owl_dma *od, in owl_dma_free_lli() argument
327 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli()
330 static struct owl_dma_lli *owl_dma_alloc_lli(struct owl_dma *od) in owl_dma_alloc_lli() argument
[all …]
Dbcm2835-dma.c699 struct bcm2835_dmadev *od = to_bcm2835_dma_dev(chan->device); in bcm2835_dma_prep_dma_cyclic() local
752 if (buf_addr == od->zero_page && !c->is_lite_channel) in bcm2835_dma_prep_dma_cyclic()
847 static void bcm2835_dma_free(struct bcm2835_dmadev *od) in bcm2835_dma_free() argument
851 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free()
857 dma_unmap_page_attrs(od->ddev.dev, od->zero_page, PAGE_SIZE, in bcm2835_dma_free()
885 struct bcm2835_dmadev *od; in bcm2835_dma_probe() local
904 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe()
905 if (!od) in bcm2835_dma_probe()
908 pdev->dev.dma_parms = &od->dma_parms; in bcm2835_dma_probe()
916 od->base = base; in bcm2835_dma_probe()
[all …]
/Linux-v5.4/drivers/dma/ti/
Domap-dma.c231 struct omap_dmadev *od = to_omap_dma_dev(vd->tx.chan->device); in omap_dma_desc_free() local
236 dma_pool_free(od->desc_pool, d->sg[i].t2_desc, in omap_dma_desc_free()
329 static void omap_dma_glbl_write(struct omap_dmadev *od, unsigned reg, unsigned val) in omap_dma_glbl_write() argument
331 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_write()
335 omap_dma_write(val, r->type, od->base + r->offset); in omap_dma_glbl_write()
338 static unsigned omap_dma_glbl_read(struct omap_dmadev *od, unsigned reg) in omap_dma_glbl_read() argument
340 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_read()
344 return omap_dma_read(r->type, od->base + r->offset); in omap_dma_glbl_read()
379 static void omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, in omap_dma_assign() argument
382 c->channel_base = od->base + od->plat->channel_stride * lch; in omap_dma_assign()
[all …]
/Linux-v5.4/drivers/usb/serial/
Domninet.c113 struct omninet_data *od; in omninet_port_probe() local
115 od = kzalloc(sizeof(*od), GFP_KERNEL); in omninet_port_probe()
116 if (!od) in omninet_port_probe()
119 usb_set_serial_port_data(port, od); in omninet_port_probe()
126 struct omninet_data *od; in omninet_port_remove() local
128 od = usb_get_serial_port_data(port); in omninet_port_remove()
129 kfree(od); in omninet_port_remove()
158 struct omninet_data *od = usb_get_serial_port_data(port); in omninet_prepare_write_buffer() local
166 header->oh_seq = od->od_outseq++; in omninet_prepare_write_buffer()
/Linux-v5.4/fs/overlayfs/
Dreaddir.c238 static void ovl_cache_put(struct ovl_dir_file *od, struct dentry *dentry) in ovl_cache_put() argument
240 struct ovl_dir_cache *cache = od->cache; in ovl_cache_put()
336 struct ovl_dir_file *od = file->private_data; in ovl_dir_reset() local
337 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset()
342 ovl_cache_put(od, dentry); in ovl_dir_reset()
343 od->cache = NULL; in ovl_dir_reset()
344 od->cursor = NULL; in ovl_dir_reset()
347 if (od->is_real != is_real) { in ovl_dir_reset()
351 od->is_real = false; in ovl_dir_reset()
391 static void ovl_seek_cursor(struct ovl_dir_file *od, loff_t pos) in ovl_seek_cursor() argument
[all …]
/Linux-v5.4/arch/arm64/crypto/
Dsha1-ce-core.S102 add_update c, od, k0, 9, 10, 11, 8
104 add_update c, od, k0, 11, 8, 9, 10
107 add_update p, od, k1, 9, 10, 11, 8
109 add_update p, od, k1, 11, 8, 9, 10
111 add_update p, od, k2, 9, 10, 11, 8
114 add_update m, od, k2, 11, 8, 9, 10
116 add_update m, od, k2, 9, 10, 11, 8
119 add_update p, od, k3, 11, 8, 9, 10
121 add_only p, od, k3, 10
123 add_only p, od
/Linux-v5.4/drivers/scsi/libsas/
Dsas_host_smp.c74 static u8 *to_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count, u8 *bit) in to_sas_gpio_gp_bit() argument
84 if (od < index * 32) in to_sas_gpio_gp_bit()
87 od -= index * 32; in to_sas_gpio_gp_bit()
88 reg = od >> 5; in to_sas_gpio_gp_bit()
93 od &= (1 << 5) - 1; in to_sas_gpio_gp_bit()
94 byte = 3 - (od >> 3); in to_sas_gpio_gp_bit()
95 *bit = od & ((1 << 3) - 1); in to_sas_gpio_gp_bit()
100 int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count) in try_test_sas_gpio_gp_bit() argument
105 byte = to_sas_gpio_gp_bit(od, data, index, count, &bit); in try_test_sas_gpio_gp_bit()
/Linux-v5.4/fs/ocfs2/
Dquota_local.c871 struct ocfs2_dquot *od = private; in olq_set_dquot() local
873 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot()
876 + ol_dqblk_block_offset(sb, od->dq_local_off)); in olq_set_dquot()
879 od->dq_dquot.dq_id)); in olq_set_dquot()
880 spin_lock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
881 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
882 od->dq_origspace); in olq_set_dquot()
883 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
884 od->dq_originodes); in olq_set_dquot()
885 spin_unlock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
[all …]
/Linux-v5.4/drivers/gpu/drm/meson/
Dmeson_vclk.c435 static inline unsigned int pll_od_to_reg(unsigned int od) in pll_od_to_reg() argument
437 switch (od) { in pll_od_to_reg()
657 unsigned int *od) in meson_hdmi_pll_find_params() argument
660 for (*od = 16 ; *od > 1 ; *od >>= 1) { in meson_hdmi_pll_find_params()
661 *m = meson_hdmi_pll_get_m(priv, freq * *od); in meson_hdmi_pll_find_params()
664 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od); in meson_hdmi_pll_find_params()
667 freq, *m, *frac, *od); in meson_hdmi_pll_find_params()
680 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local
685 if (meson_hdmi_pll_find_params(priv, freq, &m, &frac, &od)) in meson_vclk_dmt_supported_freq()
696 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local
[all …]
/Linux-v5.4/drivers/clk/ingenic/
Dcgu.c77 unsigned m, n, od_enc, od; in ingenic_pll_recalc_rate() local
102 for (od = 0; od < pll_info->od_max; od++) { in ingenic_pll_recalc_rate()
103 if (pll_info->od_encoding[od] == od_enc) in ingenic_pll_recalc_rate()
106 BUG_ON(od == pll_info->od_max); in ingenic_pll_recalc_rate()
107 od++; in ingenic_pll_recalc_rate()
109 return div_u64((u64)parent_rate * m, n * od); in ingenic_pll_recalc_rate()
118 unsigned m, n, od; in ingenic_pll_calc() local
121 od = 1; in ingenic_pll_calc()
131 m = (rate / MHZ) * od * n / (parent_rate / MHZ); in ingenic_pll_calc()
140 *pod = od; in ingenic_pll_calc()
[all …]
/Linux-v5.4/drivers/usb/gadget/function/
Df_uvc.c782 struct uvc_output_terminal_descriptor *od; in uvc_alloc_inst() local
821 od = &opts->uvc_output_terminal; in uvc_alloc_inst()
822 od->bLength = UVC_DT_OUTPUT_TERMINAL_SIZE; in uvc_alloc_inst()
823 od->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst()
824 od->bDescriptorSubType = UVC_VC_OUTPUT_TERMINAL; in uvc_alloc_inst()
825 od->bTerminalID = 3; in uvc_alloc_inst()
826 od->wTerminalType = cpu_to_le16(0x0101); in uvc_alloc_inst()
827 od->bAssocTerminal = 0; in uvc_alloc_inst()
828 od->bSourceID = 2; in uvc_alloc_inst()
829 od->iTerminal = 0; in uvc_alloc_inst()
[all …]
/Linux-v5.4/drivers/clk/sirf/
Dclk-common.c89 u32 od = ((cfg0 >> 19) & (BIT(4) - 1)) + 1; in pll_clk_recalc_rate() local
91 return fin / MHZ * nf / nr / od * MHZ; in pll_clk_recalc_rate()
98 unsigned long fin, nf, nr, od; in pll_clk_round_rate() local
118 od = 1; in pll_clk_round_rate()
121 do_div(dividend, nr * od); in pll_clk_round_rate()
130 unsigned long fin, nf, nr, od, reg; in pll_clk_set_rate() local
147 od = 1; in pll_clk_set_rate()
149 reg = (nf - 1) | ((nr - 1) << 13) | ((od - 1) << 19); in pll_clk_set_rate()
/Linux-v5.4/tools/testing/selftests/kexec/
Dkexec_common_lib.sh83 secureboot_mode=`od -An -t u1 "$secure_boot_file/data"`
84 setup_mode=`od -An -t u1 "$setup_mode_file/data"`
/Linux-v5.4/scripts/gcc-plugins/
Dgen-random-seed.sh5 SEED=`od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n'`
/Linux-v5.4/arch/mips/include/asm/
Dtxx9pio.h18 __u32 od; member
/Linux-v5.4/arch/arm/include/asm/
Ddevice.h26 struct omap_device *od; member
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dopfn.c113 struct hfi1_opfn_data *od; in opfn_send_conn_request() local
116 od = container_of(work, struct hfi1_opfn_data, opfn_work); in opfn_send_conn_request()
117 qpriv = container_of(od, struct hfi1_qp_priv, opfn); in opfn_send_conn_request()
/Linux-v5.4/sound/usb/usx2y/
Dusb_stream.c279 struct usb_iso_packet_descriptor *id, *od; in usb_stream_prepare_playback() local
283 od = io->iso_frame_desc; in usb_stream_prepare_playback()
291 od[p].length = l; in usb_stream_prepare_playback()
292 od[p].offset = lb; in usb_stream_prepare_playback()
304 od[p].length = l; in usb_stream_prepare_playback()
305 od[p].offset = lb; in usb_stream_prepare_playback()
/Linux-v5.4/drivers/block/paride/
Dbpck.c350 { int i, j, k, p, v, f, om, od; in bpck_read_eeprom() local
354 om = pi->mode; od = pi->delay; in bpck_read_eeprom()
396 pi->mode = om; pi->delay = od; in bpck_read_eeprom()
/Linux-v5.4/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,disp.txt42 "mediatek,<chip>-disp-od" - overdrive
200 od@14023000 {
201 compatible = "mediatek,mt8173-disp-od";

123