Home
last modified time | relevance | path

Searched refs:fnum (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/sound/drivers/opl3/
Dopl3_midi.c79 static void snd_opl3_calc_pitch(unsigned char *fnum, unsigned char *blocknum, in snd_opl3_calc_pitch() argument
103 *fnum = (unsigned char) freq; in snd_opl3_calc_pitch()
297 unsigned char fnum, blocknum; in snd_opl3_note_on() local
530 snd_opl3_calc_pitch(&fnum, &blocknum, note, chan); in snd_opl3_note_on()
534 opl3->command(opl3, opl3_reg, fnum); in snd_opl3_note_on()
730 unsigned char fnum, blocknum; in snd_opl3_update_pitch() local
751 snd_opl3_calc_pitch(&fnum, &blocknum, vp->note, vp->chan); in snd_opl3_update_pitch()
755 opl3->command(opl3, opl3_reg, fnum); in snd_opl3_update_pitch()
Dopl3_drums.c45 unsigned char fnum; member
110 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set()
Dopl3_synth.c416 reg_val = (unsigned char) note->fnum; in snd_opl3_play_note()
427 reg_val |= (unsigned char) (note->fnum >> 8) & OPL3_FNUM_HIGH_MASK; in snd_opl3_play_note()
/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/
Dpinctrl-paris.c322 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() argument
328 if (func->muxval == fnum) in mtk_pctrl_find_function_by_pin()
337 u32 fnum) in mtk_pctrl_is_function_valid() argument
348 if (func->muxval == fnum) in mtk_pctrl_is_function_valid()
361 u32 pin, u32 fnum, in mtk_pctrl_dt_node_to_map_func() argument
375 ret = mtk_pctrl_is_function_valid(pctl, pin, fnum); in mtk_pctrl_dt_node_to_map_func()
378 fnum, pin); in mtk_pctrl_dt_node_to_map_func()
382 (*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum]; in mtk_pctrl_dt_node_to_map_func()
Dpinctrl-mtk-common.c425 struct mtk_pinctrl *pctl, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() argument
431 if (func->muxval == fnum) in mtk_pctrl_find_function_by_pin()
440 u32 pin_num, u32 fnum) in mtk_pctrl_is_function_valid() argument
452 if (func->muxval == fnum) in mtk_pctrl_is_function_valid()
465 u32 pin, u32 fnum, struct mtk_pinctrl_group *grp, in mtk_pctrl_dt_node_to_map_func() argument
477 ret = mtk_pctrl_is_function_valid(pctl, pin, fnum); in mtk_pctrl_dt_node_to_map_func()
480 fnum, pin); in mtk_pctrl_dt_node_to_map_func()
484 (*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum]; in mtk_pctrl_dt_node_to_map_func()
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dcpr.c1114 unsigned int fnum, fc; in cpr_corner_init() local
1151 fnum = fc - 1; in cpr_corner_init()
1157 cdata[level - 1].fuse_corner = fnum; in cpr_corner_init()
1160 fuse = &drv->fuse_corners[fnum]; in cpr_corner_init()
1162 freq, dev_pm_opp_get_level(opp) - 1, fnum); in cpr_corner_init()
1208 fnum = cdata[i].fuse_corner; in cpr_corner_init()
1209 fdata = &desc->cpr_fuses.fuse_corner_data[fnum]; in cpr_corner_init()
1210 quot_offset = fuses[fnum].quotient_offset; in cpr_corner_init()
1211 fuse = &drv->fuse_corners[fnum]; in cpr_corner_init()
1212 if (fnum) in cpr_corner_init()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_dvbt.h66 u8 fnum; member
Dcxd2880_tnrdmd_dvbt_mon.c282 info->fnum = (rdata[2] >> 6) & 0x03; in cxd2880_tnrdmd_dvbt_mon_tps_info()
/kernel/linux/linux-5.10/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c209 u32 pin, u32 fnum, in wmt_pctl_dt_node_to_map_func() argument
215 if (fnum >= ARRAY_SIZE(wmt_functions)) { in wmt_pctl_dt_node_to_map_func()
216 dev_err(data->dev, "invalid wm,function %d\n", fnum); in wmt_pctl_dt_node_to_map_func()
228 map->data.mux.function = wmt_functions[fnum]; in wmt_pctl_dt_node_to_map_func()
/kernel/linux/linux-5.10/include/uapi/sound/
Dasound_fm.h74 unsigned int fnum; /* 10 bits: frequency number */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
Dasound_fm.h37 unsigned int fnum; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
Dasound_fm.h50 unsigned int fnum; member
/kernel/linux/linux-5.10/drivers/pinctrl/stm32/
Dpinctrl-stm32.c514 u32 pin_num, u32 fnum) in stm32_pctrl_is_function_valid() argument
526 if (func->num == fnum) in stm32_pctrl_is_function_valid()
538 u32 pin, u32 fnum, struct stm32_pinctrl_group *grp, in stm32_pctrl_dt_node_to_map_func() argument
548 if (!stm32_pctrl_is_function_valid(pctl, pin, fnum)) { in stm32_pctrl_dt_node_to_map_func()
550 fnum, pin); in stm32_pctrl_dt_node_to_map_func()
554 (*map)[*num_maps].data.mux.function = stm32_gpio_functions[fnum]; in stm32_pctrl_dt_node_to_map_func()
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c735 struct device_node *np, u32 pin, u32 fnum, in bcm2835_pctl_dt_node_to_map_func() argument
740 if (fnum >= ARRAY_SIZE(bcm2835_functions)) { in bcm2835_pctl_dt_node_to_map_func()
741 dev_err(pc->dev, "%pOF: invalid brcm,function %d\n", np, fnum); in bcm2835_pctl_dt_node_to_map_func()
747 map->data.mux.function = bcm2835_functions[fnum]; in bcm2835_pctl_dt_node_to_map_func()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c171 adapter->rx_fhash.fnum--; in qlcnic_delete_rx_list_mac()
209 if (adapter->rx_fhash.fnum >= adapter->rx_fhash.fmax) in qlcnic_add_lb_filter()
231 adapter->rx_fhash.fnum++; in qlcnic_add_lb_filter()
246 adapter->fhash.fnum--; in qlcnic_add_lb_filter()
343 if (unlikely(adapter->fhash.fnum >= adapter->fhash.fmax)) { in qlcnic_send_filter()
358 adapter->fhash.fnum++; in qlcnic_send_filter()
Dqlcnic_hw.c654 adapter->fhash.fnum--; in qlcnic_prune_lb_filters()
669 adapter->rx_fhash.fnum--; in qlcnic_prune_lb_filters()
696 adapter->fhash.fnum--; in qlcnic_delete_lb_filters()
Dqlcnic_main.c1936 if (adapter->fhash.fnum) in __qlcnic_down()
3759 if (adapter->fhash.fnum) in qlcnic_fw_poll_work()
Dqlcnic.h1079 u8 fnum; member
Dqlcnic_83xx_init.c1090 if (adapter->fhash.fnum) in qlcnic_83xx_periodic_tasks()
Dqlcnic_sriov_common.c1896 if (adapter->fhash.fnum) in qlcnic_sriov_vf_periodic_tasks()