Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac-net.c209 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_enable_rx_tx_ints() local
231 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_disable_rx_tx_ints() local
259 hw_ops = &pdata->hw_ops; in xlgmac_isr()
563 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_start() local
589 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_stop() local
712 hw_ops = &pdata->hw_ops; in xlgmac_xmit()
795 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_set_mac_address() local
839 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_vlan_rx_add_vid() local
960 hw_ops = &pdata->hw_ops; in xlgmac_rx_refresh()
1049 hw_ops = &pdata->hw_ops; in xlgmac_tx_poll()
[all …]
A Ddwc-xlgmac-hw.c3067 hw_ops->init = xlgmac_hw_init; in xlgmac_init_hw_ops()
3068 hw_ops->exit = xlgmac_hw_exit; 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()
3079 hw_ops->enable_int = xlgmac_enable_int; in xlgmac_init_hw_ops()
3138 hw_ops->tx_mmc_int = xlgmac_tx_mmc_int; in xlgmac_init_hw_ops()
[all …]
A Ddwc-xlgmac-ethtool.c171 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_ethtool_set_coalesce() local
176 rx_riwt = hw_ops->usec_to_riwt(pdata, rx_usecs); in xlgmac_ethtool_set_coalesce()
191 hw_ops->config_rx_coalesce(pdata); in xlgmac_ethtool_set_coalesce()
194 hw_ops->config_tx_coalesce(pdata); in xlgmac_ethtool_set_coalesce()
243 pdata->hw_ops.read_mmc_stats(pdata); in xlgmac_ethtool_get_ethtool_stats()
A Ddwc-xlgmac-desc.c423 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()
A Ddwc-xlgmac-common.c64 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()
A Ddwc-xlgmac.h546 struct xlgmac_hw_ops hw_ops; member
633 void xlgmac_init_hw_ops(struct xlgmac_hw_ops *hw_ops);
/linux/drivers/media/platform/davinci/
A Dvpss.c113 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()
356 if (!oper_cfg.hw_ops.enable_clock) in vpss_enable_clock()
377 if (!oper_cfg.hw_ops.set_pg_frame_size) in vpss_set_pg_frame_size()
[all …]
A Dvpfe_capture.c171 if (!dev->hw_ops.open || in vpfe_register_ccdc_device()
172 !dev->hw_ops.enable || 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()
177 !dev->hw_ops.enum_pix || in vpfe_register_ccdc_device()
185 !dev->hw_ops.getfid) in vpfe_register_ccdc_device()
504 if (ccdc_dev->hw_ops.reset) in vpfe_isr()
505 ccdc_dev->hw_ops.reset(); in vpfe_isr()
619 ccdc_dev->hw_ops.enable(0); in vpfe_stop_ccdc_capture()
666 if (ccdc_dev->hw_ops.close) in vpfe_release()
[all …]
A Dccdc_hw_device.h72 struct ccdc_hw_ops hw_ops; member
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic.h521 struct qlcnic_hardware_ops *hw_ops; member
1899 if (adapter->ahw->hw_ops->mbx_cmd) in qlcnic_issue_cmd()
1907 adapter->ahw->hw_ops->get_func_no(adapter); in qlcnic_get_func_no()
1917 adapter->ahw->hw_ops->api_unlock(adapter); in qlcnic_api_unlock()
1922 if (adapter->ahw->hw_ops->add_sysfs) in qlcnic_add_sysfs()
1923 adapter->ahw->hw_ops->add_sysfs(adapter); in qlcnic_add_sysfs()
1928 if (adapter->ahw->hw_ops->remove_sysfs) in qlcnic_remove_sysfs()
2004 adapter->ahw->hw_ops->napi_enable(adapter); in qlcnic_napi_enable()
2235 if (adapter->ahw->hw_ops->enable_sds_intr) in qlcnic_enable_sds_intr()
2250 if (adapter->ahw->hw_ops->enable_tx_intr) in qlcnic_enable_tx_intr()
[all …]
A Dqlcnic_main.c2475 ahw->hw_ops = &qlcnic_hw_ops; in qlcnic_probe()
3902 struct qlcnic_hardware_ops *hw_ops = adapter->ahw->hw_ops; in qlcnic_io_error_detected() local
3904 if (hw_ops->io_error_detected) { in qlcnic_io_error_detected()
3905 return hw_ops->io_error_detected(pdev, state); in qlcnic_io_error_detected()
3915 struct qlcnic_hardware_ops *hw_ops = adapter->ahw->hw_ops; in qlcnic_io_slot_reset() local
3917 if (hw_ops->io_slot_reset) { in qlcnic_io_slot_reset()
3918 return hw_ops->io_slot_reset(pdev); in qlcnic_io_slot_reset()
3928 struct qlcnic_hardware_ops *hw_ops = adapter->ahw->hw_ops; in qlcnic_io_resume() local
3930 if (hw_ops->io_resume) in qlcnic_io_resume()
3931 hw_ops->io_resume(pdev); in qlcnic_io_resume()
/linux/sound/i2c/
A Di2c.c159 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()
/linux/drivers/clk/ti/
A Dgate.c100 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()
A Ddpll.c225 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()
/linux/drivers/net/wireless/ath/ath11k/
A Dhw.h139 const struct ath11k_hw_ops *hw_ops; member
239 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath11k_hw_get_mac_from_pdev_id()
240 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
248 if (hw->hw_ops->mac_id_to_pdev_id) in ath11k_hw_mac_id_to_pdev_id()
249 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id()
257 if (hw->hw_ops->mac_id_to_srng_id) in ath11k_hw_mac_id_to_srng_id()
258 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
A Ddp_rx.c25 return ab->hw_params.hw_ops->rx_desc_get_hdr_status(desc); in ath11k_dp_rx_h_80211_hdr()
31 if (!ab->hw_params.hw_ops->rx_desc_encrypt_valid(desc)) in ath11k_dp_rx_h_mpdu_start_enctype()
34 return ab->hw_params.hw_ops->rx_desc_get_encrypt_type(desc); in ath11k_dp_rx_h_mpdu_start_enctype()
40 return ab->hw_params.hw_ops->rx_desc_get_decap_type(desc); in ath11k_dp_rx_h_msdu_start_decap_type()
46 return ab->hw_params.hw_ops->rx_desc_get_mesh_ctl(desc); in ath11k_dp_rx_h_msdu_start_mesh_ctl_present()
88 return ab->hw_params.hw_ops->rx_desc_get_attention(desc); in ath11k_dp_rx_get_attention()
160 return ab->hw_params.hw_ops->rx_desc_get_msdu_len(desc); in ath11k_dp_rx_h_msdu_start_msdu_len()
166 return ab->hw_params.hw_ops->rx_desc_get_msdu_sgi(desc); in ath11k_dp_rx_h_msdu_start_sgi()
184 return ab->hw_params.hw_ops->rx_desc_get_msdu_freq(desc); in ath11k_dp_rx_h_msdu_start_freq()
202 return ab->hw_params.hw_ops->rx_desc_get_mpdu_tid(desc); in ath11k_dp_rx_h_mpdu_start_tid()
[all …]
A Dcore.c44 .hw_ops = &ipq8074_ops,
96 .hw_ops = &ipq6018_ops,
145 .hw_ops = &qca6390_ops,
194 .hw_ops = &qcn9074_ops,
241 .hw_ops = &wcn6855_ops,
/linux/drivers/net/wireless/ath/ath10k/
A Dhw.h565 const struct ath10k_hw_ops *hw_ops; member
656 if (hw->hw_ops->rx_desc_get_l3_pad_bytes) in ath10k_rx_desc_get_l3_pad_bytes()
657 return hw->hw_ops->rx_desc_get_l3_pad_bytes(rxd); in ath10k_rx_desc_get_l3_pad_bytes()
665 if (hw->hw_ops->rx_desc_get_msdu_limit_error) in ath10k_rx_desc_msdu_limit_error()
666 return hw->hw_ops->rx_desc_get_msdu_limit_error(rxd); in ath10k_rx_desc_msdu_limit_error()
674 if (hw->hw_ops->tx_data_rssi_pad_bytes) in ath10k_tx_data_rssi_get_pad_bytes()
675 return hw->hw_ops->tx_data_rssi_pad_bytes(htt); in ath10k_tx_data_rssi_get_pad_bytes()
683 if (hw->hw_ops->is_rssi_enable) in ath10k_is_rssi_enable()
684 return hw->hw_ops->is_rssi_enable(resp); in ath10k_is_rssi_enable()
A Dcore.c77 .hw_ops = &qca988x_ops,
112 .hw_ops = &qca988x_ops,
148 .hw_ops = &qca988x_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,
453 .hw_ops = &qca99x0_ops,
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_ptp.c594 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()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_txrx.c220 pfvf->hw_ops->aura_freeptr(pfvf, qidx, iova & ~0x07ULL); in otx2_skb_add_frag()
261 pfvf->hw_ops->aura_freeptr(pfvf, qidx, in otx2_free_rcv_seg()
513 pfvf->hw_ops->refill_pool_ptrs(pfvf, rx_cq); in otx2_napi_handler()
888 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx); in otx2_sq_append_tso()
1008 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx); in otx2_sq_append_skb()
1151 pfvf->hw_ops->sqe_flush(pfvf, sq, offset, qidx); in otx2_xdp_sq_append_pkt()
A Dcn10k.c34 pfvf->hw_ops = &otx2_hw_ops; in cn10k_lmtst_init()
38 pfvf->hw_ops = &cn10k_hw_ops; in cn10k_lmtst_init()
/linux/drivers/misc/mei/
A Dinit.c362 const struct mei_hw_ops *hw_ops) in mei_device_init() argument
397 dev->ops = hw_ops; in mei_device_init()
/linux/arch/powerpc/platforms/cell/spufs/
A DMakefile5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
/linux/include/sound/
A Di2c.h52 } hw_ops; /* lowlevel operations */ member

Completed in 97 milliseconds

12