Searched refs:hw (Results 1 - 25 of 708) sorted by relevance

1234567891011>>

/drivers/net/wireless/rtlwifi/rtl8192cu/
H A Ddm.h32 void rtl92cu_dm_dynamic_txpower(struct ieee80211_hw *hw);
H A Dphy.h32 void rtl92cu_bb_block_on(struct ieee80211_hw *hw);
33 bool rtl8192_phy_check_is_legal_rfpath(struct ieee80211_hw *hw, u32 rfpath);
34 void rtl92c_phy_set_io(struct ieee80211_hw *hw);
35 bool _rtl92cu_phy_config_mac_with_headerfile(struct ieee80211_hw *hw);
36 bool rtl92cu_phy_bb_config(struct ieee80211_hw *hw);
37 u32 rtl92cu_phy_query_rf_reg(struct ieee80211_hw *hw,
39 void rtl92cu_phy_set_rf_reg(struct ieee80211_hw *hw,
42 bool rtl92cu_phy_mac_config(struct ieee80211_hw *hw);
43 bool _rtl92cu_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw,
45 void _rtl92cu_phy_lc_calibrate(struct ieee80211_hw *hw, boo
[all...]
H A Dled.h31 void rtl92cu_init_sw_leds(struct ieee80211_hw *hw);
32 void rtl92cu_deinit_sw_leds(struct ieee80211_hw *hw);
33 void rtl92cu_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
34 void rtl92cu_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
35 void rtl92cu_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_api.c51 * @hw: Pointer to the HW structure
53 static void pch_gbe_plat_get_bus_info(struct pch_gbe_hw *hw) argument
55 hw->bus.type = pch_gbe_bus_type_pci_express;
56 hw->bus.speed = pch_gbe_bus_speed_2500;
57 hw->bus.width = pch_gbe_bus_width_pcie_x1;
62 * @hw: Pointer to the HW structure
67 static s32 pch_gbe_plat_init_hw(struct pch_gbe_hw *hw) argument
71 ret_val = pch_gbe_phy_get_id(hw);
76 pch_gbe_phy_init_setting(hw);
79 pch_gbe_phy_set_rgmii(hw);
100 pch_gbe_plat_init_function_pointers(struct pch_gbe_hw *hw) argument
115 pch_gbe_hal_setup_init_funcs(struct pch_gbe_hw *hw) argument
129 pch_gbe_hal_get_bus_info(struct pch_gbe_hw *hw) argument
144 pch_gbe_hal_init_hw(struct pch_gbe_hw *hw) argument
162 pch_gbe_hal_read_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 *data) argument
179 pch_gbe_hal_write_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 data) argument
191 pch_gbe_hal_phy_hw_reset(struct pch_gbe_hw *hw) argument
203 pch_gbe_hal_phy_sw_reset(struct pch_gbe_hw *hw) argument
218 pch_gbe_hal_read_mac_addr(struct pch_gbe_hw *hw) argument
231 pch_gbe_hal_power_up_phy(struct pch_gbe_hw *hw) argument
241 pch_gbe_hal_power_down_phy(struct pch_gbe_hw *hw) argument
[all...]
H A Dpch_gbe_api.h25 s32 pch_gbe_hal_setup_init_funcs(struct pch_gbe_hw *hw);
26 void pch_gbe_hal_get_bus_info(struct pch_gbe_hw *hw);
27 s32 pch_gbe_hal_init_hw(struct pch_gbe_hw *hw);
28 s32 pch_gbe_hal_read_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 *data);
29 s32 pch_gbe_hal_write_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 data);
30 void pch_gbe_hal_phy_hw_reset(struct pch_gbe_hw *hw);
31 void pch_gbe_hal_phy_sw_reset(struct pch_gbe_hw *hw);
32 s32 pch_gbe_hal_read_mac_addr(struct pch_gbe_hw *hw);
33 void pch_gbe_hal_power_up_phy(struct pch_gbe_hw *hw);
34 void pch_gbe_hal_power_down_phy(struct pch_gbe_hw *hw);
[all...]
H A Dpch_gbe_phy.h27 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw);
28 s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data);
29 s32 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data);
30 void pch_gbe_phy_sw_reset(struct pch_gbe_hw *hw);
31 void pch_gbe_phy_hw_reset(struct pch_gbe_hw *hw);
32 void pch_gbe_phy_power_up(struct pch_gbe_hw *hw);
33 void pch_gbe_phy_power_down(struct pch_gbe_hw *hw);
34 void pch_gbe_phy_set_rgmii(struct pch_gbe_hw *hw);
35 void pch_gbe_phy_init_setting(struct pch_gbe_hw *hw);
/drivers/net/wireless/rtl818x/rtl8187/
H A Drfkill.h4 void rtl8187_rfkill_init(struct ieee80211_hw *hw);
5 void rtl8187_rfkill_poll(struct ieee80211_hw *hw);
6 void rtl8187_rfkill_exit(struct ieee80211_hw *hw);
/drivers/net/wireless/rtlwifi/rtl8192se/
H A Dsw.h32 int rtl92se_init_sw(struct ieee80211_hw *hw);
33 void rtl92se_deinit_sw(struct ieee80211_hw *hw);
34 void rtl92se_init_var_map(struct ieee80211_hw *hw);
H A Dled.h32 void rtl92se_init_sw_leds(struct ieee80211_hw *hw);
33 void rtl92se_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
34 void rtl92se_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
35 void rtl92se_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
H A Dhw.h45 void rtl92se_get_hw_reg(struct ieee80211_hw *hw,
47 void rtl92se_read_eeprom_info(struct ieee80211_hw *hw);
48 void rtl92se_interrupt_recognized(struct ieee80211_hw *hw,
50 int rtl92se_hw_init(struct ieee80211_hw *hw);
51 void rtl92se_card_disable(struct ieee80211_hw *hw);
52 void rtl92se_enable_interrupt(struct ieee80211_hw *hw);
53 void rtl92se_disable_interrupt(struct ieee80211_hw *hw);
54 int rtl92se_set_network_type(struct ieee80211_hw *hw,
56 void rtl92se_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid);
58 void rtl92se_set_qos(struct ieee80211_hw *hw, in
[all...]
/drivers/net/wireless/rtlwifi/rtl8192ce/
H A Dled.h33 void rtl92ce_init_sw_leds(struct ieee80211_hw *hw);
34 void rtl92ce_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
35 void rtl92ce_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
36 void rtl92ce_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
H A Dhw.h46 void rtl92ce_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val);
47 void rtl92ce_read_eeprom_info(struct ieee80211_hw *hw);
48 void rtl92ce_interrupt_recognized(struct ieee80211_hw *hw,
50 int rtl92ce_hw_init(struct ieee80211_hw *hw);
51 void rtl92ce_card_disable(struct ieee80211_hw *hw);
52 void rtl92ce_enable_interrupt(struct ieee80211_hw *hw);
53 void rtl92ce_disable_interrupt(struct ieee80211_hw *hw);
54 int rtl92ce_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type);
55 void rtl92ce_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid);
56 void rtl92ce_set_qos(struct ieee80211_hw *hw, in
[all...]
H A Dsw.h33 int rtl92c_init_sw_vars(struct ieee80211_hw *hw);
34 void rtl92c_deinit_sw_vars(struct ieee80211_hw *hw);
35 void rtl92c_init_var_map(struct ieee80211_hw *hw);
36 bool _rtl92ce_phy_config_bb_with_headerfile(struct ieee80211_hw *hw,
38 bool _rtl92ce_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw,
/drivers/net/wireless/rtlwifi/rtl8192de/
H A Dled.h33 void rtl92de_init_sw_leds(struct ieee80211_hw *hw);
34 void rtl92de_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
35 void rtl92de_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
36 void rtl92de_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction);
H A Dhw.h33 void rtl92de_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val);
34 void rtl92de_read_eeprom_info(struct ieee80211_hw *hw);
35 void rtl92de_interrupt_recognized(struct ieee80211_hw *hw,
37 int rtl92de_hw_init(struct ieee80211_hw *hw);
38 void rtl92de_card_disable(struct ieee80211_hw *hw);
39 void rtl92de_enable_interrupt(struct ieee80211_hw *hw);
40 void rtl92de_disable_interrupt(struct ieee80211_hw *hw);
41 int rtl92de_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type);
42 void rtl92de_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid);
43 void rtl92de_set_qos(struct ieee80211_hw *hw, in
[all...]
H A Drf.h33 extern void rtl92d_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw,
35 extern void rtl92d_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
37 extern void rtl92d_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
39 extern bool rtl92d_phy_rf6052_config(struct ieee80211_hw *hw);
40 extern bool rtl92d_phy_enable_anotherphy(struct ieee80211_hw *hw, bool bmac0);
41 extern void rtl92d_phy_powerdown_anotherphy(struct ieee80211_hw *hw,
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_ee.c34 static u16 ixgb_shift_in_bits(struct ixgb_hw *hw);
36 static void ixgb_shift_out_bits(struct ixgb_hw *hw,
39 static void ixgb_standby_eeprom(struct ixgb_hw *hw);
41 static bool ixgb_wait_eeprom_command(struct ixgb_hw *hw);
43 static void ixgb_cleanup_eeprom(struct ixgb_hw *hw);
48 * hw - Struct containing variables accessed by shared code
52 ixgb_raise_clock(struct ixgb_hw *hw, argument
59 IXGB_WRITE_REG(hw, EECD, *eecd_reg);
60 IXGB_WRITE_FLUSH(hw);
67 * hw
71 ixgb_lower_clock(struct ixgb_hw *hw, u32 *eecd_reg) argument
91 ixgb_shift_out_bits(struct ixgb_hw *hw, u16 data, u16 count) argument
139 ixgb_shift_in_bits(struct ixgb_hw *hw) argument
182 ixgb_setup_eeprom(struct ixgb_hw *hw) argument
203 ixgb_standby_eeprom(struct ixgb_hw *hw) argument
240 ixgb_clock_eeprom(struct ixgb_hw *hw) argument
265 ixgb_cleanup_eeprom(struct ixgb_hw *hw) argument
290 ixgb_wait_eeprom_command(struct ixgb_hw *hw) argument
330 ixgb_validate_eeprom_checksum(struct ixgb_hw *hw) argument
353 ixgb_update_eeprom_checksum(struct ixgb_hw *hw) argument
378 ixgb_write_eeprom(struct ixgb_hw *hw, u16 offset, u16 data) argument
430 ixgb_read_eeprom(struct ixgb_hw *hw, u16 offset) argument
465 ixgb_get_eeprom_data(struct ixgb_hw *hw) argument
511 ixgb_check_and_get_eeprom_data(struct ixgb_hw* hw) argument
533 ixgb_get_eeprom_word(struct ixgb_hw *hw, u16 index) argument
551 ixgb_get_ee_mac_addr(struct ixgb_hw *hw, u8 *mac_addr) argument
577 ixgb_get_ee_pba_number(struct ixgb_hw *hw) argument
596 ixgb_get_ee_device_id(struct ixgb_hw *hw) argument
[all...]
/drivers/net/wireless/rtlwifi/
H A Dps.h35 bool rtl_ps_set_rf_state(struct ieee80211_hw *hw,
37 bool rtl_ps_enable_nic(struct ieee80211_hw *hw);
38 bool rtl_ps_disable_nic(struct ieee80211_hw *hw);
39 void rtl_ips_nic_off(struct ieee80211_hw *hw);
40 void rtl_ips_nic_on(struct ieee80211_hw *hw);
42 void rtl_lps_enter(struct ieee80211_hw *hw);
43 void rtl_lps_leave(struct ieee80211_hw *hw);
45 void rtl_swlps_beacon(struct ieee80211_hw *hw, void *data, unsigned int len);
48 void rtl_swlps_rf_awake(struct ieee80211_hw *hw);
49 void rtl_swlps_rf_sleep(struct ieee80211_hw *hw);
[all...]
/drivers/net/ethernet/intel/igb/
H A De1000_mac.h41 s32 igb_blink_led(struct e1000_hw *hw);
42 s32 igb_check_for_copper_link(struct e1000_hw *hw);
43 s32 igb_cleanup_led(struct e1000_hw *hw);
44 s32 igb_config_fc_after_link_up(struct e1000_hw *hw);
45 s32 igb_disable_pcie_master(struct e1000_hw *hw);
46 s32 igb_force_mac_fc(struct e1000_hw *hw);
47 s32 igb_get_auto_rd_done(struct e1000_hw *hw);
48 s32 igb_get_bus_info_pcie(struct e1000_hw *hw);
49 s32 igb_get_hw_semaphore(struct e1000_hw *hw);
50 s32 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u1
[all...]
/drivers/spi/
H A Dspi-nuc900.c76 struct nuc900_spi *hw = to_hw(spi); local
82 spin_lock_irqsave(&hw->lock, flags);
84 val = __raw_readl(hw->regs + USI_SSR);
96 __raw_writel(val, hw->regs + USI_SSR);
98 val = __raw_readl(hw->regs + USI_CNT);
105 __raw_writel(val, hw->regs + USI_CNT);
107 spin_unlock_irqrestore(&hw->lock, flags);
123 static void nuc900_spi_setup_txnum(struct nuc900_spi *hw, argument
129 spin_lock_irqsave(&hw->lock, flags);
131 val = __raw_readl(hw
144 nuc900_spi_setup_txbitlen(struct nuc900_spi *hw, unsigned int txbitlen) argument
161 nuc900_spi_gobusy(struct nuc900_spi *hw) argument
188 hw_txbyte(struct nuc900_spi *hw, int count) argument
195 struct nuc900_spi *hw = to_hw(spi); local
213 struct nuc900_spi *hw = dev; local
241 nuc900_tx_edge(struct nuc900_spi *hw, unsigned int edge) argument
259 nuc900_rx_edge(struct nuc900_spi *hw, unsigned int edge) argument
277 nuc900_send_first(struct nuc900_spi *hw, unsigned int lsb) argument
295 nuc900_set_sleep(struct nuc900_spi *hw, unsigned int sleep) argument
313 nuc900_enable_int(struct nuc900_spi *hw) argument
329 nuc900_set_divider(struct nuc900_spi *hw) argument
334 nuc900_init_spi(struct nuc900_spi *hw) argument
351 struct nuc900_spi *hw; local
458 struct nuc900_spi *hw = platform_get_drvdata(dev); local
[all...]
H A Dspi-altera.c72 struct altera_spi *hw = altera_spi_to_hw(spi); local
78 hw->base + ALTERA_SPI_SLAVE_SEL);
79 hw->imr |= ALTERA_SPI_CONTROL_SSO_MSK;
80 writel(hw->imr, hw->base + ALTERA_SPI_CONTROL);
84 hw->imr &= ~ALTERA_SPI_CONTROL_SSO_MSK;
85 writel(hw->imr, hw->base + ALTERA_SPI_CONTROL);
86 writel(0, hw->base + ALTERA_SPI_SLAVE_SEL);
92 hw
116 hw_txbyte(struct altera_spi *hw, int count) argument
132 struct altera_spi *hw = altera_spi_to_hw(spi); local
192 struct altera_spi *hw = dev; local
221 struct altera_spi *hw; local
295 struct altera_spi *hw = platform_get_drvdata(dev); local
[all...]
H A Dspi-oc-tiny.c68 struct tiny_spi *hw = tiny_spi_to_hw(spi); local
70 return min(DIV_ROUND_UP(hw->freq, hz * 2), (1U << hw->baudwidth)) - 1;
75 struct tiny_spi *hw = tiny_spi_to_hw(spi); local
77 if (hw->gpio_cs_count) {
78 gpio_set_value(hw->gpio_cs[spi->chip_select],
86 struct tiny_spi *hw = tiny_spi_to_hw(spi); local
87 unsigned int baud = hw->baud;
90 if (t->speed_hz && t->speed_hz != hw->speed_hz)
93 writel(baud, hw
100 struct tiny_spi *hw = tiny_spi_to_hw(spi); local
110 tiny_spi_wait_txr(struct tiny_spi *hw) argument
117 tiny_spi_wait_txe(struct tiny_spi *hw) argument
126 struct tiny_spi *hw = tiny_spi_to_hw(spi); local
217 struct tiny_spi *hw = dev; local
248 struct tiny_spi *hw = platform_get_drvdata(pdev); local
289 struct tiny_spi *hw; local
378 struct tiny_spi *hw = platform_get_drvdata(pdev); local
[all...]
H A Dspi-au1550.c67 void (*rx_word)(struct au1550_spi *hw);
68 void (*tx_word)(struct au1550_spi *hw);
70 irqreturn_t (*irq_callback)(struct au1550_spi *hw);
105 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw);
117 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned speed_hz) argument
119 u32 mainclk_hz = hw->pdata->mainclk_hz;
140 static inline void au1550_spi_mask_ack_all(struct au1550_spi *hw) argument
142 hw->regs->psc_spimsk =
148 hw->regs->psc_spievent =
155 static void au1550_spi_reset_fifos(struct au1550_spi *hw) argument
178 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
238 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
297 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
326 au1550_spi_dma_rxtmp_alloc(struct au1550_spi *hw, unsigned size) argument
343 au1550_spi_dma_rxtmp_free(struct au1550_spi *hw) argument
354 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
459 au1550_spi_dma_irq_callback(struct au1550_spi *hw) argument
553 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
593 au1550_spi_pio_irq_callback(struct au1550_spi *hw) argument
685 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
691 struct au1550_spi *hw = dev; local
695 au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw) argument
720 au1550_spi_setup_psc_as_spi(struct au1550_spi *hw) argument
771 struct au1550_spi *hw; local
973 struct au1550_spi *hw = platform_get_drvdata(pdev); local
[all...]
/drivers/isdn/hardware/mISDN/
H A DmISDNinfineon.c282 struct inf_hw *hw = dev_id; local
285 spin_lock(&hw->lock);
286 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL);
288 spin_unlock(&hw->lock);
291 hw->irqcnt++;
292 mISDNipac_irq(&hw->ipac, irqloops);
293 spin_unlock(&hw->lock);
300 struct inf_hw *hw = dev_id; local
303 spin_lock(&hw->lock);
304 val = readb(hw
319 struct inf_hw *hw = dev_id; local
337 struct inf_hw *hw = dev_id; local
355 struct inf_hw *hw = dev_id; local
374 struct inf_hw *hw = dev_id; local
386 struct inf_hw *hw = dev_id; local
402 enable_hwirq(struct inf_hw *hw) argument
446 disable_hwirq(struct inf_hw *hw) argument
486 ipac_chip_reset(struct inf_hw *hw) argument
497 reset_inf(struct inf_hw *hw) argument
589 inf_ctrl(struct inf_hw *hw, u32 cmd, u_long arg) argument
607 init_irq(struct inf_hw *hw) argument
645 release_io(struct inf_hw *hw) argument
666 setup_io(struct inf_hw *hw) argument
[all...]
/drivers/infiniband/
H A DMakefile2 obj-$(CONFIG_INFINIBAND_MTHCA) += hw/mthca/
3 obj-$(CONFIG_INFINIBAND_IPATH) += hw/ipath/
4 obj-$(CONFIG_INFINIBAND_QIB) += hw/qib/
5 obj-$(CONFIG_INFINIBAND_EHCA) += hw/ehca/
6 obj-$(CONFIG_INFINIBAND_AMSO1100) += hw/amso1100/
7 obj-$(CONFIG_INFINIBAND_CXGB3) += hw/cxgb3/
8 obj-$(CONFIG_INFINIBAND_CXGB4) += hw/cxgb4/
9 obj-$(CONFIG_MLX4_INFINIBAND) += hw/mlx4/
10 obj-$(CONFIG_INFINIBAND_NES) += hw/nes/

Completed in 347 milliseconds

1234567891011>>