/linux-4.4.14/include/linux/platform_data/ |
D | dma-imx-sdma.h | 11 s32 ap_2_ap_addr; 12 s32 ap_2_bp_addr; 13 s32 ap_2_ap_fixed_addr; 14 s32 bp_2_ap_addr; 15 s32 loopback_on_dsp_side_addr; 16 s32 mcu_interrupt_only_addr; 17 s32 firi_2_per_addr; 18 s32 firi_2_mcu_addr; 19 s32 per_2_firi_addr; 20 s32 mcu_2_firi_addr; [all …]
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | jr3_pci.h | 15 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 …]
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | phy.h | 25 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 …]
|
D | mac.h | 25 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 …]
|
D | hw.h | 458 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 …]
|
D | nvm.h | 25 s32 e1000e_acquire_nvm(struct e1000_hw *hw); 27 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg); 28 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw); 29 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, 31 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 32 s32 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data); 33 s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw); 34 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 35 s32 e1000e_update_nvm_checksum_generic(struct e1000_hw *hw);
|
D | phy.c | 24 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 …]
|
D | 80003es2lan.c | 39 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 …]
|
D | 82571.c | 40 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw); 41 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw); 42 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw); 43 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw); 44 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, 46 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw); 50 static s32 e1000_led_on_82574(struct e1000_hw *hw); 54 static s32 e1000_get_hw_semaphore_82574(struct e1000_hw *hw); 56 static s32 e1000_set_d0_lplu_state_82574(struct e1000_hw *hw, bool active); 57 static s32 e1000_set_d3_lplu_state_82574(struct e1000_hw *hw, bool active); [all …]
|
D | ich8lan.c | 117 static s32 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank); 118 static s32 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw, 120 static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, 122 static s32 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset, 124 static s32 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, 126 static s32 e1000_read_flash_data32_ich8lan(struct e1000_hw *hw, u32 offset, 128 static s32 e1000_read_flash_dword_ich8lan(struct e1000_hw *hw, 130 static s32 e1000_write_flash_data32_ich8lan(struct e1000_hw *hw, 132 static s32 e1000_retry_write_flash_dword_ich8lan(struct e1000_hw *hw, 134 static s32 e1000_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw); [all …]
|
D | mac.c | 32 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie() 158 s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) in e1000_check_alt_mac_addr_generic() 161 s32 ret_val; in e1000_check_alt_mac_addr_generic() 414 s32 e1000e_check_for_copper_link(struct e1000_hw *hw) in e1000e_check_for_copper_link() 417 s32 ret_val; in e1000e_check_for_copper_link() 477 s32 e1000e_check_for_fiber_link(struct e1000_hw *hw) in e1000e_check_for_fiber_link() 483 s32 ret_val; in e1000e_check_for_fiber_link() 542 s32 e1000e_check_for_serdes_link(struct e1000_hw *hw) in e1000e_check_for_serdes_link() 548 s32 ret_val; in e1000e_check_for_serdes_link() 646 static s32 e1000_set_default_fc_generic(struct e1000_hw *hw) in e1000_set_default_fc_generic() [all …]
|
D | nvm.c | 140 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in e1000e_poll_eerd_eewr_done() 168 s32 e1000e_acquire_nvm(struct e1000_hw *hw) in e1000e_acquire_nvm() 171 s32 timeout = E1000_NVM_GRANT_ATTEMPTS; in e1000e_acquire_nvm() 259 static s32 e1000_ready_nvm_eeprom(struct e1000_hw *hw) in e1000_ready_nvm_eeprom() 309 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_read_nvm_eerd() 313 s32 ret_val = 0; in e1000e_read_nvm_eerd() 353 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_write_nvm_spi() 356 s32 ret_val = -E1000_ERR_NVM; in e1000e_write_nvm_spi() 429 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, in e1000_read_pba_string_generic() 432 s32 ret_val; in e1000_read_pba_string_generic() [all …]
|
D | e1000.h | 360 s32 (*get_variants)(struct e1000_adapter *); 366 s32 e1000e_get_base_timinca(struct e1000_adapter *adapter, u32 *timinca); 519 static inline s32 e1000_phy_hw_reset(struct e1000_hw *hw) in e1000_phy_hw_reset() 524 static inline s32 e1e_rphy(struct e1000_hw *hw, u32 offset, u16 *data) in e1e_rphy() 529 static inline s32 e1e_rphy_locked(struct e1000_hw *hw, u32 offset, u16 *data) in e1e_rphy_locked() 534 static inline s32 e1e_wphy(struct e1000_hw *hw, u32 offset, u16 data) in e1e_wphy() 539 static inline s32 e1e_wphy_locked(struct e1000_hw *hw, u32 offset, u16 data) in e1e_wphy_locked() 546 static inline s32 e1000e_read_mac_addr(struct e1000_hw *hw) in e1000e_read_mac_addr() 554 static inline s32 e1000_validate_nvm_checksum(struct e1000_hw *hw) in e1000_validate_nvm_checksum() 559 static inline s32 e1000e_update_nvm_checksum(struct e1000_hw *hw) in e1000e_update_nvm_checksum() [all …]
|
D | manage.c | 56 static s32 e1000_mng_enable_host_if(struct e1000_hw *hw) in e1000_mng_enable_host_if() 115 s32 ret_val, hdr_csum, csum; in e1000e_enable_tx_pkt_filtering() 168 static s32 e1000_mng_write_cmd_header(struct e1000_hw *hw, in e1000_mng_write_cmd_header() 199 static s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, in e1000_mng_host_if_write() 267 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) in e1000e_mng_write_dhcp_info() 270 s32 ret_val; in e1000e_mng_write_dhcp_info() 330 s32 ret_val; in e1000e_enable_mng_pass_thru()
|
D | ich8lan.h | 303 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable); 305 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable); 306 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data); 307 s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data); 308 s32 e1000_set_eee_pchlan(struct e1000_hw *hw); 309 s32 e1000_enable_ulp_lpt_lp(struct e1000_hw *hw, bool to_sx);
|
/linux-4.4.14/drivers/macintosh/ |
D | windfarm_pid.h | 30 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 …]
|
D | windfarm.h | 20 #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 …]
|
D | windfarm_smu_sensors.c | 66 static int smu_read_adc(u8 id, s32 *value) in smu_read_adc() 88 static int smu_cputemp_get(struct wf_sensor *sr, s32 *value) in smu_cputemp_get() 92 s32 val; in smu_cputemp_get() 106 *value = (s32)(scaled << 1); in smu_cputemp_get() 111 static int smu_cpuamp_get(struct wf_sensor *sr, s32 *value) in smu_cpuamp_get() 114 s32 val, scaled; in smu_cpuamp_get() 125 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get() 126 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get() 132 static int smu_cpuvolt_get(struct wf_sensor *sr, s32 *value) in smu_cpuvolt_get() 135 s32 val, scaled; in smu_cpuvolt_get() [all …]
|
D | windfarm_pid.c | 34 s32 wf_pid_run(struct wf_pid_state *st, s32 new_sample) in wf_pid_run() 37 s32 target; in wf_pid_run() 68 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + in wf_pid_run() 89 s32 wf_cpu_pid_run(struct wf_cpu_pid_state *st, s32 new_power, s32 new_temp) in wf_cpu_pid_run() 92 s32 error, target, sval, adj; in wf_cpu_pid_run() 120 sval = st->param.tmax - (s32)(integ >> 20); in wf_cpu_pid_run() 138 target = st->target + (s32)((deriv + prop) >> 36); in wf_cpu_pid_run()
|
D | windfarm_fcu_controls.c | 67 s32 min, max, target; 145 static int wf_fcu_fan_set_rpm(struct wf_control *ct, s32 value) in wf_fcu_fan_set_rpm() 167 static int wf_fcu_fan_get_rpm(struct wf_control *ct, s32 *value) in wf_fcu_fan_get_rpm() 202 static int wf_fcu_fan_set_pwm(struct wf_control *ct, s32 value) in wf_fcu_fan_set_pwm() 224 static int wf_fcu_fan_get_pwm(struct wf_control *ct, s32 *value) in wf_fcu_fan_get_pwm() 248 *value = (((s32)buf[0]) * 1000) / 2559; in wf_fcu_fan_get_pwm() 253 static s32 wf_fcu_fan_min(struct wf_control *ct) in wf_fcu_fan_min() 260 static s32 wf_fcu_fan_max(struct wf_control *ct) in wf_fcu_fan_max() 332 fan->min = max(fan->min, (s32)mpu0->rminn_intake_fan); in wf_fcu_get_rpmfan_minmax() 333 fan->max = min(fan->max, (s32)mpu0->rmaxn_intake_fan); in wf_fcu_get_rpmfan_minmax() [all …]
|
D | windfarm_pm121.c | 280 static s32 average_power; 364 s32 gp, itarget; 442 s32 setpoint; 459 s32 setpoint; 473 static s32 pm121_correct(s32 new_setpoint, in pm121_correct() 475 s32 min) in pm121_correct() 477 s32 new_min; in pm121_correct() 488 static s32 pm121_connect(unsigned int control_id, s32 setpoint) in pm121_connect() 490 s32 new_min, value, new_setpoint; in pm121_connect() 596 s32 temp, new_setpoint; in pm121_sys_fans_tick() [all …]
|
D | windfarm_pm72.c | 79 static s32 cpu_all_tmax = 100 << 16; 126 static int cpu_check_overtemp(s32 temp) in cpu_check_overtemp() 129 s32 t_avg, t_old; in cpu_check_overtemp() 209 static int read_one_cpu_vals(int cpu, s32 *temp, s32 *power) in read_one_cpu_vals() 211 s32 dtemp, volts, amps; in read_one_cpu_vals() 255 s32 intake, temp, power, t_max = 0; in cpu_fans_tick_split() 310 s32 temp0, power0, temp1, power1, t_max = 0; in cpu_fans_tick_combined() 311 s32 temp, power, intake, pump; in cpu_fans_tick_combined() 397 s32 tmax, ttarget, ptarget; in cpu_setup_pid() 403 ptarget = ((s32)(mpu->pmaxh - mpu->padjmax)) << 16; in cpu_setup_pid() [all …]
|
D | windfarm_rm31.c | 70 static s32 cpu_all_tmax = 100 << 16; 120 static int cpu_check_overtemp(s32 temp) in cpu_check_overtemp() 123 s32 t_avg, t_old; in cpu_check_overtemp() 203 static int read_one_cpu_vals(int cpu, s32 *temp, s32 *power) in read_one_cpu_vals() 205 s32 dtemp, volts, amps; in read_one_cpu_vals() 249 s32 speed, temp, power, t_max = 0; in cpu_fans_tick() 298 s32 tmax, ttarget, ptarget; in cpu_setup_pid() 304 ptarget = ((s32)(mpu->pmaxh - mpu->padjmax)) << 16; in cpu_setup_pid() 368 s32 temp, dtemp; in backside_fan_tick() 423 s32 fmin = wf_control_get_min(backside_fan); in backside_setup_pid() [all …]
|
D | windfarm_pm81.c | 165 s32 itarget; 166 s32 gd, gp, gr; 181 s32 sys_setpoint; 182 s32 hd_setpoint; 250 s32 cpu_setpoint; 251 s32 scale; 252 s32 offset; 331 s32 new_setpoint, temp, scaled, cputarget; in wf_smu_sys_fans_tick() 400 s32 tmax, tdelta, maxpow, powadj; in wf_smu_create_cpu_fans() 417 tmax = ((s32)fvt->maxtemp) << 16; in wf_smu_create_cpu_fans() [all …]
|
D | windfarm_cpufreq_clamp.c | 38 static int clamp_set(struct wf_control *ct, s32 value) in clamp_set() 50 static int clamp_get(struct wf_control *ct, s32 *value) in clamp_get() 56 static s32 clamp_min(struct wf_control *ct) in clamp_min() 61 static s32 clamp_max(struct wf_control *ct) in clamp_max()
|
D | windfarm_pm91.c | 102 s32 cpu_setpoint; 117 s32 setpoint; 130 s32 setpoint; 148 s32 tmax, tdelta, maxpow, powadj; in wf_smu_create_cpu_fans() 165 tmax = ((s32)fvt->maxtemp) << 16; in wf_smu_create_cpu_fans() 188 tdelta = ((s32)piddata->target_temp_delta) << 16; in wf_smu_create_cpu_fans() 189 maxpow = ((s32)piddata->max_power) << 16; in wf_smu_create_cpu_fans() 190 powadj = ((s32)piddata->power_adj) << 16; in wf_smu_create_cpu_fans() 220 s32 new_setpoint, temp, power; in wf_smu_cpu_fans_tick() 329 s32 new_setpoint, temp; in wf_smu_drive_fans_tick() [all …]
|
D | windfarm_ad7417_sensor.c | 37 static int wf_ad7417_temp_get(struct wf_sensor *sr, s32 *value) in wf_ad7417_temp_get() 60 *value = ((s32)raw) << 8; in wf_ad7417_temp_get() 81 int chan, s32 raw, s32 *value) in wf_ad7417_adc_convert() 85 *value = (raw * (s32)pv->mpu->mdiode + in wf_ad7417_adc_convert() 86 ((s32)pv->mpu->bdiode << 12)) >> 2; in wf_ad7417_adc_convert() 100 static int wf_ad7417_adc_get(struct wf_sensor *sr, s32 *value) in wf_ad7417_adc_get()
|
D | windfarm_smu_controls.c | 48 s32 value; /* current value */ 49 s32 min, max; /* min/max values */ 116 static int smu_fan_set(struct wf_control *ct, s32 value) in smu_fan_set() 129 static int smu_fan_get(struct wf_control *ct, s32 *value) in smu_fan_get() 136 static s32 smu_fan_min(struct wf_control *ct) in smu_fan_min() 142 static s32 smu_fan_max(struct wf_control *ct) in smu_fan_max() 161 const s32 *v; in smu_fan_create()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.h | 40 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 …]
|
D | e1000_mac.h | 37 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 …]
|
D | e1000_mbx.c | 35 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 …]
|
D | e1000_hw.h | 314 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 …]
|
D | e1000_nvm.h | 27 s32 igb_acquire_nvm(struct e1000_hw *hw); 29 s32 igb_read_mac_addr(struct e1000_hw *hw); 30 s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num); 31 s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num, 33 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 34 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 35 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 36 s32 igb_validate_nvm_checksum(struct e1000_hw *hw); 37 s32 igb_update_nvm_checksum(struct e1000_hw *hw);
|
D | e1000_i210.c | 34 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 …]
|
D | e1000_82575.c | 38 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 …]
|
D | e1000_mac.c | 34 static s32 igb_set_default_fc(struct e1000_hw *hw); 35 static s32 igb_set_fc_watermarks(struct e1000_hw *hw); 45 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) in igb_get_bus_info_pcie() 48 s32 ret_val; in igb_get_bus_info_pcie() 194 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add) in igb_vfta_set() 200 s32 ret_val = 0; in igb_vfta_set() 233 s32 igb_check_alt_mac_addr(struct e1000_hw *hw) in igb_check_alt_mac_addr() 236 s32 ret_val = 0; in igb_check_alt_mac_addr() 522 s32 igb_check_for_copper_link(struct e1000_hw *hw) in igb_check_for_copper_link() 525 s32 ret_val; in igb_check_for_copper_link() [all …]
|
D | e1000_phy.c | 30 static s32 igb_phy_setup_autoneg(struct e1000_hw *hw); 33 static s32 igb_wait_autoneg(struct e1000_hw *hw); 34 static s32 igb_set_master_slave_mode(struct e1000_hw *hw); 58 s32 igb_check_reset_block(struct e1000_hw *hw) in igb_check_reset_block() 74 s32 igb_get_phy_id(struct e1000_hw *hw) in igb_get_phy_id() 77 s32 ret_val = 0; in igb_get_phy_id() 103 static s32 igb_phy_reset_dsp(struct e1000_hw *hw) in igb_phy_reset_dsp() 105 s32 ret_val = 0; in igb_phy_reset_dsp() 129 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_mdic() 133 s32 ret_val = 0; in igb_read_phy_reg_mdic() [all …]
|
D | e1000_mbx.h | 66 s32 igb_read_mbx(struct e1000_hw *, u32 *, u16, u16); 67 s32 igb_write_mbx(struct e1000_hw *, u32 *, u16, u16); 68 s32 igb_check_for_msg(struct e1000_hw *, u16); 69 s32 igb_check_for_ack(struct e1000_hw *, u16); 70 s32 igb_check_for_rst(struct e1000_hw *, u16); 71 s32 igb_init_mbx_params_pf(struct e1000_hw *);
|
D | e1000_i210.h | 27 s32 igb_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask); 29 s32 igb_valid_led_default_i210(struct e1000_hw *hw, u16 *data); 30 s32 igb_read_invm_version(struct e1000_hw *hw, 32 s32 igb_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 *data); 33 s32 igb_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 data); 34 s32 igb_init_nvm_params_i210(struct e1000_hw *hw); 36 s32 igb_pll_workaround_i210(struct e1000_hw *hw);
|
D | e1000_nvm.c | 146 static s32 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in igb_poll_eerd_eewr_done() 150 s32 ret_val = -E1000_ERR_NVM; in igb_poll_eerd_eewr_done() 177 s32 igb_acquire_nvm(struct e1000_hw *hw) in igb_acquire_nvm() 180 s32 timeout = E1000_NVM_GRANT_ATTEMPTS; in igb_acquire_nvm() 181 s32 ret_val = 0; in igb_acquire_nvm() 270 static s32 igb_ready_nvm_eeprom(struct e1000_hw *hw) in igb_ready_nvm_eeprom() 274 s32 ret_val = 0; in igb_ready_nvm_eeprom() 324 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_spi() 328 s32 ret_val; in igb_read_nvm_spi() 384 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_eerd() [all …]
|
D | e1000_82575.h | 31 s32 igb_read_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr, 33 s32 igb_write_i2c_byte(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr, 265 s32 igb_read_emi_reg(struct e1000_hw *, u16 addr, u16 *data); 266 s32 igb_set_eee_i350(struct e1000_hw *, bool adv1G, bool adv100M); 267 s32 igb_set_eee_i354(struct e1000_hw *, bool adv1G, bool adv100M); 268 s32 igb_get_eee_status_i354(struct e1000_hw *hw, bool *status);
|
/linux-4.4.14/include/linux/ |
D | pm_qos.h | 40 #define PM_QOS_LATENCY_ANY ((s32)(~(__u32)0 >> 1)) 53 s32 flags; /* Do not change to 64 bit */ 85 s32 target_value; /* Do not change to 64 bit */ 86 s32 default_value; 87 s32 no_constraint_value; 94 s32 effective_flags; /* Do not change to 64 bit */ 122 enum pm_qos_req_action action, s32 val); 124 s32 value); 126 s32 new_value); 128 s32 new_value, unsigned long timeout_us); [all …]
|
D | tc.h | 51 s32 revision; /* Hardware revision level. */ 52 s32 clk_period; /* Clock period in nanoseconds. */ 53 s32 slot_size; /* Slot size in megabytes. */ 54 s32 io_timeout; /* I/O timeout in cycles. */ 55 s32 dma_range; /* DMA address range in megabytes. */ 56 s32 max_dma_burst; /* Maximum DMA burst length. */ 57 s32 parity; /* System module supports TC parity. */ 58 s32 reserved[4];
|
D | fixp-arith.h | 34 static const s32 sin_table[] = { 60 static inline s32 __fixp_sin32(int degrees) in __fixp_sin32() 62 s32 ret; in __fixp_sin32() 84 static inline s32 fixp_sin32(int degrees) in fixp_sin32() 124 static inline s32 fixp_sin32_rad(u32 radians, u32 twopi) in fixp_sin32_rad() 127 s32 v1, v2, dx, dy; in fixp_sin32_rad()
|
D | hid-sensor-hub.h | 42 s32 report_id; 43 s32 index; 44 s32 units; 45 s32 unit_expo; 46 s32 size; 47 s32 logical_minimum; 48 s32 logical_maximum; 271 s32 hid_sensor_read_poll_value(struct hid_sensor_common *st);
|
D | i2c.h | 80 extern s32 i2c_smbus_xfer(struct i2c_adapter *adapter, u16 addr, 87 extern s32 i2c_smbus_read_byte(const struct i2c_client *client); 88 extern s32 i2c_smbus_write_byte(const struct i2c_client *client, u8 value); 89 extern s32 i2c_smbus_read_byte_data(const struct i2c_client *client, 91 extern s32 i2c_smbus_write_byte_data(const struct i2c_client *client, 93 extern s32 i2c_smbus_read_word_data(const struct i2c_client *client, 95 extern s32 i2c_smbus_write_word_data(const struct i2c_client *client, 98 static inline s32 101 s32 value = i2c_smbus_read_word_data(client, command); in i2c_smbus_read_word_swapped() 106 static inline s32 [all …]
|
D | cordic.h | 28 s32 i; 29 s32 q; 46 struct cordic_iq cordic_calc_iq(s32 theta);
|
D | percpu_counter.h | 25 s32 __percpu *counters; 42 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch); 44 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch); 125 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare() 139 __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch) in __percpu_counter_add()
|
D | sysv_fs.h | 50 s32 s_magic; /* version of file system */ 90 s32 s_fill[12]; 92 s32 s_magic; /* version of file system */ 118 s32 s_fill[14]; 120 s32 s_magic; /* version of file system */
|
D | math64.h | 27 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() 72 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder); 108 static inline s64 div_s64(s64 dividend, s32 divisor) in div_s64() 110 s32 remainder; in div_s64()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.h | 36 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 …]
|
D | ixgbe_phy.h | 143 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw); 144 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw); 145 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 147 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 149 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, 151 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, 153 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw); 154 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, 157 s32 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, 163 s32 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, [all …]
|
D | ixgbe_x540.h | 27 s32 ixgbe_get_invariants_X540(struct ixgbe_hw *hw); 28 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, 30 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw); 31 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw); 33 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, 35 s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index); 36 s32 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index); 37 s32 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask); 39 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
|
D | ixgbe_mbx.c | 43 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 …]
|
D | ixgbe_x550.c | 29 static s32 ixgbe_get_invariants_X550_x(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x() 67 static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value) in ixgbe_read_cs4227() 81 static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value) in ixgbe_write_cs4227() 96 static s32 ixgbe_check_cs4227_reg(struct ixgbe_hw *hw, u16 reg) in ixgbe_check_cs4227_reg() 98 s32 status; in ixgbe_check_cs4227_reg() 129 static s32 ixgbe_get_cs4227_status(struct ixgbe_hw *hw) in ixgbe_get_cs4227_status() 131 s32 status; in ixgbe_get_cs4227_status() 168 static s32 ixgbe_read_pe(struct ixgbe_hw *hw, u8 reg, u8 *value) in ixgbe_read_pe() 170 s32 status; in ixgbe_read_pe() 186 static s32 ixgbe_write_pe(struct ixgbe_hw *hw, u8 reg, u8 value) in ixgbe_write_pe() [all …]
|
D | ixgbe_x540.c | 44 static s32 ixgbe_update_flash_X540(struct ixgbe_hw *hw); 45 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw); 46 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw); 54 s32 ixgbe_get_invariants_X540(struct ixgbe_hw *hw) in ixgbe_get_invariants_X540() 80 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, in ixgbe_setup_mac_link_X540() 95 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) in ixgbe_reset_hw_X540() 97 s32 status; in ixgbe_reset_hw_X540() 182 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw) in ixgbe_start_hw_X540() 184 s32 ret_val; in ixgbe_start_hw_X540() 200 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) in ixgbe_init_eeprom_params_X540() [all …]
|
D | ixgbe_phy.c | 38 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 39 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 40 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 41 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 42 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 45 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data); 49 static s32 ixgbe_get_phy_id(struct ixgbe_hw *hw); 50 static s32 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw); 59 static s32 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) in ixgbe_out_i2c_byte_ack() 61 s32 status; in ixgbe_out_i2c_byte_ack() [all …]
|
D | ixgbe_common.c | 38 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw); 39 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw); 41 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw); 50 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr); 51 static s32 ixgbe_poll_eerd_eewr_done(struct ixgbe_hw *hw, u32 ee_reg); 52 static s32 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, 54 static s32 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, 56 static s32 ixgbe_detect_eeprom_page_size_generic(struct ixgbe_hw *hw, 58 static s32 ixgbe_disable_pcie_master(struct ixgbe_hw *hw); 119 static s32 ixgbe_setup_fc(struct ixgbe_hw *hw) in ixgbe_setup_fc() [all …]
|
D | ixgbe_82599.c | 49 static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, 53 static s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, 55 static s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, 58 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, 61 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw); 62 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 64 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 66 static s32 ixgbe_reset_pipeline_82599(struct ixgbe_hw *hw); 126 static s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw) in ixgbe_setup_sfp_modules_82599() 128 s32 ret_val; in ixgbe_setup_sfp_modules_82599() [all …]
|
D | ixgbe_type.h | 3225 s32 (*init_params)(struct ixgbe_hw *); 3226 s32 (*read)(struct ixgbe_hw *, u16, u16 *); 3227 s32 (*read_buffer)(struct ixgbe_hw *, u16, u16, u16 *); 3228 s32 (*write)(struct ixgbe_hw *, u16, u16); 3229 s32 (*write_buffer)(struct ixgbe_hw *, u16, u16, u16 *); 3230 s32 (*validate_checksum)(struct ixgbe_hw *, u16 *); 3231 s32 (*update_checksum)(struct ixgbe_hw *); 3232 s32 (*calc_checksum)(struct ixgbe_hw *); 3236 s32 (*init_hw)(struct ixgbe_hw *); 3237 s32 (*reset_hw)(struct ixgbe_hw *); [all …]
|
D | ixgbe_mbx.h | 117 s32 ixgbe_read_mbx(struct ixgbe_hw *, u32 *, u16, u16); 118 s32 ixgbe_write_mbx(struct ixgbe_hw *, u32 *, u16, u16); 119 s32 ixgbe_check_for_msg(struct ixgbe_hw *, u16); 120 s32 ixgbe_check_for_ack(struct ixgbe_hw *, u16); 121 s32 ixgbe_check_for_rst(struct ixgbe_hw *, u16);
|
D | ixgbe_dcb_82598.h | 74 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *, u8 pfc_en); 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,
|
D | ixgbe_82598.c | 43 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 46 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 94 static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) in ixgbe_get_invariants_82598() 121 static s32 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) in ixgbe_init_phy_ops_82598() 125 s32 ret_val; in ixgbe_init_phy_ops_82598() 178 static s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw) in ixgbe_start_hw_82598() 184 s32 ret_val; in ixgbe_start_hw_82598() 222 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, in ixgbe_get_link_capabilities_82598() 323 static s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw) in ixgbe_fc_enable_82598() 462 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, in ixgbe_start_mac_link_82598() [all …]
|
D | ixgbe_dcb_82599.h | 98 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc); 101 s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, 108 s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, 114 s32 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, 121 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
|
D | ixgbe_dcb.h | 152 s32 ixgbe_dcb_calculate_tc_credits(struct ixgbe_hw *, 156 s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max); 157 s32 ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, 159 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio); 160 s32 ixgbe_dcb_hw_config(struct ixgbe_hw *, struct ixgbe_dcb_config *);
|
D | ixgbe_dcb_82598.c | 41 s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, in ixgbe_dcb_config_rx_arbiter_82598() 98 s32 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_desc_arbiter_82598() 144 s32 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_data_arbiter_82598() 191 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) in ixgbe_dcb_config_pfc_82598() 244 static s32 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) in ixgbe_dcb_config_tc_stats_82598() 276 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82598()
|
D | ixgbe_dcb_82599.c | 44 s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_rx_arbiter_82599() 103 s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_desc_arbiter_82599() 154 s32 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_data_arbiter_82599() 213 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_config_pfc_82599() 298 static s32 ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw) in ixgbe_dcb_config_tc_stats_82599() 355 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82599()
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-tegra.h | 142 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 …]
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_qmath.c | 39 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 …]
|
D | phy_qmath.h | 26 s32 qm_add32(s32 op1, s32 op2); 32 s32 qm_shl32(s32 op, int shift); 38 s16 qm_norm32(s32 op); 40 void qm_log10(s32 N, s16 qN, s16 *log10N, s16 *qLog10N);
|
D | phy_int.h | 225 #define FIXED(X) ((s32)((X) << 16)) 545 s32 (*rxsigpwr)(struct brcms_phy *, s32); 887 s32 q; 888 s32 i; 945 u8 wlc_phy_nbits(s32 value); 957 void wlc_phy_papd_decode_epsilon(u32 epsilon, s32 *eps_real, s32 *eps_imag); 990 void wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val, 1036 s32 wlc_lcnphy_tssi2dbm(s32 tssi, s32 a1, s32 b0, s32 b1); 1040 s32 wlc_lcnphy_rx_signal_power(struct brcms_phy *pi, s32 gain_index); 1046 s32 iq_prod; [all …]
|
/linux-4.4.14/arch/mips/include/asm/ |
D | compat.h | 15 typedef s32 compat_ssize_t; 16 typedef s32 compat_time_t; 17 typedef s32 compat_clock_t; 18 typedef s32 compat_suseconds_t; 20 typedef s32 compat_pid_t; 21 typedef s32 __compat_uid_t; 22 typedef s32 __compat_gid_t; 28 typedef s32 compat_off_t; 31 typedef s32 compat_ipc_pid_t; 32 typedef s32 compat_daddr_t; [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
D | vf.h | 46 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 …]
|
D | mbx.c | 36 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 …]
|
D | vf.c | 39 static s32 ixgbevf_start_hw_vf(struct ixgbe_hw *hw) in ixgbevf_start_hw_vf() 54 static s32 ixgbevf_init_hw_vf(struct ixgbe_hw *hw) in ixgbevf_init_hw_vf() 56 s32 status = hw->mac.ops.start_hw(hw); in ixgbevf_init_hw_vf() 70 static s32 ixgbevf_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_reset_hw_vf() 74 s32 ret_val = IXGBE_ERR_INVALID_MAC_ADDR; in ixgbevf_reset_hw_vf() 135 static s32 ixgbevf_stop_hw_vf(struct ixgbe_hw *hw) in ixgbevf_stop_hw_vf() 189 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector() 220 static s32 ixgbevf_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbevf_get_mac_addr_vf() 227 static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_set_uc_addr_vf() 232 s32 ret_val; in ixgbevf_set_uc_addr_vf() [all …]
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | host_interface.h | 357 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 …]
|
D | coreconfigurator.h | 76 s32 size; 130 s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv); 131 s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo); 132 s32 DeallocateNetworkInfo(tstrNetworkInfo *pstrNetworkInfo); 134 s32 ParseAssocRespInfo(u8 *pu8Buffer, u32 u32BufferLen, 136 s32 DeallocateAssocRespInfo(tstrConnectRespInfo *pstrConnectRespInfo);
|
D | host_interface.c | 327 static s32 Handle_SetChannel(struct host_if_drv *hif_drv, in Handle_SetChannel() 330 s32 result = 0; in Handle_SetChannel() 351 static s32 Handle_SetWfiDrvHandler(struct host_if_drv *hif_drv, in Handle_SetWfiDrvHandler() 354 s32 result = 0; in Handle_SetWfiDrvHandler() 376 static s32 Handle_SetOperationMode(struct host_if_drv *hif_drv, in Handle_SetOperationMode() 379 s32 result = 0; in Handle_SetOperationMode() 401 s32 Handle_set_IPAddress(struct host_if_drv *hif_drv, u8 *pu8IPAddr, u8 idx) in Handle_set_IPAddress() 403 s32 result = 0; in Handle_set_IPAddress() 434 s32 Handle_get_IPAddress(struct host_if_drv *hif_drv, u8 *pu8IPAddr, u8 idx) in Handle_get_IPAddress() 436 s32 result = 0; in Handle_get_IPAddress() [all …]
|
D | coreconfigurator.c | 347 s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo) in parse_network_info() 469 s32 DeallocateNetworkInfo(tstrNetworkInfo *pstrNetworkInfo) in DeallocateNetworkInfo() 471 s32 s32Error = 0; in DeallocateNetworkInfo() 502 s32 ParseAssocRespInfo(u8 *pu8Buffer, u32 u32BufferLen, in ParseAssocRespInfo() 505 s32 s32Error = 0; in ParseAssocRespInfo() 554 s32 DeallocateAssocRespInfo(tstrConnectRespInfo *pstrConnectRespInfo) in DeallocateAssocRespInfo() 556 s32 s32Error = 0; in DeallocateAssocRespInfo() 591 s32 send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv) in send_config_pkt() 593 s32 counter = 0, ret = 0; in send_config_pkt()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-dsp.c | 31 #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 …]
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | compat.h | 14 typedef s32 compat_ssize_t; 15 typedef s32 compat_time_t; 16 typedef s32 compat_clock_t; 17 typedef s32 compat_pid_t; 25 typedef s32 compat_off_t; 29 typedef s32 compat_daddr_t; 31 typedef s32 compat_key_t; 32 typedef s32 compat_timer_t; 34 typedef s32 compat_int_t; 35 typedef s32 compat_long_t; [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | mbx.c | 35 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 …]
|
D | vf.h | 175 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 …]
|
D | vf.c | 29 static s32 e1000_check_for_link_vf(struct e1000_hw *hw); 30 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, 32 static s32 e1000_init_hw_vf(struct e1000_hw *hw); 33 static s32 e1000_reset_hw_vf(struct e1000_hw *hw); 38 static s32 e1000_read_mac_addr_vf(struct e1000_hw *); 39 static s32 e1000_set_vfta_vf(struct e1000_hw *, u16, bool); 45 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw) in e1000_init_mac_params_vf() 94 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, in e1000_get_link_up_info_vf() 97 s32 status; in e1000_get_link_up_info_vf() 122 static s32 e1000_reset_hw_vf(struct e1000_hw *hw) in e1000_reset_hw_vf() [all …]
|
/linux-4.4.14/arch/ia64/kernel/ |
D | patch.c | 102 s32 *offp = (s32 *) start; in ia64_patch_vtop() 105 while (offp < (s32 *) end) { in ia64_patch_vtop() 125 s32 *offp = (s32 *) start; in ia64_patch_rse() 128 while (offp < (s32 *) end) { in ia64_patch_rse() 145 s32 *offp = (s32 *) start; in ia64_patch_mckinley_e9() 158 while (offp < (s32 *) end) { in ia64_patch_mckinley_e9() 175 s32 *offp = (s32 *) start; in patch_fsyscall_table() 178 while (offp < (s32 *) end) { in patch_fsyscall_table() 192 s32 *offp = (s32 *) start; in patch_brl_fsys_bubble_down() 195 while (offp < (s32 *) end) { in patch_brl_fsys_bubble_down() [all …]
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fwil.h | 87 s32 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len); 88 s32 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len); 89 s32 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data); 90 s32 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data); 92 s32 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, char *name, const void *data, 94 s32 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, char *name, void *data, 96 s32 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, char *name, u32 data); 97 s32 brcmf_fil_iovar_int_get(struct brcmf_if *ifp, char *name, u32 *data); 99 s32 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, char *name, void *data, 101 s32 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, char *name, void *data, [all …]
|
D | fwil.c | 106 static s32 110 s32 err; in brcmf_fil_cmd_data() 132 s32 135 s32 err; in brcmf_fil_cmd_data_set() 149 s32 152 s32 err; in brcmf_fil_cmd_data_get() 167 s32 170 s32 err; in brcmf_fil_cmd_int_set() 181 s32 184 s32 err; in brcmf_fil_cmd_int_get() [all …]
|
D | cfg80211.c | 244 s32 primary_offset; in chandef_to_chanspec() 452 static s32 455 s32 err; in brcmf_configure_arp_offload() 655 s32 err = 0; in brcmf_set_mpc() 667 s32 brcmf_notify_escan_complete(struct brcmf_cfg80211_info *cfg, in brcmf_notify_escan_complete() 673 s32 err = 0; in brcmf_notify_escan_complete() 767 static s32 775 s32 infra = 0; in brcmf_cfg80211_change_iface() 776 s32 ap = 0; in brcmf_cfg80211_change_iface() 777 s32 err = 0; in brcmf_cfg80211_change_iface() [all …]
|
D | cfg80211.h | 100 s32 tx_power; 194 s32 roam_off; 207 s32 req_ie_len; 209 s32 resp_ie_len; 235 s32 (*run)(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, 474 s32 brcmf_cfg80211_up(struct net_device *ndev); 475 s32 brcmf_cfg80211_down(struct net_device *ndev); 483 s32 brcmf_vif_set_mgmt_ie(struct brcmf_cfg80211_vif *vif, s32 pktflag, 485 s32 brcmf_vif_clear_mgmt_ies(struct brcmf_cfg80211_vif *vif); 497 s32 brcmf_notify_escan_complete(struct brcmf_cfg80211_info *cfg,
|
D | p2p.c | 212 s32 mpc_onoff; 436 s32 ret = 0; in brcmf_p2p_set_firmware() 526 static s32 brcmf_p2p_set_discover_state(struct brcmf_if *ifp, u8 state, in brcmf_p2p_set_discover_state() 530 s32 ret = 0; in brcmf_p2p_set_discover_state() 548 static s32 brcmf_p2p_deinit_discovery(struct brcmf_p2p_info *p2p) in brcmf_p2p_deinit_discovery() 575 s32 ret = 0; in brcmf_p2p_enable_discovery() 631 static s32 brcmf_p2p_escan(struct brcmf_p2p_info *p2p, u32 num_chans, in brcmf_p2p_escan() 632 u16 chanspecs[], s32 search_state, u16 action, in brcmf_p2p_escan() 635 s32 ret = 0; in brcmf_p2p_escan() 636 s32 memsize = offsetof(struct brcmf_p2p_scan_le, in brcmf_p2p_escan() [all …]
|
D | core.h | 125 s32 if2bss[BRCMF_MAX_IFS]; 193 s32 bssidx; 211 struct brcmf_if *brcmf_add_if(struct brcmf_pub *drvr, s32 bssidx, s32 ifidx,
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_tlv.h | 102 s32 (*func)(struct fm10k_hw *, u32 **, 108 s32 fm10k_tlv_msg_init(u32 *, u16); 109 s32 fm10k_tlv_attr_put_null_string(u32 *, u16, const unsigned char *); 110 s32 fm10k_tlv_attr_get_null_string(u32 *, unsigned char *); 111 s32 fm10k_tlv_attr_put_mac_vlan(u32 *, u16, const u8 *, u16); 112 s32 fm10k_tlv_attr_get_mac_vlan(u32 *, u8 *, u16 *); 113 s32 fm10k_tlv_attr_put_bool(u32 *, u16); 114 s32 fm10k_tlv_attr_put_value(u32 *, u16, s64, u32); 131 s32 fm10k_tlv_attr_get_value(u32 *, void *, u32); 145 fm10k_tlv_attr_get_value(attr, ptr, sizeof(s32)) [all …]
|
D | fm10k_vf.c | 28 static s32 fm10k_stop_hw_vf(struct fm10k_hw *hw) in fm10k_stop_hw_vf() 32 s32 err; in fm10k_stop_hw_vf() 71 static s32 fm10k_reset_hw_vf(struct fm10k_hw *hw) in fm10k_reset_hw_vf() 73 s32 err; in fm10k_reset_hw_vf() 100 static s32 fm10k_init_hw_vf(struct fm10k_hw *hw) in fm10k_init_hw_vf() 103 s32 err; in fm10k_init_hw_vf() 154 static s32 fm10k_update_vlan_vf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_vf() 187 s32 fm10k_msg_mac_vlan_vf(struct fm10k_hw *hw, u32 **results, in fm10k_msg_mac_vlan_vf() 192 s32 err; in fm10k_msg_mac_vlan_vf() 214 static s32 fm10k_read_mac_addr_vf(struct fm10k_hw *hw) in fm10k_read_mac_addr_vf() [all …]
|
D | fm10k_type.h | 518 s32 (*reset_hw)(struct fm10k_hw *); 519 s32 (*init_hw)(struct fm10k_hw *); 520 s32 (*start_hw)(struct fm10k_hw *); 521 s32 (*stop_hw)(struct fm10k_hw *); 522 s32 (*get_bus_info)(struct fm10k_hw *); 523 s32 (*get_host_state)(struct fm10k_hw *, bool *); 524 s32 (*update_vlan)(struct fm10k_hw *, u32, u8, bool); 525 s32 (*read_mac_addr)(struct fm10k_hw *); 526 s32 (*update_uc_addr)(struct fm10k_hw *, u16, const u8 *, 528 s32 (*update_mc_addr)(struct fm10k_hw *, u16, const u8 *, u16, bool); [all …]
|
D | fm10k_common.h | 52 s32 fm10k_get_bus_info_generic(struct fm10k_hw *hw); 53 s32 fm10k_get_invariants_generic(struct fm10k_hw *hw); 54 s32 fm10k_disable_queues_generic(struct fm10k_hw *hw, u16 q_cnt); 55 s32 fm10k_start_hw_generic(struct fm10k_hw *hw); 56 s32 fm10k_stop_hw_generic(struct fm10k_hw *hw); 64 s32 fm10k_get_host_state_generic(struct fm10k_hw *hw, bool *host_ready);
|
D | fm10k_tlv.c | 30 s32 fm10k_tlv_msg_init(u32 *msg, u16 msg_id) in fm10k_tlv_msg_init() 51 s32 fm10k_tlv_attr_put_null_string(u32 *msg, u16 attr_id, in fm10k_tlv_attr_put_null_string() 101 s32 fm10k_tlv_attr_get_null_string(u32 *attr, unsigned char *string) in fm10k_tlv_attr_get_null_string() 128 s32 fm10k_tlv_attr_put_mac_vlan(u32 *msg, u16 attr_id, in fm10k_tlv_attr_put_mac_vlan() 165 s32 fm10k_tlv_attr_get_mac_vlan(u32 *attr, u8 *mac_addr, u16 *vlan) in fm10k_tlv_attr_get_mac_vlan() 188 s32 fm10k_tlv_attr_put_bool(u32 *msg, u16 attr_id) in fm10k_tlv_attr_put_bool() 214 s32 fm10k_tlv_attr_put_value(u32 *msg, u16 attr_id, s64 value, u32 len) in fm10k_tlv_attr_put_value() 254 s32 fm10k_tlv_attr_get_value(u32 *attr, void *value, u32 len) in fm10k_tlv_attr_get_value() 286 s32 fm10k_tlv_attr_put_le_struct(u32 *msg, u16 attr_id, in fm10k_tlv_attr_put_le_struct() 325 s32 fm10k_tlv_attr_get_le_struct(u32 *attr, void *le_struct, u32 len) in fm10k_tlv_attr_get_le_struct() [all …]
|
D | fm10k_pf.h | 105 s32 fm10k_msg_lport_map_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *); 110 s32 fm10k_msg_update_pvid_pf(struct fm10k_hw *, u32 **, 117 s32 fm10k_msg_err_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *); 127 s32 fm10k_iov_msg_msix_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *); 128 s32 fm10k_iov_msg_mac_vlan_pf(struct fm10k_hw *, u32 **, 130 s32 fm10k_iov_msg_lport_state_pf(struct fm10k_hw *, u32 **,
|
D | fm10k_mbx.h | 232 s32 (*connect)(struct fm10k_hw *, struct fm10k_mbx_info *); 237 s32 (*enqueue_tx)(struct fm10k_hw *, struct fm10k_mbx_info *, 239 s32 (*process)(struct fm10k_hw *, struct fm10k_mbx_info *); 240 s32 (*register_handlers)(struct fm10k_mbx_info *, 287 s32 test_result; 302 s32 fm10k_pfvf_mbx_init(struct fm10k_hw *, struct fm10k_mbx_info *, 304 s32 fm10k_sm_mbx_init(struct fm10k_hw *, struct fm10k_mbx_info *,
|
D | fm10k_pf.c | 31 static s32 fm10k_reset_hw_pf(struct fm10k_hw *hw) in fm10k_reset_hw_pf() 33 s32 err; in fm10k_reset_hw_pf() 102 static s32 fm10k_init_hw_pf(struct fm10k_hw *hw) in fm10k_init_hw_pf() 205 static s32 fm10k_update_vlan_pf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_pf() 258 static s32 fm10k_read_mac_addr_pf(struct fm10k_hw *hw) in fm10k_read_mac_addr_pf() 318 static s32 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_xc_addr_pf() 365 static s32 fm10k_update_uc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_pf() 386 static s32 fm10k_update_mc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_pf() 406 static s32 fm10k_update_xcast_mode_pf(struct fm10k_hw *hw, u16 glort, u8 mode) in fm10k_update_xcast_mode_pf() 472 static s32 fm10k_update_lport_state_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_lport_state_pf() [all …]
|
D | fm10k_mbx.c | 281 static s32 fm10k_fifo_enqueue(struct fm10k_mbx_fifo *fifo, const u32 *msg) in fm10k_fifo_enqueue() 482 static s32 fm10k_mbx_push_tail(struct fm10k_hw *hw, in fm10k_mbx_push_tail() 649 static s32 fm10k_mbx_verify_remote_crc(struct fm10k_mbx_info *mbx) in fm10k_mbx_verify_remote_crc() 717 s32 err; in fm10k_mbx_dequeue_rx() 750 static s32 fm10k_mbx_enqueue_tx(struct fm10k_hw *hw, in fm10k_mbx_enqueue_tx() 754 s32 err; in fm10k_mbx_enqueue_tx() 798 static s32 fm10k_mbx_read(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx) in fm10k_mbx_read() 931 static void fm10k_mbx_create_error_msg(struct fm10k_mbx_info *mbx, s32 err) in fm10k_mbx_create_error_msg() 962 static s32 fm10k_mbx_validate_msg_hdr(struct fm10k_mbx_info *mbx) in fm10k_mbx_validate_msg_hdr() 1028 static s32 fm10k_mbx_create_reply(struct fm10k_hw *hw, in fm10k_mbx_create_reply() [all …]
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | stv0900_priv.h | 62 s32 realval;/* real value */ 63 s32 regval;/* binary value */ 68 s32 size;/* Size of the lookup table */ 295 s32 Power;/* Power of the RF signal (dBm) */ 296 s32 C_N;/* Carrier to noise ratio (dB x10)*/ 302 s32 quartz; 303 s32 mclk; 310 s32 freq[2]; 311 s32 bw[2]; 312 s32 symbol_rate[2]; [all …]
|
D | stb0899_priv.h | 143 s32 real; 144 s32 read; 167 s32 srch_range; /* Demod internal Search Range */ 168 s32 sub_range; /* Demod current sub range (Hz) */ 169 s32 tuner_step; /* Tuner step (Hz) */ 170 s32 tuner_offst; /* Relative offset to carrier (Hz) */ 173 s32 mclk; /* Masterclock Divider factor (binary) */ 174 s32 rolloff; /* Current RollOff of the filter (x100) */ 192 s32 agc_gain; /* RF AGC Gain */ 193 s32 center_freq; /* Nominal carrier frequency */ [all …]
|
D | tda18271c2dd.c | 41 s32 m_IFFrequency; 54 s32 m_Param; 100 s32 m_SettlingTime; 106 s32 m_RF_A1[7]; 107 s32 m_RF_B1[7]; 109 s32 m_RF_A2[7]; 110 s32 m_RF_B2[7]; 233 u32 Frequency, s32 *pParam) in SearchMap2() 388 u8 RFBand, u32 freq, s32 *pCprog) in CalibrateRF() 525 s32 Cprog_cal1 = 0; in RFTrackingFiltersInit() [all …]
|
D | stv090x_priv.h | 229 s32 real; 230 s32 read; 239 s32 mclk; /* Masterclock Divider factor */ 271 s32 tuner_bw; 273 s32 search_range; 275 s32 DemodTimeout; 276 s32 FecTimeout;
|
D | stv0900_sw.c | 30 s32 shiftx(s32 x, int demod, s32 shift) in shiftx() 41 s32 carr_offset, in stv0900_check_signal_presence() 69 s32 *frequency_inc, s32 *sw_timeout, in stv0900_get_sw_loop_params() 70 s32 *steps, in stv0900_get_sw_loop_params() 73 s32 timeout, freq_inc, max_steps, srate, max_carrier; in stv0900_get_sw_loop_params() 136 s32 FreqIncr, s32 Timeout, int zigzag, in stv0900_search_carr_sw_loop() 137 s32 MaxStep, enum fe_stv0900_demod_num demod) in stv0900_search_carr_sw_loop() 141 s32 stepCpt, in stv0900_search_carr_sw_loop() 202 s32 s2fw, in stv0900_sw_algo() 312 s32 rem1, rem2, intval1, intval2, srate; in stv0900_get_symbol_rate() [all …]
|
D | drxk_hard.h | 242 s32 m_sys_clock_freq; /* system clock frequency in kHz */ 250 s32 m_Quality83percent; /* MER level (*0.1 dB) for 83% quality indication */ 251 s32 m_Quality93percent; /* MER level (*0.1 dB) for 93% quality indication */ 284 s32 m_mpeg_lock_time_out; /* WaitForLockStatus Timeout (counts from start time) */ 285 s32 m_demod_lock_time_out; /* WaitForLockStatus Timeout (counts from start time) */
|
/linux-4.4.14/sound/pci/au88x0/ |
D | au88x0_eq.h | 21 s32 this04; /* How many filters for each side (default = 10) */ 22 s32 this08; /* inited to cero. Stereo flag? */ 32 s32 this10; /* How many gains are used for each side (right or left). */ 34 s32 this28; /* flag related to EQ enabled or not. Gang flag ? */ 35 s32 this54; /* SetBypass */ 36 s32 this58; 37 s32 this5c;
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | gss_krb5_seqnum.c | 42 static s32 43 krb5_make_rc4_seq_num(struct krb5_ctx *kctx, int direction, s32 seqnum, in krb5_make_rc4_seq_num() 48 s32 code; in krb5_make_rc4_seq_num() 74 s32 100 static s32 102 unsigned char *buf, int *direction, s32 *seqnum) in krb5_get_rc4_seq_num() 106 s32 code; in krb5_get_rc4_seq_num() 124 code = (s32)KG_BAD_SEQ; in krb5_get_rc4_seq_num() 137 s32 143 s32 code; in krb5_get_seq_num() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | core.h | 192 s32 ch_noise_floor; 207 s32 comp_queued; 208 s32 comp_delivered; 209 s32 msdu_enqued; 210 s32 mpdu_enqued; 211 s32 wmm_drop; 212 s32 local_enqued; 213 s32 local_freed; 214 s32 hw_queued; 215 s32 hw_reaped; [all …]
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
D | rtl8723a_dm.h | 51 s32 UndecoratedSmoothedBeacon; 53 s32 BT_EntryMinUndecoratedSmoothedPWDB; 54 s32 BT_EntryMaxUndecoratedSmoothedPWDB; 110 s32 RegE94; 111 s32 RegE9C; 112 s32 RegEB4; 113 s32 RegEBC; 119 s32 OFDM_Pkt_Cnt;
|
D | odm.h | 178 s32 PreRSSI; 193 s32 RSSI_sum_A; 194 s32 RSSI_sum_B; 195 s32 RSSI_cnt_A; 196 s32 RSSI_cnt_B; 242 s32 RxEVM[RF_PATH_MAX]; 452 s32 Value[1][IQK_Matrix_REG_NUM]; 459 s32 RegE94; 460 s32 RegE9C; 461 s32 RegEB4; [all …]
|
D | rtw_xmit.h | 333 s32 rtw_free_xmitbuf_ext23a(struct xmit_priv *pxmitpriv, 337 s32 rtw_free_xmitbuf23a(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); 344 s32 rtw_free_xmitframe23a(struct xmit_priv *pxmitpriv, 349 s32 rtw_xmitframe_enqueue23a(struct rtw_adapter *padapter, 353 s32 rtw_xmit23a_classifier(struct rtw_adapter *padapter, 355 s32 rtw_xmitframe_coalesce23a(struct rtw_adapter *padapter, struct sk_buff *pkt, 357 s32 _rtw_init_hw_txqueue(struct hw_txqueue *phw_txqueue, u8 ac_tag); 360 s32 rtw_txframes_pending23a(struct rtw_adapter *padapter); 361 s32 rtw_txframes_sta_ac_pending23a(struct rtw_adapter *padapter,
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | compat.h | 35 typedef s32 compat_ssize_t; 36 typedef s32 compat_time_t; 37 typedef s32 compat_clock_t; 38 typedef s32 compat_pid_t; 48 typedef s32 compat_off_t; 50 typedef s32 compat_nlink_t; 52 typedef s32 compat_daddr_t; 55 typedef s32 compat_key_t; 56 typedef s32 compat_timer_t; 59 typedef s32 compat_int_t; [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | compat.h | 18 typedef s32 compat_ssize_t; 19 typedef s32 compat_time_t; 20 typedef s32 compat_clock_t; 21 typedef s32 compat_pid_t; 29 typedef s32 compat_off_t; 33 typedef s32 compat_daddr_t; 36 typedef s32 compat_key_t; 37 typedef s32 compat_timer_t; 39 typedef s32 compat_int_t; 40 typedef s32 compat_long_t; [all …]
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | compat.h | 12 typedef s32 compat_ssize_t; 13 typedef s32 compat_time_t; 14 typedef s32 compat_clock_t; 15 typedef s32 compat_pid_t; 23 typedef s32 compat_off_t; 27 typedef s32 compat_daddr_t; 30 typedef s32 compat_key_t; 31 typedef s32 compat_timer_t; 33 typedef s32 compat_int_t; 34 typedef s32 compat_long_t; [all …]
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_conntrack_seqadj.h | 15 s32 offset_before; 16 s32 offset_after; 34 s32 off); 36 __be32 seq, s32 off); 38 enum ip_conntrack_info ctinfo, s32 off); 42 s32 nf_ct_seq_offset(const struct nf_conn *ct, enum ip_conntrack_dir, u32 seq);
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy.c | 21 static inline s32 linear_inter(s32 tmax, s32 tmin, s32 percent, in linear_inter() 22 s32 min_result, bool even) in linear_inter() 24 s32 v; in linear_inter() 29 return max_t(s32, min_result, v - 1); in linear_inter() 31 return max_t(s32, min_result, v); in linear_inter() 35 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() 37 s32 tmax, tmin, clk_z; in dsi_dphy_timing_calc_clk_zero() 38 s32 temp; in dsi_dphy_timing_calc_clk_zero() 59 s32 ui, lpx; in msm_dsi_dphy_timing_calc() 60 s32 tmax, tmin; in msm_dsi_dphy_timing_calc() [all …]
|
/linux-4.4.14/drivers/media/usb/gspca/gl860/ |
D | gl860-mi1320.c | 103 static s32 tbl_sat[] = {0x25, 0x1d, 0x15, 0x0d, 0x05, 0x4d, 0x55, 0x5d, 0x2d}; 104 static s32 tbl_bright[] = {0, 8, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70}; 105 static s32 tbl_backlight[] = {0x0e, 0x06, 0x02}; 107 static s32 tbl_cntr1[] = { 109 static s32 tbl_cntr2[] = { 224 s32 n; /* reserved for FETCH functions */ in common() 296 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi1320_sensor_settings() 333 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi1320_configure_alt() 352 s32 backlight = sd->vcur.backlight; in mi1320_camera_settings() 353 s32 bright = sd->vcur.brightness; in mi1320_camera_settings() [all …]
|
D | gl860-mi2020.c | 454 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi2020_init_post_alt() 456 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) > 0); in mi2020_init_post_alt() 457 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi2020_init_post_alt() 458 s32 freq = (sd->vcur.AC50Hz > 0); in mi2020_init_post_alt() 459 s32 wbal = sd->vcur.whitebal; in mi2020_init_post_alt() 617 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi2020_configure_alt() 636 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in mi2020_camera_settings() 638 s32 backlight = sd->vcur.backlight; in mi2020_camera_settings() 639 s32 bright = sd->vcur.brightness; in mi2020_camera_settings() 640 s32 sharp = sd->vcur.sharpness; in mi2020_camera_settings() [all …]
|
D | gl860-ov2640.c | 269 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in ov2640_init_post_alt() 270 s32 n; /* reserved for FETCH functions */ in ov2640_init_post_alt() 331 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in ov2640_configure_alt() 351 s32 backlight = sd->vcur.backlight; in ov2640_camera_settings() 352 s32 bright = sd->vcur.brightness; in ov2640_camera_settings() 353 s32 sharp = sd->vcur.sharpness; in ov2640_camera_settings() 354 s32 gam = sd->vcur.gamma; in ov2640_camera_settings() 355 s32 cntr = sd->vcur.contrast; in ov2640_camera_settings() 356 s32 sat = sd->vcur.saturation; in ov2640_camera_settings() 357 s32 hue = sd->vcur.hue; in ov2640_camera_settings() [all …]
|
D | gl860-ov9655.c | 37 static s32 tbl_length[] = {12, 56, 52, 54, 56, 42, 32, 12}; 213 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in ov9655_init_post_alt() 214 s32 n; /* reserved for FETCH functions */ in ov9655_init_post_alt() 215 s32 i; in ov9655_init_post_alt() 292 s32 reso = gspca_dev->cam.cam_mode[(s32) gspca_dev->curr_mode].priv; in ov9655_configure_alt() 312 s32 bright = sd->vcur.brightness; in ov9655_camera_settings() 313 s32 hue = sd->vcur.hue; in ov9655_camera_settings()
|
D | gl860.h | 76 s32 nbIm; 77 s32 nbRightUp; 98 s32 len, void *pdata);
|
/linux-4.4.14/arch/x86/include/asm/ |
D | compat.h | 17 typedef s32 compat_ssize_t; 18 typedef s32 compat_time_t; 19 typedef s32 compat_clock_t; 20 typedef s32 compat_pid_t; 28 typedef s32 compat_off_t; 32 typedef s32 compat_daddr_t; 35 typedef s32 compat_timer_t; 36 typedef s32 compat_key_t; 38 typedef s32 compat_int_t; 39 typedef s32 compat_long_t; [all …]
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.c | 28 static s32 CR_L2R_T2B = CR_BIAS_HORIZONTAL; 29 static s32 CR_R2L_T2B = CR_DIAGONAL_BALANCE; 34 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u8 align, 36 static s32 sita_reserve_1d(struct tcm *tcm, u32 slots, struct tcm_area *area); 37 static s32 sita_free(struct tcm *tcm, struct tcm_area *area); 43 static s32 scan_areas_and_find_fit(struct tcm *tcm, u16 w, u16 h, u16 align, 46 static s32 scan_l2r_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, 49 static s32 scan_r2l_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, 52 static s32 scan_r2l_b2t_one_dim(struct tcm *tcm, u32 num_slots, 58 static s32 is_area_free(struct tcm_area ***map, u16 x0, u16 y0, u16 w, u16 h); [all …]
|
D | tcm.h | 71 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u8 align, 73 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area); 74 s32 (*free) (struct tcm *tcm, struct tcm_area *area); 131 static inline s32 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, in tcm_reserve_2d() 135 s32 res = tcm == NULL ? -ENODEV : in tcm_reserve_2d() 163 static inline s32 tcm_reserve_1d(struct tcm *tcm, u32 slots, in tcm_reserve_1d() 167 s32 res = tcm == NULL ? -ENODEV : in tcm_reserve_1d() 193 static inline s32 tcm_free(struct tcm_area *area) in tcm_free() 195 s32 res = 0; /* free succeeds by default */ in tcm_free() 299 static inline s32 tcm_1d_limit(struct tcm_area *a, u32 num_pg) in tcm_1d_limit()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.h | 72 s32 fb_x; 73 s32 fb_y; 74 s32 unit_x1; 75 s32 unit_y1; 76 s32 unit_x2; 77 s32 unit_y2; 162 s32 core_hotspot_x; 163 s32 core_hotspot_y; 216 s32 dest_x, s32 dest_y, 283 s32 dest_x, [all …]
|
/linux-4.4.14/drivers/media/common/siano/ |
D | smscoreapi.h | 695 s32 SNR; /* dB */ 702 s32 RSSI; /* dBm */ 703 s32 in_band_pwr; /* In band power in dBM */ 704 s32 carrier_offset; /* Carrier Offset in bin/1024 */ 820 s32 SNR; /* dB */ 821 s32 RSSI; /* dBm */ 822 s32 in_band_pwr; /* In band power in dBM */ 823 s32 carrier_offset; /* Carrier Offset in Hz */ 862 s32 SNR; /* dB */ 863 s32 RSSI; /* dBm */ [all …]
|
D | smsdvb.h | 78 s32 in_band_power; 91 s32 RSSI; /* dBm */ 92 s32 carrier_offset; /* Carrier Offset in bin/1024 */ 100 s32 MRC_SNR; /* dB */ 101 s32 mrc_in_band_pwr; /* In band power in dBM */ 102 s32 MRC_RSSI; /* dBm */
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 35 static s32 e1000_check_downshift(struct e1000_hw *hw); 36 static s32 e1000_check_polarity(struct e1000_hw *hw, 40 static s32 e1000_config_dsp_after_link_change(struct e1000_hw *hw, 42 static s32 e1000_config_fc_after_link_up(struct e1000_hw *hw); 43 static s32 e1000_detect_gig_phy(struct e1000_hw *hw); 44 static s32 e1000_get_auto_rd_done(struct e1000_hw *hw); 45 static s32 e1000_get_cable_length(struct e1000_hw *hw, u16 *min_length, 47 static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw); 48 static s32 e1000_id_led_init(struct e1000_hw *hw); 50 static s32 e1000_phy_igp_get_info(struct e1000_hw *hw, [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
D | 4965.c | 567 static s32 568 il4965_math_div_round(s32 num, s32 denom, s32 * res) in il4965_math_div_round() 570 s32 sign = 1; in il4965_math_div_round() 597 static s32 598 il4965_get_voltage_compensation(s32 eeprom_voltage, s32 current_voltage) in il4965_get_voltage_compensation() 600 s32 comp = 0; in il4965_get_voltage_compensation() 617 static s32 646 s32 b = -1; in il4965_get_sub_band() 660 static s32 661 il4965_interpolate_value(s32 x, s32 x1, s32 y1, s32 x2, s32 y2) in il4965_interpolate_value() [all …]
|
D | 3945.h | 69 s32 success_counter; 70 s32 success_ratio; 71 s32 counter; 72 s32 average_tpt; 79 s32 *expected_tpt; 307 s32 a, b, c, d, e; /* coefficients for voltage->power 309 s32 Fa, Fb, Fc, Fd, Fe; /* these modify coeffs based on
|
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_api.h | 24 s32 pch_gbe_hal_setup_init_funcs(struct pch_gbe_hw *hw); 26 s32 pch_gbe_hal_init_hw(struct pch_gbe_hw *hw); 27 s32 pch_gbe_hal_read_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 *data); 28 s32 pch_gbe_hal_write_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 data); 31 s32 pch_gbe_hal_read_mac_addr(struct pch_gbe_hw *hw);
|
D | pch_gbe_api.c | 67 static s32 pch_gbe_plat_init_hw(struct pch_gbe_hw *hw) in pch_gbe_plat_init_hw() 69 s32 ret_val; in pch_gbe_plat_init_hw() 117 s32 pch_gbe_hal_setup_init_funcs(struct pch_gbe_hw *hw) in pch_gbe_hal_setup_init_funcs() 151 s32 pch_gbe_hal_init_hw(struct pch_gbe_hw *hw) in pch_gbe_hal_init_hw() 171 s32 pch_gbe_hal_read_phy_reg(struct pch_gbe_hw *hw, u32 offset, in pch_gbe_hal_read_phy_reg() 188 s32 pch_gbe_hal_write_phy_reg(struct pch_gbe_hw *hw, u32 offset, in pch_gbe_hal_write_phy_reg() 233 s32 pch_gbe_hal_read_mac_addr(struct pch_gbe_hw *hw) in pch_gbe_hal_read_mac_addr()
|
D | pch_gbe_phy.h | 26 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw); 27 s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data); 28 s32 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data);
|
/linux-4.4.14/include/trace/events/ |
D | thermal_power_allocator.h | 14 int current_temp, s32 delta_temp), 28 __field(s32, delta_temp ) 58 TP_PROTO(struct thermal_zone_device *tz, s32 err, s32 err_integral, 59 s64 p, s64 i, s64 d, s32 output), 63 __field(s32, err ) 64 __field(s32, err_integral) 68 __field(s32, output )
|
D | power.h | 313 TP_PROTO(int pm_qos_class, s32 value), 319 __field( s32, value ) 337 TP_PROTO(int pm_qos_class, s32 value), 344 TP_PROTO(int pm_qos_class, s32 value), 351 TP_PROTO(int pm_qos_class, s32 value), 358 TP_PROTO(int pm_qos_class, s32 value, unsigned long timeout_us), 364 __field( s32, value ) 432 s32 new_value), 439 __field( s32, new_value ) 459 s32 new_value), [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | dpti.h | 287 static s32 adpt_i2o_post_this(adpt_hba* pHba, u32* data, int len); 288 static s32 adpt_i2o_quiesce_hba(adpt_hba* pHba); 289 static s32 adpt_i2o_status_get(adpt_hba* pHba); 290 static s32 adpt_i2o_init_outbound_q(adpt_hba* pHba); 291 static s32 adpt_i2o_hrt_get(adpt_hba* pHba); 292 static s32 adpt_scsi_to_i2o(adpt_hba* pHba, struct scsi_cmnd* cmd, struct adpt_device* dptdevice); 293 static s32 adpt_i2o_to_scsi(void __iomem *reply, struct scsi_cmnd* cmd); 294 static s32 adpt_scsi_host_alloc(adpt_hba* pHba,struct scsi_host_template * sht); 295 static s32 adpt_hba_reset(adpt_hba* pHba); 296 static s32 adpt_i2o_reset_hba(adpt_hba* pHba); [all …]
|
/linux-4.4.14/arch/arm/vfp/ |
D | vfpsingle.c | 199 s32 d = vfp_single_pack(vs); in __vfp_single_normaliseround() 259 static u32 vfp_single_fabs(int sd, int unused, s32 m, u32 fpscr) in vfp_single_fabs() 265 static u32 vfp_single_fcpy(int sd, int unused, s32 m, u32 fpscr) in vfp_single_fcpy() 271 static u32 vfp_single_fneg(int sd, int unused, s32 m, u32 fpscr) in vfp_single_fneg() 307 return (s32)a >> 1; in vfp_estimate_sqrt_significand() 316 static u32 vfp_single_fsqrt(int sd, int unused, s32 m, u32 fpscr) in vfp_single_fsqrt() 403 static u32 vfp_compare(int sd, int signal_on_qnan, s32 m, u32 fpscr) in vfp_compare() 405 s32 d; in vfp_compare() 462 static u32 vfp_single_fcmp(int sd, int unused, s32 m, u32 fpscr) in vfp_single_fcmp() 467 static u32 vfp_single_fcmpe(int sd, int unused, s32 m, u32 fpscr) in vfp_single_fcmpe() [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | compat.h | 52 typedef s32 compat_ssize_t; 53 typedef s32 compat_time_t; 54 typedef s32 compat_clock_t; 55 typedef s32 compat_pid_t; 63 typedef s32 compat_off_t; 67 typedef s32 compat_daddr_t; 70 typedef s32 compat_key_t; 71 typedef s32 compat_timer_t; 73 typedef s32 compat_int_t; 74 typedef s32 compat_long_t; [all …]
|
/linux-4.4.14/drivers/iio/magnetometer/ |
D | bmc150_magn.c | 146 s32 buffer[6]; 364 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, in bmc150_magn_compensate_x() 376 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x() 377 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_x() 378 ((s32)val)) >> 7)) + (((s32)val) * in bmc150_magn_compensate_x() 379 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_x() 380 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x() 383 return (s32)val; in bmc150_magn_compensate_x() 386 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, in bmc150_magn_compensate_y() 398 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y() [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | sticore.h | 83 s32 freq_ref; /* frequency reference */ 89 s32 text_planes; /* number of planes used for text */ 97 s32 reent_lvl; /* storage for reentry level value */ 136 s32 text_planes; /* number of planes to use for text */ 142 s32 errno; /* error number on failure */ 143 s32 text_planes; /* number of planes used for text */ 168 s32 errno; /* error number on failure */ 175 s32 bits_per_pixel; /* bits/pixel device has configured */ 176 s32 bits_used; /* bits which can be accessed */ 177 s32 planes; /* number of fb planes in system */ [all …]
|
/linux-4.4.14/arch/x86/platform/olpc/ |
D | olpc_dt.c | 32 if ((s32)node == -1) in olpc_dt_getsibling() 35 if (olpc_ofw("peer", args, res) || (s32)node == -1) in olpc_dt_getsibling() 46 if ((s32)node == -1) in olpc_dt_getchild() 49 if (olpc_ofw("child", args, res) || (s32)node == -1) { in olpc_dt_getchild() 63 if ((s32)node == -1) in olpc_dt_getproplen() 103 if ((s32)node == -1) in olpc_dt_nextprop() 118 if ((s32)node == -1) in olpc_dt_pkg2path() 179 if ((s32) node == -1) in olpc_dt_finddevice()
|
/linux-4.4.14/drivers/iio/pressure/ |
D | bmp280.c | 80 s32 t_fine; 147 static s32 bmp280_compensate_temp(struct bmp280_data *data, in bmp280_compensate_temp() 148 s32 adc_temp) in bmp280_compensate_temp() 151 s32 var1, var2; in bmp280_compensate_temp() 170 var1 = (((adc_temp >> 3) - ((s32)le16_to_cpu(buf[T1]) << 1)) * in bmp280_compensate_temp() 171 ((s32)(s16)le16_to_cpu(buf[T2]))) >> 11; in bmp280_compensate_temp() 172 var2 = (((((adc_temp >> 4) - ((s32)le16_to_cpu(buf[T1]))) * in bmp280_compensate_temp() 173 ((adc_temp >> 4) - ((s32)le16_to_cpu(buf[T1])))) >> 12) * in bmp280_compensate_temp() 174 ((s32)(s16)le16_to_cpu(buf[T3]))) >> 14; in bmp280_compensate_temp() 188 s32 adc_press) in bmp280_compensate_press() [all …]
|
D | ms5611.h | 39 s32 *temp, s32 *pressure); 49 s32 *temp, s32 *pressure);
|
D | ms5611_core.c | 72 s32 *temp, s32 *pressure) in ms5611_read_temp_and_pressure() 89 s32 *temp, s32 *pressure) in ms5611_temp_and_pressure_compensate() 91 s32 t = *temp, p = *pressure; in ms5611_temp_and_pressure_compensate() 125 s32 *temp, s32 *pressure) in ms5607_temp_and_pressure_compensate() 127 s32 t = *temp, p = *pressure; in ms5607_temp_and_pressure_compensate() 181 s32 temp, pressure; in ms5611_read_raw()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.h | 32 s32 atl1e_reset_hw(struct atl1e_hw *hw); 33 s32 atl1e_read_mac_addr(struct atl1e_hw *hw); 34 s32 atl1e_init_hw(struct atl1e_hw *hw); 35 s32 atl1e_phy_commit(struct atl1e_hw *hw); 36 s32 atl1e_get_speed_and_duplex(struct atl1e_hw *hw, u16 *speed, u16 *duplex); 40 s32 atl1e_read_phy_reg(struct atl1e_hw *hw, u16 reg_addr, u16 *phy_data); 41 s32 atl1e_write_phy_reg(struct atl1e_hw *hw, u32 reg_addr, u16 phy_data); 42 s32 atl1e_validate_mdi_setting(struct atl1e_hw *hw); 46 s32 atl1e_phy_enter_power_saving(struct atl1e_hw *hw); 47 s32 atl1e_phy_leave_power_saving(struct atl1e_hw *hw); [all …]
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | rtw_xmit.h | 322 s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, 325 s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, 330 s32 rtw_make_wlanhdr(struct adapter *padapter, u8 *hdr, 332 s32 rtw_put_snap(u8 *data, u16 h_proto); 335 s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, 341 s32 rtw_xmitframe_enqueue(struct adapter *padapter, 346 s32 rtw_xmit_classifier(struct adapter *padapter, 350 s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, 352 s32 _rtw_init_hw_txqueue(struct hw_txqueue *phw_txqueue, u8 ac_tag); 354 s32 rtw_txframes_pending(struct adapter *padapter); [all …]
|
D | hal_intf.h | 157 s32 (*init_xmit_priv)(struct adapter *padapter); 159 s32 (*init_recv_priv)(struct adapter *padapter); 174 s32 (*interrupt_handler)(struct adapter *padapter); 207 s32 (*hal_xmit)(struct adapter *padapter, 209 s32 (*mgnt_xmit)(struct adapter *padapter, 272 s32 rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe); 273 s32 rtw_hal_mgnt_xmit(struct adapter *padapter, 276 s32 rtw_hal_init_xmit_priv(struct adapter *padapter); 278 s32 rtw_hal_init_recv_priv(struct adapter *padapter);
|
D | rtl8188e_xmit.h | 161 s32 rtl8188eu_init_xmit_priv(struct adapter *padapter); 162 s32 rtl8188eu_hal_xmit(struct adapter *padapter, struct xmit_frame *frame); 163 s32 rtl8188eu_mgnt_xmit(struct adapter *padapter, struct xmit_frame *frame); 164 s32 rtl8188eu_xmit_buf_handler(struct adapter *padapter); 167 s32 rtl8188eu_xmitframe_complete(struct adapter *padapter,
|
D | odm.h | 201 s32 PreRSSI; 216 s32 RSSI_sum_A; 217 s32 RSSI_sum_B; 218 s32 RSSI_cnt_A; 219 s32 RSSI_cnt_B; 292 s32 RxEVM[MAX_PATH_NUM_92CS]; 609 s32 Value[1][IQK_Matrix_REG_NUM]; 615 s32 RegE94; 616 s32 RegE9C; 617 s32 RegEB4; [all …]
|
/linux-4.4.14/drivers/base/power/ |
D | qos.c | 61 enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev, s32 mask) in __dev_pm_qos_flags() 65 s32 val; in __dev_pm_qos_flags() 88 enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev, s32 mask) in dev_pm_qos_flags() 107 s32 __dev_pm_qos_read_value(struct device *dev) in __dev_pm_qos_read_value() 119 s32 dev_pm_qos_read_value(struct device *dev) in dev_pm_qos_read_value() 122 s32 ret; in dev_pm_qos_read_value() 142 enum pm_qos_req_action action, s32 value) in apply_constraint() 302 enum dev_pm_qos_req_type type, s32 value) in __dev_pm_qos_add_request() 350 enum dev_pm_qos_req_type type, s32 value) in dev_pm_qos_add_request() 367 s32 new_value) in __dev_pm_qos_update_request() [all …]
|
/linux-4.4.14/arch/mips/dec/prom/ |
D | init.c | 44 void __init which_prom(s32 magic, s32 *prom_vec) in which_prom() 93 s32 argc = fw_arg0; in prom_init() 94 s32 *argv = (void *)fw_arg1; in prom_init() 96 s32 *prom_vec = (void *)fw_arg3; in prom_init()
|
/linux-4.4.14/arch/sparc/prom/ |
D | tree_64.c | 46 if ((s32)node == -1) in prom_getchild() 49 if ((s32)cnode == -1) in prom_getchild() 59 if ((s32)node == -1) in prom_getparent() 62 if ((s32)cnode == -1) in prom_getparent() 79 if ((s32)node == -1) in prom_getsibling() 82 if ((s32)sibnode == -1) in prom_getsibling() 243 if ((s32)node == -1) in prom_firstprop() 269 if ((s32)node == -1) { in prom_nextprop() 372 if ((s32)node == -1) in prom_inst2pkg()
|
D | tree_32.c | 43 if ((s32)node == -1) in prom_getchild() 47 if (cnode == 0 || (s32)cnode == -1) in prom_getchild() 75 if ((s32)node == -1) in prom_getsibling() 79 if (sibnode == 0 || (s32)sibnode == -1) in prom_getsibling() 222 if (node == 0 || (s32)node == -1) in prom_nextprop() 256 while (node2 && (s32)node2 != -1) { in prom_finddevice() 264 if (!node2 || (s32)node2 == -1) in prom_finddevice() 306 if ((s32)node == -1) in prom_inst2pkg()
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | utprint.c | 66 u8 base, s32 width, s32 precision, u8 type); 243 u8 base, s32 width, s32 precision, u8 type) in acpi_ut_format_number() 250 s32 i; in acpi_ut_format_number() 362 s32 width; in acpi_ut_vsnprintf() 363 s32 precision; in acpi_ut_vsnprintf() 371 s32 length; in acpi_ut_vsnprintf() 410 width = (s32) number; in acpi_ut_vsnprintf() 427 precision = (s32) number; in acpi_ut_vsnprintf() 558 number = (s32) number; in acpi_ut_vsnprintf()
|
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/ |
D | drx_driver.h | 164 s32 min_freq_rf; /* Lowest RF input frequency, in kHz */ 165 s32 max_freq_rf; /* Highest RF input frequency, in kHz */ 175 s32 r_ffrequency; /* only valid if programmed */ 176 s32 i_ffrequency; /* only valid if programmed */ 189 s32 194 s32 * 196 s32 * 230 s32 frequency); 234 s32 *r_ffrequency, 235 s32 *i_ffrequency); [all …]
|
D | drxj.h | 427 s32 frequency; /**< center signal frequency in KHz */ 570 #define DRXJ_NTSC_CARRIER_FREQ_OFFSET ((s32)(1750)) 586 #define DRXJ_PAL_SECAM_BG_CARRIER_FREQ_OFFSET ((s32)(2375)) 602 #define DRXJ_PAL_SECAM_DKIL_CARRIER_FREQ_OFFSET ((s32)(2775)) 617 #define DRXJ_PAL_SECAM_LP_CARRIER_FREQ_OFFSET ((s32)(-3255)) 633 #define DRXJ_FM_CARRIER_FREQ_OFFSET ((s32)(-3000))
|
/linux-4.4.14/arch/tile/include/asm/ |
D | compat.h | 27 typedef s32 compat_long_t; 30 typedef s32 compat_ssize_t; 31 typedef s32 compat_off_t; 32 typedef s32 compat_time_t; 33 typedef s32 compat_clock_t; 64 s32 tv_nsec; 69 s32 tv_usec; 245 return (void __user *)(long)(s32)uptr; in compat_ptr()
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-is-param.h | 576 s32 contrast; 577 s32 saturation; 578 s32 sharpness; 579 s32 exposure; 580 s32 brightness; 581 s32 hue; 793 s32 contrast_level; 795 s32 saturation_level; 796 s32 gamma_level; 799 s32 hue; [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | alternative.c | 271 extern s32 __smp_locks[], __smp_locks_end[]; 286 s32 n_dspl, o_dspl; in recompute_jump() 292 o_dspl = *(s32 *)(insnbuf + 1); in recompute_jump() 329 *(s32 *)&insnbuf[1] = n_dspl; in recompute_jump() 407 *(s32 *)(insnbuf + 1) += replacement - instr; in apply_alternatives() 409 *(s32 *)(insnbuf + 1), in apply_alternatives() 410 (unsigned long)instr + *(s32 *)(insnbuf + 1) + 5); in apply_alternatives() 428 static void alternatives_smp_lock(const s32 *start, const s32 *end, in alternatives_smp_lock() 431 const s32 *poff; in alternatives_smp_lock() 446 static void alternatives_smp_unlock(const s32 *start, const s32 *end, in alternatives_smp_unlock() [all …]
|
/linux-4.4.14/kernel/power/ |
D | qos.c | 177 s32 pm_qos_read_value(struct pm_qos_constraints *c) in pm_qos_read_value() 182 static inline void pm_qos_set_value(struct pm_qos_constraints *c, s32 value) in pm_qos_set_value() 333 s32 val = 0; in pm_qos_flags_remove_req() 355 enum pm_qos_req_action action, s32 val) in pm_qos_update_flags() 358 s32 prev_value, curr_value; in pm_qos_update_flags() 408 s32 new_value) in __pm_qos_update_request() 447 int pm_qos_class, s32 value) in pm_qos_add_request() 475 s32 new_value) in pm_qos_update_request() 498 void pm_qos_update_request_timeout(struct pm_qos_request *req, s32 new_value, in pm_qos_update_request_timeout() 649 s32 value; in pm_qos_power_read() [all …]
|
/linux-4.4.14/include/media/ |
D | v4l2-common.h | 85 int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def); 188 s32 width, s32 height);
|
/linux-4.4.14/drivers/iio/light/ |
D | acpi-als.c | 72 (sizeof(s64) + (ACPI_ALS_EVT_NR_SOURCES * sizeof(s32))) 78 s32 evt_buffer[ACPI_ALS_EVT_BUFFER_SIZE]; 98 static int acpi_als_read_value(struct acpi_als *als, char *prop, s32 *val) in acpi_als_read_value() 120 s32 *buffer = als->evt_buffer; in acpi_als_notify() 122 s32 val; in acpi_als_notify() 154 s32 temp_val; in acpi_als_read_raw()
|
/linux-4.4.14/drivers/misc/ |
D | bmp085.c | 87 s32 b6; /* calculated temperature correction coefficient */ 101 static s32 bmp085_read_calibration_data(struct bmp085_data *data) in bmp085_read_calibration_data() 105 s32 status = regmap_bulk_read(data->regmap, in bmp085_read_calibration_data() 125 static s32 bmp085_update_raw_temperature(struct bmp085_data *data) in bmp085_update_raw_temperature() 128 s32 status; in bmp085_update_raw_temperature() 160 static s32 bmp085_update_raw_pressure(struct bmp085_data *data) in bmp085_update_raw_pressure() 163 s32 status; in bmp085_update_raw_pressure() 202 static s32 bmp085_get_temperature(struct bmp085_data *data, int *temperature) in bmp085_get_temperature() 231 static s32 bmp085_get_pressure(struct bmp085_data *data, int *pressure) in bmp085_get_pressure() 234 s32 x1, x2, x3, b3; in bmp085_get_pressure() [all …]
|
/linux-4.4.14/sound/core/seq/ |
D | seq_compat.c | 32 s32 midi_channels; /* channels per MIDI port */ 33 s32 midi_voices; /* voices per MIDI port */ 34 s32 synth_voices; /* voices per SYNTH port */ 36 s32 read_use; /* R/O: subscribers for output (from this port) */ 37 s32 write_use; /* R/O: subscribers for input (to this port) */
|
/linux-4.4.14/fs/ntfs/ |
D | endian.h | 38 static inline s32 sle32_to_cpu(sle32 x) in sle32_to_cpu() 53 static inline s32 sle32_to_cpup(sle32 *x) in sle32_to_cpup() 68 static inline sle32 cpu_to_sle32(s32 x) in cpu_to_sle32() 83 static inline sle32 cpu_to_sle32p(s32 *x) in cpu_to_sle32p()
|
/linux-4.4.14/lib/ |
D | cordic.c | 23 #define FIXED(X) ((s32)((X) << CORDIC_PRECISION_SHIFT)) 28 static const s32 arctan_table[] = { 55 struct cordic_iq cordic_calc_iq(s32 theta) in cordic_calc_iq() 58 s32 angle, valtmp; in cordic_calc_iq()
|
D | percpu_counter.c | 67 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); in percpu_counter_set() 75 void __percpu_counter_add(struct percpu_counter *fbc, s64 amount, s32 batch) in __percpu_counter_add() 107 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); in __percpu_counter_sum() 123 fbc->counters = alloc_percpu_gfp(s32, gfp); in __percpu_counter_init() 182 s32 *pcount; in percpu_counter_hotcpu_callback() 200 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare()
|
/linux-4.4.14/drivers/char/xilinx_hwicap/ |
D | buffer_icap.c | 191 s32 retries = 0; in buffer_icap_device_read() 225 s32 retries = 0; in buffer_icap_device_write() 271 s32 buffer_count = 0; in buffer_icap_set_configuration() 272 s32 num_writes = 0; in buffer_icap_set_configuration() 330 s32 buffer_count = 0; in buffer_icap_get_configuration() 331 s32 read_count = 0; in buffer_icap_get_configuration()
|
/linux-4.4.14/net/batman-adv/ |
D | bitarray.h | 33 s32 diff; in batadv_test_bit() 42 static inline void batadv_set_bit(unsigned long *seq_bits, s32 n) in batadv_set_bit() 54 int batadv_bit_get_packet(void *priv, unsigned long *seq_bits, s32 seq_num_diff,
|
/linux-4.4.14/drivers/misc/altera-stapl/ |
D | altera.c | 144 static void altera_export_int(char *key, s32 value) in altera_export_int() 152 static void altera_export_bool_array(char *key, u8 *data, s32 count) in altera_export_bool_array() 155 s32 i, offset; in altera_export_bool_array() 220 s32 program_size, in altera_execute() 221 s32 *error_address, in altera_execute() 241 s32 *var_size = NULL; in altera_execute() 264 s32 long_count; in altera_execute() 265 s32 long_idx; in altera_execute() 266 s32 long_idx2; in altera_execute() 313 var_size = kzalloc(sym_count * sizeof(s32), GFP_KERNEL); in altera_execute() [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | jump_label.c | 20 s32 off = (s32)entry->target - (s32)entry->code; in arch_jump_label_transform()
|
/linux-4.4.14/drivers/hid/ |
D | hid-pl.c | 54 s32 maxval; 55 s32 *strong; 56 s32 *weak; 91 s32 maxval; in plff_init() 92 s32 *strong; in plff_init() 93 s32 *weak; in plff_init()
|
/linux-4.4.14/mm/ |
D | mm_init.c | 146 s32 vm_committed_as_batch = 32; 151 s32 nr = num_present_cpus(); in mm_compute_batch() 152 s32 batch = max_t(s32, nr*2, 32); in mm_compute_batch() 157 vm_committed_as_batch = max_t(s32, memsized_batch, batch); in mm_compute_batch()
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm_i2c_nuvoton.c | 61 static s32 i2c_nuvoton_read_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_read_buf() 64 s32 status; in i2c_nuvoton_read_buf() 73 static s32 i2c_nuvoton_write_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_write_buf() 76 s32 status; in i2c_nuvoton_write_buf() 100 s32 status; in i2c_nuvoton_read_status() 114 static s32 i2c_nuvoton_write_status(struct i2c_client *client, u8 data) in i2c_nuvoton_write_status() 116 s32 status; in i2c_nuvoton_write_status() 131 s32 status; in i2c_nuvoton_ready() 146 s32 status; in i2c_nuvoton_get_burstcount() 180 s32 rc; in i2c_nuvoton_wait_for_stat() [all …]
|
/linux-4.4.14/block/partitions/ |
D | ultrix.c | 18 s32 pt_magic; /* magic no. indicating part. info exits */ in ultrix_partition() 19 s32 pt_valid; /* set by driver if pt is current */ in ultrix_partition() 21 s32 pi_nblocks; /* no. of sectors */ in ultrix_partition()
|
/linux-4.4.14/net/ipv4/ |
D | tcp_cdg.c | 62 s32 min; 63 s32 max; 90 s32 delay_min; 173 s32 thresh = max(ca->delay_min + ca->delay_min / 8U, in tcp_cdg_hystart_update() 188 static s32 tcp_cdg_grad(struct cdg *ca) in tcp_cdg_grad() 190 s32 gmin = ca->rtt.min - ca->rtt_prev.min; in tcp_cdg_grad() 191 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad() 192 s32 grad; in tcp_cdg_grad() 271 s32 grad = 0; in tcp_cdg_cong_avoid() 297 static void tcp_cdg_acked(struct sock *sk, u32 num_acked, s32 rtt_us) in tcp_cdg_acked()
|
/linux-4.4.14/drivers/net/ethernet/ezchip/ |
D | nps_enet.h | 284 s32 irq; 299 s32 reg, s32 value) in nps_enet_reg_set() 311 static inline u32 nps_enet_reg_get(struct nps_enet_priv *priv, s32 reg) in nps_enet_reg_get()
|
D | nps_enet.c | 41 s32 i, last = length & (sizeof(u32) - 1); in nps_enet_read_rx_fifo() 204 static irqreturn_t nps_enet_irq_handler(s32 irq, void *dev_instance) in nps_enet_irq_handler() 287 s32 max_frame_length; in nps_enet_hw_enable_control() 399 static s32 nps_enet_set_mac_address(struct net_device *ndev, void *p) in nps_enet_set_mac_address() 402 s32 res; in nps_enet_set_mac_address() 449 static s32 nps_enet_open(struct net_device *ndev) in nps_enet_open() 452 s32 err; in nps_enet_open() 489 static s32 nps_enet_stop(struct net_device *ndev) in nps_enet_stop() 546 static s32 nps_enet_probe(struct platform_device *pdev) in nps_enet_probe() 551 s32 err = 0; in nps_enet_probe() [all …]
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_queue_pair.h | 45 s32 result; 55 s32 result; 92 s32 result; 101 s32 result;
|
/linux-4.4.14/sound/core/ |
D | pcm_compat.c | 27 s32 __user *src) in snd_pcm_ioctl_delay_compat() 94 s32 tstamp_mode; 195 s32 state; 200 s32 delay; 204 s32 suspended_state; 257 s32 state; 263 s32 delay; 267 s32 suspended_state; 367 s32 result; 405 s32 result; [all …]
|
D | control_compat.c | 67 s32 type; 70 s32 owner; 73 s32 min; 74 s32 max; 75 s32 step; 164 s32 integer[128]; 179 s32 integer[128]; 257 s32 __user *intp = valuep; in copy_ctl_value_from_user() 289 s32 __user *intp = valuep; in copy_ctl_value_to_user()
|
/linux-4.4.14/arch/arm/kernel/ |
D | module.c | 68 s32 offset; in apply_relocate() 126 (offset <= (s32)0xfe000000 || in apply_relocate() 127 offset >= (s32)0x02000000)) in apply_relocate() 132 if (offset <= (s32)0xfe000000 || in apply_relocate() 133 offset >= (s32)0x02000000) { in apply_relocate() 230 (offset <= (s32)0xff000000 || in apply_relocate() 231 offset >= (s32)0x01000000)) in apply_relocate() 236 if (offset <= (s32)0xff000000 || in apply_relocate() 237 offset >= (s32)0x01000000) { in apply_relocate()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-nforce2-s4985.c | 45 static s32 nforce2_access_virt0(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt0() 71 static inline s32 nforce2_access_channel(struct i2c_adapter *adap, u16 addr, in nforce2_access_channel() 104 static s32 nforce2_access_virt1(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt1() 114 static s32 nforce2_access_virt2(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt2() 124 static s32 nforce2_access_virt3(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt3() 134 static s32 nforce2_access_virt4(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt4()
|
D | i2c-amd756-s4882.c | 47 static s32 amd756_access_virt0(struct i2c_adapter * adap, u16 addr, in amd756_access_virt0() 75 static inline s32 amd756_access_channel(struct i2c_adapter * adap, u16 addr, in amd756_access_channel() 109 static s32 amd756_access_virt1(struct i2c_adapter * adap, u16 addr, in amd756_access_virt1() 119 static s32 amd756_access_virt2(struct i2c_adapter * adap, u16 addr, in amd756_access_virt2() 129 static s32 amd756_access_virt3(struct i2c_adapter * adap, u16 addr, in amd756_access_virt3() 139 static s32 amd756_access_virt4(struct i2c_adapter * adap, u16 addr, in amd756_access_virt4()
|
/linux-4.4.14/drivers/staging/rtl8723au/hal/ |
D | odm_HWConfig.c | 32 static s32 odm_SignalScaleMapping_92CSeries(struct dm_odm_t *pDM_Odm, s32 CurrSig) in odm_SignalScaleMapping_92CSeries() 34 s32 RetSig = 0; in odm_SignalScaleMapping_92CSeries() 56 static s32 odm_SignalScaleMapping(struct dm_odm_t *pDM_Odm, s32 CurrSig) in odm_SignalScaleMapping() 228 pPhyInfo->RxSNR[i] = pDM_Odm->PhyDbgInfo.RxSNRdB[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2); in odm_RxPhyStatus92CSeries_Parsing() 281 s32 UndecoratedSmoothedPWDB, UndecoratedSmoothedCCK; in odm_Process_RSSIForDM() 282 s32 UndecoratedSmoothedOFDM, RSSI_Ave; in odm_Process_RSSIForDM()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | mars.c | 51 static void setbrightness(struct gspca_dev *gspca_dev, s32 val); 52 static void setcolors(struct gspca_dev *gspca_dev, s32 val); 53 static void setgamma(struct gspca_dev *gspca_dev, s32 val); 54 static void setsharpness(struct gspca_dev *gspca_dev, s32 val); 114 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 121 static void setcolors(struct gspca_dev *gspca_dev, s32 val) in setcolors() 129 static void setgamma(struct gspca_dev *gspca_dev, s32 val) in setgamma() 136 static void setsharpness(struct gspca_dev *gspca_dev, s32 val) in setsharpness()
|
D | autogain_functions.c | 35 s32 gain, orig_gain, exposure, orig_exposure; in gspca_expo_autogain() 115 s32 gain_low, gain_high, gain, orig_gain, exposure, orig_exposure; in gspca_coarse_grained_expo_autogain() 124 gain_low = (s32)(gspca_dev->gain->maximum - gspca_dev->gain->minimum) / in gspca_coarse_grained_expo_autogain() 126 gain_high = (s32)(gspca_dev->gain->maximum - gspca_dev->gain->minimum) / in gspca_coarse_grained_expo_autogain()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_txnmgr.h | 43 s32 lsn; /* recovery lsn */ 57 s32 clsn; /* commit lsn */ 59 s32 pn; /* commit record log page number */ 60 s32 eor; /* commit record eor */ 203 s32 pxdlock[8]; /* 32: */
|
/linux-4.4.14/drivers/staging/rtl8188eu/hal/ |
D | odm_HWConfig.c | 42 static s32 odm_SignalScaleMapping_92CSeries(struct odm_dm_struct *dm_odm, s32 CurrSig) in odm_SignalScaleMapping_92CSeries() 44 s32 RetSig = 0; in odm_SignalScaleMapping_92CSeries() 65 static s32 odm_SignalScaleMapping(struct odm_dm_struct *dm_odm, s32 CurrSig) in odm_SignalScaleMapping() 228 pPhyInfo->RxSNR[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2); in odm_RxPhyStatus92CSeries_Parsing() 229 dm_odm->PhyDbgInfo.RxSNRdB[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2); in odm_RxPhyStatus92CSeries_Parsing() 282 s32 UndecoratedSmoothedPWDB, UndecoratedSmoothedCCK; in odm_Process_RSSIForDM() 283 s32 UndecoratedSmoothedOFDM, RSSI_Ave; in odm_Process_RSSIForDM()
|
D | rtl8188eu_xmit.c | 29 s32 rtl8188eu_init_xmit_priv(struct adapter *adapt) in rtl8188eu_init_xmit_priv() 176 static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz, u8 bagg_pkt) in update_txdesc() 349 static s32 rtw_dump_xframe(struct adapter *adapt, struct xmit_frame *pxmitframe) in rtw_dump_xframe() 351 s32 ret = _SUCCESS; in rtw_dump_xframe() 352 s32 inner_ret = _SUCCESS; in rtw_dump_xframe() 432 s32 rtl8188eu_xmitframe_complete(struct adapter *adapt, struct xmit_priv *pxmitpriv, struct xmit_bu… in rtl8188eu_xmitframe_complete() 619 static s32 xmitframe_direct(struct adapter *adapt, struct xmit_frame *pxmitframe) in xmitframe_direct() 621 s32 res = _SUCCESS; in xmitframe_direct() 636 static s32 pre_xmitframe(struct adapter *adapt, struct xmit_frame *pxmitframe) in pre_xmitframe() 638 s32 res; in pre_xmitframe() [all …]
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | prminst44xx.c | 34 static s32 prm_dev_inst = PRM_INSTANCE_UNKNOWN; 48 s32 omap4_prmst_get_prm_dev_inst(void) in omap4_prmst_get_prm_dev_inst() 53 void omap4_prminst_set_prm_dev_inst(s32 dev_inst) in omap4_prminst_set_prm_dev_inst() 182 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap4_prminst_global_warm_sw_reset()
|
/linux-4.4.14/include/keys/ |
D | rxrpc-type.h | 56 s32 tag; 69 s32 is_skey; /* T if ticket is encrypted in another ticket's 71 s32 flags; /* mask of TKT_FLG_* bits (krb5/krb5.h) */
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | ar9003_calib.c | 553 s32 sin_2phi_1, in ar9003_hw_solve_iq_cal() 554 s32 cos_2phi_1, in ar9003_hw_solve_iq_cal() 555 s32 sin_2phi_2, in ar9003_hw_solve_iq_cal() 556 s32 cos_2phi_2, in ar9003_hw_solve_iq_cal() 557 s32 mag_a0_d0, in ar9003_hw_solve_iq_cal() 558 s32 phs_a0_d0, in ar9003_hw_solve_iq_cal() 559 s32 mag_a1_d0, in ar9003_hw_solve_iq_cal() 560 s32 phs_a1_d0, in ar9003_hw_solve_iq_cal() 561 s32 solved_eq[]) in ar9003_hw_solve_iq_cal() 563 s32 f1 = cos_2phi_1 - cos_2phi_2, in ar9003_hw_solve_iq_cal() [all …]
|
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/ |
D | atl2.h | 80 static s32 atl2_reset_hw(struct atl2_hw *hw); 81 static s32 atl2_read_mac_addr(struct atl2_hw *hw); 82 static s32 atl2_init_hw(struct atl2_hw *hw); 83 static s32 atl2_get_speed_and_duplex(struct atl2_hw *hw, u16 *speed, 87 static s32 atl2_read_phy_reg(struct atl2_hw *hw, u16 reg_addr, u16 *phy_data); 88 static s32 atl2_write_phy_reg(struct atl2_hw *hw, u32 reg_addr, u16 phy_data); 94 static s32 atl2_phy_init(struct atl2_hw *hw);
|
/linux-4.4.14/drivers/media/tuners/ |
D | mt2063.c | 367 s32 min_; 368 s32 max_; 579 s32 i; in MT2063_ChooseFirstIF() 580 s32 j = 0; in MT2063_ChooseFirstIF() 583 s32 tmpMin, tmpMax; in MT2063_ChooseFirstIF() 584 s32 bestDiff; in MT2063_ChooseFirstIF() 617 floor((s32) (pNode->min_ - f_Center), (s32) f_Step); in MT2063_ChooseFirstIF() 621 ceil((s32) (pNode->max_ - f_Center), (s32) f_Step); in MT2063_ChooseFirstIF() 721 s32 f_nsLO1, f_nsLO2; in IsSpurInBand() 722 s32 f_Spur; in IsSpurInBand() [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | uprobes.c | 222 s32 disp; 230 s32 s32[2]; member 296 rc = emu_load_ril((s32 __user *)uptr, &rx->u64); in handle_insn_ril() 325 rc = emu_cmp_ril(regs, (s16 __user *)uptr, &rx->s32[1]); in handle_insn_ril() 340 rc = emu_cmp_ril(regs, (s32 __user *)uptr, &rx->s64); in handle_insn_ril() 343 rc = emu_cmp_ril(regs, (s32 __user *)uptr, &rx->s32[1]); in handle_insn_ril()
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | module.c | 45 s32 offset; in apply_relocate() 87 offset <= (s32)0xfe000000 || in apply_relocate() 88 offset >= (s32)0x02000000) { in apply_relocate()
|
/linux-4.4.14/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_st6422.c | 63 static int setbrightness(struct sd *sd, s32 val); 64 static int setcontrast(struct sd *sd, s32 val); 215 static int setbrightness(struct sd *sd, s32 val) in setbrightness() 221 static int setcontrast(struct sd *sd, s32 val) in setcontrast()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | tps6507x-ts.c | 61 static s32 tps6507x_adc_conversion(struct tps6507x_ts *tsc, in tps6507x_adc_conversion() 64 s32 ret; in tps6507x_adc_conversion() 120 static s32 tps6507x_adc_standby(struct tps6507x_ts *tsc) in tps6507x_adc_standby() 122 s32 ret; in tps6507x_adc_standby() 123 s32 loops = 0; in tps6507x_adc_standby() 156 s32 ret; in tps6507x_ts_poll()
|