Home
last modified time | relevance | path

Searched refs:hw_ops (Results 1 – 34 of 34) sorted by relevance

/linux-4.4.14/drivers/media/platform/davinci/
Dvpss.c126 struct vpss_hw_ops hw_ops; member
183 if (!oper_cfg.hw_ops.dma_complete_interrupt) in vpss_dma_complete_interrupt()
185 return oper_cfg.hw_ops.dma_complete_interrupt(); in vpss_dma_complete_interrupt()
191 if (!oper_cfg.hw_ops.select_ccdc_source) in vpss_select_ccdc_source()
194 oper_cfg.hw_ops.select_ccdc_source(src_sel); in vpss_select_ccdc_source()
216 if (!oper_cfg.hw_ops.set_sync_pol) in vpss_set_sync_pol()
219 oper_cfg.hw_ops.set_sync_pol(sync); in vpss_set_sync_pol()
225 if (!oper_cfg.hw_ops.clear_wbl_overflow) in vpss_clear_wbl_overflow()
228 return oper_cfg.hw_ops.clear_wbl_overflow(wbl_sel); in vpss_clear_wbl_overflow()
369 if (!oper_cfg.hw_ops.enable_clock) in vpss_enable_clock()
[all …]
Dvpfe_capture.c215 BUG_ON(!dev->hw_ops.open); in vpfe_register_ccdc_device()
216 BUG_ON(!dev->hw_ops.enable); in vpfe_register_ccdc_device()
217 BUG_ON(!dev->hw_ops.set_hw_if_params); in vpfe_register_ccdc_device()
218 BUG_ON(!dev->hw_ops.configure); in vpfe_register_ccdc_device()
219 BUG_ON(!dev->hw_ops.set_buftype); in vpfe_register_ccdc_device()
220 BUG_ON(!dev->hw_ops.get_buftype); in vpfe_register_ccdc_device()
221 BUG_ON(!dev->hw_ops.enum_pix); in vpfe_register_ccdc_device()
222 BUG_ON(!dev->hw_ops.set_frame_format); in vpfe_register_ccdc_device()
223 BUG_ON(!dev->hw_ops.get_frame_format); in vpfe_register_ccdc_device()
224 BUG_ON(!dev->hw_ops.get_pixel_format); in vpfe_register_ccdc_device()
[all …]
Dccdc_hw_device.h102 struct ccdc_hw_ops hw_ops; member
Ddm355_ccdc.c940 .hw_ops = {
Ddm644x_ccdc.c930 .hw_ops = {
Disif.c1010 .hw_ops = {
/linux-4.4.14/drivers/clk/ti/
Dgate.c99 const struct clk_hw_omap_ops *hw_ops) in _register_gate() argument
116 clk_hw->ops = hw_ops; in _register_gate()
137 const struct clk_hw_omap_ops *hw_ops = NULL; in ti_clk_register_gate() local
159 hw_ops = &clkhwops_wait; in ti_clk_register_gate()
163 hw_ops = &clkhwops_omap3430es2_dss_usbhost_wait; in ti_clk_register_gate()
166 hw_ops = &clkhwops_wait; in ti_clk_register_gate()
172 hw_ops = &clkhwops_am35xx_ipss_module_wait; in ti_clk_register_gate()
179 clk_gate_flags, ops, hw_ops); in ti_clk_register_gate()
216 const struct clk_hw_omap_ops *hw_ops) in _of_ti_gate_clk_setup() argument
249 enable_bit, clk_gate_flags, ops, hw_ops); in _of_ti_gate_clk_setup()
[all …]
Ddpll.c291 const struct clk_hw_omap_ops *hw_ops) in _register_dpll_x2() argument
309 clk_hw->ops = hw_ops; in _register_dpll_x2()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h522 struct qlcnic_hardware_ops *hw_ops; member
1553 (adapter->ahw->hw_ops->read_reg)(adapter, off, err)
1556 adapter->ahw->hw_ops->write_reg(adapter, off, val)
1853 adapter->ahw->hw_ops->read_crb(adapter, buf, offset, size); in qlcnic_read_crb()
1859 adapter->ahw->hw_ops->write_crb(adapter, buf, offset, size); in qlcnic_write_crb()
1865 return adapter->ahw->hw_ops->write_reg(adapter, off, data); in qlcnic_hw_write_wx_2M()
1871 return adapter->ahw->hw_ops->get_mac_address(adapter, mac, function); in qlcnic_get_mac_address()
1876 return adapter->ahw->hw_ops->setup_intr(adapter); in qlcnic_setup_intr()
1882 return adapter->ahw->hw_ops->alloc_mbx_args(mbx, adapter, arg); in qlcnic_alloc_mbx_args()
1888 if (adapter->ahw->hw_ops->mbx_cmd) in qlcnic_issue_cmd()
[all …]
Dqlcnic_main.c2495 ahw->hw_ops = &qlcnic_hw_ops; in qlcnic_probe()
3976 struct qlcnic_hardware_ops *hw_ops = adapter->ahw->hw_ops; in qlcnic_io_error_detected() local
3978 if (hw_ops->io_error_detected) { in qlcnic_io_error_detected()
3979 return hw_ops->io_error_detected(pdev, state); in qlcnic_io_error_detected()
3989 struct qlcnic_hardware_ops *hw_ops = adapter->ahw->hw_ops; in qlcnic_io_slot_reset() local
3991 if (hw_ops->io_slot_reset) { in qlcnic_io_slot_reset()
3992 return hw_ops->io_slot_reset(pdev); in qlcnic_io_slot_reset()
4002 struct qlcnic_hardware_ops *hw_ops = adapter->ahw->hw_ops; in qlcnic_io_resume() local
4004 if (hw_ops->io_resume) in qlcnic_io_resume()
4005 hw_ops->io_resume(pdev); in qlcnic_io_resume()
Dqlcnic_83xx_hw.c262 ahw->hw_ops = &qlcnic_83xx_hw_ops; in qlcnic_83xx_register_map()
1079 ahw->hw_ops->alloc_mbx_args(&cmd, adapter, in qlcnic_83xx_add_rings()
1110 err = ahw->hw_ops->mbx_cmd(adapter, &cmd); in qlcnic_83xx_add_rings()
1249 err = ahw->hw_ops->mbx_cmd(adapter, &cmd); in qlcnic_83xx_create_rx_ctx()
1442 adapter->ahw->hw_ops->setup_link_event(adapter, 1); in qlcnic_83xx_diag_alloc_res()
Dqlcnic_sriov_common.c653 ahw->hw_ops = &qlcnic_sriov_vf_hw_ops; in qlcnic_sriov_vf_register_map()
/linux-4.4.14/sound/i2c/
Di2c.c173 if (bus->hw_ops.bit->start) in snd_i2c_bit_hw_start()
174 bus->hw_ops.bit->start(bus); in snd_i2c_bit_hw_start()
179 if (bus->hw_ops.bit->stop) in snd_i2c_bit_hw_stop()
180 bus->hw_ops.bit->stop(bus); in snd_i2c_bit_hw_stop()
185 if (bus->hw_ops.bit->direction) in snd_i2c_bit_direction()
186 bus->hw_ops.bit->direction(bus, clock, data); in snd_i2c_bit_direction()
191 bus->hw_ops.bit->setlines(bus, clock, data); in snd_i2c_bit_set()
197 if (bus->hw_ops.bit->getclock)
198 return bus->hw_ops.bit->getclock(bus);
205 return bus->hw_ops.bit->getdata(bus, ack); in snd_i2c_bit_data()
/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_main.c47 if (force && cdev->hw_ops->force_reset) in cosm_hw_reset()
48 cdev->hw_ops->force_reset(cdev); in cosm_hw_reset()
50 cdev->hw_ops->reset(cdev); in cosm_hw_reset()
53 if (cdev->hw_ops->ready(cdev)) { in cosm_hw_reset()
94 if (!cdev->hw_ops->ready(cdev)) { in cosm_start()
117 rc = cdev->hw_ops->start(cdev, cdev->index); in cosm_start()
163 cdev->hw_ops->stop(cdev, force); in cosm_stop()
166 if (call_hw_ops && cdev->hw_ops->post_reset) in cosm_stop()
167 cdev->hw_ops->post_reset(cdev, cdev->state); in cosm_stop()
Dcosm_debugfs.c63 log_buf_len_va = cdev->hw_ops->aper(cdev)->va + aper_offset; in cosm_log_buf_show()
65 log_buf_va = cdev->hw_ops->aper(cdev)->va + aper_offset; in cosm_log_buf_show()
Dcosm_sysfs.c74 return cdev->hw_ops->family(cdev, buf); in family_show()
86 return cdev->hw_ops->stepping(cdev, buf); in stepping_show()
/linux-4.4.14/drivers/misc/mic/bus/
Dcosm_bus.c72 cosm_register_device(struct device *pdev, struct cosm_hw_ops *hw_ops) in cosm_register_device() argument
83 cdev->hw_ops = hw_ops; in cosm_register_device()
Dcosm_bus.h70 struct cosm_hw_ops *hw_ops; member
119 cosm_register_device(struct device *pdev, struct cosm_hw_ops *hw_ops);
Dscif_bus.h53 struct scif_hw_ops *hw_ops; member
117 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode,
Dmic_bus.c147 struct mbus_hw_ops *hw_ops, int index, in mbus_register_device() argument
165 mbdev->hw_ops = hw_ops; in mbus_register_device()
Dscif_bus.c142 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode, in scif_register_device() argument
159 sdev->hw_ops = hw_ops; in scif_register_device()
/linux-4.4.14/include/linux/
Dmic_bus.h52 struct mbus_hw_ops *hw_ops; member
94 struct mbus_hw_ops *hw_ops, int index,
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_main.c79 sdev->hw_ops->ack_interrupt(sdev, scifdev->db); in scif_intr_handler()
170 scifdev->db = sdev->hw_ops->next_db(sdev); in scif_probe()
171 scifdev->cookie = sdev->hw_ops->request_irq(sdev, scif_intr_handler, in scif_probe()
240 sdev->hw_ops->free_irq(sdev, scifdev->cookie, scifdev); in scif_remove()
Dscif_map.h100 sdev->hw_ops->ioremap(sdev, phys, size); in scif_ioremap()
110 sdev->hw_ops->iounmap(sdev, (void __force __iomem *)virt); in scif_iounmap()
Dscif_nodeqp.c290 sdev->hw_ops->send_p2p_intr(sdev, scifdev->rdb, &scifdev->mmio); in scif_send_msg_intr()
292 sdev->hw_ops->send_intr(sdev, scifdev->rdb); in scif_send_msg_intr()
823 newdev->db = sdev->hw_ops->next_db(sdev); in scif_node_add()
824 newdev->cookie = sdev->hw_ops->request_irq(sdev, scif_intr_handler, in scif_node_add()
Dscif_nm.c125 sdev->hw_ops->free_irq(sdev, dev->cookie, dev); in scif_cleanup_scifdev()
/linux-4.4.14/include/sound/
Di2c.h68 } hw_ops; /* lowlevel operations */ member
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
DMakefile4 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
/linux-4.4.14/drivers/misc/mei/
Dinit.c385 const struct mei_hw_ops *hw_ops) in mei_device_init() argument
425 dev->ops = hw_ops; in mei_device_init()
Dmei_dev.h605 const struct mei_hw_ops *hw_ops);
/linux-4.4.14/drivers/dma/
Dmic_x100_dma.h170 return to_mbus_device(ch)->hw_ops; in to_mbus_hw_ops()
/linux-4.4.14/sound/pci/ice1712/
Drevo.c175 ice->i2c->hw_ops.bit = &revo51_bit_ops; in revo51_i2c_init()
Dews.c464 ice->i2c->hw_ops.bit = &snd_ice1712_ewx_cs8427_bit_ops; in snd_ice1712_ews_init()
/linux-4.4.14/sound/isa/gus/
Dinterwave.c244 bus->hw_ops.bit = &snd_interwave_i2c_bit_ops; in snd_interwave_detect_stb()