Searched refs:hw (Results 226 - 250 of 708) sorted by relevance

1234567891011>>

/drivers/net/wan/
H A Dpc300_drv.c94 * Changed SIOCGPC300CONF ioctl, to give hw information to pc300util.
311 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase
326 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase
341 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase
356 volatile pcsca_bd_t __iomem *ptdescr = (card->hw.rambase
378 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, first_bd));
381 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, i))) {
398 u32 scabase = card->hw.scabase;
408 ptdescr = (card->hw.rambase + TX_BD_ADDR(ch, i));
428 for (i = 0, ptdescr = (card->hw
[all...]
/drivers/clk/
H A Dclk-fixed-rate.c28 #define to_clk_fixed_rate(_hw) container_of(_hw, struct clk_fixed_rate, hw)
30 static unsigned long clk_fixed_rate_recalc_rate(struct clk_hw *hw, argument
33 return to_clk_fixed_rate(hw)->fixed_rate;
78 &clk_fixed_rate_ops, &fixed->hw,
H A Dclk-mux.c30 #define to_clk_mux(_hw) container_of(_hw, struct clk_mux, hw)
32 static u8 clk_mux_get_parent(struct clk_hw *hw) argument
34 struct clk_mux *mux = to_clk_mux(hw);
53 if (val >= __clk_get_num_parents(hw->clk))
60 static int clk_mux_set_parent(struct clk_hw *hw, u8 index) argument
62 struct clk_mux *mux = to_clk_mux(hw);
114 return clk_register(dev, name, &clk_mux_ops, &mux->hw,
/drivers/media/video/ivtv/
H A Divtv-i2c.h26 struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw);
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_ee.h96 u16 ixgb_read_eeprom(struct ixgb_hw *hw, u16 reg);
98 bool ixgb_validate_eeprom_checksum(struct ixgb_hw *hw);
100 void ixgb_update_eeprom_checksum(struct ixgb_hw *hw);
102 void ixgb_write_eeprom(struct ixgb_hw *hw, u16 reg, u16 data);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82598.h76 /* DCB hw initialization */
77 s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw,
82 s32 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw,
88 s32 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw,
94 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
H A Dixgbe_dcb.c60 /* Find out the hw credits for each TC */
82 s32 ixgbe_dcb_calculate_tc_credits(struct ixgbe_hw *hw, argument
165 if ((hw->mac.type == ixgbe_mac_82598EB) &&
248 * @hw: pointer to hardware structure
253 s32 ixgbe_dcb_hw_config(struct ixgbe_hw *hw, argument
272 switch (hw->mac.type) {
274 ret = ixgbe_dcb_hw_config_82598(hw, pfc_en, refill, max,
279 ret = ixgbe_dcb_hw_config_82599(hw, pfc_en, refill, max,
289 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) argument
293 switch (hw
307 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max_frame) argument
340 ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument
[all...]
/drivers/net/wireless/ath/ath5k/
H A Dpci.c161 struct ieee80211_hw *hw; local
244 * Allocate hw (mac80211 main struct)
245 * and hw->priv (driver private data)
247 hw = ieee80211_alloc_hw(sizeof(*ah), &ath5k_hw_ops);
248 if (hw == NULL) {
254 dev_info(&pdev->dev, "registered as '%s'\n", wiphy_name(hw->wiphy));
256 ah = hw->priv;
257 ah->hw = hw;
270 pci_set_drvdata(pdev, hw);
288 struct ieee80211_hw *hw = pci_get_drvdata(pdev); local
302 struct ieee80211_hw *hw = pci_get_drvdata(pdev); local
312 struct ieee80211_hw *hw = pci_get_drvdata(pdev); local
[all...]
H A Dbase.h92 int ath5k_start(struct ieee80211_hw *hw);
93 void ath5k_stop(struct ieee80211_hw *hw);
96 int ath5k_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
98 void ath5k_set_beacon_filter(struct ieee80211_hw *hw, bool enable);
105 void ath5k_tx_queue(struct ieee80211_hw *hw, struct sk_buff *skb,
/drivers/net/wireless/rtlwifi/rtl8192ce/
H A DMakefile3 hw.o \
/drivers/net/wireless/rtlwifi/rtl8192cu/
H A DMakefile3 hw.o \
/drivers/net/wireless/rtlwifi/rtl8192de/
H A DMakefile4 hw.o \
H A Ddm.c160 static void rtl92d_dm_diginit(struct ieee80211_hw *hw) argument
185 static void rtl92d_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) argument
188 struct rtl_priv *rtlpriv = rtl_priv(hw);
193 rtl_set_bbreg(hw, ROFDM0_LSTF, BIT(31), 1); /* hold page C counter */
194 rtl_set_bbreg(hw, ROFDM1_LSTF, BIT(31), 1); /*hold page D counter */
196 ret_value = rtl_get_bbreg(hw, ROFDM0_FRAMESYNC, BMASKDWORD);
199 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER1, BMASKDWORD);
201 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER2, BMASKDWORD);
204 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER3, BMASKDWORD);
215 rtl92d_acquire_cckandrw_pagea_ctl(hw,
266 rtl92d_dm_find_minimum_rssi(struct ieee80211_hw *hw) argument
305 rtl92d_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) argument
352 rtl92d_dm_write_dig(struct ieee80211_hw *hw) argument
396 rtl92d_dm_dig(struct ieee80211_hw *hw) argument
503 rtl92d_dm_init_dynamic_txpower(struct ieee80211_hw *hw) argument
512 rtl92d_dm_dynamic_txpower(struct ieee80211_hw *hw) argument
607 rtl92d_dm_pwdb_monitor(struct ieee80211_hw *hw) argument
629 rtl92d_dm_init_edca_turbo(struct ieee80211_hw *hw) argument
638 rtl92d_dm_check_edca_turbo(struct ieee80211_hw *hw) argument
703 rtl92d_dm_rxgain_tracking_thermalmeter(struct ieee80211_hw *hw) argument
723 rtl92d_bandtype_2_4G(struct ieee80211_hw *hw, long *temp_cckg, u8 *cck_index_old) argument
824 rtl92d_dm_txpower_tracking_callback_thermalmeter( struct ieee80211_hw *hw) argument
1245 rtl92d_dm_initialize_txpower_tracking(struct ieee80211_hw *hw) argument
1257 rtl92d_dm_check_txpower_tracking_thermal_meter(struct ieee80211_hw *hw) argument
1280 rtl92d_dm_init_rate_adaptive_mask(struct ieee80211_hw *hw) argument
1293 rtl92d_dm_init(struct ieee80211_hw *hw) argument
1305 rtl92d_dm_watchdog(struct ieee80211_hw *hw) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8192se/
H A DMakefile4 hw.o \
H A Dfw.c37 static void _rtl92s_fw_set_rqpn(struct ieee80211_hw *hw) argument
39 struct rtl_priv *rtlpriv = rtl_priv(hw);
47 static bool _rtl92s_firmware_enable_cpu(struct ieee80211_hw *hw) argument
49 struct rtl_priv *rtlpriv = rtl_priv(hw);
54 _rtl92s_fw_set_rqpn(hw);
107 static u8 _rtl92s_firmware_header_map_rftype(struct ieee80211_hw *hw) argument
109 struct rtl_priv *rtlpriv = rtl_priv(hw);
130 static void _rtl92s_firmwareheader_priveupdate(struct ieee80211_hw *hw, argument
134 pfw_priv->rf_config = _rtl92s_firmware_header_map_rftype(hw);
139 static bool _rtl92s_cmd_send_packet(struct ieee80211_hw *hw, argument
163 _rtl92s_firmware_downloadcode(struct ieee80211_hw *hw, u8 *code_virtual_address, u32 buffer_len) argument
222 _rtl92s_firmware_checkready(struct ieee80211_hw *hw, u8 loadfw_status) argument
354 rtl92s_download_fw(struct ieee80211_hw *hw) argument
540 _rtl92s_firmware_set_h2c_cmd(struct ieee80211_hw *hw, u8 h2c_cmd, u8 *pcmd_buffer) argument
593 rtl92s_set_fw_pwrmode_cmd(struct ieee80211_hw *hw, u8 Mode) argument
636 rtl92s_set_fw_joinbss_report_cmd(struct ieee80211_hw *hw, u8 mstatus, u8 ps_qosinfo) argument
[all...]
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dmac80211_if.c268 static void brcms_ops_tx(struct ieee80211_hw *hw, struct sk_buff *skb) argument
270 struct brcms_info *wl = hw->priv;
278 brcms_c_sendpkt_mac80211(wl->wlc, skb, hw);
283 static int brcms_ops_start(struct ieee80211_hw *hw) argument
285 struct brcms_info *wl = hw->priv;
289 ieee80211_wake_queues(hw);
307 wiphy_err(hw->wiphy, "%s: brcms_up() returned %d\n", __func__,
312 static void brcms_ops_stop(struct ieee80211_hw *hw) argument
314 struct brcms_info *wl = hw->priv;
317 ieee80211_stop_queues(hw);
339 brcms_ops_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
357 brcms_ops_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
361 brcms_ops_config(struct ieee80211_hw *hw, u32 changed) argument
415 brcms_ops_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u32 changed) argument
543 brcms_ops_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *total_flags, u64 multicast) argument
574 brcms_ops_sw_scan_start(struct ieee80211_hw *hw) argument
583 brcms_ops_sw_scan_complete(struct ieee80211_hw *hw) argument
593 brcms_ops_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) argument
606 brcms_ops_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument
626 brcms_ops_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum ieee80211_ampdu_mlme_action action, struct ieee80211_sta *sta, u16 tid, u16 *ssn, u8 buf_size) argument
683 brcms_ops_rfkill_poll(struct ieee80211_hw *hw) argument
695 brcms_ops_flush(struct ieee80211_hw *hw, bool drop) argument
874 struct ieee80211_hw *hw = bcma_get_drvdata(pdev); local
918 ieee_hw_rate_init(struct ieee80211_hw *hw) argument
960 ieee_hw_init(struct ieee80211_hw *hw) argument
999 struct ieee80211_hw *hw; local
1101 struct ieee80211_hw *hw; local
1134 struct ieee80211_hw *hw; local
1394 struct ieee80211_hw *hw = t->wl->pub->ieee_hw; local
[all...]
/drivers/ide/
H A Dide-generic.c89 struct ide_hw hw, *hws[] = { &hw }; local
129 memset(&hw, 0, sizeof(hw));
130 ide_std_init_ports(&hw, io_addr, io_addr + 0x206);
132 hw.irq = isa_irq_to_vector(legacy_irqs[i]);
134 hw.irq = legacy_irqs[i];
H A Dfalconide.c117 static void __init falconide_setup_ports(struct ide_hw *hw) argument
121 memset(hw, 0, sizeof(*hw));
123 hw->io_ports.data_addr = ATA_HD_BASE;
126 hw->io_ports_array[i] = ATA_HD_BASE + 1 + i * 4;
128 hw->io_ports.ctl_addr = ATA_HD_BASE + ATA_HD_CONTROL;
130 hw->irq = IRQ_MFP_IDE;
140 struct ide_hw hw, *hws[] = { &hw }; local
153 falconide_setup_ports(&hw);
[all...]
/drivers/net/wireless/zd1211rw/
H A Dzd_mac.c145 static int zd_mac_config_beacon(struct ieee80211_hw *hw,
163 static int zd_check_signal(struct ieee80211_hw *hw, int signal) argument
165 struct zd_mac *mac = zd_hw_mac(hw);
179 int zd_mac_preinit_hw(struct ieee80211_hw *hw) argument
183 struct zd_mac *mac = zd_hw_mac(hw);
189 SET_IEEE80211_PERM_ADDR(hw, addr);
194 int zd_mac_init_hw(struct ieee80211_hw *hw) argument
197 struct zd_mac *mac = zd_hw_mac(hw);
228 r = regulatory_hint(hw->wiphy, alpha2);
283 int zd_op_start(struct ieee80211_hw *hw) argument
343 zd_op_stop(struct ieee80211_hw *hw) argument
445 zd_mac_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb, int ackssi, struct tx_status *tx_status) argument
502 struct ieee80211_hw * hw = zd_usb_to_hw(urb->context); local
586 struct ieee80211_hw *hw = info->rate_driver_data[0]; local
717 zd_mac_config_beacon(struct ieee80211_hw *hw, struct sk_buff *beacon, bool in_intr) argument
940 zd_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb) argument
975 filter_ack(struct ieee80211_hw *hw, struct ieee80211_hdr *rx_hdr, struct ieee80211_rx_status *stats) argument
1030 zd_mac_rx(struct ieee80211_hw *hw, const u8 *buffer, unsigned int length) argument
1113 zd_op_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1139 zd_op_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1151 zd_op_config(struct ieee80211_hw *hw, u32 changed) argument
1215 zd_op_prepare_multicast(struct ieee80211_hw *hw, struct netdev_hw_addr_list *mc_list) argument
1235 zd_op_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *new_flags, u64 multicast) argument
1293 zd_op_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) argument
1353 zd_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
1375 struct ieee80211_hw *hw; local
[all...]
/drivers/net/ethernet/intel/igb/
H A Digb.h69 (hw->mac.type > e1000_82575 ? 8 : 4))
111 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \
113 #define IGB_TX_WTHRESH ((hw->mac.type == e1000_82576 && \
340 struct e1000_hw hw; member in struct:igb_adapter
418 static inline s32 igb_reset_phy(struct e1000_hw *hw) argument
420 if (hw->phy.ops.reset)
421 return hw->phy.ops.reset(hw);
426 static inline s32 igb_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument
428 if (hw
434 igb_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data) argument
442 igb_get_phy_info(struct e1000_hw *hw) argument
[all...]
/drivers/net/wireless/orinoco/
H A Dfw.c104 struct hermes *hw = &priv->hw; local
126 err = hw->ops->read_pda(hw, pda, fw->pda_addr, fw->pda_size);
153 err = hw->ops->program_init(hw, le32_to_cpu(hdr->entry_point));
164 err = hermes_program(hw, first_block, end);
174 err = hermes_apply_pda_with_defaults(hw, first_block, end, pda,
181 err = hw->ops->program_end(hw);
209 struct hermes *hw = &priv->hw; local
[all...]
/drivers/video/
H A Dcarminefb.c150 static void c_set_hw_reg(const struct carmine_hw *hw, argument
153 writel(val, hw->v_regs + offset);
156 static u32 c_get_hw_reg(const struct carmine_hw *hw, argument
159 return readl(hw->v_regs + offset);
430 static int init_hardware(struct carmine_hw *hw) argument
438 c_set_hw_reg(hw, CARMINE_CTL_REG + CARMINE_CTL_REG_CLOCK_ENABLE,
442 c_set_hw_reg(hw, CARMINE_DISP0_REG + CARMINE_DISP_REG_DCM1, 0);
443 c_set_hw_reg(hw, CARMINE_DISP1_REG + CARMINE_DISP_REG_DCM1, 0);
446 c_set_hw_reg(hw, CARMINE_CTL_REG + CARMINE_CTL_REG_SOFTWARE_RESET, 1);
447 c_set_hw_reg(hw, CARMINE_CTL_RE
612 struct carmine_hw *hw; local
726 struct carmine_hw *hw = pci_get_drvdata(dev); local
[all...]
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_ethtool.c111 struct pch_gbe_hw *hw = &adapter->hw; local
115 pch_gbe_hal_write_phy_reg(hw, MII_BMCR, BMCR_RESET);
128 hw->mac.link_speed = speed;
129 hw->mac.link_duplex = ecmd->duplex;
130 hw->phy.autoneg_advertised = ecmd->advertising;
131 hw->mac.autoneg = ecmd->autoneg;
132 pch_gbe_hal_phy_sw_reset(hw);
181 struct pch_gbe_hw *hw = &adapter->hw; local
382 struct pch_gbe_hw *hw = &adapter->hw; local
409 struct pch_gbe_hw *hw = &adapter->hw; local
[all...]
/drivers/usb/host/
H A Dehci-mem.c78 dma_pool_free(ehci->qh_pool, qh->hw, qh->qh_dma);
90 qh->hw = (struct ehci_qh_hw *)
92 if (!qh->hw)
94 memset(qh->hw, 0, sizeof *qh->hw);
110 dma_pool_free(ehci->qh_pool, qh->hw, qh->qh_dma);
186 32 /* byte alignment (for hw parts) */,
196 32 /* byte alignment (for hw parts) */,
210 32 /* byte alignment (for hw parts) */,
220 32 /* byte alignment (for hw part
236 struct ehci_qh_hw *hw; local
[all...]
/drivers/net/wireless/rtlwifi/
H A Dcam.c34 void rtl_cam_reset_sec_info(struct ieee80211_hw *hw) argument
36 struct rtl_priv *rtlpriv = rtl_priv(hw);
46 static void rtl_cam_program_entry(struct ieee80211_hw *hw, u32 entry_no, argument
49 struct rtl_priv *rtlpriv = rtl_priv(hw);
124 u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, argument
129 struct rtl_priv *rtlpriv = rtl_priv(hw);
148 rtl_cam_program_entry(hw, ul_entry_idx, mac_addr,
158 int rtl_cam_delete_one_entry(struct ieee80211_hw *hw, argument
162 struct rtl_priv *rtlpriv = rtl_priv(hw);
182 void rtl_cam_reset_all_entry(struct ieee80211_hw *hw) argument
192 rtl_cam_mark_invalid(struct ieee80211_hw *hw, u8 uc_index) argument
233 rtl_cam_empty_entry(struct ieee80211_hw *hw, u8 uc_index) argument
287 rtl_cam_get_free_entry(struct ieee80211_hw *hw, u8 *sta_addr) argument
321 rtl_cam_del_entry(struct ieee80211_hw *hw, u8 *sta_addr) argument
[all...]

Completed in 386 milliseconds

1234567891011>>