| /drivers/media/platform/qcom/camss/ |
| A D | camss.c | 90 .hw_ops = &csid_ops_4_1, 112 .hw_ops = &csid_ops_4_1, 150 .hw_ops = &vfe_ops_4_1, 175 .hw_ops = &csid_ops_4_7, 198 .hw_ops = &csid_ops_4_7, 221 .hw_ops = &csid_ops_4_7, 260 .hw_ops = &vfe_ops_4_1, 286 .hw_ops = &vfe_ops_4_1, 486 .hw_ops = &vfe_ops_4_7, 511 .hw_ops = &vfe_ops_4_7, [all …]
|
| A D | camss-csiphy.c | 240 csiphy->res->hw_ops->reset(csiphy); in csiphy_set_power() 242 csiphy->res->hw_ops->hw_version_read(csiphy, dev); in csiphy_set_power() 269 u8 lane_mask = csiphy->res->hw_ops->get_lane_mask(&cfg->csi2->lane_cfg); in csiphy_stream_on() 298 csiphy->res->hw_ops->lanes_enable(csiphy, cfg, link_freq, lane_mask); in csiphy_stream_on() 311 csiphy->res->hw_ops->lanes_disable(csiphy, &csiphy->cfg); in csiphy_stream_off() 592 ret = csiphy->res->hw_ops->init(csiphy); in msm_csiphy_subdev_init() 623 ret = devm_request_irq(dev, csiphy->irq, csiphy->res->hw_ops->isr, in msm_csiphy_subdev_init()
|
| A D | camss-vfe.c | 446 const struct vfe_hw_ops *ops = vfe->res->hw_ops; in vfe_buf_done() 608 if (vfe->res->hw_ops->enable_irq) in vfe_enable_v2() 688 vfe->res->hw_ops->global_reset(vfe); in vfe_reset() 1067 ret = vfe->res->hw_ops->pm_domain_on(vfe); in vfe_get() 1092 vfe->res->hw_ops->hw_version(vfe); in vfe_get() 1110 vfe->res->hw_ops->pm_domain_off(vfe); in vfe_get() 1132 vfe->res->hw_ops->vfe_halt(vfe); in vfe_put() 1136 vfe->res->hw_ops->pm_domain_off(vfe); in vfe_put() 1226 ret = vfe->res->hw_ops->vfe_enable(line); in vfe_set_stream() 1231 ret = vfe->res->hw_ops->vfe_disable(line); in vfe_set_stream() [all …]
|
| A D | camss-csid.c | 726 ret = csid->res->hw_ops->reset(csid); in csid_set_power() 736 csid->res->hw_ops->hw_version(csid); in csid_set_power() 779 csid->res->hw_ops->configure_stream(csid, enable); in csid_set_stream() 852 fmt->code = csid->res->hw_ops->src_pad_code(csid, fmt->code, 0, code); in csid_try_format() 903 code->code = csid->res->hw_ops->src_pad_code(csid, sink_fmt->code, in csid_enum_mbus_code() 1057 return csid->res->hw_ops->configure_testgen_pattern(csid, value); in csid_set_test_pattern() 1110 csid->res->hw_ops->subdev_init(csid); in msm_csid_subdev_init() 1140 ret = devm_request_irq(dev, csid->irq, csid->res->hw_ops->isr, in msm_csid_subdev_init()
|
| /drivers/net/ethernet/synopsys/ |
| A D | dwc-xlgmac-net.c | 209 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 D | dwc-xlgmac-hw.c | 3067 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 D | dwc-xlgmac-ethtool.c | 171 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 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()
|
| /drivers/net/ethernet/marvell/octeon_ep/ |
| A D | octep_cn9k_pf.c | 656 oct->hw_ops.setup_iq_regs(oct, i); in octep_reinit_regs_cn93_pf() 659 oct->hw_ops.setup_oq_regs(oct, i); in octep_reinit_regs_cn93_pf() 661 oct->hw_ops.enable_interrupts(oct); in octep_reinit_regs_cn93_pf() 662 oct->hw_ops.enable_io_queues(oct); in octep_reinit_regs_cn93_pf() 867 oct->hw_ops.soft_reset = octep_soft_reset_cn98_pf; in octep_device_setup_cn93_pf() 869 oct->hw_ops.soft_reset = octep_soft_reset_cn93_pf; in octep_device_setup_cn93_pf() 870 oct->hw_ops.reinit_regs = octep_reinit_regs_cn93_pf; in octep_device_setup_cn93_pf() 878 oct->hw_ops.enable_iq = octep_enable_iq_cn93_pf; in octep_device_setup_cn93_pf() 879 oct->hw_ops.enable_oq = octep_enable_oq_cn93_pf; in octep_device_setup_cn93_pf() 882 oct->hw_ops.disable_iq = octep_disable_iq_cn93_pf; in octep_device_setup_cn93_pf() [all …]
|
| A D | octep_cnxk_pf.c | 681 oct->hw_ops.setup_iq_regs(oct, i); in octep_reinit_regs_cnxk_pf() 684 oct->hw_ops.setup_oq_regs(oct, i); in octep_reinit_regs_cnxk_pf() 686 oct->hw_ops.enable_interrupts(oct); in octep_reinit_regs_cnxk_pf() 687 oct->hw_ops.enable_io_queues(oct); in octep_reinit_regs_cnxk_pf() 873 oct->hw_ops.setup_iq_regs = octep_setup_iq_regs_cnxk_pf; in octep_device_setup_cnxk_pf() 889 oct->hw_ops.soft_reset = octep_soft_reset_cnxk_pf; in octep_device_setup_cnxk_pf() 890 oct->hw_ops.reinit_regs = octep_reinit_regs_cnxk_pf; in octep_device_setup_cnxk_pf() 898 oct->hw_ops.enable_iq = octep_enable_iq_cnxk_pf; in octep_device_setup_cnxk_pf() 899 oct->hw_ops.enable_oq = octep_enable_oq_cnxk_pf; in octep_device_setup_cnxk_pf() 902 oct->hw_ops.disable_iq = octep_disable_iq_cnxk_pf; in octep_device_setup_cnxk_pf() [all …]
|
| A D | octep_main.c | 190 return oct->hw_ops.oei_intr_handler(oct); in octep_oei_intr_handler() 205 return oct->hw_ops.ire_intr_handler(oct); in octep_ire_intr_handler() 220 return oct->hw_ops.ore_intr_handler(oct); in octep_ore_intr_handler() 265 return oct->hw_ops.dma_intr_handler(oct); in octep_dma_intr_handler() 698 oct->hw_ops.reset_io_queues(oct); in octep_open() 725 oct->hw_ops.enable_io_queues(oct); in octep_open() 728 oct->hw_ops.enable_interrupts(oct); in octep_open() 775 oct->hw_ops.disable_interrupts(oct); in octep_stop() 782 oct->hw_ops.disable_io_queues(oct); in octep_stop() 783 oct->hw_ops.reset_io_queues(oct); in octep_stop() [all …]
|
| /drivers/net/ethernet/qlogic/qlcnic/ |
| A D | qlcnic.h | 521 struct qlcnic_hardware_ops *hw_ops; member 1898 if (adapter->ahw->hw_ops->mbx_cmd) in qlcnic_issue_cmd() 1906 adapter->ahw->hw_ops->get_func_no(adapter); in qlcnic_get_func_no() 1916 adapter->ahw->hw_ops->api_unlock(adapter); in qlcnic_api_unlock() 1921 if (adapter->ahw->hw_ops->add_sysfs) in qlcnic_add_sysfs() 1922 adapter->ahw->hw_ops->add_sysfs(adapter); in qlcnic_add_sysfs() 1927 if (adapter->ahw->hw_ops->remove_sysfs) in qlcnic_remove_sysfs() 2003 adapter->ahw->hw_ops->napi_enable(adapter); in qlcnic_napi_enable() 2234 if (adapter->ahw->hw_ops->enable_sds_intr) in qlcnic_enable_sds_intr() 2249 if (adapter->ahw->hw_ops->enable_tx_intr) in qlcnic_enable_tx_intr() [all …]
|
| /drivers/net/ethernet/marvell/octeon_ep_vf/ |
| A D | octep_vf_cn9k.c | 296 oct->hw_ops.setup_iq_regs(oct, i); in octep_vf_reinit_regs_cn93() 299 oct->hw_ops.setup_oq_regs(oct, i); in octep_vf_reinit_regs_cn93() 301 oct->hw_ops.enable_interrupts(oct); in octep_vf_reinit_regs_cn93() 302 oct->hw_ops.enable_io_queues(oct); in octep_vf_reinit_regs_cn93() 466 oct->hw_ops.setup_iq_regs = octep_vf_setup_iq_regs_cn93; in octep_vf_device_setup_cn93() 467 oct->hw_ops.setup_oq_regs = octep_vf_setup_oq_regs_cn93; in octep_vf_device_setup_cn93() 471 oct->hw_ops.reinit_regs = octep_vf_reinit_regs_cn93; in octep_vf_device_setup_cn93() 478 oct->hw_ops.enable_iq = octep_vf_enable_iq_cn93; in octep_vf_device_setup_cn93() 479 oct->hw_ops.enable_oq = octep_vf_enable_oq_cn93; in octep_vf_device_setup_cn93() 482 oct->hw_ops.disable_iq = octep_vf_disable_iq_cn93; in octep_vf_device_setup_cn93() [all …]
|
| A D | octep_vf_cnxk.c | 307 oct->hw_ops.setup_iq_regs(oct, i); in octep_vf_reinit_regs_cnxk() 310 oct->hw_ops.setup_oq_regs(oct, i); in octep_vf_reinit_regs_cnxk() 312 oct->hw_ops.enable_interrupts(oct); in octep_vf_reinit_regs_cnxk() 313 oct->hw_ops.enable_io_queues(oct); in octep_vf_reinit_regs_cnxk() 477 oct->hw_ops.setup_iq_regs = octep_vf_setup_iq_regs_cnxk; in octep_vf_device_setup_cnxk() 478 oct->hw_ops.setup_oq_regs = octep_vf_setup_oq_regs_cnxk; in octep_vf_device_setup_cnxk() 482 oct->hw_ops.reinit_regs = octep_vf_reinit_regs_cnxk; in octep_vf_device_setup_cnxk() 489 oct->hw_ops.enable_iq = octep_vf_enable_iq_cnxk; in octep_vf_device_setup_cnxk() 490 oct->hw_ops.enable_oq = octep_vf_enable_oq_cnxk; in octep_vf_device_setup_cnxk() 493 oct->hw_ops.disable_iq = octep_vf_disable_iq_cnxk; in octep_vf_device_setup_cnxk() [all …]
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | hw.h | 157 const struct ath12k_hw_ops *hw_ops; member 241 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath12k_hw_get_mac_from_pdev_id() 242 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id() 250 if (hw->hw_ops->mac_id_to_pdev_id) in ath12k_hw_mac_id_to_pdev_id() 251 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath12k_hw_mac_id_to_pdev_id() 259 if (hw->hw_ops->mac_id_to_srng_id) in ath12k_hw_mac_id_to_srng_id() 260 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath12k_hw_mac_id_to_srng_id()
|
| /drivers/clk/ti/ |
| A D | gate.c | 92 const struct clk_hw_omap_ops *hw_ops) in _register_gate() argument 109 clk_hw->ops = hw_ops; in _register_gate() 128 const struct clk_hw_omap_ops *hw_ops) in _of_ti_gate_clk_setup() argument 160 enable_bit, clk_gate_flags, ops, hw_ops); in _of_ti_gate_clk_setup() 168 const struct clk_hw_omap_ops *hw_ops) in _of_ti_composite_gate_clk_setup() argument 180 gate->ops = hw_ops; in _of_ti_composite_gate_clk_setup()
|
| /drivers/net/wireless/ath/ath11k/ |
| A D | hw.h | 151 const struct ath11k_hw_ops *hw_ops; member 302 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath11k_hw_get_mac_from_pdev_id() 303 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id() 311 if (hw->hw_ops->mac_id_to_pdev_id) in ath11k_hw_mac_id_to_pdev_id() 312 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id() 320 if (hw->hw_ops->mac_id_to_srng_id) in ath11k_hw_mac_id_to_srng_id() 321 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | mca_v3_0.c | 61 .hw_ops = &mca_v3_0_mp0_hw_ops, 81 .hw_ops = &mca_v3_0_mp1_hw_ops, 101 .hw_ops = &mca_v3_0_mpio_hw_ops,
|
| A D | amdgpu_umc.c | 109 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_umc_handle_bad_pages() 110 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_umc_handle_bad_pages() 111 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, ras_error_status); in amdgpu_umc_handle_bad_pages() 113 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_umc_handle_bad_pages() 114 adev->umc.ras->ras_block.hw_ops->query_ras_error_address && in amdgpu_umc_handle_bad_pages() 132 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, ras_error_status); in amdgpu_umc_handle_bad_pages()
|
| A D | amdgpu_ras.c | 1383 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status_helper() 1494 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_reset_error_count() 1513 if (block_obj->hw_ops->reset_ras_error_count) in amdgpu_ras_reset_error_count() 1560 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_inject() 1574 if (block_obj->hw_ops->ras_error_inject) { in amdgpu_ras_error_inject() 2214 if (block_obj->hw_ops && block_obj->hw_ops->query_poison_status) { in amdgpu_ras_interrupt_poison_consumption_handler() 2227 if (block_obj->hw_ops && block_obj->hw_ops->handle_poison_consumption) in amdgpu_ras_interrupt_poison_consumption_handler() 2517 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_status_query() 4173 if (ras_obj->ras_cb || (ras_obj->hw_ops && in amdgpu_ras_block_late_init() 4174 (ras_obj->hw_ops->query_poison_status || in amdgpu_ras_block_late_init() [all …]
|
| /drivers/gpu/drm/loongson/ |
| A D | lsdc_crtc.c | 393 const struct lsdc_crtc_hw_ops *ops = lcrtc->hw_ops; in lsdc_crtc_reset() 445 return lcrtc->hw_ops->get_vblank_counter(lcrtc); in lsdc_crtc_get_vblank_counter() 455 lcrtc->hw_ops->enable_vblank(lcrtc); in lsdc_crtc_enable_vblank() 467 lcrtc->hw_ops->disable_vblank(lcrtc); in lsdc_crtc_disable_vblank() 554 lcrtc->hw_ops->get_scan_pos(lcrtc, &x, &y); in lsdc_crtc_show_scan_position() 565 if (lcrtc->hw_ops->get_vblank_counter) in lsdc_crtc_show_vblank_counter() 567 lcrtc->hw_ops->get_vblank_counter(lcrtc)); in lsdc_crtc_show_vblank_counter() 864 lcrtc->hw_ops->enable(lcrtc); in lsdc_crtc_atomic_enable() 875 lcrtc->hw_ops->disable(lcrtc); in lsdc_crtc_atomic_disable() 967 lcrtc->hw_ops = &ls7a1000_crtc_hw_ops[index]; in ls7a1000_crtc_init() [all …]
|
| /drivers/accel/amdxdna/ |
| A D | aie2_pm.c | 35 ret = ndev->priv->hw_ops.set_dpm(ndev, ndev->dpm_level); in aie2_pm_init() 50 ret = ndev->priv->hw_ops.set_dpm(ndev, ndev->max_dpm_level); in aie2_pm_init() 97 ret = ndev->priv->hw_ops.set_dpm(ndev, dpm_level); in aie2_pm_set_mode()
|
| /drivers/soundwire/ |
| A D | intel.h | 32 const struct sdw_intel_hw_ops *hw_ops; member 133 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \ 134 (sdw)->link_res->hw_ops->cb) 135 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
|
| A D | intel_auxdevice.c | 89 if (sdw->link_res->hw_ops->bpt_send_async) in generic_bpt_send_async() 90 return sdw->link_res->hw_ops->bpt_send_async(sdw, slave, msg); in generic_bpt_send_async() 99 if (sdw->link_res->hw_ops->bpt_wait) in generic_bpt_wait() 100 return sdw->link_res->hw_ops->bpt_wait(sdw, slave, msg); in generic_bpt_wait() 109 return sdw->link_res->hw_ops->pre_bank_switch(sdw); in generic_pre_bank_switch() 117 return sdw->link_res->hw_ops->post_bank_switch(sdw); in generic_post_bank_switch() 145 if (sdw->link_res->hw_ops->program_sdi && wake_capable) in generic_new_peripheral_assigned() 146 sdw->link_res->hw_ops->program_sdi(sdw, dev_num); in generic_new_peripheral_assigned()
|
| /drivers/net/ethernet/aquantia/atlantic/ |
| 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()
|