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 ! in brcms_c_stf_stbc_rx_set()
264 brcms_c_stf_txchain_set(struct brcms_c_info * wlc,s32 int_val,bool force) brcms_c_stf_txchain_set() argument
[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);
H A Dmain.c5829 u32 int_val) in mac80211_wlc_set_nrate() argument
5832 u8 stf = (int_val & NRATE_STF_MASK) >> NRATE_STF_SHIFT; in mac80211_wlc_set_nrate()
5833 u8 rate = int_val & NRATE_RATE_MASK; in mac80211_wlc_set_nrate()
5835 bool ismcs = ((int_val & NRATE_MCS_INUSE) == NRATE_MCS_INUSE); in mac80211_wlc_set_nrate()
5836 bool issgi = ((int_val & NRATE_SGI_MASK) >> NRATE_SGI_SHIFT); in mac80211_wlc_set_nrate()
5837 bool override_mcs_only = ((int_val & NRATE_OVERRIDE_MCS_ONLY) in mac80211_wlc_set_nrate()
/linux/tools/testing/selftests/alsa/
H A Dmixer-test.c280 long int_val; in ctl_value_index_valid() local
290 int_val = snd_ctl_elem_value_get_boolean(val, index); in ctl_value_index_valid()
291 switch (int_val) { in ctl_value_index_valid()
297 ctl->name, index, int_val); in ctl_value_index_valid()
303 int_val = snd_ctl_elem_value_get_integer(val, index); in ctl_value_index_valid()
305 if (int_val < snd_ctl_elem_info_get_min(ctl->info)) { in ctl_value_index_valid()
307 ctl->name, index, int_val, in ctl_value_index_valid()
312 if (int_val > snd_ctl_elem_info_get_max(ctl->info)) { in ctl_value_index_valid()
314 ctl->name, index, int_val, in ctl_value_index_valid()
321 (int_val 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()
330 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()
/linux/sound/soc/renesas/rcar/
H A Dsrc.c415 u32 sys_int_val, int_val, sys_int_mask; in rsnd_src_irq() local
421 int_val = 0x3300; in rsnd_src_irq()
430 int_val = 0; in rsnd_src_irq()
441 rsnd_mod_write(mod, SRC_INT_ENABLE0, int_val); in rsnd_src_irq()
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_csi2_bridge.c176 long int_val; in gmin_cfg_get_int() local
183 ret = kstrtoul(str_val, 0, &int_val); in gmin_cfg_get_int()
188 return int_val; in gmin_cfg_get_int()
/linux/sound/soc/codecs/
H A Dwm8903.c1644 unsigned int int_val, mask, int_pol; in wm8903_irq() local
1653 ret = regmap_read(wm8903->regmap, WM8903_INTERRUPT_STATUS_1, &int_val); in wm8903_irq()
1659 int_val &= ~mask; in wm8903_irq()
1661 if (int_val & WM8903_WSEQ_BUSY_EINT) { in wm8903_irq()
1682 if (int_val & (WM8903_MICSHRT_EINT | WM8903_MICDET_EINT)) in wm8903_irq()
1686 if (int_val & WM8903_MICSHRT_EINT) { in wm8903_irq()
1693 if (int_val & WM8903_MICDET_EINT) { in wm8903_irq()
H A Dwcd9335.c3907 unsigned int val, int_val = 0; in wcd9335_slimbus_irq() local
3931 wcd->if_regmap, reg, &int_val); in wcd9335_slimbus_irq()
3936 if (!(int_val & (1 << (port_id % 8)))) in wcd9335_slimbus_irq()
3959 wcd->if_regmap, reg, &int_val); in wcd9335_slimbus_irq()
3960 if (int_val & (1 << (port_id % 8))) { in wcd9335_slimbus_irq()
3961 int_val = int_val ^ (1 << (port_id % 8)); in wcd9335_slimbus_irq()
3963 reg, int_val); in wcd9335_slimbus_irq()
H A Dwcd934x.c2263 unsigned int val, int_val = 0; in wcd934x_slim_irq_handler() local
2292 regmap_read(wcd->if_regmap, reg, &int_val); in wcd934x_slim_irq_handler()
2314 wcd->if_regmap, reg, &int_val); in wcd934x_slim_irq_handler()
2315 if (int_val & (1 << (port_id % 8))) { in wcd934x_slim_irq_handler()
2316 int_val = int_val ^ (1 << (port_id % 8)); in wcd934x_slim_irq_handler()
2318 reg, int_val); in wcd934x_slim_irq_handler()
/linux/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp73 skel->data->int_val = skel->data->ushort_val; in try_skeleton_template()
/linux/drivers/acpi/
H A Dacpi_video.c151 u32 int_val; member
1109 if ((ids->value.int_val & 0xffff) == device_id) in acpi_video_get_device_attr()
1125 if ((ids->value.int_val & 0xffff) == device_id) in acpi_video_get_device_type()
1126 return ids->value.int_val; in acpi_video_get_device_type()
1263 if (device->device_id == (ids->value.int_val & 0xffff)) { in acpi_video_device_bind()
1285 if ((video->attached_array[i].value.int_val & 0xfff) == in acpi_video_device_in_dod()
1353 active_list[count].value.int_val = obj->integer.value; in acpi_video_device_enumerate()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c1279 s32 int_val = 1; in brcmf_p2p_abort_action_frame() local
1284 err = brcmf_fil_bsscfg_data_set(vif->ifp, "actframe_abort", &int_val, in brcmf_p2p_abort_action_frame()