Home
last modified time | relevance | path

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

/Linux-v5.4/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.c414 reg_val = (unsigned char) note->fnum; in snd_opl3_play_note()
425 reg_val |= (unsigned char) (note->fnum >> 8) & OPL3_FNUM_HIGH_MASK; in snd_opl3_play_note()
/Linux-v5.4/drivers/pinctrl/mediatek/
Dpinctrl-paris.c359 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() argument
365 if (func->muxval == fnum) in mtk_pctrl_find_function_by_pin()
374 u32 fnum) in mtk_pctrl_is_function_valid() argument
385 if (func->muxval == fnum) in mtk_pctrl_is_function_valid()
398 u32 pin, u32 fnum, in mtk_pctrl_dt_node_to_map_func() argument
412 ret = mtk_pctrl_is_function_valid(pctl, pin, fnum); in mtk_pctrl_dt_node_to_map_func()
415 fnum, pin); in mtk_pctrl_dt_node_to_map_func()
419 (*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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/include/uapi/sound/
Dasound_fm.h74 unsigned int fnum; /* 10 bits: frequency number */ member
/Linux-v5.4/drivers/pinctrl/stm32/
Dpinctrl-stm32.c459 u32 pin_num, u32 fnum) in stm32_pctrl_is_function_valid() argument
471 if (func->num == fnum) in stm32_pctrl_is_function_valid()
483 u32 pin, u32 fnum, struct stm32_pinctrl_group *grp, in stm32_pctrl_dt_node_to_map_func() argument
493 if (!stm32_pctrl_is_function_valid(pctl, pin, fnum)) { in stm32_pctrl_dt_node_to_map_func()
495 fnum, pin); in stm32_pctrl_dt_node_to_map_func()
499 (*map)[*num_maps].data.mux.function = stm32_gpio_functions[fnum]; in stm32_pctrl_dt_node_to_map_func()
/Linux-v5.4/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c672 struct device_node *np, u32 pin, u32 fnum, in bcm2835_pctl_dt_node_to_map_func() argument
677 if (fnum >= ARRAY_SIZE(bcm2835_functions)) { in bcm2835_pctl_dt_node_to_map_func()
678 dev_err(pc->dev, "%pOF: invalid brcm,function %d\n", np, fnum); in bcm2835_pctl_dt_node_to_map_func()
684 map->data.mux.function = bcm2835_functions[fnum]; in bcm2835_pctl_dt_node_to_map_func()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c172 adapter->rx_fhash.fnum--; in qlcnic_delete_rx_list_mac()
210 if (adapter->rx_fhash.fnum >= adapter->rx_fhash.fmax) in qlcnic_add_lb_filter()
232 adapter->rx_fhash.fnum++; in qlcnic_add_lb_filter()
247 adapter->fhash.fnum--; in qlcnic_add_lb_filter()
344 if (unlikely(adapter->fhash.fnum >= adapter->fhash.fmax)) { in qlcnic_send_filter()
359 adapter->fhash.fnum++; in qlcnic_send_filter()
Dqlcnic_hw.c655 adapter->fhash.fnum--; in qlcnic_prune_lb_filters()
670 adapter->rx_fhash.fnum--; in qlcnic_prune_lb_filters()
697 adapter->fhash.fnum--; in qlcnic_delete_lb_filters()
Dqlcnic_main.c1956 if (adapter->fhash.fnum) in __qlcnic_down()
3792 if (adapter->fhash.fnum) in qlcnic_fw_poll_work()
Dqlcnic.h1085 u8 fnum; member
Dqlcnic_83xx_init.c1094 if (adapter->fhash.fnum) in qlcnic_83xx_periodic_tasks()
Dqlcnic_sriov_common.c1895 if (adapter->fhash.fnum) in qlcnic_sriov_vf_periodic_tasks()