Searched refs:hw (Results 176 - 200 of 1222) sorted by relevance

1234567891011>>

/drivers/clk/tegra/
H A Dclk-periph.c25 static u8 clk_periph_get_parent(struct clk_hw *hw) argument
27 struct tegra_clk_periph *periph = to_clk_periph(hw);
29 struct clk_hw *mux_hw = &periph->mux.hw;
31 mux_hw->clk = hw->clk;
36 static int clk_periph_set_parent(struct clk_hw *hw, u8 index) argument
38 struct tegra_clk_periph *periph = to_clk_periph(hw);
40 struct clk_hw *mux_hw = &periph->mux.hw;
42 mux_hw->clk = hw->clk;
47 static unsigned long clk_periph_recalc_rate(struct clk_hw *hw, argument
50 struct tegra_clk_periph *periph = to_clk_periph(hw);
59 clk_periph_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *prate) argument
71 clk_periph_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) argument
83 clk_periph_is_enabled(struct clk_hw *hw) argument
94 clk_periph_enable(struct clk_hw *hw) argument
105 clk_periph_disable(struct clk_hw *hw) argument
[all...]
/drivers/media/platform/s5p-g2d/
H A DMakefile1 s5p-g2d-objs := g2d.o g2d-hw.o
/drivers/net/ethernet/intel/i40e/
H A Di40e_alloc.h46 i40e_status i40e_allocate_dma_mem(struct i40e_hw *hw,
50 i40e_status i40e_free_dma_mem(struct i40e_hw *hw,
52 i40e_status i40e_allocate_virt_mem(struct i40e_hw *hw,
55 i40e_status i40e_free_virt_mem(struct i40e_hw *hw,
H A Di40e_ptp.c62 struct i40e_hw *hw = &pf->hw; local
67 lo = rd32(hw, I40E_PRTTSYN_TIME_L);
68 hi = rd32(hw, I40E_PRTTSYN_TIME_H);
86 struct i40e_hw *hw = &pf->hw; local
92 wr32(hw, I40E_PRTTSYN_TIME_L, ns & 0xFFFFFFFF);
93 wr32(hw, I40E_PRTTSYN_TIME_H, ns >> 32);
124 struct i40e_hw *hw = &pf->hw; local
244 struct i40e_hw *hw = &pf->hw; local
304 struct i40e_hw *hw = &pf->hw; local
335 struct i40e_hw *hw; local
370 struct i40e_hw *hw = &pf->hw; local
440 struct i40e_hw *hw = &pf->hw; local
627 struct i40e_hw *hw = &pf->hw; local
[all...]
/drivers/net/ethernet/intel/i40evf/
H A Di40e_alloc.h46 i40e_status i40e_allocate_dma_mem(struct i40e_hw *hw,
50 i40e_status i40e_free_dma_mem(struct i40e_hw *hw,
52 i40e_status i40e_allocate_virt_mem(struct i40e_hw *hw,
55 i40e_status i40e_free_virt_mem(struct i40e_hw *hw,
/drivers/net/wireless/rt2x00/
H A Drt2x00soc.c77 struct ieee80211_hw *hw; local
81 hw = ieee80211_alloc_hw(sizeof(struct rt2x00_dev), ops->hw);
82 if (!hw) {
87 platform_set_drvdata(pdev, hw);
89 rt2x00dev = hw->priv;
92 rt2x00dev->hw = hw;
112 ieee80211_free_hw(hw);
120 struct ieee80211_hw *hw local
137 struct ieee80211_hw *hw = platform_get_drvdata(pdev); local
146 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/net/wireless/ti/wlcore/
H A Dtestmode.h29 int wl1271_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
/drivers/isdn/hisax/
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...]
/drivers/video/fbdev/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/wireless/rtlwifi/rtl8188ee/
H A Dphy.c36 static u32 _rtl88e_phy_rf_serial_read(struct ieee80211_hw *hw,
38 static void _rtl88e_phy_rf_serial_write(struct ieee80211_hw *hw,
42 static bool _rtl88e_phy_bb8188e_config_parafile(struct ieee80211_hw *hw);
43 static bool _rtl88e_phy_config_mac_with_headerfile(struct ieee80211_hw *hw);
44 static bool phy_config_bb_with_headerfile(struct ieee80211_hw *hw,
46 static bool phy_config_bb_with_pghdr(struct ieee80211_hw *hw,
48 static void _rtl88e_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw);
53 static bool _rtl88e_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw,
57 static long _rtl88e_phy_txpwr_idx_to_dbm(struct ieee80211_hw *hw,
60 static void rtl88ee_phy_set_rf_on(struct ieee80211_hw *hw);
63 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) argument
82 rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument
105 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask) argument
131 rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask, u32 data) argument
165 _rtl88e_phy_rf_serial_read(struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset) argument
212 _rtl88e_phy_rf_serial_write(struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset, u32 data) argument
246 rtl88e_phy_mac_config(struct ieee80211_hw *hw) argument
255 rtl88e_phy_bb_config(struct ieee80211_hw *hw) argument
278 rtl88e_phy_rf_config(struct ieee80211_hw *hw) argument
283 _rtl88e_check_condition(struct ieee80211_hw *hw, const u32 condition) argument
312 _rtl8188e_config_rf_reg(struct ieee80211_hw *hw, u32 addr, u32 data, enum radio_path rfpath, u32 regaddr) argument
336 _rtl8188e_config_rf_radio_a(struct ieee80211_hw *hw, u32 addr, u32 data) argument
346 _rtl8188e_config_bb_reg(struct ieee80211_hw *hw, u32 addr, u32 data) argument
367 _rtl88e_phy_bb8188e_config_parafile(struct ieee80211_hw *hw) argument
401 _rtl88e_phy_config_mac_with_headerfile(struct ieee80211_hw *hw) argument
424 handle_branch1(struct ieee80211_hw *hw, u16 arraylen, u32 *array_table) argument
466 handle_branch2(struct ieee80211_hw *hw, u16 arraylen, u32 *array_table) argument
519 phy_config_bb_with_headerfile(struct ieee80211_hw *hw, u8 configtype) argument
537 store_pwrindex_rate_offset(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument
667 phy_config_bb_with_pghdr(struct ieee80211_hw *hw, u8 configtype) argument
738 process_path_a(struct ieee80211_hw *hw, u16 radioa_arraylen, u32 *radioa_array_table) argument
789 rtl88e_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, enum radio_path rfpath) argument
815 rtl88e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw) argument
846 _rtl88e_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw) argument
932 rtl88e_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel) argument
986 _rtl88e_get_txpower_index(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel, u8 *bw20powerlevel, u8 *bw40powerlevel) argument
1015 _rtl88e_ccxpower_index_check(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel, u8 *bw20powerlevel, u8 *bw40powerlevel) argument
1030 rtl88e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) argument
1052 _rtl88e_phy_txpwr_idx_to_dbm(struct ieee80211_hw *hw, enum wireless_mode wirelessmode, u8 txpwridx) argument
1075 rtl88e_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation) argument
1104 rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw) argument
1173 rtl88e_phy_set_bw_mode(struct ieee80211_hw *hw, enum nl80211_channel_type ch_type) argument
1194 rtl88e_phy_sw_chnl_callback(struct ieee80211_hw *hw) argument
1223 rtl88e_phy_sw_chnl(struct ieee80211_hw *hw) argument
1252 _rtl88e_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, u8 channel, u8 *stage, u8 *step, u32 *delay) argument
1383 _rtl88e_phy_path_a_iqk(struct ieee80211_hw *hw, bool config_pathb) argument
1411 _rtl88e_phy_path_b_iqk(struct ieee80211_hw *hw) argument
1438 _rtl88e_phy_path_a_rx_iqk(struct ieee80211_hw *hw, bool config_pathb) argument
1523 _rtl88e_phy_path_a_fill_iqk_matrix(struct ieee80211_hw *hw, bool iqk_ok, long result[][8], u8 final_candidate, bool btxonly) argument
1563 _rtl88e_phy_save_adda_registers(struct ieee80211_hw *hw, u32 *addareg, u32 *addabackup, u32 registernum) argument
1573 _rtl88e_phy_save_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1584 _rtl88e_phy_reload_adda_registers(struct ieee80211_hw *hw, u32 *addareg, u32 *addabackup, u32 regiesternum) argument
1594 _rtl88e_phy_reload_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1605 _rtl88e_phy_path_adda_on(struct ieee80211_hw *hw, u32 *addareg, bool is_patha_on, bool is2t) argument
1623 _rtl88e_phy_mac_setting_calibration(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1637 _rtl88e_phy_path_a_standby(struct ieee80211_hw *hw) argument
1644 _rtl88e_phy_pi_mode_switch(struct ieee80211_hw *hw, bool pi_mode) argument
1653 _rtl88e_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
1713 _rtl88e_phy_iq_calibrate(struct ieee80211_hw *hw, long result[][8], u8 t, bool is2t) argument
1862 _rtl88e_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t) argument
1909 _rtl88e_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain, bool is2t) argument
1959 rtl88e_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery) argument
2081 rtl88e_phy_lc_calibrate(struct ieee80211_hw *hw) argument
2103 rtl88e_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain) argument
2108 rtl88e_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype) argument
2146 rtl88e_phy_set_io(struct ieee80211_hw *hw) argument
2177 rtl88ee_phy_set_rf_on(struct ieee80211_hw *hw) argument
2189 _rtl88ee_phy_set_rf_sleep(struct ieee80211_hw *hw) argument
2199 _rtl88ee_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument
2331 rtl88e_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument
[all...]
H A Dphy.h40 #define RT_CANNOT_IO(hw) false
200 u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw,
202 void rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw,
204 u32 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw,
207 void rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw,
210 bool rtl88e_phy_mac_config(struct ieee80211_hw *hw);
211 bool rtl88e_phy_bb_config(struct ieee80211_hw *hw);
212 bool rtl88e_phy_rf_config(struct ieee80211_hw *hw);
213 void rtl88e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
214 void rtl88e_phy_get_txpower_level(struct ieee80211_hw *hw,
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dmanage.c48 * @hw: pointer to the HW structure
56 static s32 e1000_mng_enable_host_if(struct e1000_hw *hw) argument
61 if (!hw->mac.arc_subsystem_valid) {
90 * @hw: pointer to the HW structure
95 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw) argument
105 * @hw: pointer to the HW structure
110 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw) argument
112 struct e1000_host_mng_dhcp_cookie *hdr = &hw->mng_cookie;
113 u32 *buffer = (u32 *)&hw->mng_cookie;
118 hw
168 e1000_mng_write_cmd_header(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument
199 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument
267 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) argument
309 e1000e_enable_mng_pass_thru(struct e1000_hw *hw) argument
[all...]
/drivers/spi/
H A Dspi-clps711x.c52 struct spi_clps711x_data *hw = spi_master_get_devdata(master); local
56 return regmap_update_bits(hw->syscon, SYSCON_OFFSET, SYSCON3_ADCCKNSEN,
65 struct spi_clps711x_data *hw = spi_master_get_devdata(master); local
68 clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz);
70 hw->len = xfer->len;
71 hw->bpw = xfer->bits_per_word;
72 hw->tx_buf = (u8 *)xfer->tx_buf;
73 hw->rx_buf = (u8 *)xfer->rx_buf;
76 data = hw->tx_buf ? *hw
85 struct spi_clps711x_data *hw = spi_master_get_devdata(master); local
106 struct spi_clps711x_data *hw; local
[all...]
/drivers/input/misc/
H A Dad714x.c216 struct ad714x_button_plat *hw = &ad714x->hw->button[idx]; local
221 if (((ad714x->h_state & hw->h_mask) == hw->h_mask) &&
222 ((ad714x->l_state & hw->l_mask) == hw->l_mask)) {
224 input_report_key(sw->input, hw->keycode, 1);
231 if (((ad714x->h_state & hw->h_mask) != hw->h_mask) ||
232 ((ad714x->l_state & hw
251 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
269 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
294 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
327 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
334 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
341 struct ad714x_slider_plat *hw = &ad714x->hw->slider[idx]; local
410 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
423 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
452 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
483 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
499 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
506 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
513 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; local
577 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
597 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
618 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
657 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
702 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
779 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
786 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
794 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; local
1192 struct ad714x_platform_data *hw = ad714x->hw; local
[all...]
/drivers/net/wireless/rtlwifi/rtl8192de/
H A Dphy.c41 #include "hw.h"
201 u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) argument
203 struct rtl_priv *rtlpriv = rtl_priv(hw);
218 originalvalue = rtl92de_read_dword_dbi(hw, (u16)regaddr,
231 void rtl92d_phy_set_bb_reg(struct ieee80211_hw *hw, argument
234 struct rtl_priv *rtlpriv = rtl_priv(hw);
250 originalvalue = rtl92de_read_dword_dbi(hw,
259 rtl92de_write_dword_dbi(hw, (u16) regaddr, data, dbi_direct);
267 static u32 _rtl92d_phy_rf_serial_read(struct ieee80211_hw *hw, argument
271 struct rtl_priv *rtlpriv = rtl_priv(hw);
313 _rtl92d_phy_rf_serial_write(struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset, u32 data) argument
331 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask) argument
352 rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask, u32 data) argument
382 rtl92d_phy_mac_config(struct ieee80211_hw *hw) argument
408 _rtl92d_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw) argument
535 _rtl92d_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, u8 configtype) argument
635 _rtl92d_store_pwrindex_diffrate_offset(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument
687 _rtl92d_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, u8 configtype) argument
712 _rtl92d_phy_bb_config(struct ieee80211_hw *hw) argument
753 rtl92d_phy_bb_config(struct ieee80211_hw *hw) argument
781 rtl92d_phy_rf_config(struct ieee80211_hw *hw) argument
786 rtl92d_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, enum rf_content content, enum radio_path rfpath) argument
850 rtl92d_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw) argument
878 _rtl92d_get_txpower_index(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel) argument
915 _rtl92d_ccxpower_index_check(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel) argument
948 rtl92d_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) argument
967 rtl92d_phy_set_bw_mode(struct ieee80211_hw *hw, enum nl80211_channel_type ch_type) argument
1047 _rtl92d_phy_stop_trx_before_changeband(struct ieee80211_hw *hw) argument
1055 rtl92d_phy_switch_wirelessband(struct ieee80211_hw *hw, u8 band) argument
1108 _rtl92d_phy_reload_imr_setting(struct ieee80211_hw *hw, u8 channel, u8 rfpath) argument
1168 _rtl92d_phy_enable_rf_env(struct ieee80211_hw *hw, u8 rfpath, u32 *pu4_regval) argument
1204 _rtl92d_phy_restore_rf_env(struct ieee80211_hw *hw, u8 rfpath, u32 *pu4_regval) argument
1227 _rtl92d_phy_switch_rf_setting(struct ieee80211_hw *hw, u8 channel) argument
1427 _rtl92d_phy_patha_iqk(struct ieee80211_hw *hw, bool configpathb) argument
1489 _rtl92d_phy_patha_iqk_5g_normal(struct ieee80211_hw *hw, bool configpathb) argument
1573 _rtl92d_phy_pathb_iqk(struct ieee80211_hw *hw) argument
1613 _rtl92d_phy_pathb_iqk_5g_normal(struct ieee80211_hw *hw) argument
1690 _rtl92d_phy_save_adda_registers(struct ieee80211_hw *hw, u32 *adda_reg, u32 *adda_backup, u32 regnum) argument
1702 _rtl92d_phy_save_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1714 _rtl92d_phy_reload_adda_registers(struct ieee80211_hw *hw, u32 *adda_reg, u32 *adda_backup, u32 regnum) argument
1727 _rtl92d_phy_reload_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1739 _rtl92d_phy_path_adda_on(struct ieee80211_hw *hw, u32 *adda_reg, bool patha_on, bool is2t) argument
1755 _rtl92d_phy_mac_setting_calibration(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1770 _rtl92d_phy_patha_standby(struct ieee80211_hw *hw) argument
1780 _rtl92d_phy_pimode_switch(struct ieee80211_hw *hw, bool pi_mode) argument
1792 _rtl92d_phy_iq_calibrate(struct ieee80211_hw *hw, long result[][8], u8 t, bool is2t) argument
1955 _rtl92d_phy_iq_calibrate_5g_normal(struct ieee80211_hw *hw, long result[][8], u8 t) argument
2109 _rtl92d_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
2168 _rtl92d_phy_patha_fill_iqk_matrix(struct ieee80211_hw *hw, bool iqk_ok, long result[][8], u8 final_candidate, bool txonly) argument
2230 _rtl92d_phy_pathb_fill_iqk_matrix(struct ieee80211_hw *hw, bool iqk_ok, long result[][8], u8 final_candidate, bool txonly) argument
2279 rtl92d_phy_iq_calibrate(struct ieee80211_hw *hw) argument
2406 rtl92d_phy_reload_iqk_setting(struct ieee80211_hw *hw, u8 channel) argument
2470 _rtl92d_is_legal_5g_channel(struct ieee80211_hw *hw, u8 channel) argument
2488 _rtl92d_phy_calc_curvindex(struct ieee80211_hw *hw, u32 *targetchnl, u32 * curvecount_val, bool is5g, u32 *curveindex) argument
2516 _rtl92d_phy_reload_lck_setting(struct ieee80211_hw *hw, u8 channel) argument
2575 _rtl92d_phy_lc_calibrate_sw(struct ieee80211_hw *hw, bool is2t) argument
2679 _rtl92d_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t) argument
2687 rtl92d_phy_lc_calibrate(struct ieee80211_hw *hw) argument
2713 rtl92d_phy_ap_calibrate(struct ieee80211_hw *hw, char delta) argument
2739 rtl92d_phy_reset_iqk_result(struct ieee80211_hw *hw) argument
2764 _rtl92d_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, u8 channel, u8 *stage, u8 *step, u32 *delay) argument
2878 rtl92d_phy_sw_chnl(struct ieee80211_hw *hw) argument
2959 rtl92d_phy_set_io(struct ieee80211_hw *hw) argument
2989 rtl92d_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype) argument
3027 _rtl92d_phy_set_rfon(struct ieee80211_hw *hw) argument
3048 _rtl92d_phy_set_rfsleep(struct ieee80211_hw *hw) argument
3092 rtl92d_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument
3209 rtl92d_phy_config_macphymode(struct ieee80211_hw *hw) argument
3234 rtl92d_phy_config_macphymode_info(struct ieee80211_hw *hw) argument
3312 rtl92d_phy_set_poweron(struct ieee80211_hw *hw) argument
3363 rtl92d_phy_config_maccoexist_rfpage(struct ieee80211_hw *hw) argument
3388 rtl92d_update_bbrf_configuration(struct ieee80211_hw *hw) argument
3576 rtl92d_phy_check_poweroff(struct ieee80211_hw *hw) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8723ae/
H A Dphy.h35 #define RT_CANNOT_IO(hw) false
169 u32 rtl8723e_phy_query_rf_reg(struct ieee80211_hw *hw,
172 void rtl8723e_phy_set_rf_reg(struct ieee80211_hw *hw,
175 bool rtl8723e_phy_mac_config(struct ieee80211_hw *hw);
176 bool rtl8723e_phy_bb_config(struct ieee80211_hw *hw);
177 bool rtl8723e_phy_rf_config(struct ieee80211_hw *hw);
178 bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw,
180 void rtl8723e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
181 void rtl8723e_phy_get_txpower_level(struct ieee80211_hw *hw,
183 void rtl8723e_phy_set_txpower_level(struct ieee80211_hw *hw, u
[all...]
/drivers/net/fddi/skfp/
H A Dfplustm.c57 #define DUMMY_READ() smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP))
84 #define MA smc->hw.fddi_canon_addr
86 #define MA smc->hw.fddi_home_addr
163 /* smc->hw.mc_dummy = *((short volatile far *)(addr)))*/
178 smc->hw.fp.fifo.rbc_ram_start = 0 ;
179 smc->hw.fp.fifo.rbc_ram_end =
180 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ;
182 MARW(smc->hw.fp.fifo.rbc_ram_start) ;
183 for (i = smc->hw.fp.fifo.rbc_ram_start;
184 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/rtlwifi/rtl8192ee/
H A Dphy.c36 static u32 _rtl92ee_phy_rf_serial_read(struct ieee80211_hw *hw,
38 static void _rtl92ee_phy_rf_serial_write(struct ieee80211_hw *hw,
42 static bool _rtl92ee_phy_bb8192ee_config_parafile(struct ieee80211_hw *hw);
43 static bool _rtl92ee_phy_config_mac_with_headerfile(struct ieee80211_hw *hw);
44 static bool phy_config_bb_with_hdr_file(struct ieee80211_hw *hw,
46 static bool phy_config_bb_with_pghdrfile(struct ieee80211_hw *hw,
48 static void phy_init_bb_rf_register_def(struct ieee80211_hw *hw);
54 static bool _rtl92ee_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw,
57 static long _rtl92ee_phy_txpwr_idx_to_dbm(struct ieee80211_hw *hw,
60 static void rtl92ee_phy_set_rf_on(struct ieee80211_hw *hw);
63 rtl92ee_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) argument
81 rtl92ee_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument
104 rtl92ee_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask) argument
130 rtl92ee_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr, u32 bitmask, u32 data) argument
159 _rtl92ee_phy_rf_serial_read(struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset) argument
206 _rtl92ee_phy_rf_serial_write(struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset, u32 data) argument
240 rtl92ee_phy_mac_config(struct ieee80211_hw *hw) argument
245 rtl92ee_phy_bb_config(struct ieee80211_hw *hw) argument
276 rtl92ee_phy_rf_config(struct ieee80211_hw *hw) argument
281 _check_condition(struct ieee80211_hw *hw, const u32 condition) argument
311 _rtl92ee_config_rf_reg(struct ieee80211_hw *hw, u32 addr, u32 data, enum radio_path rfpath, u32 regaddr) argument
363 _rtl92ee_config_rf_radio_a(struct ieee80211_hw *hw, u32 addr, u32 data) argument
373 _rtl92ee_config_rf_radio_b(struct ieee80211_hw *hw, u32 addr, u32 data) argument
383 _rtl92ee_config_bb_reg(struct ieee80211_hw *hw, u32 addr, u32 data) argument
404 _rtl92ee_phy_init_tx_power_by_rate(struct ieee80211_hw *hw) argument
419 _rtl92ee_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate_section, u8 txnum, u8 value) argument
459 _rtl92ee_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 txnum, u8 rate_section) argument
500 _rtl92ee_phy_store_txpower_by_rate_base(struct ieee80211_hw *hw) argument
571 phy_convert_txpwr_dbm_to_rel_val(struct ieee80211_hw *hw) argument
638 _rtl92ee_phy_txpower_by_rate_configuration(struct ieee80211_hw *hw) argument
644 _rtl92ee_phy_bb8192ee_config_parafile(struct ieee80211_hw *hw) argument
680 _rtl92ee_phy_config_mac_with_headerfile(struct ieee80211_hw *hw) argument
704 phy_config_bb_with_hdr_file(struct ieee80211_hw *hw, u8 configtype) argument
860 _rtl92ee_store_tx_power_by_rate(struct ieee80211_hw *hw, enum band_type band, enum radio_path rfpath, u32 txnum, u32 regaddr, u32 bitmask, u32 data) argument
888 phy_config_bb_with_pghdrfile(struct ieee80211_hw *hw, u8 configtype) argument
929 rtl92ee_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, enum radio_path rfpath) argument
1039 rtl92ee_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw) argument
1070 phy_init_bb_rf_register_def(struct ieee80211_hw *hw) argument
1099 rtl92ee_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel) argument
1185 _rtl92ee_get_txpower_by_rate(struct ieee80211_hw *hw, enum band_type band, enum radio_path rf, u8 rate) argument
1252 _rtl92ee_get_txpower_index(struct ieee80211_hw *hw, enum radio_path rfpath, u8 rate, u8 bw, u8 channel) argument
1303 _rtl92ee_set_txpower_index(struct ieee80211_hw *hw, u8 pwr_idx, enum radio_path rfpath, u8 rate) argument
1551 phy_set_txpower_index_by_rate_array(struct ieee80211_hw *hw, enum radio_path rfpath, u8 bw, u8 channel, u8 *rates, u8 size) argument
1565 phy_set_txpower_index_by_rate_section(struct ieee80211_hw *hw, enum radio_path rfpath, u8 channel, enum rate_section section) argument
1610 rtl92ee_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) argument
1635 _rtl92ee_phy_txpwr_idx_to_dbm(struct ieee80211_hw *hw, enum wireless_mode wirelessmode, u8 txpwridx) argument
1658 rtl92ee_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation) argument
1685 rtl92ee_phy_set_bw_mode_callback(struct ieee80211_hw *hw) argument
1754 rtl92ee_phy_set_bw_mode(struct ieee80211_hw *hw, enum nl80211_channel_type ch_type) argument
1775 rtl92ee_phy_sw_chnl_callback(struct ieee80211_hw *hw) argument
1804 rtl92ee_phy_sw_chnl(struct ieee80211_hw *hw) argument
1833 _rtl92ee_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, u8 channel, u8 *stage, u8 *step, u32 *delay) argument
1965 _rtl92ee_phy_path_a_iqk(struct ieee80211_hw *hw, bool config_pathb) argument
2006 _rtl92ee_phy_path_b_iqk(struct ieee80211_hw *hw) argument
2050 _rtl92ee_phy_path_a_rx_iqk(struct ieee80211_hw *hw, bool config_pathb) argument
2165 _rtl92ee_phy_path_b_rx_iqk(struct ieee80211_hw *hw, bool config_pathb) argument
2281 _rtl92ee_phy_path_a_fill_iqk_matrix(struct ieee80211_hw *hw, bool b_iqk_ok, long result[][8], u8 final_candidate, bool btxonly) argument
2326 _rtl92ee_phy_path_b_fill_iqk_matrix(struct ieee80211_hw *hw, bool b_iqk_ok, long result[][8], u8 final_candidate, bool btxonly) argument
2371 _rtl92ee_phy_save_adda_registers(struct ieee80211_hw *hw, u32 *addareg, u32 *addabackup, u32 registernum) argument
2381 _rtl92ee_phy_save_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
2393 _rtl92ee_phy_reload_adda_registers(struct ieee80211_hw *hw, u32 *addareg, u32 *addabackup, u32 regiesternum) argument
2403 _rtl92ee_phy_reload_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
2414 _rtl92ee_phy_path_adda_on(struct ieee80211_hw *hw, u32 *addareg, bool is_patha_on, bool is2t) argument
2432 _rtl92ee_phy_mac_setting_calibration(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
2438 _rtl92ee_phy_path_a_standby(struct ieee80211_hw *hw) argument
2445 _rtl92ee_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
2520 _rtl92ee_phy_iq_calibrate(struct ieee80211_hw *hw, long result[][8], u8 t, bool is2t) argument
2709 _rtl92ee_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t) argument
2754 _rtl92ee_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain, bool is2t) argument
2828 rtl92ee_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery) argument
2959 rtl92ee_phy_lc_calibrate(struct ieee80211_hw *hw) argument
2981 rtl92ee_phy_ap_calibrate(struct ieee80211_hw *hw, char delta) argument
2985 rtl92ee_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain) argument
2990 rtl92ee_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype) argument
3028 rtl92ee_phy_set_io(struct ieee80211_hw *hw) argument
3061 rtl92ee_phy_set_rf_on(struct ieee80211_hw *hw) argument
3073 _rtl92ee_phy_set_rf_sleep(struct ieee80211_hw *hw) argument
3084 _rtl92ee_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument
3208 rtl92ee_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8192c/
H A Ddm_common.h169 void rtl92c_dm_init(struct ieee80211_hw *hw);
170 void rtl92c_dm_watchdog(struct ieee80211_hw *hw);
171 void rtl92c_dm_write_dig(struct ieee80211_hw *hw);
172 void rtl92c_dm_init_edca_turbo(struct ieee80211_hw *hw);
173 void rtl92c_dm_check_txpower_tracking(struct ieee80211_hw *hw);
174 void rtl92c_dm_init_rate_adaptive_mask(struct ieee80211_hw *hw);
175 void rtl92c_dm_rf_saving(struct ieee80211_hw *hw, u8 bforce_in_normal);
176 void rtl92c_phy_ap_calibrate(struct ieee80211_hw *hw, char delta);
177 void rtl92c_phy_lc_calibrate(struct ieee80211_hw *hw);
178 void rtl92c_phy_iq_calibrate(struct ieee80211_hw *hw, boo
[all...]
/drivers/clk/pxa/
H A Dclk-pxa.c29 #define to_pxa_clk(_hw) container_of(_hw, struct pxa_clk_cken, hw)
31 static unsigned long cken_recalc_rate(struct clk_hw *hw, argument
34 struct pxa_clk_cken *pclk = to_pxa_clk(hw);
41 fix->hw.clk = hw->clk;
42 return clk_fixed_factor_ops.recalc_rate(&fix->hw, parent_rate);
49 static u8 cken_get_parent(struct clk_hw *hw) argument
51 struct pxa_clk_cken *pclk = to_pxa_clk(hw);
83 &pclk->hw, &cken_mux_ops,
84 &pclk->hw,
[all...]
/drivers/irqchip/
H A Dirq-metag.c66 static inline void __iomem *metag_hwvec_addr(irq_hw_number_t hw) argument
70 switch (hw) {
124 irq_hw_number_t hw = data->hwirq; local
125 unsigned int bit = 1 << hw;
141 irq_hw_number_t hw = data->hwirq; local
142 void __iomem *vec_addr = metag_hwvec_addr(hw);
144 clear_bit(hw, &priv->unmasked);
160 irq_hw_number_t hw = data->hwirq; local
161 unsigned int bit = 1 << hw;
162 void __iomem *vec_addr = metag_hwvec_addr(hw);
196 irq_hw_number_t hw = data->hwirq; local
226 irq_hw_number_t hw; local
267 internal_irq_map(unsigned int hw) argument
303 metag_internal_intc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) argument
[all...]
/drivers/misc/mei/
H A Dhw-me.c25 #include "hw-me.h"
26 #include "hw-me-regs.h"
31 * @hw: the me hardware structure
36 static inline u32 mei_me_reg_read(const struct mei_me_hw *hw, argument
39 return ioread32(hw->mem_addr + offset);
46 * @hw: the me hardware structure
50 static inline void mei_me_reg_write(const struct mei_me_hw *hw, argument
53 iowrite32(value, hw->mem_addr + offset);
71 * @hw: the me hardware structure
75 static inline u32 mei_me_mecsr_read(const struct mei_me_hw *hw) argument
87 mei_hcsr_read(const struct mei_me_hw *hw) argument
99 mei_hcsr_set(struct mei_me_hw *hw, u32 hcsr) argument
117 struct mei_me_hw *hw = to_me_hw(dev); local
143 struct mei_me_hw *hw = to_me_hw(dev); local
161 struct mei_me_hw *hw = to_me_hw(dev); local
173 struct mei_me_hw *hw = to_me_hw(dev); local
186 struct mei_me_hw *hw = to_me_hw(dev); local
200 struct mei_me_hw *hw = to_me_hw(dev); local
214 struct mei_me_hw *hw = to_me_hw(dev); local
234 struct mei_me_hw *hw = to_me_hw(dev); local
272 struct mei_me_hw *hw = to_me_hw(dev); local
287 struct mei_me_hw *hw = to_me_hw(dev); local
301 struct mei_me_hw *hw = to_me_hw(dev); local
358 struct mei_me_hw *hw = to_me_hw(dev); local
428 struct mei_me_hw *hw = to_me_hw(dev); local
476 struct mei_me_hw *hw = to_me_hw(dev); local
506 struct mei_me_hw *hw = to_me_hw(dev); local
531 struct mei_me_hw *hw = to_me_hw(dev); local
545 struct mei_me_hw *hw = to_me_hw(dev); local
563 struct mei_me_hw *hw = to_me_hw(dev); local
600 struct mei_me_hw *hw = to_me_hw(dev); local
637 struct mei_me_hw *hw = to_me_hw(dev); local
671 struct mei_me_hw *hw = to_me_hw(dev); local
877 struct mei_me_hw *hw; local
[all...]

Completed in 891 milliseconds

1234567891011>>