| /OK3568_Linux_fs/kernel/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-net.c | 55 pdata->hw_ops.tx_start_xmit(channel, ring); in xlgmac_maybe_stop_tx_queue() 209 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_enable_rx_tx_ints() local 225 hw_ops->enable_int(channel, int_id); in xlgmac_enable_rx_tx_ints() 231 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_disable_rx_tx_ints() local 247 hw_ops->disable_int(channel, int_id); in xlgmac_disable_rx_tx_ints() 256 struct xlgmac_hw_ops *hw_ops; in xlgmac_isr() local 259 hw_ops = &pdata->hw_ops; in xlgmac_isr() 333 hw_ops->tx_mmc_int(pdata); in xlgmac_isr() 337 hw_ops->rx_mmc_int(pdata); in xlgmac_isr() 563 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_start() local [all …]
|
| H A D | dwc-xlgmac-hw.c | 3065 void xlgmac_init_hw_ops(struct xlgmac_hw_ops *hw_ops) in xlgmac_init_hw_ops() argument 3067 hw_ops->init = xlgmac_hw_init; in xlgmac_init_hw_ops() 3068 hw_ops->exit = xlgmac_hw_exit; in xlgmac_init_hw_ops() 3070 hw_ops->tx_complete = xlgmac_tx_complete; in xlgmac_init_hw_ops() 3072 hw_ops->enable_tx = xlgmac_enable_tx; in xlgmac_init_hw_ops() 3073 hw_ops->disable_tx = xlgmac_disable_tx; in xlgmac_init_hw_ops() 3074 hw_ops->enable_rx = xlgmac_enable_rx; in xlgmac_init_hw_ops() 3075 hw_ops->disable_rx = xlgmac_disable_rx; in xlgmac_init_hw_ops() 3077 hw_ops->dev_xmit = xlgmac_dev_xmit; in xlgmac_init_hw_ops() 3078 hw_ops->dev_read = xlgmac_dev_read; in xlgmac_init_hw_ops() [all …]
|
| H A D | dwc-xlgmac-ethtool.c | 165 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_ethtool_set_coalesce() local 170 rx_riwt = hw_ops->usec_to_riwt(pdata, rx_usecs); in xlgmac_ethtool_set_coalesce() 185 hw_ops->config_rx_coalesce(pdata); in xlgmac_ethtool_set_coalesce() 188 hw_ops->config_tx_coalesce(pdata); in xlgmac_ethtool_set_coalesce() 237 pdata->hw_ops.read_mmc_stats(pdata); in xlgmac_ethtool_get_ethtool_stats()
|
| H A D | dwc-xlgmac-desc.c | 423 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_tx_desc_init() local 454 hw_ops->tx_desc_init(channel); in xlgmac_tx_desc_init() 460 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_rx_desc_init() local 493 hw_ops->rx_desc_init(channel); in xlgmac_rx_desc_init()
|
| H A D | dwc-xlgmac-common.c | 64 xlgmac_init_hw_ops(&pdata->hw_ops); in xlgmac_init_all_ops() 69 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_init() local 87 hw_ops->exit(pdata); in xlgmac_init() 221 pdata->rx_riwt = hw_ops->usec_to_riwt(pdata, XLGMAC_INIT_DMA_RX_USECS); in xlgmac_init()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/davinci/ |
| H A D | vpss.c | 113 struct vpss_hw_ops hw_ops; member 170 if (!oper_cfg.hw_ops.dma_complete_interrupt) in vpss_dma_complete_interrupt() 172 return oper_cfg.hw_ops.dma_complete_interrupt(); in vpss_dma_complete_interrupt() 178 if (!oper_cfg.hw_ops.select_ccdc_source) in vpss_select_ccdc_source() 181 oper_cfg.hw_ops.select_ccdc_source(src_sel); in vpss_select_ccdc_source() 203 if (!oper_cfg.hw_ops.set_sync_pol) in vpss_set_sync_pol() 206 oper_cfg.hw_ops.set_sync_pol(sync); in vpss_set_sync_pol() 212 if (!oper_cfg.hw_ops.clear_wbl_overflow) in vpss_clear_wbl_overflow() 215 return oper_cfg.hw_ops.clear_wbl_overflow(wbl_sel); in vpss_clear_wbl_overflow() 356 if (!oper_cfg.hw_ops.enable_clock) in vpss_enable_clock() [all …]
|
| H A D | vpfe_capture.c | 171 if (!dev->hw_ops.open || in vpfe_register_ccdc_device() 172 !dev->hw_ops.enable || in vpfe_register_ccdc_device() 173 !dev->hw_ops.set_hw_if_params || in vpfe_register_ccdc_device() 174 !dev->hw_ops.configure || in vpfe_register_ccdc_device() 175 !dev->hw_ops.set_buftype || in vpfe_register_ccdc_device() 176 !dev->hw_ops.get_buftype || in vpfe_register_ccdc_device() 177 !dev->hw_ops.enum_pix || in vpfe_register_ccdc_device() 178 !dev->hw_ops.set_frame_format || in vpfe_register_ccdc_device() 179 !dev->hw_ops.get_frame_format || in vpfe_register_ccdc_device() 180 !dev->hw_ops.get_pixel_format || in vpfe_register_ccdc_device() [all …]
|
| H A D | ccdc_hw_device.h | 72 struct ccdc_hw_ops hw_ops; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic.h | 521 struct qlcnic_hardware_ops *hw_ops; member 1545 (adapter->ahw->hw_ops->read_reg)(adapter, off, err) 1548 adapter->ahw->hw_ops->write_reg(adapter, off, val) 1854 return adapter->ahw->hw_ops->encap_rx_offload(adapter); in qlcnic_encap_rx_offload() 1859 return adapter->ahw->hw_ops->encap_tx_offload(adapter); in qlcnic_encap_tx_offload() 1870 adapter->ahw->hw_ops->read_crb(adapter, buf, offset, size); in qlcnic_read_crb() 1876 adapter->ahw->hw_ops->write_crb(adapter, buf, offset, size); in qlcnic_write_crb() 1882 return adapter->ahw->hw_ops->get_mac_address(adapter, mac, function); in qlcnic_get_mac_address() 1887 return adapter->ahw->hw_ops->setup_intr(adapter); in qlcnic_setup_intr() 1893 return adapter->ahw->hw_ops->alloc_mbx_args(mbx, adapter, arg); in qlcnic_alloc_mbx_args() [all …]
|
| /OK3568_Linux_fs/kernel/sound/i2c/ |
| H A D | i2c.c | 159 if (bus->hw_ops.bit->start) in snd_i2c_bit_hw_start() 160 bus->hw_ops.bit->start(bus); in snd_i2c_bit_hw_start() 165 if (bus->hw_ops.bit->stop) in snd_i2c_bit_hw_stop() 166 bus->hw_ops.bit->stop(bus); in snd_i2c_bit_hw_stop() 171 if (bus->hw_ops.bit->direction) in snd_i2c_bit_direction() 172 bus->hw_ops.bit->direction(bus, clock, data); in snd_i2c_bit_direction() 177 bus->hw_ops.bit->setlines(bus, clock, data); in snd_i2c_bit_set() 183 if (bus->hw_ops.bit->getclock) 184 return bus->hw_ops.bit->getclock(bus); 191 return bus->hw_ops.bit->getdata(bus, ack); in snd_i2c_bit_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/ |
| H A D | hw.h | 131 const struct ath11k_hw_ops *hw_ops; member 185 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath11k_hw_get_mac_from_pdev_id() 186 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id() 194 if (hw->hw_ops->mac_id_to_pdev_id) in ath11k_hw_mac_id_to_pdev_id() 195 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id() 203 if (hw->hw_ops->mac_id_to_srng_id) in ath11k_hw_mac_id_to_srng_id() 204 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
|
| /OK3568_Linux_fs/kernel/drivers/clk/ti/ |
| H A D | gate.c | 100 const struct clk_hw_omap_ops *hw_ops) in _register_gate() argument 117 clk_hw->ops = hw_ops; in _register_gate() 136 const struct clk_hw_omap_ops *hw_ops) in _of_ti_gate_clk_setup() argument 168 enable_bit, clk_gate_flags, ops, hw_ops); in _of_ti_gate_clk_setup() 176 const struct clk_hw_omap_ops *hw_ops) in _of_ti_composite_gate_clk_setup() argument 191 gate->ops = hw_ops; in _of_ti_composite_gate_clk_setup()
|
| H A D | dpll.c | 225 const struct clk_hw_omap_ops *hw_ops) in _register_dpll_x2() argument 243 clk_hw->ops = hw_ops; in _register_dpll_x2() 253 if (hw_ops == &clkhwops_omap4_dpllmx) { in _register_dpll_x2()
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/hack/ |
| H A D | mpp_hack_px30.c | 179 if (mpp->hw_ops->clk_on) in px30_workaround_combo_init() 180 mpp->hw_ops->clk_on(mpp); in px30_workaround_combo_init() 192 if (mpp->hw_ops->clk_off) in px30_workaround_combo_init() 193 mpp->hw_ops->clk_off(mpp); in px30_workaround_combo_init() 223 mpp->hw_ops->clk_on(mpp); in px30_workaround_combo_switch_grf() 236 mpp->hw_ops->clk_off(mpp); in px30_workaround_combo_switch_grf()
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_vdpu1.c | 750 mpp->hw_ops->clk_on(mpp); in vdpu_3036_set_grf() 755 if (loop->hw_ops->clk_on) in vdpu_3036_set_grf() 756 loop->hw_ops->clk_on(loop); in vdpu_3036_set_grf() 757 if (loop->hw_ops->reset) in vdpu_3036_set_grf() 758 loop->hw_ops->reset(loop); in vdpu_3036_set_grf() 760 if (loop->hw_ops->clk_off) in vdpu_3036_set_grf() 761 loop->hw_ops->clk_off(loop); in vdpu_3036_set_grf() 770 mpp->hw_ops->clk_off(mpp); in vdpu_3036_set_grf() 832 .hw_ops = &vdpu_v1_hw_ops, 840 .hw_ops = &vdpu_3036_hw_ops, [all …]
|
| H A D | mpp_common.c | 202 if (mpp->hw_ops->clk_on) in mpp_power_on() 203 mpp->hw_ops->clk_on(mpp); in mpp_power_on() 210 if (mpp->hw_ops->clk_off) in mpp_power_off() 211 mpp->hw_ops->clk_off(mpp); in mpp_power_off() 650 if (mpp->auto_freq_en && mpp->hw_ops->get_freq) in mpp_process_task_default() 651 mpp->hw_ops->get_freq(mpp, task); in mpp_process_task_default() 738 if (mpp->hw_ops->set_grf) in mpp_dev_reset() 739 mpp->hw_ops->set_grf(mpp); in mpp_dev_reset() 743 if (mpp->auto_freq_en && mpp->hw_ops->reduce_freq) in mpp_dev_reset() 744 mpp->hw_ops->reduce_freq(mpp); in mpp_dev_reset() [all …]
|
| H A D | mpp_rkvdec.c | 1561 mpp->hw_ops->clk_on(mpp); in rkvdec_3036_set_grf() 1566 if (loop->hw_ops->clk_on) in rkvdec_3036_set_grf() 1567 loop->hw_ops->clk_on(loop); in rkvdec_3036_set_grf() 1568 if (loop->hw_ops->reset) in rkvdec_3036_set_grf() 1569 loop->hw_ops->reset(loop); in rkvdec_3036_set_grf() 1571 if (loop->hw_ops->clk_off) in rkvdec_3036_set_grf() 1572 loop->hw_ops->clk_off(loop); in rkvdec_3036_set_grf() 1581 mpp->hw_ops->clk_off(mpp); in rkvdec_3036_set_grf() 1862 .hw_ops = &rkvdec_v1_hw_ops, 1870 .hw_ops = &rkvdec_3036_hw_ops, [all …]
|
| H A D | mpp_rkvdec2.c | 1279 .hw_ops = &rkvdec_v2_hw_ops, 1287 .hw_ops = &rkvdec_rk3568_hw_ops, 1295 .hw_ops = &rkvdec_v2_hw_ops, 1303 .hw_ops = &rkvdec_rk3588_hw_ops, 1753 if (mpp->hw_ops->clk_off) in rkvdec2_runtime_suspend() 1754 mpp->hw_ops->clk_off(mpp); in rkvdec2_runtime_suspend() 1769 if (mpp->hw_ops->clk_on) in rkvdec2_runtime_resume() 1770 mpp->hw_ops->clk_on(mpp); in rkvdec2_runtime_resume()
|
| H A D | mpp_rkvdec2_link.c | 495 if (mpp->hw_ops->reset) in rkvdec2_link_reset() 496 mpp->hw_ops->reset(mpp); in rkvdec2_link_reset() 767 if (mpp->hw_ops->clk_on) in rkvdec2_link_power_on() 768 mpp->hw_ops->clk_on(mpp); in rkvdec2_link_power_on() 795 if (mpp->hw_ops->clk_off) in rkvdec2_link_power_off() 796 mpp->hw_ops->clk_off(mpp); in rkvdec2_link_power_off() 1447 if (mpp->hw_ops->clk_on) in rkvdec2_ccu_power_on() 1448 mpp->hw_ops->clk_on(mpp); in rkvdec2_ccu_power_on() 1478 if (mpp->hw_ops->clk_off) in rkvdec2_ccu_power_off() 1479 mpp->hw_ops->clk_off(mpp); in rkvdec2_ccu_power_off()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/ |
| H A D | hw.h | 565 const struct ath10k_hw_ops *hw_ops; member 657 if (hw->hw_ops->rx_desc_get_l3_pad_bytes) in ath10k_rx_desc_get_l3_pad_bytes() 658 return hw->hw_ops->rx_desc_get_l3_pad_bytes(rxd); in ath10k_rx_desc_get_l3_pad_bytes() 666 if (hw->hw_ops->rx_desc_get_msdu_limit_error) in ath10k_rx_desc_msdu_limit_error() 667 return hw->hw_ops->rx_desc_get_msdu_limit_error(rxd); in ath10k_rx_desc_msdu_limit_error() 675 if (hw->hw_ops->tx_data_rssi_pad_bytes) in ath10k_tx_data_rssi_get_pad_bytes() 676 return hw->hw_ops->tx_data_rssi_pad_bytes(htt); in ath10k_tx_data_rssi_get_pad_bytes() 684 if (hw->hw_ops->is_rssi_enable) in ath10k_is_rssi_enable() 685 return hw->hw_ops->is_rssi_enable(resp); in ath10k_is_rssi_enable()
|
| H A D | core.c | 77 .hw_ops = &qca988x_ops, 112 .hw_ops = &qca988x_ops, 148 .hw_ops = &qca988x_ops, 183 .hw_ops = &qca6174_sdio_ops, 214 .hw_ops = &qca988x_ops, 249 .hw_ops = &qca988x_ops, 284 .hw_ops = &qca988x_ops, 320 .hw_ops = &qca6174_ops, 364 .hw_ops = &qca99x0_ops, 408 .hw_ops = &qca99x0_ops, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ptp.c | 594 const struct aq_hw_ops *hw_ops; in aq_ptp_hwtstamp_config_set() local 597 hw_ops = aq_nic->aq_hw_ops; in aq_ptp_hwtstamp_config_set() 601 if (hw_ops->hw_filter_l3l4_set) { in aq_ptp_hwtstamp_config_set() 602 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set() 605 if (!err && hw_ops->hw_filter_l2_set) { in aq_ptp_hwtstamp_config_set() 606 err = hw_ops->hw_filter_l2_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set() 612 if (hw_ops->hw_filter_l3l4_set) { in aq_ptp_hwtstamp_config_set() 613 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set() 616 if (!err && hw_ops->hw_filter_l2_clear) { in aq_ptp_hwtstamp_config_set() 617 err = hw_ops->hw_filter_l2_clear(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
|
| /OK3568_Linux_fs/kernel/drivers/misc/mei/ |
| H A D | init.c | 359 const struct mei_hw_ops *hw_ops) in mei_device_init() argument 394 dev->ops = hw_ops; in mei_device_init()
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | i2c.h | 52 } hw_ops; /* lowlevel operations */ member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/spufs/ |
| H A D | Makefile | 5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
|