Searched refs:hw (Results 101 - 125 of 708) sorted by relevance

1234567891011>>

/drivers/isdn/hisax/
H A Denternow_pci.c85 * From address hw.njet.base + TJ_AMD_PORT onwards, the AMD
87 * -> 0x01 of the AMD at hw.njet.base + 0C4 */
101 return (inb(cs->hw.njet.isac + 4 * offset));
105 outb(offset, cs->hw.njet.isac + 4 * AMD_CR);
106 return (inb(cs->hw.njet.isac + 4 * AMD_DR));
116 outb(value, cs->hw.njet.isac + 4 * offset);
120 outb(offset, cs->hw.njet.isac + 4 * AMD_CR);
121 outb(value, cs->hw.njet.isac + 4 * AMD_DR);
129 outb(0x00, cs->hw.njet.base + NETJET_IRQMASK1);
131 outb(TJ_AMD_IRQ, cs->hw
[all...]
H A Dnj_s.c36 s1val = bytein(cs->hw.njet.base + NETJET_IRQSTAT1);
55 s0val = bytein(cs->hw.njet.base + NETJET_IRQSTAT0);
61 byteout(cs->hw.njet.base + NETJET_IRQSTAT0, s0val);
64 if (inl(cs->hw.njet.base + NETJET_DMA_WRITE_ADR) <
65 inl(cs->hw.njet.base + NETJET_DMA_WRITE_IRQ))
70 if (inl(cs->hw.njet.base + NETJET_DMA_READ_ADR) <
71 inl(cs->hw.njet.base + NETJET_DMA_READ_IRQ))
76 if (s0val != cs->hw.njet.last_is0) /* we have a DMA interrupt */
80 cs->hw.njet.last_is0, s0val);
84 cs->hw
[all...]
H A Dsaphir.c70 return (readreg(cs->hw.saphir.ale, cs->hw.saphir.isac, offset));
76 writereg(cs->hw.saphir.ale, cs->hw.saphir.isac, offset, value);
82 readfifo(cs->hw.saphir.ale, cs->hw.saphir.isac, 0, data, size);
88 writefifo(cs->hw.saphir.ale, cs->hw.saphir.isac, 0, data, size);
94 return (readreg(cs->hw.saphir.ale, cs->hw
[all...]
H A Dhfcscard.c46 cs->hw.hfcD.timer.expires = jiffies + 75;
48 /* WriteReg(cs, HFCD_DATA, HFCD_CTMT, cs->hw.hfcD.ctmt | 0x80);
49 add_timer(&cs->hw.hfcD.timer);
57 del_timer(&cs->hw.hfcD.timer);
58 if (cs->hw.hfcD.addr)
59 release_region(cs->hw.hfcD.addr, 2);
66 cs->hw.hfcD.cirm = HFCD_RESET;
68 cs->hw.hfcD.cirm |= HFCD_MEM8K;
69 cs->BC_Write_Reg(cs, HFCD_DATA, HFCD_CIRM, cs->hw.hfcD.cirm); /* Reset On */
71 cs->hw
[all...]
H A Dnj_u.c36 if (!((sval = bytein(cs->hw.njet.base + NETJET_IRQSTAT1)) &
49 if (inl(cs->hw.njet.base + NETJET_DMA_WRITE_ADR) <
50 inl(cs->hw.njet.base + NETJET_DMA_WRITE_IRQ))
55 if (inl(cs->hw.njet.base + NETJET_DMA_READ_ADR) <
56 inl(cs->hw.njet.base + NETJET_DMA_READ_IRQ))
61 if (sval != cs->hw.njet.last_is0) /* we have a DMA interrupt */
67 cs->hw.njet.irqstat0 = sval;
68 if ((cs->hw.njet.irqstat0 & NETJET_IRQM0_READ) !=
69 (cs->hw.njet.last_is0 & NETJET_IRQM0_READ))
72 if ((cs->hw
[all...]
H A Disurf.c39 return (readb(cs->hw.isurf.isac + offset));
45 writeb(value, cs->hw.isurf.isac + offset); mb();
53 data[i] = readb(cs->hw.isurf.isac);
61 writeb(data[i], cs->hw.isurf.isac); mb();
74 return (readb(cs->hw.isurf.isar + offset));
80 writeb(value, cs->hw.isurf.isar + offset); mb();
92 val = readb(cs->hw.isurf.isar + ISAR_IRQBIT);
96 val = readb(cs->hw.isurf.isac + ISAC_ISTA);
100 val = readb(cs->hw.isurf.isar + ISAR_IRQBIT);
106 val = readb(cs->hw
[all...]
H A Ddiva.c134 return (readreg(cs->hw.diva.isac_adr, cs->hw.diva.isac, offset));
140 writereg(cs->hw.diva.isac_adr, cs->hw.diva.isac, offset, value);
146 readfifo(cs->hw.diva.isac_adr, cs->hw.diva.isac, 0, data, size);
152 writefifo(cs->hw.diva.isac_adr, cs->hw.diva.isac, 0, data, size);
158 return (readreg(cs->hw.diva.isac_adr, cs->hw
[all...]
/drivers/net/ethernet/intel/igb/
H A De1000_mbx.c32 * @hw: pointer to the HW structure
39 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
41 struct e1000_mbx_info *mbx = &hw->mbx;
49 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
56 * @hw: pointer to the HW structure
63 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
65 struct e1000_mbx_info *mbx = &hw->mbx;
72 ret_val = mbx->ops.write(hw, msg, size, mbx_id);
79 * @hw: pointer to the HW structure
84 s32 igb_check_for_msg(struct e1000_hw *hw, u1 argument
102 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
120 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) argument
138 igb_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) argument
167 igb_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
199 igb_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
225 igb_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
244 igb_check_for_bit_pf(struct e1000_hw *hw, u32 mask) argument
264 igb_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number) argument
283 igb_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number) argument
302 igb_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number) argument
323 igb_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number) argument
349 igb_write_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
390 igb_read_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
421 igb_init_mbx_params_pf(struct e1000_hw *hw) argument
[all...]
H A De1000_mac.c38 static s32 igb_set_default_fc(struct e1000_hw *hw);
39 static s32 igb_set_fc_watermarks(struct e1000_hw *hw);
43 * @hw: pointer to the HW structure
49 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) argument
51 struct e1000_bus_info *bus = &hw->bus;
58 ret_val = igb_read_pcie_cap_reg(hw,
90 * @hw: pointer to the HW structure
95 void igb_clear_vfta(struct e1000_hw *hw) argument
107 * @hw: pointer to the HW structure
114 static void igb_write_vfta(struct e1000_hw *hw, u3 argument
132 igb_clear_vfta_i350(struct e1000_hw *hw) argument
154 igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) argument
173 igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) argument
198 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add) argument
237 igb_check_alt_mac_addr(struct e1000_hw *hw) argument
308 igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) argument
347 igb_mta_set(struct e1000_hw *hw, u32 hash_value) argument
381 igb_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument
452 igb_update_mc_addr_list(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument
484 igb_clear_hw_cntrs_base(struct e1000_hw *hw) argument
533 igb_check_for_copper_link(struct e1000_hw *hw) argument
610 igb_setup_link(struct e1000_hw *hw) argument
672 igb_config_collision_dist(struct e1000_hw *hw) argument
693 igb_set_fc_watermarks(struct e1000_hw *hw) argument
730 igb_set_default_fc(struct e1000_hw *hw) argument
773 igb_force_mac_fc(struct e1000_hw *hw) argument
837 igb_config_fc_after_link_up(struct e1000_hw *hw) argument
1056 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1090 igb_get_hw_semaphore(struct e1000_hw *hw) argument
1143 igb_put_hw_semaphore(struct e1000_hw *hw) argument
1160 igb_get_auto_rd_done(struct e1000_hw *hw) argument
1191 igb_valid_led_default(struct e1000_hw *hw, u16 *data) argument
1221 igb_id_led_init(struct e1000_hw *hw) argument
1288 igb_cleanup_led(struct e1000_hw *hw) argument
1300 igb_blink_led(struct e1000_hw *hw) argument
1327 igb_led_off(struct e1000_hw *hw) argument
1351 igb_disable_pcie_master(struct e1000_hw *hw) argument
1389 igb_validate_mdi_setting(struct e1000_hw *hw) argument
1415 igb_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, u32 offset, u8 data) argument
1449 igb_enable_mng_pass_thru(struct e1000_hw *hw) argument
[all...]
/drivers/net/ethernet/atheros/atlx/
H A Datl2.c88 struct atl2_hw *hw = &adapter->hw; local
92 hw->vendor_id = pdev->vendor;
93 hw->device_id = pdev->device;
94 hw->subsystem_vendor_id = pdev->subsystem_vendor;
95 hw->subsystem_id = pdev->subsystem_device;
96 hw->revision_id = pdev->revision;
98 pci_read_config_word(pdev, PCI_COMMAND, &hw->pci_cmd_word);
105 hw->phy_configured = false;
106 hw
138 struct atl2_hw *hw = &adapter->hw; local
188 struct atl2_hw *hw = &adapter->hw; local
611 struct atl2_hw *hw = &adapter->hw; local
931 struct atl2_hw *hw = &adapter->hw; local
1080 struct atl2_hw *hw = &adapter->hw; local
1148 struct atl2_hw *hw = &adapter->hw; local
1187 struct atl2_hw *hw = &adapter->hw; local
1545 struct atl2_hw *hw = &adapter->hw; local
1758 atl2_read_pci_cfg(struct atl2_hw *hw, u32 reg, u16 *value) argument
1764 atl2_write_pci_cfg(struct atl2_hw *hw, u32 reg, u16 *value) argument
1774 struct atl2_hw *hw = &adapter->hw; local
1810 struct atl2_hw *hw = &adapter->hw; local
1884 struct atl2_hw *hw = &adapter->hw; local
1952 struct atl2_hw *hw = &adapter->hw; local
1993 struct atl2_hw *hw = &adapter->hw; local
2149 atl2_reset_hw(struct atl2_hw *hw) argument
2210 atl2_spi_read(struct atl2_hw *hw, u32 addr, u32 *buf) argument
2256 get_permanent_address(struct atl2_hw *hw) argument
2359 atl2_read_mac_addr(struct atl2_hw *hw) argument
2390 atl2_hash_mc_addr(struct atl2_hw *hw, u8 *mc_addr) argument
2410 atl2_hash_set(struct atl2_hw *hw, u32 hash_value) argument
2436 atl2_init_pcie(struct atl2_hw *hw) argument
2446 atl2_init_flash_opcode(struct atl2_hw *hw) argument
2479 atl2_init_hw(struct atl2_hw *hw) argument
2504 atl2_get_speed_and_duplex(struct atl2_hw *hw, u16 *speed, u16 *duplex) argument
2543 atl2_read_phy_reg(struct atl2_hw *hw, u16 reg_addr, u16 *phy_data) argument
2578 atl2_write_phy_reg(struct atl2_hw *hw, u32 reg_addr, u16 phy_data) argument
2612 atl2_phy_setup_autoneg_adv(struct atl2_hw *hw) argument
2685 atl2_phy_commit(struct atl2_hw *hw) argument
2711 atl2_phy_init(struct atl2_hw *hw) argument
2756 atl2_set_mac_addr(struct atl2_hw *hw) argument
2777 atl2_check_eeprom_exist(struct atl2_hw *hw) argument
2791 atl2_write_eeprom(struct atl2_hw *hw, u32 offset, u32 value) argument
2796 atl2_read_eeprom(struct atl2_hw *hw, u32 Offset, u32 *pValue) argument
2822 atl2_force_ps(struct atl2_hw *hw) argument
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dmac.c33 * @hw: pointer to the HW structure
39 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) argument
41 struct e1000_mac_info *mac = &hw->mac;
42 struct e1000_bus_info *bus = &hw->bus;
43 struct e1000_adapter *adapter = hw->adapter;
58 mac->ops.set_lan_id(hw);
66 * @hw: pointer to the HW structure
71 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) argument
73 struct e1000_bus_info *bus = &hw->bus;
86 * @hw
90 e1000_set_lan_id_single_port(struct e1000_hw *hw) argument
104 e1000_clear_vfta_generic(struct e1000_hw *hw) argument
123 e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) argument
138 e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) argument
166 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) argument
232 e1000e_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) argument
268 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument
339 e1000e_update_mc_addr_list_generic(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument
371 e1000e_clear_hw_cntrs_base(struct e1000_hw *hw) argument
420 e1000e_check_for_copper_link(struct e1000_hw *hw) argument
489 e1000e_check_for_fiber_link(struct e1000_hw *hw) argument
556 e1000e_check_for_serdes_link(struct e1000_hw *hw) argument
663 e1000_set_default_fc_generic(struct e1000_hw *hw) argument
704 e1000e_setup_link_generic(struct e1000_hw *hw) argument
761 e1000_commit_fc_settings_generic(struct e1000_hw *hw) argument
832 e1000_poll_fiber_serdes_link_generic(struct e1000_hw *hw) argument
881 e1000e_setup_fiber_serdes_link(struct e1000_hw *hw) argument
932 e1000e_config_collision_dist_generic(struct e1000_hw *hw) argument
953 e1000e_set_fc_watermarks(struct e1000_hw *hw) argument
992 e1000e_force_mac_fc(struct e1000_hw *hw) argument
1053 e1000e_config_fc_after_link_up(struct e1000_hw *hw) argument
1244 e1000e_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1278 e1000e_get_speed_and_duplex_fiber_serdes(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1293 e1000e_get_hw_semaphore(struct e1000_hw *hw) argument
1342 e1000e_put_hw_semaphore(struct e1000_hw *hw) argument
1357 e1000e_get_auto_rd_done(struct e1000_hw *hw) argument
1384 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data) argument
1405 e1000e_id_led_init_generic(struct e1000_hw *hw) argument
1471 e1000e_setup_led_generic(struct e1000_hw *hw) argument
1501 e1000e_cleanup_led_generic(struct e1000_hw *hw) argument
1513 e1000e_blink_led_generic(struct e1000_hw *hw) argument
1546 e1000e_led_on_generic(struct e1000_hw *hw) argument
1573 e1000e_led_off_generic(struct e1000_hw *hw) argument
1601 e1000e_set_pcie_no_snoop(struct e1000_hw *hw, u32 no_snoop) argument
1624 e1000e_disable_pcie_master(struct e1000_hw *hw) argument
1654 e1000e_reset_adaptive(struct e1000_hw *hw) argument
1680 e1000e_update_adaptive(struct e1000_hw *hw) argument
[all...]
H A Dmanage.c68 * @hw: pointer to the HW structure
76 static s32 e1000_mng_enable_host_if(struct e1000_hw *hw) argument
81 if (!hw->mac.arc_subsystem_valid) {
110 * @hw: pointer to the HW structure
115 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw) argument
125 * @hw: pointer to the HW structure
130 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw) argument
132 struct e1000_host_mng_dhcp_cookie *hdr = &hw->mng_cookie;
133 u32 *buffer = (u32 *)&hw->mng_cookie;
138 hw
190 e1000_mng_write_cmd_header(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument
221 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument
290 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) argument
332 e1000e_enable_mng_pass_thru(struct e1000_hw *hw) argument
[all...]
/drivers/net/wireless/rtlwifi/
H A Defuse.h108 extern void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf);
109 extern void efuse_initialize(struct ieee80211_hw *hw);
110 extern u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address);
111 extern void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value);
112 extern void read_efuse(struct ieee80211_hw *hw, u16 _offset,
114 extern void efuse_shadow_read(struct ieee80211_hw *hw, u8 type,
116 extern void efuse_shadow_write(struct ieee80211_hw *hw, u8 type,
118 extern bool efuse_shadow_update(struct ieee80211_hw *hw);
119 extern bool efuse_shadow_update_chk(struct ieee80211_hw *hw);
120 extern void rtl_efuse_shadow_map_update(struct ieee80211_hw *hw);
[all...]
H A Dps.c35 bool rtl_ps_enable_nic(struct ieee80211_hw *hw) argument
37 struct rtl_priv *rtlpriv = rtl_priv(hw);
38 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw));
39 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));
43 rtlpriv->intf_ops->reset_trx_ring(hw);
50 if (rtlpriv->cfg->ops->hw_init(hw))
55 rtlpriv->cfg->ops->enable_interrupt(hw);
58 rtl_watch_dog_timer_callback((unsigned long)hw);
64 bool rtl_ps_disable_nic(struct ieee80211_hw *hw) argument
66 struct rtl_priv *rtlpriv = rtl_priv(hw);
82 rtl_ps_set_rf_state(struct ieee80211_hw *hw, enum rf_pwrstate state_toset, u32 changesource) argument
134 _rtl_ps_inactive_ps(struct ieee80211_hw *hw) argument
170 struct ieee80211_hw *hw = rtlworks->hw; local
221 rtl_ips_nic_off(struct ieee80211_hw *hw) argument
234 rtl_ips_nic_on(struct ieee80211_hw *hw) argument
271 rtl_get_fwlps_doze(struct ieee80211_hw *hw) argument
297 rtl_lps_set_psmode(struct ieee80211_hw *hw, u8 rt_psmode) argument
373 rtl_lps_enter(struct ieee80211_hw *hw) argument
414 rtl_lps_leave(struct ieee80211_hw *hw) argument
445 rtl_swlps_beacon(struct ieee80211_hw *hw, void *data, unsigned int len) argument
525 rtl_swlps_rf_awake(struct ieee80211_hw *hw) argument
551 struct ieee80211_hw *hw = rtlworks->hw; local
556 rtl_swlps_rf_sleep(struct ieee80211_hw *hw) argument
623 struct ieee80211_hw *hw = rtlworks->hw; local
[all...]
H A Dusb.c223 struct ieee80211_hw *hw)
225 struct rtl_priv *rtlpriv = rtl_priv(hw);
238 static void _rtl_usb_io_handler_release(struct ieee80211_hw *hw) argument
240 struct rtl_priv __maybe_unused *rtlpriv = rtl_priv(hw);
249 static struct sk_buff *_none_usb_tx_aggregate_hdl(struct ieee80211_hw *hw, argument
258 static int _rtl_usb_init_tx(struct ieee80211_hw *hw) argument
261 struct rtl_priv *rtlpriv = rtl_priv(hw);
262 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
297 static int _rtl_usb_init_rx(struct ieee80211_hw *hw) argument
299 struct rtl_priv *rtlpriv = rtl_priv(hw);
222 _rtl_usb_io_handler_init(struct device *dev, struct ieee80211_hw *hw) argument
316 _rtl_usb_init(struct ieee80211_hw *hw) argument
357 rtl_usb_init_sw(struct ieee80211_hw *hw) argument
398 _rtl_prep_rx_urb(struct ieee80211_hw *hw, struct rtl_usb *rtlusb, struct urb *urb, gfp_t gfp_mask) argument
428 _rtl_usb_rx_process_agg(struct ieee80211_hw *hw, struct sk_buff *skb) argument
471 _rtl_usb_rx_process_noagg(struct ieee80211_hw *hw, struct sk_buff *skb) argument
530 _rtl_rx_pre_process(struct ieee80211_hw *hw, struct sk_buff *skb) argument
552 struct ieee80211_hw *hw = usb_get_intfdata(rtlusb->intf); local
612 _rtl_usb_receive(struct ieee80211_hw *hw) argument
655 rtl_usb_start(struct ieee80211_hw *hw) argument
683 rtl_usb_cleanup(struct ieee80211_hw *hw) argument
714 rtl_usb_deinit(struct ieee80211_hw *hw) argument
719 rtl_usb_stop(struct ieee80211_hw *hw) argument
733 _rtl_submit_tx_urb(struct ieee80211_hw *hw, struct urb *_urb) argument
753 _usb_tx_post(struct ieee80211_hw *hw, struct urb *urb, struct sk_buff *skb) argument
782 struct ieee80211_hw *hw = usb_get_intfdata(rtlusb->intf); local
794 _rtl_usb_tx_urb_setup(struct ieee80211_hw *hw, struct sk_buff *skb, u32 ep_num) argument
816 _rtl_usb_transmit(struct ieee80211_hw *hw, struct sk_buff *skb, enum rtl_txq qnum) argument
847 _rtl_usb_tx_preprocess(struct ieee80211_hw *hw, struct sk_buff *skb, u16 hw_queue) argument
900 rtl_usb_tx(struct ieee80211_hw *hw, struct sk_buff *skb, struct rtl_tcb_desc *dummy) argument
921 rtl_usb_tx_chk_waitq_insert(struct ieee80211_hw *hw, struct sk_buff *skb) argument
938 struct ieee80211_hw *hw = NULL; local
1003 struct ieee80211_hw *hw = usb_get_intfdata(intf); local
[all...]
/drivers/media/video/s5p-g2d/
H A DMakefile1 s5p-g2d-objs := g2d.o g2d-hw.o
/drivers/net/wireless/rt2x00/
H A Drt2x00soc.c79 struct ieee80211_hw *hw; local
83 hw = ieee80211_alloc_hw(sizeof(struct rt2x00_dev), ops->hw);
84 if (!hw) {
89 platform_set_drvdata(pdev, hw);
91 rt2x00dev = hw->priv;
94 rt2x00dev->hw = hw;
114 ieee80211_free_hw(hw);
122 struct ieee80211_hw *hw local
139 struct ieee80211_hw *hw = platform_get_drvdata(pdev); local
148 struct ieee80211_hw *hw = platform_get_drvdata(pdev); local
[all...]
/drivers/net/wireless/rtl818x/rtl8187/
H A Drfkill.c34 void rtl8187_rfkill_init(struct ieee80211_hw *hw) argument
36 struct rtl8187_priv *priv = hw->priv;
41 wiphy_rfkill_set_hw_state(hw->wiphy, !priv->rfkill_off);
42 wiphy_rfkill_start_polling(hw->wiphy);
45 void rtl8187_rfkill_poll(struct ieee80211_hw *hw) argument
48 struct rtl8187_priv *priv = hw->priv;
56 wiphy_rfkill_set_hw_state(hw->wiphy, !enabled);
61 void rtl8187_rfkill_exit(struct ieee80211_hw *hw) argument
63 wiphy_rfkill_stop_polling(hw->wiphy);
/drivers/video/matrox/
H A Dmatroxfb_DAC1064.c94 minfo->hw.DACclk[0] = m;
95 minfo->hw.DACclk[1] = n;
96 minfo->hw.DACclk[2] = p;
103 struct matrox_hw_state *hw = &minfo->hw; local
109 hw->DACclk[3] = inDAC1064(minfo, DAC1064_XSYSPLLM);
110 hw->DACclk[4] = inDAC1064(minfo, DAC1064_XSYSPLLN);
111 hw->DACclk[5] = inDAC1064(minfo, DAC1064_XSYSPLLP);
114 mx = hw->MXoptionReg | 0x00000004;
142 outDAC1064(minfo, DAC1064_XSYSPLLM, hw
168 struct matrox_hw_state *hw = &minfo->hw; local
258 struct matrox_hw_state *hw = &minfo->hw; local
332 struct matrox_hw_state *hw = &minfo->hw; local
350 struct matrox_hw_state *hw = &minfo->hw; local
387 struct matrox_hw_state *hw = &minfo->hw; local
430 struct matrox_hw_state *hw = &minfo->hw; local
537 struct matrox_hw_state *hw = &minfo->hw; local
560 struct matrox_hw_state *hw = &minfo->hw; local
673 struct matrox_hw_state *hw = &minfo->hw; local
842 struct matrox_hw_state *hw = &minfo->hw; local
982 struct matrox_hw_state *hw = &minfo->hw; local
1040 struct matrox_hw_state *hw = &minfo->hw; local
1067 struct matrox_hw_state *hw = &minfo->hw; local
[all...]
/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c62 static int atl1c_stop_mac(struct atl1c_hw *hw);
63 static void atl1c_enable_rx_ctrl(struct atl1c_hw *hw);
64 static void atl1c_enable_tx_ctrl(struct atl1c_hw *hw);
65 static void atl1c_disable_l0s_l1(struct atl1c_hw *hw);
66 static void atl1c_set_aspm(struct atl1c_hw *hw, bool linkup);
103 static void atl1c_pcie_patch(struct atl1c_hw *hw) argument
107 AT_READ_REG(hw, REG_PCIE_PHYMISC, &data);
109 AT_WRITE_REG(hw, REG_PCIE_PHYMISC, data);
111 if (hw->nic_type == athr_l2c_b && hw
128 atl1c_reset_pcie(struct atl1c_hw *hw, u32 flag) argument
210 atl1c_wait_until_idle(struct atl1c_hw *hw) argument
231 struct atl1c_hw *hw = &adapter->hw; local
249 struct atl1c_hw *hw = &adapter->hw; local
384 struct atl1c_hw *hw = &adapter->hw; local
662 atl1c_set_mac_type(struct atl1c_hw *hw) argument
688 atl1c_setup_mac_funcs(struct atl1c_hw *hw) argument
723 struct atl1c_hw *hw = &adapter->hw; local
1036 struct atl1c_hw *hw = &adapter->hw; local
1113 struct atl1c_hw *hw = &adapter->hw; local
1146 struct atl1c_hw *hw = &adapter->hw; local
1178 struct atl1c_hw *hw = &adapter->hw; local
1186 struct atl1c_hw *hw = &adapter->hw; local
1228 atl1c_stop_mac(struct atl1c_hw *hw) argument
1250 atl1c_enable_rx_ctrl(struct atl1c_hw *hw) argument
1272 atl1c_enable_tx_ctrl(struct atl1c_hw *hw) argument
1286 atl1c_reset_mac(struct atl1c_hw *hw) argument
1320 atl1c_disable_l0s_l1(struct atl1c_hw *hw) argument
1343 atl1c_set_aspm(struct atl1c_hw *hw, bool linkup) argument
1436 struct atl1c_hw *hw = &adapter->hw; local
1485 struct atl1c_hw *hw = &adapter->hw; local
1676 struct atl1c_hw *hw = &adapter->hw; local
2469 struct atl1c_hw *hw = &adapter->hw; local
[all...]
/drivers/net/wireless/rtlwifi/rtl8192de/
H A Dphy.c40 #include "hw.h"
200 u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) argument
202 struct rtl_priv *rtlpriv = rtl_priv(hw);
216 originalvalue = rtl92de_read_dword_dbi(hw, (u16)regaddr,
229 void rtl92d_phy_set_bb_reg(struct ieee80211_hw *hw, argument
232 struct rtl_priv *rtlpriv = rtl_priv(hw);
248 originalvalue = rtl92de_read_dword_dbi(hw,
257 rtl92de_write_dword_dbi(hw, (u16) regaddr, data, dbi_direct);
265 static u32 _rtl92d_phy_rf_serial_read(struct ieee80211_hw *hw, argument
269 struct rtl_priv *rtlpriv = rtl_priv(hw);
311 _rtl92d_phy_rf_serial_write(struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset, u32 data) argument
329 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask) argument
350 rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask, u32 data) argument
380 rtl92d_phy_mac_config(struct ieee80211_hw *hw) argument
406 _rtl92d_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw) argument
551 _rtl92d_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, u8 configtype) argument
662 _rtl92d_store_pwrindex_diffrate_offset(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument
715 _rtl92d_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, u8 configtype) argument
751 _rtl92d_phy_bb_config(struct ieee80211_hw *hw) argument
792 rtl92d_phy_bb_config(struct ieee80211_hw *hw) argument
820 rtl92d_phy_rf_config(struct ieee80211_hw *hw) argument
825 rtl92d_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, enum rf_content content, enum radio_path rfpath) argument
927 rtl92d_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw) argument
955 _rtl92d_get_txpower_index(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel) argument
992 _rtl92d_ccxpower_index_check(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel) argument
1025 rtl92d_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) argument
1044 rtl92d_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation) argument
1072 rtl92d_phy_set_bw_mode(struct ieee80211_hw *hw, enum nl80211_channel_type ch_type) argument
1152 _rtl92d_phy_stop_trx_before_changeband(struct ieee80211_hw *hw) argument
1160 rtl92d_phy_switch_wirelessband(struct ieee80211_hw *hw, u8 band) argument
1213 _rtl92d_phy_reload_imr_setting(struct ieee80211_hw *hw, u8 channel, u8 rfpath) argument
1273 _rtl92d_phy_enable_rf_env(struct ieee80211_hw *hw, u8 rfpath, u32 *pu4_regval) argument
1309 _rtl92d_phy_restore_rf_env(struct ieee80211_hw *hw, u8 rfpath, u32 *pu4_regval) argument
1332 _rtl92d_phy_switch_rf_setting(struct ieee80211_hw *hw, u8 channel) argument
1532 _rtl92d_phy_patha_iqk(struct ieee80211_hw *hw, bool configpathb) argument
1594 _rtl92d_phy_patha_iqk_5g_normal(struct ieee80211_hw *hw, bool configpathb) argument
1678 _rtl92d_phy_pathb_iqk(struct ieee80211_hw *hw) argument
1718 _rtl92d_phy_pathb_iqk_5g_normal(struct ieee80211_hw *hw) argument
1795 _rtl92d_phy_save_adda_registers(struct ieee80211_hw *hw, u32 *adda_reg, u32 *adda_backup, u32 regnum) argument
1807 _rtl92d_phy_save_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1819 _rtl92d_phy_reload_adda_registers(struct ieee80211_hw *hw, u32 *adda_reg, u32 *adda_backup, u32 regnum) argument
1832 _rtl92d_phy_reload_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1844 _rtl92d_phy_path_adda_on(struct ieee80211_hw *hw, u32 *adda_reg, bool patha_on, bool is2t) argument
1860 _rtl92d_phy_mac_setting_calibration(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1875 _rtl92d_phy_patha_standby(struct ieee80211_hw *hw) argument
1885 _rtl92d_phy_pimode_switch(struct ieee80211_hw *hw, bool pi_mode) argument
1897 _rtl92d_phy_iq_calibrate(struct ieee80211_hw *hw, long result[][8], u8 t, bool is2t) argument
2060 _rtl92d_phy_iq_calibrate_5g_normal(struct ieee80211_hw *hw, long result[][8], u8 t) argument
2214 _rtl92d_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
2273 _rtl92d_phy_patha_fill_iqk_matrix(struct ieee80211_hw *hw, bool iqk_ok, long result[][8], u8 final_candidate, bool txonly) argument
2335 _rtl92d_phy_pathb_fill_iqk_matrix(struct ieee80211_hw *hw, bool iqk_ok, long result[][8], u8 final_candidate, bool txonly) argument
2384 rtl92d_phy_iq_calibrate(struct ieee80211_hw *hw) argument
2511 rtl92d_phy_reload_iqk_setting(struct ieee80211_hw *hw, u8 channel) argument
2575 _rtl92d_is_legal_5g_channel(struct ieee80211_hw *hw, u8 channel) argument
2593 _rtl92d_phy_calc_curvindex(struct ieee80211_hw *hw, u32 *targetchnl, u32 * curvecount_val, bool is5g, u32 *curveindex) argument
2621 _rtl92d_phy_reload_lck_setting(struct ieee80211_hw *hw, u8 channel) argument
2680 _rtl92d_phy_lc_calibrate_sw(struct ieee80211_hw *hw, bool is2t) argument
2784 _rtl92d_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t) argument
2792 rtl92d_phy_lc_calibrate(struct ieee80211_hw *hw) argument
2818 rtl92d_phy_ap_calibrate(struct ieee80211_hw *hw, char delta) argument
2844 rtl92d_phy_reset_iqk_result(struct ieee80211_hw *hw) argument
2869 _rtl92d_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, u8 channel, u8 *stage, u8 *step, u32 *delay) argument
2983 rtl92d_phy_sw_chnl(struct ieee80211_hw *hw) argument
3064 rtl92d_phy_set_io(struct ieee80211_hw *hw) argument
3093 rtl92d_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype) argument
3131 _rtl92d_phy_set_rfon(struct ieee80211_hw *hw) argument
3152 _rtl92d_phy_set_rfsleep(struct ieee80211_hw *hw) argument
3196 rtl92d_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument
3313 rtl92d_phy_config_macphymode(struct ieee80211_hw *hw) argument
3338 rtl92d_phy_config_macphymode_info(struct ieee80211_hw *hw) argument
3416 rtl92d_phy_set_poweron(struct ieee80211_hw *hw) argument
3467 rtl92d_phy_config_maccoexist_rfpage(struct ieee80211_hw *hw) argument
3492 rtl92d_update_bbrf_configuration(struct ieee80211_hw *hw) argument
3680 rtl92d_phy_check_poweroff(struct ieee80211_hw *hw) argument
[all...]
/drivers/input/misc/
H A Dad714x.c217 struct ad714x_button_plat *hw = &ad714x->hw->button[idx]; local
222 if (((ad714x->h_state & hw->h_mask) == hw->h_mask) &&
223 ((ad714x->l_state & hw->l_mask) == hw->l_mask)) {
225 input_report_key(sw->input, hw->keycode, 1);
232 if (((ad714x->h_state & hw->h_mask) != hw->h_mask) ||
233 ((ad714x->l_state & hw
252 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
270 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
295 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
328 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
335 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
342 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
411 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
424 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
453 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
484 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
500 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
507 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
514 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
578 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
598 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
619 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
658 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
703 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
780 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
787 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
795 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
1191 struct ad714x_platform_data *hw = ad714x->hw; local
[all...]
/drivers/net/fddi/skfp/
H A Dfplustm.c56 #define DUMMY_READ() smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP))
83 #define MA smc->hw.fddi_canon_addr
85 #define MA smc->hw.fddi_home_addr
162 /* smc->hw.mc_dummy = *((short volatile far *)(addr)))*/
177 smc->hw.fp.fifo.rbc_ram_start = 0 ;
178 smc->hw.fp.fifo.rbc_ram_end =
179 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ;
181 MARW(smc->hw.fp.fifo.rbc_ram_start) ;
182 for (i = smc->hw.fp.fifo.rbc_ram_start;
183 i < (u_short) (smc->hw
[all...]
H A Dhwt.c70 smc->hw.t_start = time ;
71 smc->hw.t_stop = 0L ;
84 smc->hw.timer_activ = TRUE ;
106 smc->hw.timer_activ = FALSE ;
125 smc->hw.t_start = 0 ;
126 smc->hw.t_stop = 0 ;
127 smc->hw.timer_activ = FALSE ;
169 if (smc->hw.timer_activ) {
175 if ((tr > smc->hw.t_start) || (is & IS_TIMINT)) {
177 smc->hw
[all...]
/drivers/net/wireless/iwmc3200wifi/
H A Dsdio.c81 struct iwm_sdio_priv *hw; local
88 hw = container_of(work, struct iwm_sdio_priv, isr_worker);
89 iwm = hw_to_iwm(hw);
108 struct iwm_sdio_priv *hw; local
115 hw = sdio_get_drvdata(func);
116 iwm = hw_to_iwm(hw);
118 buf_size = hw->blk_size;
169 queue_work(hw->isr_wq, &hw->isr_worker);
172 static void iwm_sdio_rx_free(struct iwm_sdio_priv *hw) argument
184 struct iwm_sdio_priv *hw = iwm_to_if_sdio(iwm); local
226 struct iwm_sdio_priv *hw = iwm_to_if_sdio(iwm); local
249 struct iwm_sdio_priv *hw = iwm_to_if_sdio(iwm); local
271 struct iwm_sdio_priv *hw = iwm_to_if_sdio(iwm); local
366 struct iwm_sdio_priv *hw = iwm_to_if_sdio(iwm); local
375 struct iwm_sdio_priv *hw = iwm_to_if_sdio(iwm); local
398 struct iwm_sdio_priv *hw; local
465 struct iwm_sdio_priv *hw = sdio_get_drvdata(func); local
[all...]

Completed in 518 milliseconds

1234567891011>>