Home
last modified time | relevance | path

Searched refs:config_word (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.h41 #define netxen_gb_tx_flowctl(config_word) \ argument
42 ((config_word) |= 1 << 4)
43 #define netxen_gb_rx_flowctl(config_word) \ argument
44 ((config_word) |= 1 << 5)
45 #define netxen_gb_tx_reset_pb(config_word) \ argument
46 ((config_word) |= 1 << 16)
47 #define netxen_gb_rx_reset_pb(config_word) \ argument
48 ((config_word) |= 1 << 17)
49 #define netxen_gb_tx_reset_mac(config_word) \ argument
50 ((config_word) |
51 netxen_gb_rx_reset_mac(config_word) global() argument
54 netxen_gb_unset_tx_flowctl(config_word) global() argument
56 netxen_gb_unset_rx_flowctl(config_word) global() argument
59 netxen_gb_get_tx_synced(config_word) global() argument
61 netxen_gb_get_rx_synced(config_word) global() argument
63 netxen_gb_get_tx_flowctl(config_word) global() argument
65 netxen_gb_get_rx_flowctl(config_word) global() argument
67 netxen_gb_get_soft_reset(config_word) global() argument
70 netxen_gb_get_stationaddress_low(config_word) global() argument
72 netxen_gb_set_mii_mgmt_clockselect(config_word,val) global() argument
74 netxen_gb_mii_mgmt_reset(config_word) global() argument
76 netxen_gb_mii_mgmt_unset(config_word) global() argument
85 netxen_gb_mii_mgmt_set_read_cycle(config_word) global() argument
87 netxen_gb_mii_mgmt_reg_addr(config_word,val) global() argument
89 netxen_gb_mii_mgmt_phy_addr(config_word,val) global() argument
99 netxen_get_gb_mii_mgmt_busy(config_word) global() argument
101 netxen_get_gb_mii_mgmt_scanning(config_word) global() argument
103 netxen_get_gb_mii_mgmt_notvalid(config_word) global() argument
116 netxen_xg_set_xg0_mask(config_word) global() argument
118 netxen_xg_set_xg1_mask(config_word) global() argument
121 netxen_xg_get_xg0_mask(config_word) global() argument
123 netxen_xg_get_xg1_mask(config_word) global() argument
126 netxen_xg_unset_xg0_mask(config_word) global() argument
128 netxen_xg_unset_xg1_mask(config_word) global() argument
141 netxen_gb_set_gb0_mask(config_word) global() argument
143 netxen_gb_set_gb1_mask(config_word) global() argument
145 netxen_gb_set_gb2_mask(config_word) global() argument
147 netxen_gb_set_gb3_mask(config_word) global() argument
150 netxen_gb_get_gb0_mask(config_word) global() argument
152 netxen_gb_get_gb1_mask(config_word) global() argument
154 netxen_gb_get_gb2_mask(config_word) global() argument
156 netxen_gb_get_gb3_mask(config_word) global() argument
159 netxen_gb_unset_gb0_mask(config_word) global() argument
161 netxen_gb_unset_gb1_mask(config_word) global() argument
163 netxen_gb_unset_gb2_mask(config_word) global() argument
165 netxen_gb_unset_gb3_mask(config_word) global() argument
214 netxen_get_phy_speed(config_word) global() argument
216 netxen_set_phy_speed(config_word,val) global() argument
218 netxen_set_phy_duplex(config_word) global() argument
220 netxen_clear_phy_duplex(config_word) global() argument
223 netxen_get_phy_link(config_word) global() argument
225 netxen_get_phy_duplex(config_word) global() argument
235 netxen_get_niu_enable_ge(config_word) global() argument
255 netxen_xg_soft_reset(config_word) global() argument
[all...]
H A Dnetxen_nic.h230 #define netxen_set_msg_peg_id(config_word, val) \ argument
231 ((config_word) &= ~3, (config_word) |= val & 3)
232 #define netxen_set_msg_privid(config_word) \ argument
233 ((config_word) |= 1 << 2)
234 #define netxen_set_msg_count(config_word, val) \ argument
235 ((config_word) &= ~(0x7fff<<3), (config_word) |= (val & 0x7fff) << 3)
236 #define netxen_set_msg_ctxid(config_word, val) \ argument
237 ((config_word)
238 netxen_set_msg_opcode(config_word,val) global() argument
[all...]
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hdr.h817 #define qlcnic_gb_rx_flowctl(config_word) \ argument
818 ((config_word) |= 1 << 5)
819 #define qlcnic_gb_get_rx_flowctl(config_word) \ argument
820 _qlcnic_crb_get_bit((config_word), 5)
821 #define qlcnic_gb_unset_rx_flowctl(config_word) \ argument
822 ((config_word) &= ~(1 << 5))
828 #define qlcnic_gb_set_gb0_mask(config_word) \ argument
829 ((config_word) |= 1 << 0)
830 #define qlcnic_gb_set_gb1_mask(config_word) \ argument
831 ((config_word) |
832 qlcnic_gb_set_gb2_mask(config_word) global() argument
834 qlcnic_gb_set_gb3_mask(config_word) global() argument
837 qlcnic_gb_get_gb0_mask(config_word) global() argument
839 qlcnic_gb_get_gb1_mask(config_word) global() argument
841 qlcnic_gb_get_gb2_mask(config_word) global() argument
843 qlcnic_gb_get_gb3_mask(config_word) global() argument
846 qlcnic_gb_unset_gb0_mask(config_word) global() argument
848 qlcnic_gb_unset_gb1_mask(config_word) global() argument
850 qlcnic_gb_unset_gb2_mask(config_word) global() argument
852 qlcnic_gb_unset_gb3_mask(config_word) global() argument
866 qlcnic_xg_set_xg0_mask(config_word) global() argument
868 qlcnic_xg_set_xg1_mask(config_word) global() argument
871 qlcnic_xg_get_xg0_mask(config_word) global() argument
873 qlcnic_xg_get_xg1_mask(config_word) global() argument
876 qlcnic_xg_unset_xg0_mask(config_word) global() argument
878 qlcnic_xg_unset_xg1_mask(config_word) global() argument
917 qlcnic_get_phy_speed(config_word) global() argument
919 qlcnic_set_phy_speed(config_word,val) global() argument
921 qlcnic_set_phy_duplex(config_word) global() argument
923 qlcnic_clear_phy_duplex(config_word) global() argument
926 qlcnic_get_phy_link(config_word) global() argument
928 qlcnic_get_phy_duplex(config_word) global() argument
[all...]
/linux/drivers/clk/
H A Dclk-ep93xx.c577 static unsigned long calc_pll_rate(u64 rate, u32 config_word) in calc_pll_rate() argument
579 rate *= ((config_word >> 11) & GENMASK(4, 0)) + 1; /* X1FBD */ in calc_pll_rate()
580 rate *= ((config_word >> 5) & GENMASK(5, 0)) + 1; /* X2FBD */ in calc_pll_rate()
581 do_div(rate, (config_word & GENMASK(4, 0)) + 1); /* X2IPD */ in calc_pll_rate()
582 rate >>= (config_word >> 16) & GENMASK(1, 0); /* PS */ in calc_pll_rate()