| /linux/drivers/comedi/drivers/ |
| H A D | jr3_pci.h | 17 static inline s16 get_s16(const s32 __iomem *p) in get_s16() 22 static inline void set_s16(s32 __iomem *p, s16 val) in set_s16() 49 s32 raw_data; 50 s32 reserved[2]; 58 s32 fx; 59 s32 fy; 60 s32 fz; 61 s32 mx; 62 s32 my; 63 s32 mz; [all …]
|
| /linux/include/linux/ |
| H A D | time32.h | 29 s32 offset; 30 s32 freq; 31 s32 maxerror; 32 s32 esterror; 33 s32 status; 34 s32 constant; 35 s32 precision; 36 s32 tolerance; 38 s32 tick; 39 s32 ppsfreq; [all …]
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | phy.h | 7 s32 e1000e_check_downshift(struct e1000_hw *hw); 8 s32 e1000_check_polarity_m88(struct e1000_hw *hw); 9 s32 e1000_check_polarity_igp(struct e1000_hw *hw); 10 s32 e1000_check_polarity_ife(struct e1000_hw *hw); 11 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw); 12 s32 e1000e_copper_link_setup_igp(struct e1000_hw *hw); 13 s32 e1000e_copper_link_setup_m88(struct e1000_hw *hw); 14 s32 e1000e_phy_force_speed_duplex_igp(struct e1000_hw *hw); 15 s32 e1000e_phy_force_speed_duplex_m88(struct e1000_hw *hw); 16 s32 e1000_phy_force_speed_duplex_ife(struct e1000_hw *hw); [all …]
|
| H A D | mac.h | 7 s32 e1000e_blink_led_generic(struct e1000_hw *hw); 8 s32 e1000e_check_for_copper_link(struct e1000_hw *hw); 9 s32 e1000e_check_for_fiber_link(struct e1000_hw *hw); 10 s32 e1000e_check_for_serdes_link(struct e1000_hw *hw); 11 s32 e1000e_cleanup_led_generic(struct e1000_hw *hw); 12 s32 e1000e_config_fc_after_link_up(struct e1000_hw *hw); 13 s32 e1000e_disable_pcie_master(struct e1000_hw *hw); 14 s32 e1000e_force_mac_fc(struct e1000_hw *hw); 15 s32 e1000e_get_auto_rd_done(struct e1000_hw *hw); 16 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw); [all …]
|
| H A D | hw.h | 498 s32 (*id_led_init)(struct e1000_hw *); 499 s32 (*blink_led)(struct e1000_hw *); 501 s32 (*check_for_link)(struct e1000_hw *); 502 s32 (*cleanup_led)(struct e1000_hw *); 505 s32 (*get_bus_info)(struct e1000_hw *); 507 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); 508 s32 (*led_on)(struct e1000_hw *); 509 s32 (*led_off)(struct e1000_hw *); 511 s32 (*reset_hw)(struct e1000_hw *); 512 s32 (*init_hw)(struct e1000_hw *); [all …]
|
| H A D | phy.c | 7 static s32 e1000_wait_autoneg(struct e1000_hw *hw); 8 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, 11 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, 44 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw) in e1000e_check_reset_block_generic() 60 s32 e1000e_get_phy_id(struct e1000_hw *hw) in e1000e_get_phy_id() 63 s32 ret_val = 0; in e1000e_get_phy_id() 99 s32 e1000e_phy_reset_dsp(struct e1000_hw *hw) in e1000e_phy_reset_dsp() 101 s32 ret_val; in e1000e_phy_reset_dsp() 129 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic() 208 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic() [all …]
|
| H A D | 80003es2lan.c | 21 static s32 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw); 22 static s32 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask); 26 static s32 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw); 27 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex); 28 static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, 30 static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, 38 static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) in e1000_init_phy_params_80003es2lan() 41 s32 ret_val; in e1000_init_phy_params_80003es2lan() 70 static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) in e1000_init_nvm_params_80003es2lan() 114 static s32 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) in e1000_init_mac_params_80003es2lan() [all …]
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | rockchip_av1_filmgrain.c | 5 static const s32 gaussian_sequence[2048] = { 195 static inline s32 clamp(s32 value, s32 low, s32 high) in clamp() 200 static inline s32 round_power_of_two(const s32 val, s32 n) in round_power_of_two() 202 const s32 a = (s32)1 << (n - 1); in round_power_of_two() 227 static inline s32 rockchip_av1_get_random_number(u16 random_register) in rockchip_av1_get_random_number() 232 void rockchip_av1_generate_luma_grain_block(s32 (*luma_grain_block)[73][82], in rockchip_av1_generate_luma_grain_block() 233 s32 bitdepth, in rockchip_av1_generate_luma_grain_block() 235 s32 grain_scale_shift, in rockchip_av1_generate_luma_grain_block() 236 s32 ar_coeff_lag, in rockchip_av1_generate_luma_grain_block() 237 s32 (*ar_coeffs_y)[24], in rockchip_av1_generate_luma_grain_block() [all …]
|
| H A D | rockchip_av1_filmgrain.h | 8 void rockchip_av1_generate_luma_grain_block(s32 (*luma_grain_block)[73][82], 9 s32 bitdepth, 11 s32 grain_scale_shift, 12 s32 ar_coeff_lag, 13 s32 (*ar_coeffs_y)[24], 14 s32 ar_coeff_shift, 15 s32 grain_min, 16 s32 grain_max, 19 void rockchip_av1_generate_chroma_grain_block(s32 (*luma_grain_block)[73][82], 20 s32 (*cb_grain_block)[38][44], [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_phy.h | 20 s32 igb_check_downshift(struct e1000_hw *hw); 21 s32 igb_check_reset_block(struct e1000_hw *hw); 22 s32 igb_copper_link_setup_igp(struct e1000_hw *hw); 23 s32 igb_copper_link_setup_m88(struct e1000_hw *hw); 24 s32 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw); 25 s32 igb_phy_force_speed_duplex_igp(struct e1000_hw *hw); 26 s32 igb_phy_force_speed_duplex_m88(struct e1000_hw *hw); 27 s32 igb_get_cable_length_m88(struct e1000_hw *hw); 28 s32 igb_get_cable_length_m88_gen2(struct e1000_hw *hw); 29 s32 igb_get_cable_length_igp_2(struct e1000_hw *hw); [all …]
|
| H A D | e1000_mbx.c | 16 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id, in igb_read_mbx() 20 s32 ret_val = -E1000_ERR_MBX; in igb_read_mbx() 41 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx() 44 s32 ret_val = 0; in igb_write_mbx() 62 s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_msg() 65 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_msg() 80 s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_ack() 83 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_ack() 98 s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_rst() 101 s32 ret_val = -E1000_ERR_MBX; in igb_check_for_rst() [all …]
|
| H A D | e1000_hw.h | 296 s32 (*check_for_link)(struct e1000_hw *); 297 s32 (*reset_hw)(struct e1000_hw *); 298 s32 (*init_hw)(struct e1000_hw *); 300 s32 (*setup_physical_interface)(struct e1000_hw *); 302 s32 (*read_mac_addr)(struct e1000_hw *); 303 s32 (*get_speed_and_duplex)(struct e1000_hw *, u16 *, u16 *); 304 s32 (*acquire_swfw_sync)(struct e1000_hw *, u16); 307 s32 (*get_thermal_sensor_data)(struct e1000_hw *); 308 s32 (*init_thermal_sensor_thresh)(struct e1000_hw *); 314 s32 (*acquire)(struct e1000_hw *); [all …]
|
| /linux/lib/crypto/arm/ |
| H A D | curve25519-core.S | 306 vmull.s32 q12, d2, d2 307 vmlal.s32 q12, d11, d1 308 vmlal.s32 q12, d12, d0 309 vmlal.s32 q12, d13, d23 310 vmlal.s32 q12, d16, d22 311 vmlal.s32 q12, d7, d21 312 vmull.s32 q10, d2, d11 313 vmlal.s32 q10, d4, d1 314 vmlal.s32 q10, d13, d0 315 vmlal.s32 q10, d6, d23 [all …]
|
| /linux/drivers/macintosh/ |
| H A D | windfarm_pid.h | 32 s32 gd, gp, gr; /* PID gains */ 33 s32 itarget; /* PID input target */ 34 s32 min,max; /* min and max target values */ 40 s32 target; /* current target value */ 41 s32 samples[WF_PID_MAX_HISTORY]; /* samples history buffer */ 42 s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */ 48 extern s32 wf_pid_run(struct wf_pid_state *st, s32 sample); 65 s32 gd, gp, gr; /* PID gains */ 66 s32 pmaxadj; /* PID max power adjust */ 67 s32 ttarget; /* PID input target */ [all …]
|
| H A D | windfarm.h | 19 #define FIX32TOPRINT(f) (((s32)(f)) >> 16),(((((s32)(f)) & 0xffff) * 1000) >> 16) 28 int (*set_value)(struct wf_control *ct, s32 val); 29 int (*get_value)(struct wf_control *ct, s32 *val); 30 s32 (*get_min)(struct wf_control *ct); 31 s32 (*get_max)(struct wf_control *ct); 63 s32 vmax = ct->ops->get_max(ct); in wf_control_set_max() 69 s32 vmin = ct->ops->get_min(ct); in wf_control_set_min() 73 static inline int wf_control_set(struct wf_control *ct, s32 val) in wf_control_set() 78 static inline int wf_control_get(struct wf_control *ct, s32 *val) in wf_control_get() 83 static inline s32 wf_control_get_min(struct wf_control *ct) in wf_control_get_min() [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | vf.h | 20 s32 (*init_hw)(struct ixgbe_hw *); 21 s32 (*reset_hw)(struct ixgbe_hw *); 22 s32 (*start_hw)(struct ixgbe_hw *); 23 s32 (*clear_hw_cntrs)(struct ixgbe_hw *); 25 s32 (*get_mac_addr)(struct ixgbe_hw *, u8 *); 26 s32 (*stop_adapter)(struct ixgbe_hw *); 27 s32 (*get_bus_info)(struct ixgbe_hw *); 28 s32 (*negotiate_api_version)(struct ixgbe_hw *hw, int api); 32 s32 (*setup_link)(struct ixgbe_hw *, ixgbe_link_speed, bool, bool); 33 s32 (*check_link)(struct ixgbe_hw *, ixgbe_link_speed *, bool *, bool); [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_qmath.c | 28 s32 result; in qm_muls16() 32 result = ((s32) (op1) * (s32) (op2)); in qm_muls16() 42 s32 qm_add32(s32 op1, s32 op2) in qm_add32() 44 s32 result; in qm_add32() 62 s32 temp = (s32) op1 + (s32) op2; in qm_add16() 63 if (temp > (s32) 0x7fff) in qm_add16() 65 else if (temp < (s32) 0xffff8000) in qm_add16() 81 s32 temp = (s32) op1 - (s32) op2; in qm_sub16() 82 if (temp > (s32) 0x7fff) in qm_sub16() 84 else if (temp < (s32) 0xffff8000) in qm_sub16() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
| H A D | ia_css_xnr3.host.c | 71 s32 alpha; in compute_alpha() 93 s32 isp_coring; in compute_coring() 94 s32 isp_scale = XNR_CORING_SCALE_FACTOR; in compute_coring() 95 s32 host_scale = IA_CSS_XNR3_CORING_SCALE; in compute_coring() 96 s32 offset = host_scale / 2; /* fixed-point 0.5 */ in compute_coring() 112 s32 isp_strength; in compute_blending() 113 s32 isp_scale = XNR_BLENDING_SCALE_FACTOR; in compute_blending() 114 s32 host_scale = IA_CSS_XNR3_BLENDING_SCALE; in compute_blending() 115 s32 offset = host_scale / 2; /* fixed-point 0.5 */ in compute_blending() 134 s32 max_diff = (1 << (ISP_VEC_ELEMBITS - 1)) - 1; in ia_css_xnr3_encode() [all …]
|
| /linux/drivers/media/pci/cx88/ |
| H A D | cx88-dsp.c | 17 #define INT_PI ((s32)(3.141592653589 * 32768.0)) 20 ((float)(((s32)((a) * 100)) % ((s32)((b) * 100))) / 100.0) 22 #define baseband_freq(carrier, srate, tone) ((s32)( \ 42 #define FREQ_A2M_CARRIER ((s32)(2.114516 * 32768.0)) 43 #define FREQ_A2M_DUAL ((s32)(2.754916 * 32768.0)) 44 #define FREQ_A2M_STEREO ((s32)(2.462326 * 32768.0)) 46 #define FREQ_EIAJ_CARRIER ((s32)(1.963495 * 32768.0)) /* 5pi/8 */ 47 #define FREQ_EIAJ_DUAL ((s32)(2.562118 * 32768.0)) 48 #define FREQ_EIAJ_STEREO ((s32)(2.601053 * 32768.0)) 50 #define FREQ_BTSC_DUAL ((s32)(1.963495 * 32768.0)) /* 5pi/8 */ [all …]
|
| /linux/drivers/gpu/drm/msm/dsi/phy/ |
| H A D | dsi_phy.c | 17 static inline s32 linear_inter(s32 tmax, s32 tmin, s32 percent, in linear_inter() 18 s32 min_result, bool even) in linear_inter() 20 s32 v; in linear_inter() 25 return max_t(s32, min_result, v - 1); in linear_inter() 27 return max_t(s32, min_result, v); in linear_inter() 31 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() 33 s32 tmax, tmin, clk_z; in dsi_dphy_timing_calc_clk_zero() 34 s32 temp; in dsi_dphy_timing_calc_clk_zero() 57 s32 ui, lpx; in msm_dsi_dphy_timing_calc() 58 s32 tmax, tmin; in msm_dsi_dphy_timing_calc() [all …]
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | util.h | 41 static inline s32 s32_div_u32_round_down(s32 dividend, u32 divisor, s32 *remainder) in s32_div_u32_round_down() 43 s32 i_divisor = (s32)divisor; in s32_div_u32_round_down() 44 s32 i_remainder; in s32_div_u32_round_down() 45 s32 quotient; in s32_div_u32_round_down() 60 static inline s32 s32_div_u32_round_closest(s32 dividend, u32 divisor) in s32_div_u32_round_closest() 76 s32 rtw89_linear_to_db_quarter(u64 val); 77 s32 rtw89_linear_to_db(u64 val); 78 u64 rtw89_db_quarter_to_linear(s32 db); 79 u64 rtw89_db_to_linear(s32 db);
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | vf.h | 153 s32 (*init_params)(struct e1000_hw *); 154 s32 (*check_for_link)(struct e1000_hw *); 156 s32 (*get_bus_info)(struct e1000_hw *); 157 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); 159 s32 (*set_uc_addr)(struct e1000_hw *, u32, u8 *); 160 s32 (*reset_hw)(struct e1000_hw *); 161 s32 (*init_hw)(struct e1000_hw *); 162 s32 (*setup_link)(struct e1000_hw *); 166 s32 (*read_mac_addr)(struct e1000_hw *); 167 s32 (*set_vfta)(struct e1000_hw *, u16, bool); [all …]
|
| H A D | mbx.c | 13 static s32 e1000_poll_for_msg(struct e1000_hw *hw) in e1000_poll_for_msg() 39 static s32 e1000_poll_for_ack(struct e1000_hw *hw) in e1000_poll_for_ack() 68 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_read_posted_mbx() 71 s32 ret_val = -E1000_ERR_MBX; in e1000_read_posted_mbx() 94 static s32 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_write_posted_mbx() 97 s32 ret_val = -E1000_ERR_MBX; in e1000_write_posted_mbx() 138 static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) in e1000_check_for_bit_vf() 141 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_bit_vf() 157 static s32 e1000_check_for_msg_vf(struct e1000_hw *hw) in e1000_check_for_msg_vf() 159 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg_vf() [all …]
|
| /linux/drivers/staging/rtl8723bs/include/ |
| H A D | sdio_ops_linux.h | 14 s32 _sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 15 s32 _sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 16 s32 sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 17 s32 sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 19 u8 sd_read8(struct intf_hdl *pintfhdl, u32 addr, s32 *err); 20 u32 sd_read32(struct intf_hdl *pintfhdl, u32 addr, s32 *err); 21 s32 _sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); 22 s32 sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); 23 void sd_write8(struct intf_hdl *pintfhdl, u32 addr, u8 v, s32 *err); 24 void sd_write32(struct intf_hdl *pintfhdl, u32 addr, u32 v, s32 *err); [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | compat.h | 13 typedef s32 __compat_uid_t; 14 typedef s32 __compat_gid_t; 37 s32 st_pad1[3]; 44 s32 st_pad2[2]; 46 s32 st_pad3; 48 s32 st_atime_nsec; 50 s32 st_mtime_nsec; 52 s32 st_ctime_nsec; 53 s32 st_blksize; 54 s32 st_blocks; [all …]
|