| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | omap_device.c | 44 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() 92 * @od: struct omap_device *od 108 static void _add_hwmod_clocks_clkdev(struct omap_device *od, in _add_hwmod_clocks_clkdev() argument [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-omap2/ |
| D | omap_device.c | 49 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() 97 * @od: struct omap_device *od 113 static void _add_hwmod_clocks_clkdev(struct omap_device *od, in _add_hwmod_clocks_clkdev() argument [all …]
|
| D | hsmmc.c | 80 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() 122 pr_err("Could not allocate od for %s\n", name); in omap_hsmmc_init_one() 137 pr_err("Could not register od for %s\n", name); in omap_hsmmc_init_one() 144 omap_device_delete(od); in omap_hsmmc_init_one()
|
| /kernel/linux/linux-5.10/drivers/dma/ti/ |
| D | omap-dma.c | 253 struct omap_dmadev *od = to_omap_dma_dev(vd->tx.chan->device); in omap_dma_desc_free() local 258 dma_pool_free(od->desc_pool, d->sg[i].t2_desc, in omap_dma_desc_free() 351 static void omap_dma_glbl_write(struct omap_dmadev *od, unsigned reg, unsigned val) in omap_dma_glbl_write() argument 353 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_write() 357 omap_dma_write(val, r->type, od->base + r->offset); in omap_dma_glbl_write() 360 static unsigned omap_dma_glbl_read(struct omap_dmadev *od, unsigned reg) in omap_dma_glbl_read() argument 362 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_read() 366 return omap_dma_read(r->type, od->base + r->offset); in omap_dma_glbl_read() 401 static void omap_dma_clear_lch(struct omap_dmadev *od, int lch) in omap_dma_clear_lch() argument 406 c = od->lch_map[lch]; in omap_dma_clear_lch() [all …]
|
| /kernel/linux/linux-4.19/drivers/dma/ |
| D | owl-dma.c | 246 static void dma_update(struct owl_dma *od, u32 reg, u32 val, bool state) in dma_update() argument 250 regval = readl(od->base + reg); in dma_update() 257 writel(val, od->base + reg); in dma_update() 260 static void dma_writel(struct owl_dma *od, u32 reg, u32 data) in dma_writel() argument 262 writel(data, od->base + reg); in dma_writel() 265 static u32 dma_readl(struct owl_dma *od, u32 reg) in dma_readl() argument 267 return readl(od->base + reg); in dma_readl() 313 static void owl_dma_free_lli(struct owl_dma *od, in owl_dma_free_lli() argument 317 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli() 320 static struct owl_dma_lli *owl_dma_alloc_lli(struct owl_dma *od) in owl_dma_alloc_lli() argument [all …]
|
| D | bcm2835-dma.c | 852 static void bcm2835_dma_free(struct bcm2835_dmadev *od) in bcm2835_dma_free() argument 856 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free() 887 struct bcm2835_dmadev *od; in bcm2835_dma_probe() local 906 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe() 907 if (!od) in bcm2835_dma_probe() 910 pdev->dev.dma_parms = &od->dma_parms; in bcm2835_dma_probe() 918 od->base = base; in bcm2835_dma_probe() 920 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); in bcm2835_dma_probe() 921 dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask); in bcm2835_dma_probe() 922 dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); in bcm2835_dma_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | owl-dma.c | 265 static void dma_update(struct owl_dma *od, u32 reg, u32 val, bool state) in dma_update() argument 269 regval = readl(od->base + reg); in dma_update() 276 writel(val, od->base + reg); in dma_update() 279 static void dma_writel(struct owl_dma *od, u32 reg, u32 data) in dma_writel() argument 281 writel(data, od->base + reg); in dma_writel() 284 static u32 dma_readl(struct owl_dma *od, u32 reg) in dma_readl() argument 286 return readl(od->base + reg); in dma_readl() 341 static void owl_dma_free_lli(struct owl_dma *od, in owl_dma_free_lli() argument 345 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli() 348 static struct owl_dma_lli *owl_dma_alloc_lli(struct owl_dma *od) in owl_dma_alloc_lli() argument [all …]
|
| D | bcm2835-dma.c | 697 struct bcm2835_dmadev *od = to_bcm2835_dma_dev(chan->device); in bcm2835_dma_prep_dma_cyclic() local 750 if (buf_addr == od->zero_page && !c->is_lite_channel) in bcm2835_dma_prep_dma_cyclic() 842 static void bcm2835_dma_free(struct bcm2835_dmadev *od) in bcm2835_dma_free() argument 846 list_for_each_entry_safe(c, next, &od->ddev.channels, in bcm2835_dma_free() 852 dma_unmap_page_attrs(od->ddev.dev, od->zero_page, PAGE_SIZE, in bcm2835_dma_free() 880 struct bcm2835_dmadev *od; in bcm2835_dma_probe() local 899 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe() 900 if (!od) in bcm2835_dma_probe() 910 od->base = base; in bcm2835_dma_probe() 912 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); in bcm2835_dma_probe() [all …]
|
| /kernel/linux/linux-5.10/fs/orangefs/ |
| D | dir.c | 62 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 …]
|
| /kernel/linux/linux-4.19/fs/orangefs/ |
| D | dir.c | 62 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 …]
|
| /kernel/linux/linux-4.19/drivers/dma/ti/ |
| D | omap-dma.c | 232 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 …]
|
| /kernel/linux/linux-4.19/drivers/scsi/osd/ |
| D | osd_uld.c | 87 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 …]
|
| /kernel/linux/linux-4.19/fs/overlayfs/ |
| D | readdir.c | 241 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 …]
|
| /kernel/linux/linux-5.10/fs/overlayfs/ |
| D | readdir.c | 238 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() 324 struct ovl_dir_file *od = file->private_data; in ovl_dir_reset() local 325 struct ovl_dir_cache *cache = od->cache; in ovl_dir_reset() 330 ovl_cache_put(od, dentry); in ovl_dir_reset() 331 od->cache = NULL; in ovl_dir_reset() 332 od->cursor = NULL; in ovl_dir_reset() 335 if (od->is_real != is_real) { in ovl_dir_reset() 339 od->is_real = false; in ovl_dir_reset() 379 static void ovl_seek_cursor(struct ovl_dir_file *od, loff_t pos) in ovl_seek_cursor() argument [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | st-pincfg.h | 19 #define OD (1 << 25) macro 30 /* oe = 0, pu = 0, od = 0 */ 32 /* oe = 0, pu = 1, od = 0 */ 34 /* oe = 1, pu = 0, od = 0 */ 36 /* oe = 1, pu = 0, od = 1 */ 37 #define BIDIR (OE | OD) 38 /* oe = 1, pu = 1, od = 1 */ 39 #define BIDIR_PU (OE | PU | OD)
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | st-pincfg.h | 19 #define OD (1 << 25) macro 30 /* oe = 0, pu = 0, od = 0 */ 32 /* oe = 0, pu = 1, od = 0 */ 34 /* oe = 1, pu = 0, od = 0 */ 36 /* oe = 1, pu = 0, od = 1 */ 37 #define BIDIR (OE | OD) 38 /* oe = 1, pu = 1, od = 1 */ 39 #define BIDIR_PU (OE | PU | OD)
|
| /kernel/linux/linux-4.19/drivers/scsi/libsas/ |
| D | sas_host_smp.c | 56 * to_sas_gpio_gp_bit - given the gpio frame data find the byte/bit position of 'od' 57 * @od: od bit to find 61 * @bit: bit position of 'od' in the returned byte 63 * returns NULL if 'od' is not in 'data' 73 * although 'od' is renamed 'id' for 'input data'. 75 * SFF-8489 defines the behavior of the LEDs in response to the 'od' values. 77 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/libsas/ |
| D | sas_host_smp.c | 53 * to_sas_gpio_gp_bit - given the gpio frame data find the byte/bit position of 'od' 54 * @od: od bit to find 58 * @bit: bit position of 'od' in the returned byte 60 * returns NULL if 'od' is not in 'data' 70 * although 'od' is renamed 'id' for 'input data'. 72 * SFF-8489 defines the behavior of the LEDs in response to the 'od' values. 74 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() [all …]
|
| /kernel/linux/linux-4.19/drivers/usb/serial/ |
| D | omninet.c | 113 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()
|
| /kernel/linux/linux-5.10/arch/arm64/crypto/ |
| D | sha1-ce-core.S | 96 add_update c, od, k0, 9, 10, 11, 8 98 add_update c, od, k0, 11, 8, 9, 10 101 add_update p, od, k1, 9, 10, 11, 8 103 add_update p, od, k1, 11, 8, 9, 10 105 add_update p, od, k2, 9, 10, 11, 8 108 add_update m, od, k2, 11, 8, 9, 10 110 add_update m, od, k2, 9, 10, 11, 8 113 add_update p, od, k3, 11, 8, 9, 10 115 add_only p, od, k3, 10 117 add_only p, od
|
| /kernel/linux/linux-4.19/arch/arm64/crypto/ |
| D | sha1-ce-core.S | 105 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
|
| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| D | omninet.c | 115 struct omninet_data *od; in omninet_port_probe() local 117 od = kzalloc(sizeof(*od), GFP_KERNEL); in omninet_port_probe() 118 if (!od) in omninet_port_probe() 121 usb_set_serial_port_data(port, od); in omninet_port_probe() 128 struct omninet_data *od; in omninet_port_remove() local 130 od = usb_get_serial_port_data(port); in omninet_port_remove() 131 kfree(od); in omninet_port_remove() 160 struct omninet_data *od = usb_get_serial_port_data(port); in omninet_prepare_write_buffer() local 168 header->oh_seq = od->od_outseq++; in omninet_prepare_write_buffer()
|
| /kernel/linux/linux-5.10/drivers/clk/baikal-t1/ |
| D | ccu-pll.c | 77 unsigned long od) in ccu_pll_calc_freq() argument 83 do_div(tmp, od); in ccu_pll_calc_freq() 156 unsigned long nr, nf, od; in ccu_pll_recalc_rate() local 162 od = FIELD_GET(CCU_PLL_CTL_CLKOD_MASK, val) + 1; in ccu_pll_recalc_rate() 164 return ccu_pll_calc_freq(parent_rate, nr, nf, od); in ccu_pll_recalc_rate() 169 unsigned long *od) in ccu_pll_calc_factors() argument 184 * Find a closest [nr;nf;od] vector taking into account the in ccu_pll_calc_factors() 185 * limitations like: 1) 700MHz <= Fvco <= 3.5GHz, 2) PLL Od is in ccu_pll_calc_factors() 190 /* Use Od factor to fulfill the limitation 2). */ in ccu_pll_calc_factors() 226 *od = CCU_PLL_CLKOD_FACTOR * d1; in ccu_pll_calc_factors() [all …]
|
| /kernel/linux/linux-4.19/include/scsi/ |
| D | osd_initiator.h | 71 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); 88 * @od: OSD target lun handle 93 * Auto detects the OSD version of the OSD target and sets the @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 [all …]
|
| /kernel/linux/linux-4.19/drivers/clk/meson/ |
| D | clk-pll.c | 16 * in -----[ /N ]---[ *M ]---[ >>OD ]----->> out 49 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()
|