/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.h | 17 s32 igb_blink_led(struct e1000_hw *hw); 18 s32 igb_check_for_copper_link(struct e1000_hw *hw); 19 s32 igb_cleanup_led(struct e1000_hw *hw); 20 s32 igb_config_fc_after_link_up(struct e1000_hw *hw); 21 s32 igb_disable_pcie_master(struct e1000_hw *hw); 22 s32 igb_force_mac_fc(struct e1000_hw *hw); 23 s32 igb_get_auto_rd_done(struct e1000_hw *hw); 24 s32 igb_get_bus_info_pcie(struct e1000_hw *hw); 25 s32 igb_get_hw_semaphore(struct e1000_hw *hw); 26 s32 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u1 [all...] |
/linux-master/drivers/clk/qcom/ |
H A D | clk-regmap.h | 13 * @hw: handle between common and hardware-specific interfaces 21 struct clk_hw hw; member in struct:clk_regmap 28 static inline struct clk_regmap *to_clk_regmap(struct clk_hw *hw) argument 30 return container_of(hw, struct clk_regmap, hw); 33 int clk_is_enabled_regmap(struct clk_hw *hw); 34 int clk_enable_regmap(struct clk_hw *hw); 35 void clk_disable_regmap(struct clk_hw *hw);
|
/linux-master/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_phy.h | 14 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw); 15 s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data); 16 s32 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data); 17 void pch_gbe_phy_hw_reset(struct pch_gbe_hw *hw); 18 void pch_gbe_phy_power_up(struct pch_gbe_hw *hw); 19 void pch_gbe_phy_power_down(struct pch_gbe_hw *hw); 20 void pch_gbe_phy_set_rgmii(struct pch_gbe_hw *hw); 21 void pch_gbe_phy_init_setting(struct pch_gbe_hw *hw); 22 int pch_gbe_phy_disable_hibernate(struct pch_gbe_hw *hw);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | led.h | 7 void rtl8821ae_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl8812ae_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl8821ae_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 10 void rtl8812ae_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 11 void rtl8821ae_led_control(struct ieee80211_hw *hw,
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_x540.c | 19 static int ixgbe_update_flash_X540(struct ixgbe_hw *hw); 20 static int ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); 21 static int ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); 22 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw); 24 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw) argument 29 int ixgbe_get_invariants_X540(struct ixgbe_hw *hw) argument 31 struct ixgbe_mac_info *mac = &hw->mac; 32 struct ixgbe_phy_info *phy = &hw->phy; 43 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); 50 * @hw 54 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 69 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) argument 169 ixgbe_start_hw_X540(struct ixgbe_hw *hw) argument 187 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) argument 218 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data) argument 240 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 262 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data) argument 284 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 306 ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw *hw) argument 382 ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw *hw, u16 *checksum_val) argument 442 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw) argument 487 ixgbe_update_flash_X540(struct ixgbe_hw *hw) argument 532 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw) argument 554 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) argument 640 ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) argument 663 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw) argument 709 ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw) argument 733 ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw) argument 763 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index) argument 801 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index) argument [all...] |
/linux-master/drivers/clk/sprd/ |
H A D | ums512-clk.c | 30 /* some pll clocks configure CLK_IGNORE_UNUSED because hw dvfs does not call 31 * clock interface. hw dvfs can not gate the pll clock. 83 [CLK_26M_AUD] = &clk_26m_aud.hw, 84 [CLK_13M] = &clk_13m.hw, 85 [CLK_6M5] = &clk_6m5.hw, 86 [CLK_4M3] = &clk_4m3.hw, 87 [CLK_2M] = &clk_2m.hw, 88 [CLK_1M] = &clk_1m.hw, 89 [CLK_250K] = &clk_250k.hw, 90 [CLK_RCO_25M] = &rco_25m.hw, [all...] |
H A D | sc9863a-clk.c | 57 [CLK_MPLL0_GATE] = &mpll0_gate.common.hw, 58 [CLK_DPLL0_GATE] = &dpll0_gate.common.hw, 59 [CLK_LPLL_GATE] = &lpll_gate.common.hw, 60 [CLK_GPLL_GATE] = &gpll_gate.common.hw, 61 [CLK_DPLL1_GATE] = &dpll1_gate.common.hw, 62 [CLK_MPLL1_GATE] = &mpll1_gate.common.hw, 63 [CLK_MPLL2_GATE] = &mpll2_gate.common.hw, 64 [CLK_ISPPLL_GATE] = &isppll_gate.common.hw, 93 static CLK_FIXED_FACTOR_HW(twpll_768m, "twpll-768m", &twpll.common.hw, 2, 1, 0); 94 static CLK_FIXED_FACTOR_HW(twpll_384m, "twpll-384m", &twpll.common.hw, [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_adminq.c | 9 static void i40e_resume_aq(struct i40e_hw *hw); 13 * @hw: pointer to the hardware structure 15 static int i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) argument 19 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, 20 (hw->aq.num_asq_entries * 26 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, 27 (hw->aq.num_asq_entries * 30 i40e_free_dma_mem(hw, 41 i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) argument 60 i40e_free_adminq_asq(struct i40e_hw *hw) argument 72 i40e_free_adminq_arq(struct i40e_hw *hw) argument 81 i40e_alloc_arq_bufs(struct i40e_hw *hw) argument 147 i40e_alloc_asq_bufs(struct i40e_hw *hw) argument 186 i40e_free_arq_bufs(struct i40e_hw *hw) argument 205 i40e_free_asq_bufs(struct i40e_hw *hw) argument 230 i40e_config_asq_regs(struct i40e_hw *hw) argument 259 i40e_config_arq_regs(struct i40e_hw *hw) argument 298 i40e_init_asq(struct i40e_hw *hw) argument 357 i40e_init_arq(struct i40e_hw *hw) argument 409 i40e_shutdown_asq(struct i40e_hw *hw) argument 443 i40e_shutdown_arq(struct i40e_hw *hw) argument 475 i40e_set_hw_caps(struct i40e_hw *hw) argument 574 i40e_init_adminq(struct i40e_hw *hw) argument 671 i40e_shutdown_adminq(struct i40e_hw *hw) argument 689 i40e_clean_asq(struct i40e_hw *hw) argument 730 i40e_asq_done(struct i40e_hw *hw) argument 752 i40e_asq_send_command_atomic_exec(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details, bool is_atomic_context) argument 956 i40e_asq_send_command_atomic(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details, bool is_atomic_context) argument 975 i40e_asq_send_command(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details) argument 998 i40e_asq_send_command_atomic_v2(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details, bool is_atomic_context, enum i40e_admin_queue_err *aq_status) argument 1020 i40e_asq_send_command_v2(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details, enum i40e_admin_queue_err *aq_status) argument 1055 i40e_clean_arq_element(struct i40e_hw *hw, struct i40e_arq_event_info *e, u16 *pending) argument 1149 i40e_resume_aq(struct i40e_hw *hw) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/ |
H A D | ps.h | 9 bool rtl_ps_enable_nic(struct ieee80211_hw *hw); 10 bool rtl_ps_disable_nic(struct ieee80211_hw *hw); 11 void rtl_ips_nic_off(struct ieee80211_hw *hw); 12 void rtl_ips_nic_on(struct ieee80211_hw *hw); 14 void rtl_lps_enter(struct ieee80211_hw *hw, bool may_block); 15 void rtl_lps_leave(struct ieee80211_hw *hw, bool may_block); 17 void rtl_lps_set_psmode(struct ieee80211_hw *hw, u8 rt_psmode); 19 void rtl_swlps_beacon(struct ieee80211_hw *hw, void *data, unsigned int len); 22 void rtl_swlps_rf_awake(struct ieee80211_hw *hw); 23 void rtl_swlps_rf_sleep(struct ieee80211_hw *hw); [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | led.h | 7 void rtl8723be_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl8723be_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl8723be_led_control(struct ieee80211_hw *hw,
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | led.h | 7 void rtl8723e_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl8723e_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl8723e_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | led.h | 7 void rtl92ce_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl92ce_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl92ce_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | led.h | 7 void rtl88ee_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl88ee_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl88ee_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | led.h | 7 void rtl92se_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl92se_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl92se_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | led.h | 7 void rtl92ee_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl92ee_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl92ee_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
|
H A D | rf.h | 9 void rtl92ee_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, 11 bool rtl92ee_phy_rf6052_config(struct ieee80211_hw *hw);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | led.h | 7 void rtl92cu_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl92cu_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl92cu_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | led.h | 7 void rtl92de_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin); 8 void rtl92de_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin); 9 void rtl92de_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
|
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | mISDNinfineon.c | 267 struct inf_hw *hw = dev_id; local 270 spin_lock(&hw->lock); 271 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL); 273 spin_unlock(&hw->lock); 276 hw->irqcnt++; 277 mISDNipac_irq(&hw->ipac, irqloops); 278 spin_unlock(&hw->lock); 285 struct inf_hw *hw = dev_id; local 288 spin_lock(&hw->lock); 289 val = readb(hw 304 struct inf_hw *hw = dev_id; local 322 struct inf_hw *hw = dev_id; local 340 struct inf_hw *hw = dev_id; local 359 struct inf_hw *hw = dev_id; local 371 struct inf_hw *hw = dev_id; local 387 enable_hwirq(struct inf_hw *hw) argument 431 disable_hwirq(struct inf_hw *hw) argument 471 ipac_chip_reset(struct inf_hw *hw) argument 482 reset_inf(struct inf_hw *hw) argument 574 inf_ctrl(struct inf_hw *hw, u32 cmd, u_long arg) argument 592 init_irq(struct inf_hw *hw) argument 630 release_io(struct inf_hw *hw) argument 653 setup_io(struct inf_hw *hw) argument [all...] |
/linux-master/drivers/clk/meson/ |
H A D | gxbb.c | 121 .hw.init = &(struct clk_init_data){ 138 .hw.init = &(struct clk_init_data){ 142 &gxbb_fixed_pll_dco.hw 155 .hw.init = &(struct clk_init_data){ 198 .hw.init = &(struct clk_init_data){ 202 &gxbb_hdmi_pll_pre_mult.hw 252 .hw.init = &(struct clk_init_data){ 274 .hw.init = &(struct clk_init_data){ 278 &gxbb_hdmi_pll_dco.hw 292 .hw [all...] |
/linux-master/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 39 #include "hw.h" 46 static int alx_wait_mdio_idle(struct alx_hw *hw) argument 52 val = alx_read_mem32(hw, ALX_MDIO); 61 static int alx_read_phy_core(struct alx_hw *hw, bool ext, u8 dev, argument 70 clk_sel = hw->link_speed != SPEED_UNKNOWN ? 77 alx_write_mem32(hw, ALX_MDIO_EXTN, val); 88 alx_write_mem32(hw, ALX_MDIO, val); 90 err = alx_wait_mdio_idle(hw); 93 val = alx_read_mem32(hw, ALX_MDIO); 98 static int alx_write_phy_core(struct alx_hw *hw, boo argument 129 __alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) argument 134 __alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) argument 139 __alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) argument 144 __alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) argument 149 __alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) argument 160 __alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) argument 171 alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) argument 182 alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) argument 193 alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) argument 204 alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) argument 215 alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) argument 226 alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) argument 237 alx_get_phy_config(struct alx_hw *hw) argument 259 alx_wait_reg(struct alx_hw *hw, u32 reg, u32 wait, u32 *val) argument 277 alx_read_macaddr(struct alx_hw *hw, u8 *addr) argument 291 alx_get_perm_macaddr(struct alx_hw *hw, u8 *addr) argument 324 alx_set_macaddr(struct alx_hw *hw, const u8 *addr) argument 335 alx_reset_osc(struct alx_hw *hw, u8 rev) argument 376 alx_stop_mac(struct alx_hw *hw) argument 401 alx_reset_mac(struct alx_hw *hw) argument 490 alx_reset_phy(struct alx_hw *hw) argument 560 alx_reset_pcie(struct alx_hw *hw) argument 607 alx_start_mac(struct alx_hw *hw) argument 629 alx_cfg_mac_flowcontrol(struct alx_hw *hw, u8 fc) argument 644 alx_enable_aspm(struct alx_hw *hw, bool l0s_en, bool l1_en) argument 680 ethadv_to_hw_cfg(struct alx_hw *hw, u32 ethadv_cfg) argument 722 alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl) argument 778 alx_post_phy_link(struct alx_hw *hw) argument 851 alx_phy_configured(struct alx_hw *hw) argument 865 alx_read_phy_link(struct alx_hw *hw) argument 915 alx_clear_phy_intr(struct alx_hw *hw) argument 923 alx_disable_rss(struct alx_hw *hw) argument 931 alx_configure_basic(struct alx_hw *hw) argument 1034 alx_mask_msix(struct alx_hw *hw, int index, bool mask) argument 1048 alx_get_phy_info(struct alx_hw *hw) argument 1068 alx_update_hw_stats(struct alx_hw *hw) argument [all...] |
/linux-master/arch/arm/mach-sa1100/ |
H A D | clock.c | 23 static int clk_gpio27_enable(struct clk_hw *hw) argument 39 static void clk_gpio27_disable(struct clk_hw *hw) argument 71 static unsigned long clk_mpll_recalc_rate(struct clk_hw *hw, argument 95 struct clk_hw *hw; local 98 hw = clk_hw_register_fixed_rate(NULL, "clk32768", NULL, 0, 32768); 99 if (IS_ERR(hw)) 100 return PTR_ERR(hw); 102 clk_hw_register_clkdev(hw, NULL, "sa1100-rtc"); 104 hw = clk_hw_register_fixed_rate(NULL, "clk3686400", NULL, 0, 3686400); 105 if (IS_ERR(hw)) [all...] |
/linux-master/drivers/spi/ |
H A D | spi-oc-tiny.c | 61 struct tiny_spi *hw = tiny_spi_to_hw(spi); local 63 return min(DIV_ROUND_UP(hw->freq, hz * 2), (1U << hw->baudwidth)) - 1; 69 struct tiny_spi *hw = tiny_spi_to_hw(spi); local 70 unsigned int baud = hw->baud; 73 if (t->speed_hz && t->speed_hz != hw->speed_hz) 76 writel(baud, hw->base + TINY_SPI_BAUD); 77 writel(hw->mode, hw->base + TINY_SPI_CONTROL); 83 struct tiny_spi *hw local 93 tiny_spi_wait_txr(struct tiny_spi *hw) argument 100 tiny_spi_wait_txe(struct tiny_spi *hw) argument 109 struct tiny_spi *hw = tiny_spi_to_hw(spi); local 160 struct tiny_spi *hw = dev; local 191 struct tiny_spi *hw = platform_get_drvdata(pdev); local 214 struct tiny_spi *hw; local 276 struct tiny_spi *hw = platform_get_drvdata(pdev); local [all...] |
H A D | spi-au1550.c | 52 void (*rx_word)(struct au1550_spi *hw); 53 void (*tx_word)(struct au1550_spi *hw); 55 irqreturn_t (*irq_callback)(struct au1550_spi *hw); 89 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw); 101 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned int speed_hz) argument 103 u32 mainclk_hz = hw->pdata->mainclk_hz; 124 static inline void au1550_spi_mask_ack_all(struct au1550_spi *hw) argument 126 hw->regs->psc_spimsk = 132 hw->regs->psc_spievent = 139 static void au1550_spi_reset_fifos(struct au1550_spi *hw) argument 162 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); local 222 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); local 278 au1550_spi_dma_rxtmp_alloc(struct au1550_spi *hw, unsigned int size) argument 295 au1550_spi_dma_rxtmp_free(struct au1550_spi *hw) argument 306 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); local 411 au1550_spi_dma_irq_callback(struct au1550_spi *hw) argument 505 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); local 545 au1550_spi_pio_irq_callback(struct au1550_spi *hw) argument 637 struct au1550_spi *hw = spi_controller_get_devdata(spi->controller); local 644 struct au1550_spi *hw = dev; local 649 au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw) argument 674 au1550_spi_setup_psc_as_spi(struct au1550_spi *hw) argument 725 struct au1550_spi *hw; local 928 struct au1550_spi *hw = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/vdpa/ifcvf/ |
H A D | ifcvf_base.c | 13 u16 ifcvf_set_vq_vector(struct ifcvf_hw *hw, u16 qid, int vector) argument 15 struct virtio_pci_common_cfg __iomem *cfg = hw->common_cfg; 23 u16 ifcvf_set_config_vector(struct ifcvf_hw *hw, int vector) argument 25 struct virtio_pci_common_cfg __iomem *cfg = hw->common_cfg; 32 static void __iomem *get_cap_addr(struct ifcvf_hw *hw, argument 43 IFCVF_DBG(hw->pdev, 48 if (offset + length > pci_resource_len(hw->pdev, bar)) { 49 IFCVF_DBG(hw->pdev, 55 return hw->base[bar] + offset; 72 u16 ifcvf_get_vq_size(struct ifcvf_hw *hw, u1 argument 85 ifcvf_get_max_vq_size(struct ifcvf_hw *hw) argument 102 ifcvf_init_hw(struct ifcvf_hw *hw, struct pci_dev *pdev) argument 194 ifcvf_get_status(struct ifcvf_hw *hw) argument 199 ifcvf_set_status(struct ifcvf_hw *hw, u8 status) argument 204 ifcvf_reset(struct ifcvf_hw *hw) argument 211 ifcvf_get_hw_features(struct ifcvf_hw *hw) argument 229 ifcvf_get_dev_features(struct ifcvf_hw *hw) argument 234 ifcvf_get_driver_features(struct ifcvf_hw *hw) argument 251 ifcvf_verify_min_features(struct ifcvf_hw *hw, u64 features) argument 261 ifcvf_get_config_size(struct ifcvf_hw *hw) argument 288 ifcvf_read_dev_config(struct ifcvf_hw *hw, u64 offset, void *dst, int length) argument 305 ifcvf_write_dev_config(struct ifcvf_hw *hw, u64 offset, const void *src, int length) argument 317 ifcvf_set_driver_features(struct ifcvf_hw *hw, u64 features) argument 328 ifcvf_get_vq_state(struct ifcvf_hw *hw, u16 qid) argument 338 ifcvf_set_vq_state(struct ifcvf_hw *hw, u16 qid, u16 num) argument 347 ifcvf_set_vq_num(struct ifcvf_hw *hw, u16 qid, u32 num) argument 355 ifcvf_set_vq_address(struct ifcvf_hw *hw, u16 qid, u64 desc_area, u64 driver_area, u64 device_area) argument 371 ifcvf_get_vq_ready(struct ifcvf_hw *hw, u16 qid) argument 382 ifcvf_set_vq_ready(struct ifcvf_hw *hw, u16 qid, bool ready) argument 390 ifcvf_reset_vring(struct ifcvf_hw *hw) argument 401 ifcvf_reset_config_handler(struct ifcvf_hw *hw) argument 408 ifcvf_synchronize_irq(struct ifcvf_hw *hw) argument 421 ifcvf_stop(struct ifcvf_hw *hw) argument 428 ifcvf_notify_queue(struct ifcvf_hw *hw, u16 qid) argument [all...] |