Home
last modified time | relevance | path

Searched refs:s32 (Results 1 – 25 of 808) sorted by relevance

12345678910>>...33

/drivers/staging/comedi/drivers/
Djr3_pci.h15 static inline s16 get_s16(const s32 __iomem *p) in get_s16()
20 static inline void set_s16(s32 __iomem *p, s16 val) in set_s16()
46 s32 raw_data;
47 s32 reserved[2];
54 s32 fx;
55 s32 fy;
56 s32 fz;
57 s32 mx;
58 s32 my;
59 s32 mz;
[all …]
/drivers/net/ethernet/intel/e1000e/
Dphy.h25 s32 e1000e_check_downshift(struct e1000_hw *hw);
26 s32 e1000_check_polarity_m88(struct e1000_hw *hw);
27 s32 e1000_check_polarity_igp(struct e1000_hw *hw);
28 s32 e1000_check_polarity_ife(struct e1000_hw *hw);
29 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw);
30 s32 e1000e_copper_link_setup_igp(struct e1000_hw *hw);
31 s32 e1000e_copper_link_setup_m88(struct e1000_hw *hw);
32 s32 e1000e_phy_force_speed_duplex_igp(struct e1000_hw *hw);
33 s32 e1000e_phy_force_speed_duplex_m88(struct e1000_hw *hw);
34 s32 e1000_phy_force_speed_duplex_ife(struct e1000_hw *hw);
[all …]
Dmac.h25 s32 e1000e_blink_led_generic(struct e1000_hw *hw);
26 s32 e1000e_check_for_copper_link(struct e1000_hw *hw);
27 s32 e1000e_check_for_fiber_link(struct e1000_hw *hw);
28 s32 e1000e_check_for_serdes_link(struct e1000_hw *hw);
29 s32 e1000e_cleanup_led_generic(struct e1000_hw *hw);
30 s32 e1000e_config_fc_after_link_up(struct e1000_hw *hw);
31 s32 e1000e_disable_pcie_master(struct e1000_hw *hw);
32 s32 e1000e_force_mac_fc(struct e1000_hw *hw);
33 s32 e1000e_get_auto_rd_done(struct e1000_hw *hw);
34 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw);
[all …]
Dhw.h458 s32 (*id_led_init)(struct e1000_hw *);
459 s32 (*blink_led)(struct e1000_hw *);
461 s32 (*check_for_link)(struct e1000_hw *);
462 s32 (*cleanup_led)(struct e1000_hw *);
465 s32 (*get_bus_info)(struct e1000_hw *);
467 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
468 s32 (*led_on)(struct e1000_hw *);
469 s32 (*led_off)(struct e1000_hw *);
471 s32 (*reset_hw)(struct e1000_hw *);
472 s32 (*init_hw)(struct e1000_hw *);
[all …]
Dphy.c24 static s32 e1000_wait_autoneg(struct e1000_hw *hw);
25 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
28 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset,
61 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw) in e1000e_check_reset_block_generic()
77 s32 e1000e_get_phy_id(struct e1000_hw *hw) in e1000e_get_phy_id()
80 s32 ret_val = 0; in e1000e_get_phy_id()
116 s32 e1000e_phy_reset_dsp(struct e1000_hw *hw) in e1000e_phy_reset_dsp()
118 s32 ret_val; in e1000e_phy_reset_dsp()
136 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic()
199 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic()
[all …]
D80003es2lan.c39 static s32 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw);
40 static s32 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
44 static s32 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw);
45 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex);
46 static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
48 static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
56 static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) in e1000_init_phy_params_80003es2lan()
59 s32 ret_val; in e1000_init_phy_params_80003es2lan()
88 static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) in e1000_init_nvm_params_80003es2lan()
133 static s32 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) in e1000_init_mac_params_80003es2lan()
[all …]
/drivers/net/ethernet/intel/igb/
De1000_phy.h40 s32 igb_check_downshift(struct e1000_hw *hw);
41 s32 igb_check_reset_block(struct e1000_hw *hw);
42 s32 igb_copper_link_setup_igp(struct e1000_hw *hw);
43 s32 igb_copper_link_setup_m88(struct e1000_hw *hw);
44 s32 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw);
45 s32 igb_phy_force_speed_duplex_igp(struct e1000_hw *hw);
46 s32 igb_phy_force_speed_duplex_m88(struct e1000_hw *hw);
47 s32 igb_get_cable_length_m88(struct e1000_hw *hw);
48 s32 igb_get_cable_length_m88_gen2(struct e1000_hw *hw);
49 s32 igb_get_cable_length_igp_2(struct e1000_hw *hw);
[all …]
De1000_mac.h37 s32 igb_blink_led(struct e1000_hw *hw);
38 s32 igb_check_for_copper_link(struct e1000_hw *hw);
39 s32 igb_cleanup_led(struct e1000_hw *hw);
40 s32 igb_config_fc_after_link_up(struct e1000_hw *hw);
41 s32 igb_disable_pcie_master(struct e1000_hw *hw);
42 s32 igb_force_mac_fc(struct e1000_hw *hw);
43 s32 igb_get_auto_rd_done(struct e1000_hw *hw);
44 s32 igb_get_bus_info_pcie(struct e1000_hw *hw);
45 s32 igb_get_hw_semaphore(struct e1000_hw *hw);
46 s32 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed,
[all …]
De1000_hw.h314 s32 (*check_for_link)(struct e1000_hw *);
315 s32 (*reset_hw)(struct e1000_hw *);
316 s32 (*init_hw)(struct e1000_hw *);
318 s32 (*setup_physical_interface)(struct e1000_hw *);
320 s32 (*read_mac_addr)(struct e1000_hw *);
321 s32 (*get_speed_and_duplex)(struct e1000_hw *, u16 *, u16 *);
322 s32 (*acquire_swfw_sync)(struct e1000_hw *, u16);
325 s32 (*get_thermal_sensor_data)(struct e1000_hw *);
326 s32 (*init_thermal_sensor_thresh)(struct e1000_hw *);
332 s32 (*acquire)(struct e1000_hw *);
[all …]
De1000_mbx.c35 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_read_mbx()
38 s32 ret_val = -E1000_ERR_MBX; in igb_read_mbx()
59 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx()
62 s32 ret_val = 0; in igb_write_mbx()
80 s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_msg()
83 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_msg()
98 s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_ack()
101 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_ack()
116 s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_rst()
119 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_rst()
[all …]
De1000_i210.c34 static s32 igb_update_flash_i210(struct e1000_hw *hw);
42 static s32 igb_get_hw_semaphore_i210(struct e1000_hw *hw) in igb_get_hw_semaphore_i210()
45 s32 timeout = hw->nvm.word_size + 1; in igb_get_hw_semaphore_i210()
46 s32 i = 0; in igb_get_hw_semaphore_i210()
112 static s32 igb_acquire_nvm_i210(struct e1000_hw *hw) in igb_acquire_nvm_i210()
137 s32 igb_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in igb_acquire_swfw_sync_i210()
142 s32 ret_val = 0; in igb_acquire_swfw_sync_i210()
143 s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ in igb_acquire_swfw_sync_i210()
207 static s32 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_read_nvm_srrd_i210()
210 s32 status = 0; in igb_read_nvm_srrd_i210()
[all …]
De1000_82575.c38 static s32 igb_get_invariants_82575(struct e1000_hw *);
39 static s32 igb_acquire_phy_82575(struct e1000_hw *);
41 static s32 igb_acquire_nvm_82575(struct e1000_hw *);
43 static s32 igb_check_for_link_82575(struct e1000_hw *);
44 static s32 igb_get_cfg_done_82575(struct e1000_hw *);
45 static s32 igb_init_hw_82575(struct e1000_hw *);
46 static s32 igb_phy_hw_reset_sgmii_82575(struct e1000_hw *);
47 static s32 igb_read_phy_reg_sgmii_82575(struct e1000_hw *, u32, u16 *);
48 static s32 igb_read_phy_reg_82580(struct e1000_hw *, u32, u16 *);
49 static s32 igb_write_phy_reg_82580(struct e1000_hw *, u32, u16);
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.h36 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw);
37 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw);
38 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw);
39 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw);
40 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw);
41 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num,
43 s32 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr);
46 s32 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw);
48 s32 ixgbe_stop_adapter_generic(struct ixgbe_hw *hw);
50 s32 ixgbe_led_on_generic(struct ixgbe_hw *hw, u32 index);
[all …]
Dixgbe_phy.h144 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw);
145 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw);
146 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr,
148 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr,
150 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr,
152 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr,
154 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw);
155 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw,
158 s32 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw,
164 s32 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw,
[all …]
Dixgbe_mbx.c43 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx()
66 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx()
86 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg()
103 s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack()
120 s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst()
137 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_msg()
162 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_ack()
190 static s32 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_posted_mbx()
194 s32 ret_val; in ixgbe_read_posted_mbx()
217 static s32 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_posted_mbx()
[all …]
/drivers/macintosh/
Dwindfarm_pid.h30 s32 gd, gp, gr; /* PID gains */
31 s32 itarget; /* PID input target */
32 s32 min,max; /* min and max target values */
38 s32 target; /* current target value */
39 s32 samples[WF_PID_MAX_HISTORY]; /* samples history buffer */
40 s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */
46 extern s32 wf_pid_run(struct wf_pid_state *st, s32 sample);
63 s32 gd, gp, gr; /* PID gains */
64 s32 pmaxadj; /* PID max power adjust */
65 s32 ttarget; /* PID input target */
[all …]
Dwindfarm.h20 #define FIX32TOPRINT(f) (((s32)(f)) >> 16),(((((s32)(f)) & 0xffff) * 1000) >> 16)
29 int (*set_value)(struct wf_control *ct, s32 val);
30 int (*get_value)(struct wf_control *ct, s32 *val);
31 s32 (*get_min)(struct wf_control *ct);
32 s32 (*get_max)(struct wf_control *ct);
64 s32 vmax = ct->ops->get_max(ct); in wf_control_set_max()
70 s32 vmin = ct->ops->get_min(ct); in wf_control_set_min()
74 static inline int wf_control_set(struct wf_control *ct, s32 val) in wf_control_set()
79 static inline int wf_control_get(struct wf_control *ct, s32 *val) in wf_control_get()
84 static inline s32 wf_control_get_min(struct wf_control *ct) in wf_control_get_min()
[all …]
/drivers/pinctrl/
Dpinctrl-tegra.h142 s32 mux_bit:6;
143 s32 pupd_bit:6;
144 s32 tri_bit:6;
145 s32 einput_bit:6;
146 s32 odrain_bit:6;
147 s32 lock_bit:6;
148 s32 ioreset_bit:6;
149 s32 rcv_sel_bit:6;
150 s32 hsm_bit:6;
151 s32 schmitt_bit:6;
[all …]
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_qmath.c39 s32 result; in qm_muls16()
43 result = ((s32) (op1) * (s32) (op2)); in qm_muls16()
53 s32 qm_add32(s32 op1, s32 op2) in qm_add32()
55 s32 result; in qm_add32()
73 s32 temp = (s32) op1 + (s32) op2; in qm_add16()
74 if (temp > (s32) 0x7fff) in qm_add16()
76 else if (temp < (s32) 0xffff8000) in qm_add16()
92 s32 temp = (s32) op1 - (s32) op2; in qm_sub16()
93 if (temp > (s32) 0x7fff) in qm_sub16()
95 else if (temp < (s32) 0xffff8000) in qm_sub16()
[all …]
/drivers/staging/wilc1000/
Dhost_interface.h357 s32 host_int_remove_key(struct host_if_drv *hWFIDrv, const u8 *pu8StaAddress);
442 s32 host_int_add_ptk(struct host_if_drv *hWFIDrv, const u8 *pu8Ptk, u8 u8PtkKeylen,
457 s32 host_int_get_inactive_time(struct host_if_drv *hWFIDrv, const u8 *mac, u32 *pu32InactiveTime);
475 s32 host_int_add_rx_gtk(struct host_if_drv *hWFIDrv, const u8 *pu8RxGtk, u8 u8GtkKeylen,
496 s32 host_int_add_tx_gtk(struct host_if_drv *hWFIDrv, u8 u8KeyLen, u8 *pu8TxGtk, u8 u8KeyIdx);
519 s32 host_int_set_pmkid_info(struct host_if_drv *hWFIDrv, struct host_if_pmkid_attr *pu8PmkidInfoArr…
543 s32 host_int_get_pmkid_info(struct host_if_drv *hWFIDrv, u8 *pu8PmkidInfoArray,
560 s32 host_int_set_RSNAConfigPSKPassPhrase(struct host_if_drv *hWFIDrv, u8 *pu8PassPhrase,
576 s32 host_int_get_RSNAConfigPSKPassPhrase(struct host_if_drv *hWFIDrv,
590 s32 host_int_get_MacAddress(struct host_if_drv *hWFIDrv, u8 *pu8MacAddress);
[all …]
/drivers/net/ethernet/intel/ixgbevf/
Dvf.h46 s32 (*init_hw)(struct ixgbe_hw *);
47 s32 (*reset_hw)(struct ixgbe_hw *);
48 s32 (*start_hw)(struct ixgbe_hw *);
49 s32 (*clear_hw_cntrs)(struct ixgbe_hw *);
51 s32 (*get_mac_addr)(struct ixgbe_hw *, u8 *);
52 s32 (*stop_adapter)(struct ixgbe_hw *);
53 s32 (*get_bus_info)(struct ixgbe_hw *);
56 s32 (*setup_link)(struct ixgbe_hw *, ixgbe_link_speed, bool, bool);
57 s32 (*check_link)(struct ixgbe_hw *, ixgbe_link_speed *, bool *, bool);
58 s32 (*get_link_capabilities)(struct ixgbe_hw *, ixgbe_link_speed *,
[all …]
Dmbx.c36 static s32 ixgbevf_poll_for_msg(struct ixgbe_hw *hw) in ixgbevf_poll_for_msg()
59 static s32 ixgbevf_poll_for_ack(struct ixgbe_hw *hw) in ixgbevf_poll_for_ack()
85 static s32 ixgbevf_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_read_posted_mbx()
88 s32 ret_val = -IXGBE_ERR_MBX; in ixgbevf_read_posted_mbx()
111 static s32 ixgbevf_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_write_posted_mbx()
114 s32 ret_val = -IXGBE_ERR_MBX; in ixgbevf_write_posted_mbx()
155 static s32 ixgbevf_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) in ixgbevf_check_for_bit_vf()
158 s32 ret_val = IXGBE_ERR_MBX; in ixgbevf_check_for_bit_vf()
174 static s32 ixgbevf_check_for_msg_vf(struct ixgbe_hw *hw) in ixgbevf_check_for_msg_vf()
176 s32 ret_val = IXGBE_ERR_MBX; in ixgbevf_check_for_msg_vf()
[all …]
/drivers/media/pci/cx88/
Dcx88-dsp.c31 #define INT_PI ((s32)(3.141592653589 * 32768.0))
34 ((float)(((s32)((a)*100))%((s32)((b)*100)))/100.0)
36 #define baseband_freq(carrier, srate, tone) ((s32)( \
52 #define FREQ_A2M_CARRIER ((s32)(2.114516 * 32768.0))
53 #define FREQ_A2M_DUAL ((s32)(2.754916 * 32768.0))
54 #define FREQ_A2M_STEREO ((s32)(2.462326 * 32768.0))
56 #define FREQ_EIAJ_CARRIER ((s32)(1.963495 * 32768.0)) /* 5pi/8 */
57 #define FREQ_EIAJ_DUAL ((s32)(2.562118 * 32768.0))
58 #define FREQ_EIAJ_STEREO ((s32)(2.601053 * 32768.0))
60 #define FREQ_BTSC_DUAL ((s32)(1.963495 * 32768.0)) /* 5pi/8 */
[all …]
/drivers/net/ethernet/intel/igbvf/
Dmbx.c35 static s32 e1000_poll_for_msg(struct e1000_hw *hw) in e1000_poll_for_msg()
61 static s32 e1000_poll_for_ack(struct e1000_hw *hw) in e1000_poll_for_ack()
90 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_read_posted_mbx()
93 s32 ret_val = -E1000_ERR_MBX; in e1000_read_posted_mbx()
116 static s32 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_write_posted_mbx()
119 s32 ret_val = -E1000_ERR_MBX; in e1000_write_posted_mbx()
160 static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) in e1000_check_for_bit_vf()
163 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_bit_vf()
179 static s32 e1000_check_for_msg_vf(struct e1000_hw *hw) in e1000_check_for_msg_vf()
181 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg_vf()
[all …]
Dvf.h175 s32 (*init_params)(struct e1000_hw *);
176 s32 (*check_for_link)(struct e1000_hw *);
178 s32 (*get_bus_info)(struct e1000_hw *);
179 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
181 s32 (*reset_hw)(struct e1000_hw *);
182 s32 (*init_hw)(struct e1000_hw *);
183 s32 (*setup_link)(struct e1000_hw *);
187 s32 (*read_mac_addr)(struct e1000_hw *);
188 s32 (*set_vfta)(struct e1000_hw *, u16, bool);
205 s32 (*init_params)(struct e1000_hw *hw);
[all …]

12345678910>>...33