Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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 …]
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);
Dmain.c5838 u32 int_val) in mac80211_wlc_set_nrate() argument
5841 u8 stf = (int_val & NRATE_STF_MASK) >> NRATE_STF_SHIFT; in mac80211_wlc_set_nrate()
5842 u8 rate = int_val & NRATE_RATE_MASK; in mac80211_wlc_set_nrate()
5844 bool ismcs = ((int_val & NRATE_MCS_INUSE) == NRATE_MCS_INUSE); in mac80211_wlc_set_nrate()
5845 bool issgi = ((int_val & NRATE_SGI_MASK) >> NRATE_SGI_SHIFT); in mac80211_wlc_set_nrate()
5846 bool override_mcs_only = ((int_val & NRATE_OVERRIDE_MCS_ONLY) in mac80211_wlc_set_nrate()
/linux-6.1.9/tools/testing/selftests/alsa/
Dmixer-test.c299 long int_val; in ctl_value_index_valid() local
309 int_val = snd_ctl_elem_value_get_boolean(val, index); in ctl_value_index_valid()
310 switch (int_val) { in ctl_value_index_valid()
316 ctl->name, index, int_val); in ctl_value_index_valid()
322 int_val = snd_ctl_elem_value_get_integer(val, index); in ctl_value_index_valid()
324 if (int_val < snd_ctl_elem_info_get_min(ctl->info)) { in ctl_value_index_valid()
326 ctl->name, index, int_val, in ctl_value_index_valid()
331 if (int_val > snd_ctl_elem_info_get_max(ctl->info)) { in ctl_value_index_valid()
333 ctl->name, index, int_val, in ctl_value_index_valid()
340 (int_val - snd_ctl_elem_info_get_min(ctl->info) % in ctl_value_index_valid()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dcore_extern.c48 .int_val = 123456,
95 .int_val = -100,
104 .data = { .int_val = 2147483647 } },
106 .data = { .int_val = -2147483648 } },
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_core_extern.c32 uint64_t int_val = -1; variable
49 int_val = CONFIG_INT; in handle_sys_enter()
/linux-6.1.9/drivers/iio/frequency/
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-6.1.9/drivers/rtc/
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()
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-6.1.9/sound/soc/sh/rcar/
Dsrc.c362 u32 sys_int_val, int_val, sys_int_mask; in rsnd_src_irq() local
368 int_val = 0x3300; in rsnd_src_irq()
377 int_val = 0; in rsnd_src_irq()
388 rsnd_mod_write(mod, SRC_INT_ENABLE0, int_val); in rsnd_src_irq()
/linux-6.1.9/sound/soc/codecs/
Dwm8903.c1645 unsigned int int_val, mask, int_pol; in wm8903_irq() local
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()
Dwcd9335.c3962 unsigned int val, int_val = 0; in wcd9335_slimbus_irq() local
3986 wcd->if_regmap, reg, &int_val); in wcd9335_slimbus_irq()
3991 if (!(int_val & (1 << (port_id % 8)))) in wcd9335_slimbus_irq()
4014 wcd->if_regmap, reg, &int_val); in wcd9335_slimbus_irq()
4015 if (int_val & (1 << (port_id % 8))) { in wcd9335_slimbus_irq()
4016 int_val = int_val ^ (1 << (port_id % 8)); in wcd9335_slimbus_irq()
4018 reg, int_val); in wcd9335_slimbus_irq()
Dwcd934x.c2285 unsigned int val, int_val = 0; in wcd934x_slim_irq_handler() local
2314 regmap_read(wcd->if_regmap, reg, &int_val); in wcd934x_slim_irq_handler()
2336 wcd->if_regmap, reg, &int_val); in wcd934x_slim_irq_handler()
2337 if (int_val & (1 << (port_id % 8))) { in wcd934x_slim_irq_handler()
2338 int_val = int_val ^ (1 << (port_id % 8)); in wcd934x_slim_irq_handler()
2340 reg, int_val); in wcd934x_slim_irq_handler()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_cpp.cpp68 skel->data->int_val = skel->data->ushort_val; in try_skeleton_template()
/linux-6.1.9/drivers/acpi/
Dacpi_video.c160 u32 int_val; member
1093 if ((ids->value.int_val & 0xffff) == device_id) in acpi_video_get_device_attr()
1109 if ((ids->value.int_val & 0xffff) == device_id) in acpi_video_get_device_type()
1110 return ids->value.int_val; in acpi_video_get_device_type()
1248 if (device->device_id == (ids->value.int_val & 0xffff)) { in acpi_video_device_bind()
1270 if ((video->attached_array[i].value.int_val & 0xfff) == in acpi_video_device_in_dod()
1338 active_list[count].value.int_val = obj->integer.value; in acpi_video_device_enumerate()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c17413 s32 int_val; in wlc_phy_txpwrctrl_idle_tssi_nphy() local
17434 int_val = in wlc_phy_txpwrctrl_idle_tssi_nphy()
17450 (u8) ((int_val >> 24) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17452 (u8) ((int_val >> 24) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17455 (u8) ((int_val >> 8) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17457 (u8) ((int_val >> 8) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17460 (u8) ((int_val >> 24) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17463 (u8) ((int_val >> 8) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17466 (u8) ((int_val >> 16) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()
17468 (u8) ((int_val) & 0xff); in wlc_phy_txpwrctrl_idle_tssi_nphy()