Home
last modified time | relevance | path

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

123

/Linux-v4.19/arch/arm/mach-omap2/
Domap_device.c49 static void _add_clkdev(struct omap_device *od, const char *clk_alias, in _add_clkdev() argument
58 dev_dbg(&od->pdev->dev, "Creating %s -> %s\n", clk_alias, clk_name); in _add_clkdev()
60 r = clk_get_sys(dev_name(&od->pdev->dev), clk_alias); in _add_clkdev()
62 dev_dbg(&od->pdev->dev, in _add_clkdev()
78 dev_name(&od->pdev->dev)); in _add_clkdev()
80 rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev), in _add_clkdev()
86 dev_err(&od->pdev->dev, in _add_clkdev()
89 dev_err(&od->pdev->dev, in _add_clkdev()
113 static void _add_hwmod_clocks_clkdev(struct omap_device *od, in _add_hwmod_clocks_clkdev() argument
118 _add_clkdev(od, "fck", oh->main_clk); in _add_hwmod_clocks_clkdev()
[all …]
Dhsmmc.c80 struct omap_device *od; in omap_hsmmc_init_one() local
120 od = omap_device_alloc(pdev, ohs, 1); in omap_hsmmc_init_one()
121 if (IS_ERR(od)) { in omap_hsmmc_init_one()
144 omap_device_delete(od); in omap_hsmmc_init_one()
Domap_device.h80 void omap_device_delete(struct omap_device *od);
98 return pdev ? pdev->archdata.od : NULL; in to_omap_device()
/Linux-v4.19/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-v4.19/drivers/dma/
Dowl-dma.c248 static void dma_update(struct owl_dma *od, u32 reg, u32 val, bool state) in dma_update() argument
252 regval = readl(od->base + reg); in dma_update()
259 writel(val, od->base + reg); in dma_update()
262 static void dma_writel(struct owl_dma *od, u32 reg, u32 data) in dma_writel() argument
264 writel(data, od->base + reg); in dma_writel()
267 static u32 dma_readl(struct owl_dma *od, u32 reg) in dma_readl() argument
269 return readl(od->base + reg); in dma_readl()
315 static void owl_dma_free_lli(struct owl_dma *od, in owl_dma_free_lli() argument
319 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli()
322 static struct owl_dma_lli *owl_dma_alloc_lli(struct owl_dma *od) in owl_dma_alloc_lli() argument
[all …]
Dbcm2835-dma.c872 static void bcm2835_dma_free(struct bcm2835_dmadev *od) in bcm2835_dma_free() argument
876 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free()
907 struct bcm2835_dmadev *od; in bcm2835_dma_probe() local
924 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe()
925 if (!od) in bcm2835_dma_probe()
928 pdev->dev.dma_parms = &od->dma_parms; in bcm2835_dma_probe()
936 od->base = base; in bcm2835_dma_probe()
938 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); in bcm2835_dma_probe()
939 dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask); in bcm2835_dma_probe()
940 dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); in bcm2835_dma_probe()
[all …]
/Linux-v4.19/drivers/dma/ti/
Domap-dma.c232 struct omap_dmadev *od = to_omap_dma_dev(vd->tx.chan->device); in omap_dma_desc_free() local
237 dma_pool_free(od->desc_pool, d->sg[i].t2_desc, in omap_dma_desc_free()
330 static void omap_dma_glbl_write(struct omap_dmadev *od, unsigned reg, unsigned val) in omap_dma_glbl_write() argument
332 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_write()
336 omap_dma_write(val, r->type, od->base + r->offset); in omap_dma_glbl_write()
339 static unsigned omap_dma_glbl_read(struct omap_dmadev *od, unsigned reg) in omap_dma_glbl_read() argument
341 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_read()
345 return omap_dma_read(r->type, od->base + r->offset); in omap_dma_glbl_read()
380 static void omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, in omap_dma_assign() argument
383 c->channel_base = od->base + od->plat->channel_stride * lch; in omap_dma_assign()
[all …]
/Linux-v4.19/drivers/scsi/osd/
Dosd_uld.c87 struct osd_dev od; member
93 struct osd_dev od; member
203 ret = do_test(&oud->od, cmd, arg); in osd_uld_ioctl()
248 odh->od = oud->od; in osduld_path_lookup()
252 return &odh->od; in osduld_path_lookup()
310 odh->od = oud->od; in osduld_info_lookup()
313 return &odh->od; in osduld_info_lookup()
320 void osduld_put_device(struct osd_dev *od) in osduld_put_device() argument
322 if (od && !IS_ERR(od)) { in osduld_put_device()
324 container_of(od, struct osd_dev_handle, od); in osduld_put_device()
[all …]
/Linux-v4.19/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-v4.19/fs/overlayfs/
Dreaddir.c241 static void ovl_cache_put(struct ovl_dir_file *od, struct dentry *dentry) in ovl_cache_put() argument
243 struct ovl_dir_cache *cache = od->cache; in ovl_cache_put()
339 struct ovl_dir_file *od = file->private_data; in ovl_dir_reset() local
340 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset()
345 ovl_cache_put(od, dentry); in ovl_dir_reset()
346 od->cache = NULL; in ovl_dir_reset()
347 od->cursor = NULL; in ovl_dir_reset()
350 if (od->is_real != is_real) { in ovl_dir_reset()
354 od->is_real = false; in ovl_dir_reset()
394 static void ovl_seek_cursor(struct ovl_dir_file *od, loff_t pos) in ovl_seek_cursor() argument
[all …]
/Linux-v4.19/include/scsi/
Dosd_initiator.h71 void osduld_put_device(struct osd_dev *od);
73 const struct osd_dev_info *osduld_device_info(struct osd_dev *od);
74 bool osduld_device_same(struct osd_dev *od, const struct osd_dev_info *odi);
77 typedef int (do_test_fn)(struct osd_dev *od, unsigned cmd, unsigned long arg);
82 void osd_dev_init(struct osd_dev *od, struct scsi_device *scsi_device);
83 void osd_dev_fini(struct osd_dev *od);
100 int osd_auto_detect_ver(struct osd_dev *od,
103 static inline struct request_queue *osd_request_queue(struct osd_dev *od) in osd_request_queue() argument
105 return od->scsi_device->request_queue; in osd_request_queue()
109 static inline void osd_dev_set_ver(struct osd_dev *od, enum osd_std_version v) in osd_dev_set_ver() argument
[all …]
Dosd_ore.h57 struct osd_dev *od; member
84 return oc->ods[i - oc->first_dev]->od; in ore_comp_dev()
88 struct ore_components *oc, unsigned i, struct osd_dev *od) in ore_comp_set_dev() argument
90 oc->ods[i - oc->first_dev]->od = od; in ore_comp_set_dev()
185 typedef void (*ore_on_dev_error)(struct ore_io_state *ios, struct ore_dev *od,
/Linux-v4.19/arch/arm64/crypto/
Dsha1-ce-core.S105 add_update c, od, k0, 9, 10, 11, 8
107 add_update c, od, k0, 11, 8, 9, 10
110 add_update p, od, k1, 9, 10, 11, 8
112 add_update p, od, k1, 11, 8, 9, 10
114 add_update p, od, k2, 9, 10, 11, 8
117 add_update m, od, k2, 11, 8, 9, 10
119 add_update m, od, k2, 9, 10, 11, 8
122 add_update p, od, k3, 11, 8, 9, 10
124 add_only p, od, k3, 10
126 add_only p, od
/Linux-v4.19/fs/exofs/
Dsuper.c229 static int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj, in exofs_read_kern() argument
232 struct osd_request *or = osd_start_request(od); in exofs_read_kern()
261 _LLU(obj->id), _LLU(offset), _LLU(length), od, ret); in exofs_read_kern()
419 struct osd_dev *od, u64 pid) in _exofs_print_device() argument
421 const struct osd_dev_info *odi = osduld_device_info(od); in _exofs_print_device()
433 struct osd_dev *od = ore_comp_dev(&sbi->oc, i); in exofs_free_sbi() local
435 if (od) { in exofs_free_sbi()
437 osduld_put_device(od); in exofs_free_sbi()
638 struct osd_dev *od; in exofs_read_lookup_dev_table() local
657 eds[i].ored.od = fscb_od; in exofs_read_lookup_dev_table()
[all …]
/Linux-v4.19/drivers/scsi/libsas/
Dsas_host_smp.c77 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
87 if (od < index * 32) in to_sas_gpio_gp_bit()
90 od -= index * 32; in to_sas_gpio_gp_bit()
91 reg = od >> 5; in to_sas_gpio_gp_bit()
96 od &= (1 << 5) - 1; in to_sas_gpio_gp_bit()
97 byte = 3 - (od >> 3); in to_sas_gpio_gp_bit()
98 *bit = od & ((1 << 3) - 1); in to_sas_gpio_gp_bit()
103 int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count) in try_test_sas_gpio_gp_bit() argument
108 byte = to_sas_gpio_gp_bit(od, data, index, count, &bit); in try_test_sas_gpio_gp_bit()
/Linux-v4.19/drivers/clk/meson/
Dclk-pll.c49 unsigned int od = pllt->od + pllt->od2 + pllt->od3; in __pll_params_to_rate() local
58 return DIV_ROUND_UP_ULL(rate, pllt->n << od); in __pll_params_to_rate()
71 pllt.od = meson_parm_read(clk->map, &pll->od); in meson_clk_pll_recalc_rate()
96 val <<= pllt->od + pllt->od2 + pllt->od3; in __pll_params_with_frac()
211 meson_parm_write(clk->map, &pll->od, pllt->od); in meson_clk_pll_set_rate()
Dclkc.h50 u16 od; member
60 .od = (_od), \
69 struct parm od; member
/Linux-v4.19/drivers/gpu/drm/meson/
Dmeson_vclk.c407 static inline unsigned int pll_od_to_reg(unsigned int od) in pll_od_to_reg() argument
409 switch (od) { in pll_od_to_reg()
566 unsigned int *od) in meson_hdmi_pll_find_params() argument
569 for (*od = 16 ; *od > 1 ; *od >>= 1) { in meson_hdmi_pll_find_params()
570 *m = meson_hdmi_pll_get_m(priv, freq * *od); in meson_hdmi_pll_find_params()
573 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od); in meson_hdmi_pll_find_params()
576 freq, *m, *frac, *od); in meson_hdmi_pll_find_params()
589 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local
594 if (meson_hdmi_pll_find_params(priv, freq, &m, &frac, &od)) in meson_vclk_dmt_supported_freq()
605 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local
[all …]
/Linux-v4.19/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-v4.19/drivers/clk/ingenic/
Dcgu.c85 unsigned m, n, od_enc, od; in ingenic_pll_recalc_rate() local
111 for (od = 0; od < pll_info->od_max; od++) { in ingenic_pll_recalc_rate()
112 if (pll_info->od_encoding[od] == od_enc) in ingenic_pll_recalc_rate()
115 BUG_ON(od == pll_info->od_max); in ingenic_pll_recalc_rate()
116 od++; in ingenic_pll_recalc_rate()
118 return div_u64((u64)parent_rate * m, n * od); in ingenic_pll_recalc_rate()
127 unsigned m, n, od; in ingenic_pll_calc() local
130 od = 1; in ingenic_pll_calc()
140 m = (rate / MHZ) * od * n / (parent_rate / MHZ); in ingenic_pll_calc()
149 *pod = od; in ingenic_pll_calc()
[all …]
/Linux-v4.19/drivers/usb/gadget/function/
Df_uvc.c792 struct uvc_output_terminal_descriptor *od; in uvc_alloc_inst() local
830 od = &opts->uvc_output_terminal; in uvc_alloc_inst()
831 od->bLength = UVC_DT_OUTPUT_TERMINAL_SIZE; in uvc_alloc_inst()
832 od->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst()
833 od->bDescriptorSubType = UVC_VC_OUTPUT_TERMINAL; in uvc_alloc_inst()
834 od->bTerminalID = 3; in uvc_alloc_inst()
835 od->wTerminalType = cpu_to_le16(0x0101); in uvc_alloc_inst()
836 od->bAssocTerminal = 0; in uvc_alloc_inst()
837 od->bSourceID = 2; in uvc_alloc_inst()
838 od->iTerminal = 0; in uvc_alloc_inst()
[all …]
/Linux-v4.19/drivers/clk/sirf/
Dclk-common.c90 u32 od = ((cfg0 >> 19) & (BIT(4) - 1)) + 1; in pll_clk_recalc_rate() local
92 return fin / MHZ * nf / nr / od * MHZ; in pll_clk_recalc_rate()
99 unsigned long fin, nf, nr, od; in pll_clk_round_rate() local
119 od = 1; in pll_clk_round_rate()
122 do_div(dividend, nr * od); in pll_clk_round_rate()
131 unsigned long fin, nf, nr, od, reg; in pll_clk_set_rate() local
148 od = 1; in pll_clk_set_rate()
150 reg = (nf - 1) | ((nr - 1) << 13) | ((od - 1) << 19); in pll_clk_set_rate()
/Linux-v4.19/scripts/gcc-plugins/
Dgen-random-seed.sh5 SEED=`od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n'`
/Linux-v4.19/arch/mips/include/asm/
Dtxx9pio.h18 __u32 od; member
/Linux-v4.19/arch/arm/include/asm/
Ddevice.h30 struct omap_device *od; member

123