Home
last modified time | relevance | path

Searched refs:od (Results 1 - 25 of 92) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A 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()
92 * @od: struct omap_device *od
108 _add_hwmod_clocks_clkdev(struct omap_device *od, struct omap_hwmod *oh) _add_hwmod_clocks_clkdev() argument
131 struct omap_device *od; omap_device_build_from_dt() local
214 struct omap_device *od; _omap_device_notifier_call() local
261 _omap_device_enable_hwmods(struct omap_device *od) _omap_device_enable_hwmods() argument
278 _omap_device_idle_hwmods(struct omap_device *od) _omap_device_idle_hwmods() argument
308 struct omap_device *od; omap_device_get_context_loss_count() local
334 struct omap_device *od; omap_device_alloc() local
368 omap_device_delete(struct omap_device *od) omap_device_delete() argument
423 struct omap_device *od = to_omap_device(pdev); _od_suspend_noirq() local
445 struct omap_device *od = to_omap_device(pdev); _od_resume_noirq() local
511 struct omap_device *od; omap_device_enable() local
542 struct omap_device *od; omap_device_idle() local
575 struct omap_device *od = to_omap_device(pdev); omap_device_assert_hardreset() local
603 struct omap_device *od = to_omap_device(pdev); omap_device_deassert_hardreset() local
670 struct omap_device *od = to_omap_device(pdev); omap_device_late_idle() local
[all...]
H A Domap_device.h73 void omap_device_delete(struct omap_device *od);
91 return pdev ? pdev->archdata.od : NULL; in to_omap_device()
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Domap_device.c44 static void omap_device_delete(struct omap_device *od);
50 static void _add_clkdev(struct omap_device *od, const char *clk_alias, in _add_clkdev() argument
59 dev_dbg(&od->pdev->dev, "Creating %s -> %s\n", clk_alias, clk_name); in _add_clkdev()
61 r = clk_get_sys(dev_name(&od->pdev->dev), clk_alias); in _add_clkdev()
63 dev_dbg(&od->pdev->dev, in _add_clkdev()
79 dev_name(&od->pdev->dev)); in _add_clkdev()
81 rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev), in _add_clkdev()
87 dev_err(&od->pdev->dev, in _add_clkdev()
90 dev_err(&od->pdev->dev, in _add_clkdev()
98 * @od
111 _add_hwmod_clocks_clkdev(struct omap_device *od, struct omap_hwmod *oh) _add_hwmod_clocks_clkdev() argument
134 struct omap_device *od; omap_device_build_from_dt() local
217 struct omap_device *od; _omap_device_notifier_call() local
263 _omap_device_enable_hwmods(struct omap_device *od) _omap_device_enable_hwmods() argument
280 _omap_device_idle_hwmods(struct omap_device *od) _omap_device_idle_hwmods() argument
308 struct omap_device *od; omap_device_alloc() local
341 omap_device_delete(struct omap_device *od) omap_device_delete() argument
396 struct omap_device *od = to_omap_device(pdev); _od_suspend_noirq() local
418 struct omap_device *od = to_omap_device(pdev); _od_resume_noirq() local
467 struct omap_device *od; omap_device_enable() local
498 struct omap_device *od; omap_device_idle() local
531 struct omap_device *od = to_omap_device(pdev); omap_device_assert_hardreset() local
559 struct omap_device *od = to_omap_device(pdev); omap_device_deassert_hardreset() local
594 struct omap_device *od = to_omap_device(pdev); omap_device_late_idle() local
[all...]
/kernel/linux/linux-5.10/fs/orangefs/
H A Ddir.c62 struct orangefs_dir *od, struct dentry *dentry, in do_readdir()
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 in parse_readdir()
61 do_readdir(struct orangefs_inode_s *oi, struct orangefs_dir *od, struct dentry *dentry, struct orangefs_kernel_op_s *op) do_readdir() argument
161 orangefs_dir_more(struct orangefs_inode_s *oi, struct orangefs_dir *od, struct dentry *dentry) orangefs_dir_more() argument
241 orangefs_dir_fill(struct orangefs_inode_s *oi, struct orangefs_dir *od, struct dentry *dentry, struct dir_context *ctx) orangefs_dir_fill() argument
285 struct orangefs_dir *od = file->private_data; orangefs_dir_llseek() local
308 struct orangefs_dir *od; orangefs_dir_iterate() local
372 struct orangefs_dir *od; orangefs_dir_open() local
387 struct orangefs_dir *od = file->private_data; orangefs_dir_release() local
[all...]
/kernel/linux/linux-6.6/fs/orangefs/
H A Ddir.c62 struct orangefs_dir *od, struct dentry *dentry, in do_readdir()
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 in parse_readdir()
61 do_readdir(struct orangefs_inode_s *oi, struct orangefs_dir *od, struct dentry *dentry, struct orangefs_kernel_op_s *op) do_readdir() argument
161 orangefs_dir_more(struct orangefs_inode_s *oi, struct orangefs_dir *od, struct dentry *dentry) orangefs_dir_more() argument
241 orangefs_dir_fill(struct orangefs_inode_s *oi, struct orangefs_dir *od, struct dentry *dentry, struct dir_context *ctx) orangefs_dir_fill() argument
285 struct orangefs_dir *od = file->private_data; orangefs_dir_llseek() local
308 struct orangefs_dir *od; orangefs_dir_iterate() local
372 struct orangefs_dir *od; orangefs_dir_open() local
387 struct orangefs_dir *od = file->private_data; orangefs_dir_release() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/ti/
H A Domap-dma.c253 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 in omap_dma_clear_lch()
414 omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, unsigned lch) omap_dma_assign() argument
424 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_start() local
487 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_stop() local
633 struct omap_dmadev *od = devid; omap_dma_irq() local
671 omap_dma_get_lch(struct omap_dmadev *od, int *lch) omap_dma_get_lch() argument
694 omap_dma_put_lch(struct omap_dmadev *od, int lch) omap_dma_put_lch() argument
702 omap_dma_legacy(struct omap_dmadev *od) omap_dma_legacy() argument
709 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_alloc_chan_resources() local
762 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_free_chan_resources() local
825 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_chan_read_3_3() local
837 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_get_src_pos() local
863 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_get_dst_pos() local
963 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_prep_slave_sg() local
1145 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_prep_dma_cyclic() local
1429 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_pause() local
1482 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_resume() local
1503 omap_dma_chan_init(struct omap_dmadev *od) omap_dma_chan_init() argument
1518 omap_dma_free(struct omap_dmadev *od) omap_dma_free() argument
1531 omap_dma_busy(struct omap_dmadev *od) omap_dma_busy() argument
1554 struct omap_dmadev *od; omap_dma_busy_notifier() local
1576 omap_dma_context_save(struct omap_dmadev *od) omap_dma_context_save() argument
1584 omap_dma_context_restore(struct omap_dmadev *od) omap_dma_context_restore() argument
1606 struct omap_dmadev *od; omap_dma_context_notifier() local
1626 omap_dma_init_gcr(struct omap_dmadev *od, int arb_rate, int max_fifo_depth, int tparams) omap_dma_init_gcr() argument
1660 struct omap_dmadev *od; omap_dma_probe() local
1849 struct omap_dmadev *od = platform_get_drvdata(pdev); omap_dma_remove() local
1931 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_filter_fn() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/ti/
H A Domap-dma.c253 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 in omap_dma_clear_lch()
414 omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, unsigned lch) omap_dma_assign() argument
424 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_start() local
487 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_stop() local
633 struct omap_dmadev *od = devid; omap_dma_irq() local
671 omap_dma_get_lch(struct omap_dmadev *od, int *lch) omap_dma_get_lch() argument
694 omap_dma_put_lch(struct omap_dmadev *od, int lch) omap_dma_put_lch() argument
704 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_alloc_chan_resources() local
757 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_free_chan_resources() local
820 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_chan_read_3_3() local
832 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_get_src_pos() local
858 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); omap_dma_get_dst_pos() local
958 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_prep_slave_sg() local
1140 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_prep_dma_cyclic() local
1424 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_pause() local
1477 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_resume() local
1498 omap_dma_chan_init(struct omap_dmadev *od) omap_dma_chan_init() argument
1513 omap_dma_free(struct omap_dmadev *od) omap_dma_free() argument
1526 omap_dma_busy(struct omap_dmadev *od) omap_dma_busy() argument
1549 struct omap_dmadev *od; omap_dma_busy_notifier() local
1571 omap_dma_context_save(struct omap_dmadev *od) omap_dma_context_save() argument
1579 omap_dma_context_restore(struct omap_dmadev *od) omap_dma_context_restore() argument
1601 struct omap_dmadev *od; omap_dma_context_notifier() local
1620 omap_dma_init_gcr(struct omap_dmadev *od, int arb_rate, int max_fifo_depth, int tparams) omap_dma_init_gcr() argument
1654 struct omap_dmadev *od; omap_dma_probe() local
1843 struct omap_dmadev *od = platform_get_drvdata(pdev); omap_dma_remove() local
1925 struct omap_dmadev *od = to_omap_dma_dev(chan->device); omap_dma_filter_fn() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/
H A Dowl-dma.c265 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
387 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device); owl_dma_cfg_lli() local
467 owl_dma_get_pchan(struct owl_dma *od, struct owl_dma_vchan *vchan) owl_dma_get_pchan() argument
490 owl_dma_pchan_busy(struct owl_dma *od, struct owl_dma_pchan *pchan) owl_dma_pchan_busy() argument
499 owl_dma_terminate_pchan(struct owl_dma *od, struct owl_dma_pchan *pchan) owl_dma_terminate_pchan() argument
536 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device); owl_dma_start_next_txd() local
583 owl_dma_phy_free(struct owl_dma *od, struct owl_dma_vchan *vchan) owl_dma_phy_free() argument
593 struct owl_dma *od = dev_id; owl_dma_interrupt() local
675 owl_dma_free_txd(struct owl_dma *od, struct owl_dma_txd *txd) owl_dma_free_txd() argument
690 struct owl_dma *od = to_owl_dma(vd->tx.chan->device); owl_dma_desc_free() local
698 struct owl_dma *od = to_owl_dma(chan->device); owl_dma_terminate_all() local
839 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device); owl_dma_phy_alloc_and_start() local
870 struct owl_dma *od = to_owl_dma(chan->device); owl_dma_prep_memcpy() local
921 struct owl_dma *od = to_owl_dma(chan->device); owl_dma_prep_slave_sg() local
986 struct owl_dma *od = to_owl_dma(chan->device); owl_prep_dma_cyclic() local
1049 owl_dma_free(struct owl_dma *od) owl_dma_free() argument
1064 struct owl_dma *od = ofdma->of_dma_data; owl_dma_of_xlate() local
1092 struct owl_dma *od; owl_dma_probe() local
1234 struct owl_dma *od = platform_get_drvdata(pdev); owl_dma_remove() local
[all...]
H A Dbcm2835-dma.c697 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()
1026 struct bcm2835_dmadev *od = platform_get_drvdata(pdev); bcm2835_dma_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dowl-dma.c266 static void dma_update(struct owl_dma *od, u32 reg, u32 val, bool state) in dma_update() argument
270 regval = readl(od->base + reg); in dma_update()
277 writel(val, od->base + reg); in dma_update()
280 static void dma_writel(struct owl_dma *od, u32 reg, u32 data) in dma_writel() argument
282 writel(data, od->base + reg); in dma_writel()
285 static u32 dma_readl(struct owl_dma *od, u32 reg) in dma_readl() argument
287 return readl(od->base + reg); in dma_readl()
342 static void owl_dma_free_lli(struct owl_dma *od, in owl_dma_free_lli() argument
346 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli()
349 static struct owl_dma_lli *owl_dma_alloc_lli(struct owl_dma *od) in owl_dma_alloc_lli() argument
388 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device); owl_dma_cfg_lli() local
468 owl_dma_get_pchan(struct owl_dma *od, struct owl_dma_vchan *vchan) owl_dma_get_pchan() argument
491 owl_dma_pchan_busy(struct owl_dma *od, struct owl_dma_pchan *pchan) owl_dma_pchan_busy() argument
500 owl_dma_terminate_pchan(struct owl_dma *od, struct owl_dma_pchan *pchan) owl_dma_terminate_pchan() argument
537 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device); owl_dma_start_next_txd() local
584 owl_dma_phy_free(struct owl_dma *od, struct owl_dma_vchan *vchan) owl_dma_phy_free() argument
594 struct owl_dma *od = dev_id; owl_dma_interrupt() local
676 owl_dma_free_txd(struct owl_dma *od, struct owl_dma_txd *txd) owl_dma_free_txd() argument
691 struct owl_dma *od = to_owl_dma(vd->tx.chan->device); owl_dma_desc_free() local
699 struct owl_dma *od = to_owl_dma(chan->device); owl_dma_terminate_all() local
840 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device); owl_dma_phy_alloc_and_start() local
871 struct owl_dma *od = to_owl_dma(chan->device); owl_dma_prep_memcpy() local
922 struct owl_dma *od = to_owl_dma(chan->device); owl_dma_prep_slave_sg() local
987 struct owl_dma *od = to_owl_dma(chan->device); owl_prep_dma_cyclic() local
1050 owl_dma_free(struct owl_dma *od) owl_dma_free() argument
1065 struct owl_dma *od = ofdma->of_dma_data; owl_dma_of_xlate() local
1094 struct owl_dma *od; owl_dma_probe() local
1236 struct owl_dma *od = platform_get_drvdata(pdev); owl_dma_remove() local
[all...]
H A Dbcm2835-dma.c697 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
898 od = devm_kzalloc(&pdev->dev, sizeof(*od), GFP_KERNEL); in bcm2835_dma_probe()
899 if (!od) in bcm2835_dma_probe()
1024 struct bcm2835_dmadev *od = platform_get_drvdata(pdev); bcm2835_dma_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Domninet.c115 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 in omninet_prepare_write_buffer()
[all...]
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Domninet.c115 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()
158 struct omninet_data *od = usb_get_serial_port_data(port); in omninet_prepare_write_buffer() local
166 header->oh_seq = od in omninet_prepare_write_buffer()
[all...]
/kernel/linux/linux-5.10/fs/overlayfs/
H A 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()
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_ argument
675 struct ovl_dir_file *od = file->private_data; ovl_is_impure_dir() local
691 struct ovl_dir_file *od = file->private_data; ovl_iterate_real() local
732 struct ovl_dir_file *od = file->private_data; ovl_iterate() local
794 struct ovl_dir_file *od = file->private_data; ovl_dir_llseek() local
854 struct ovl_dir_file *od = file->private_data; ovl_dir_real_file() local
907 struct ovl_dir_file *od = file->private_data; ovl_dir_release() local
926 struct ovl_dir_file *od; ovl_dir_open() local
[all...]
/kernel/linux/linux-6.6/fs/overlayfs/
H A Dreaddir.c238 static void ovl_cache_put(struct ovl_dir_file *od, struct inode *inode) 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, inode); 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_ argument
680 struct ovl_dir_file *od = file->private_data; ovl_is_impure_dir() local
696 struct ovl_dir_file *od = file->private_data; ovl_iterate_real() local
738 struct ovl_dir_file *od = file->private_data; ovl_iterate() local
804 struct ovl_dir_file *od = file->private_data; ovl_dir_llseek() local
864 struct ovl_dir_file *od = file->private_data; ovl_dir_real_file() local
917 struct ovl_dir_file *od = file->private_data; ovl_dir_release() local
936 struct ovl_dir_file *od; ovl_dir_open() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/baikal-t1/
H A Dccu-pll.c77 unsigned long od) in ccu_pll_calc_freq()
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()
184 * Find a closest [nr;nf;od] vector taking into account the in ccu_pll_calc_factors()
226 *od = CCU_PLL_CLKOD_FACTOR * d1; in ccu_pll_calc_factors()
234 unsigned long nr = 1, nf = 1, od = 1; in ccu_pll_round_rate() local
236 ccu_pll_calc_factors(rate, *parent_rate, &nr, &nf, &od); in ccu_pll_round_rate()
74 ccu_pll_calc_freq(unsigned long ref_clk, unsigned long nr, unsigned long nf, unsigned long od) ccu_pll_calc_freq() argument
167 ccu_pll_calc_factors(unsigned long rate, unsigned long parent_rate, unsigned long *nr, unsigned long *nf, unsigned long *od) ccu_pll_calc_factors() argument
249 unsigned long nr, nf, od; ccu_pll_set_rate_reset() local
280 unsigned long nr, nf, od; ccu_pll_set_rate_norst() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/baikal-t1/
H A Dccu-pll.c77 unsigned long od) in ccu_pll_calc_freq()
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()
184 * Find a closest [nr;nf;od] vector taking into account the in ccu_pll_calc_factors()
226 *od = CCU_PLL_CLKOD_FACTOR * d1; in ccu_pll_calc_factors()
234 unsigned long nr = 1, nf = 1, od = 1; in ccu_pll_round_rate() local
236 ccu_pll_calc_factors(rate, *parent_rate, &nr, &nf, &od); in ccu_pll_round_rate()
74 ccu_pll_calc_freq(unsigned long ref_clk, unsigned long nr, unsigned long nf, unsigned long od) ccu_pll_calc_freq() argument
167 ccu_pll_calc_factors(unsigned long rate, unsigned long parent_rate, unsigned long *nr, unsigned long *nf, unsigned long *od) ccu_pll_calc_factors() argument
249 unsigned long nr, nf, od; ccu_pll_set_rate_reset() local
280 unsigned long nr, nf, od; ccu_pll_set_rate_norst() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A Dsas_host_smp.c53 * 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 in to_sas_gpio_gp_bit()
100 try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count) try_test_sas_gpio_gp_bit() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/libsas/
H A Dsas_host_smp.c53 * 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 in to_sas_gpio_gp_bit()
100 try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count) try_test_sas_gpio_gp_bit() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/ingenic/
H A Dcgu.c86 unsigned m, n, od, od_enc = 0; in ingenic_pll_recalc_rate() local
114 for (od = 0; od < pll_info->od_max; od++) in ingenic_pll_recalc_rate()
115 if (pll_info->od_encoding[od] == od_enc) in ingenic_pll_recalc_rate()
118 /* if od_max = 0, od_bits should be 0 and od is fixed to 1. */ in ingenic_pll_recalc_rate()
122 BUG_ON(od == pll_info->od_max); in ingenic_pll_recalc_rate()
123 od++; in ingenic_pll_recalc_rate()
126 n * od); in ingenic_pll_recalc_rate()
134 unsigned int m, n, od in ingenic_pll_calc_m_n_od() local
159 unsigned int m, n, od; ingenic_pll_calc() local
209 unsigned int m, n, od; ingenic_pll_set_rate() local
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A 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 in olq_set_dquot()
896 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); ocfs2_local_write_dquot() local
1222 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); ocfs2_create_local_dquot() local
1274 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); ocfs2_local_release_dquot() local
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dquota_local.c868 struct ocfs2_dquot *od = private; in olq_set_dquot() local
870 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot()
873 + ol_dqblk_block_offset(sb, od->dq_local_off)); in olq_set_dquot()
876 od->dq_dquot.dq_id)); in olq_set_dquot()
877 spin_lock(&od->dq_dquot.dq_dqb_lock); in olq_set_dquot()
878 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
879 od->dq_origspace); in olq_set_dquot()
880 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
881 od->dq_originodes); in olq_set_dquot()
882 spin_unlock(&od in olq_set_dquot()
893 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); ocfs2_local_write_dquot() local
1219 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); ocfs2_create_local_dquot() local
1271 struct ocfs2_dquot *od = OCFS2_DQUOT(dquot); ocfs2_local_release_dquot() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/ingenic/
H A Dcgu.c86 unsigned m, n, od_enc, od; in ingenic_pll_recalc_rate() local
110 for (od = 0; od < pll_info->od_max; od++) { in ingenic_pll_recalc_rate()
111 if (pll_info->od_encoding[od] == od_enc) in ingenic_pll_recalc_rate()
114 BUG_ON(od == pll_info->od_max); in ingenic_pll_recalc_rate()
115 od++; in ingenic_pll_recalc_rate()
118 n * od); in ingenic_pll_recalc_rate()
127 unsigned m, n, od; in ingenic_pll_calc() local
130 od in ingenic_pll_calc()
184 unsigned int m, n, od; ingenic_pll_set_rate() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
H A Dmeson_vclk.c473 static inline unsigned int pll_od_to_reg(unsigned int od) in pll_od_to_reg() argument
475 switch (od) { in pll_od_to_reg()
700 unsigned int *od) in meson_hdmi_pll_find_params()
703 for (*od = 16 ; *od > 1 ; *od >>= 1) { in meson_hdmi_pll_find_params()
704 *m = meson_hdmi_pll_get_m(priv, freq * *od); in meson_hdmi_pll_find_params()
707 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od); in meson_hdmi_pll_find_params()
709 DRM_DEBUG_DRIVER("PLL params for %dkHz: m=%x frac=%x od=%d\n", in meson_hdmi_pll_find_params()
710 freq, *m, *frac, *od); in meson_hdmi_pll_find_params()
696 meson_hdmi_pll_find_params(struct meson_drm *priv, unsigned int freq, unsigned int *m, unsigned int *frac, unsigned int *od) meson_hdmi_pll_find_params() argument
723 unsigned int od, m, frac; meson_vclk_dmt_supported_freq() local
746 unsigned int od, m, frac, od1, od2, od3; meson_hdmi_pll_generic_set() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/
H A Dmeson_vclk.c473 static inline unsigned int pll_od_to_reg(unsigned int od) in pll_od_to_reg() argument
475 switch (od) { in pll_od_to_reg()
700 unsigned int *od) in meson_hdmi_pll_find_params()
703 for (*od = 16 ; *od > 1 ; *od >>= 1) { in meson_hdmi_pll_find_params()
704 *m = meson_hdmi_pll_get_m(priv, freq * *od); in meson_hdmi_pll_find_params()
707 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od); in meson_hdmi_pll_find_params()
709 DRM_DEBUG_DRIVER("PLL params for %dkHz: m=%x frac=%x od=%d\n", in meson_hdmi_pll_find_params()
710 freq, *m, *frac, *od); in meson_hdmi_pll_find_params()
696 meson_hdmi_pll_find_params(struct meson_drm *priv, unsigned int freq, unsigned int *m, unsigned int *frac, unsigned int *od) meson_hdmi_pll_find_params() argument
723 unsigned int od, m, frac; meson_vclk_dmt_supported_freq() local
746 unsigned int od, m, frac, od1, od2, od3; meson_hdmi_pll_generic_set() local
[all...]

Completed in 30 milliseconds

1234