Home
last modified time | relevance | path

Searched refs:int_val (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dstf.c131 static bool brcms_c_stf_stbc_tx_set(struct brcms_c_info *wlc, s32 int_val) in brcms_c_stf_stbc_tx_set() argument
133 if ((int_val != AUTO) && (int_val != OFF) && (int_val != ON)) in brcms_c_stf_stbc_tx_set()
136 if ((int_val == ON) && (wlc->stf->txstreams == 1)) in brcms_c_stf_stbc_tx_set()
139 wlc->bandstate[BAND_2G_INDEX]->band_stf_stbc_tx = (s8) int_val; in brcms_c_stf_stbc_tx_set()
140 wlc->bandstate[BAND_5G_INDEX]->band_stf_stbc_tx = (s8) int_val; in brcms_c_stf_stbc_tx_set()
145 bool brcms_c_stf_stbc_rx_set(struct brcms_c_info *wlc, s32 int_val) in brcms_c_stf_stbc_rx_set() argument
147 if ((int_val != HT_CAP_RX_STBC_NO) in brcms_c_stf_stbc_rx_set()
148 && (int_val != HT_CAP_RX_STBC_ONE_STREAM)) in brcms_c_stf_stbc_rx_set()
152 if ((int_val != HT_CAP_RX_STBC_NO) in brcms_c_stf_stbc_rx_set()
157 brcms_c_stf_stbc_rx_ht_update(wlc, int_val); in brcms_c_stf_stbc_rx_set()
[all …]
H A Dstf.h30 int brcms_c_stf_txchain_set(struct brcms_c_info *wlc, s32 int_val, bool force);
31 bool brcms_c_stf_stbc_rx_set(struct brcms_c_info *wlc, s32 int_val);
/linux/tools/testing/selftests/alsa/
H A Dmixer-test.c281 long int_val; in ctl_value_index_valid() local
291 int_val = snd_ctl_elem_value_get_boolean(val, index); in ctl_value_index_valid()
292 switch (int_val) { in ctl_value_index_valid()
298 ctl->name, index, int_val); in ctl_value_index_valid()
304 int_val = snd_ctl_elem_value_get_integer(val, index); in ctl_value_index_valid()
306 if (int_val < snd_ctl_elem_info_get_min(ctl->info)) { in ctl_value_index_valid()
308 ctl->name, index, int_val, in ctl_value_index_valid()
313 if (int_val > snd_ctl_elem_info_get_max(ctl->info)) { in ctl_value_index_valid()
315 ctl->name, index, int_val, in ctl_value_index_valid()
322 (int_val - snd_ctl_elem_info_get_min(ctl->info) % in ctl_value_index_valid()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_extern.c48 .int_val = 123456,
95 .int_val = -100,
104 .data = { .int_val = 2147483647 } },
106 .data = { .int_val = -2147483648 } },
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_extern.c32 uint64_t int_val = -1; variable
49 int_val = CONFIG_INT; in handle_sys_enter()
/linux/drivers/iio/frequency/
H A Dadmv4420.c101 u32 int_val; member
137 static int admv4420_set_n_counter(struct admv4420_state *st, u32 int_val, in admv4420_set_n_counter() argument
152 put_unaligned_le32(int_val, st->transf_buf); in admv4420_set_n_counter()
248 st->n_counter.int_val = div_u64_rem(st->n_counter.n_counter, 10, &st->n_counter.frac_val); in admv4420_calc_parameters()
328 ret = admv4420_set_n_counter(st, st->n_counter.int_val, in admv4420_setup()
/linux/drivers/rtc/
H A Drtc-palmas.c115 u32 int_val; in palmas_rtc_read_alarm() local
135 &int_val); in palmas_rtc_read_alarm()
141 if (int_val & PALMAS_RTC_INTERRUPTS_REG_IT_ALARM) in palmas_rtc_read_alarm()
H A Drtc-tps65910.c143 u32 int_val; in tps65910_rtc_read_alarm() local
161 ret = regmap_read(tps->regmap, TPS65910_RTC_INTERRUPTS, &int_val); in tps65910_rtc_read_alarm()
165 if (int_val & TPS65910_RTC_INTERRUPTS_IT_ALARM) in tps65910_rtc_read_alarm()
H A Drtc-tps6594.c152 u32 int_val; in tps6594_rtc_read_alarm() local
168 ret = regmap_read(tps->regmap, TPS6594_REG_RTC_INTERRUPTS, &int_val); in tps6594_rtc_read_alarm()
172 alm->enabled = int_val & TPS6594_BIT_IT_ALARM; in tps6594_rtc_read_alarm()
/linux/drivers/watchdog/
H A Datcwdt200_wdt.c328 unsigned char int_val; in atcwdt_set_timeout() local
331 atcwdt_get_timeout_params(drv_data, timeout, &int_val, &rst_val); in atcwdt_set_timeout()
337 CTRL_INT_TIME_SET(int_val) | in atcwdt_set_timeout()
/linux/sound/soc/renesas/rcar/
H A Dsrc.c422 u32 sys_int_val, int_val, sys_int_mask; in rsnd_src_irq() local
428 int_val = 0x3300; in rsnd_src_irq()
437 int_val = 0; in rsnd_src_irq()
448 rsnd_mod_write(mod, SRC_INT_ENABLE0, int_val); in rsnd_src_irq()
/linux/sound/soc/codecs/
H A Dwm8903.c1645 unsigned int int_val, mask, int_pol; in wm8903_irq()
1654 ret = regmap_read(wm8903->regmap, WM8903_INTERRUPT_STATUS_1, &int_val); in wm8903_irq()
1660 int_val &= ~mask; in wm8903_irq()
1662 if (int_val & WM8903_WSEQ_BUSY_EINT) { in wm8903_irq()
1683 if (int_val & (WM8903_MICSHRT_EINT | WM8903_MICDET_EINT)) in wm8903_irq()
1687 if (int_val & WM8903_MICSHRT_EINT) { in wm8903_irq()
1694 if (int_val & WM8903_MICDET_EINT) { in wm8903_irq()
1644 unsigned int int_val, mask, int_pol; wm8903_irq() local
H A Dwcd9335.c3911 unsigned int val, int_val = 0; in wcd9335_slimbus_irq()
3935 wcd->if_regmap, reg, &int_val); in wcd9335_slimbus_irq()
3940 if (!(int_val & (1 << (port_id % 8)))) in wcd9335_slimbus_irq()
3963 wcd->if_regmap, reg, &int_val); in wcd9335_slimbus_irq()
3964 if (int_val & (1 << (port_id % 8))) { in wcd9335_slimbus_irq()
3965 int_val = int_val ^ (1 << (port_id % 8)); in wcd9335_slimbus_irq()
3967 reg, int_val); in wcd9335_slimbus_irq()
3907 unsigned int val, int_val = 0; wcd9335_slimbus_irq() local
H A Dwcd934x.c2225 unsigned int val, int_val = 0; in wcd934x_slim_irq_handler()
2254 regmap_read(wcd->if_regmap, reg, &int_val); in wcd934x_slim_irq_handler()
2276 wcd->if_regmap, reg, &int_val); in wcd934x_slim_irq_handler()
2277 if (int_val & (1 << (port_id % 8))) { in wcd934x_slim_irq_handler()
2278 int_val = int_val ^ (1 << (port_id % 8)); in wcd934x_slim_irq_handler()
2280 reg, int_val); in wcd934x_slim_irq_handler()
2230 unsigned int val, int_val = 0; wcd934x_slim_irq_handler() local
/linux/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp73 skel->data->int_val = skel->data->ushort_val; in try_skeleton_template()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c1305 s32 int_val = 1; in brcmf_p2p_abort_action_frame() local
1313 err = brcmf_fil_bsscfg_data_set(vif->ifp, "actframe_abort", &int_val, in brcmf_p2p_abort_action_frame()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_n.c17408 s32 int_val; in wlc_phy_txpwrctrl_idle_tssi_nphy() local
17429 int_val = in wlc_phy_txpwrctrl_idle_tssi_nphy()
17445 (u8) ((int_val >> 24) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17447 (u8) ((int_val >> 24) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17450 (u8) ((int_val >> 8) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17452 (u8) ((int_val >> 8) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17455 (u8) ((int_val >> 24) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17458 (u8) ((int_val >> 8) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17461 (u8) ((int_val >> 16) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17463 (u8) ((int_val) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()