Home
last modified time | relevance | path

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

/linux/sound/drivers/opl3/
A 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()
296 unsigned char fnum, blocknum; in snd_opl3_note_on() local
529 snd_opl3_calc_pitch(&fnum, &blocknum, note, chan); in snd_opl3_note_on()
533 opl3->command(opl3, opl3_reg, fnum); in snd_opl3_note_on()
729 unsigned char fnum, blocknum; in snd_opl3_update_pitch() local
750 snd_opl3_calc_pitch(&fnum, &blocknum, vp->note, vp->chan); in snd_opl3_update_pitch()
754 opl3->command(opl3, opl3_reg, fnum); in snd_opl3_update_pitch()
A Dopl3_drums.c45 unsigned char fnum; member
110 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set()
A 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()
/linux/drivers/pinctrl/mediatek/
A 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()
A Dpinctrl-mtk-common.c424 struct mtk_pinctrl *pctl, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() argument
430 if (func->muxval == fnum) in mtk_pctrl_find_function_by_pin()
439 u32 pin_num, u32 fnum) in mtk_pctrl_is_function_valid() argument
451 if (func->muxval == fnum) in mtk_pctrl_is_function_valid()
464 u32 pin, u32 fnum, struct mtk_pinctrl_group *grp, in mtk_pctrl_dt_node_to_map_func() argument
476 ret = mtk_pctrl_is_function_valid(pctl, pin, fnum); in mtk_pctrl_dt_node_to_map_func()
479 fnum, pin); in mtk_pctrl_dt_node_to_map_func()
483 (*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum]; in mtk_pctrl_dt_node_to_map_func()
/linux/drivers/soc/qcom/
A Dcpr.c1081 unsigned int fnum, fc; in cpr_corner_init() local
1118 fnum = fc - 1; in cpr_corner_init()
1124 cdata[level - 1].fuse_corner = fnum; in cpr_corner_init()
1127 fuse = &drv->fuse_corners[fnum]; in cpr_corner_init()
1129 freq, dev_pm_opp_get_level(opp) - 1, fnum); in cpr_corner_init()
1175 fnum = cdata[i].fuse_corner; in cpr_corner_init()
1176 fdata = &desc->cpr_fuses.fuse_corner_data[fnum]; in cpr_corner_init()
1177 quot_offset = fuses[fnum].quotient_offset; in cpr_corner_init()
1178 fuse = &drv->fuse_corners[fnum]; in cpr_corner_init()
1179 if (fnum) in cpr_corner_init()
[all …]
/linux/drivers/pinctrl/vt8500/
A 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/drivers/media/dvb-frontends/cxd2880/
A Dcxd2880_dvbt.h66 u8 fnum; member
A Dcxd2880_tnrdmd_dvbt_mon.c282 info->fnum = (rdata[2] >> 6) & 0x03; in cxd2880_tnrdmd_dvbt_mon_tps_info()
/linux/include/uapi/sound/
A Dasound_fm.h74 unsigned int fnum; /* 10 bits: frequency number */ member
/linux/drivers/pinctrl/stm32/
A Dpinctrl-stm32.c515 u32 pin_num, u32 fnum) in stm32_pctrl_is_function_valid() argument
527 if (func->num == fnum) in stm32_pctrl_is_function_valid()
535 dev_err(pctl->dev, "invalid function %d on pin %d .\n", fnum, pin_num); in stm32_pctrl_is_function_valid()
541 u32 pin, u32 fnum, struct stm32_pinctrl_group *grp, in stm32_pctrl_dt_node_to_map_func() argument
551 if (!stm32_pctrl_is_function_valid(pctl, pin, fnum)) 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()
/linux/drivers/pinctrl/bcm/
A 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()
/linux/drivers/net/ethernet/qlogic/qlcnic/
A 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()
A Dqlcnic_hw.c650 adapter->fhash.fnum--; in qlcnic_prune_lb_filters()
665 adapter->rx_fhash.fnum--; in qlcnic_prune_lb_filters()
692 adapter->fhash.fnum--; in qlcnic_delete_lb_filters()
A Dqlcnic_main.c1932 if (adapter->fhash.fnum) in __qlcnic_down()
3751 if (adapter->fhash.fnum) in qlcnic_fw_poll_work()
A Dqlcnic.h1079 u8 fnum; member
A Dqlcnic_83xx_init.c1090 if (adapter->fhash.fnum) in qlcnic_83xx_periodic_tasks()
A Dqlcnic_sriov_common.c1896 if (adapter->fhash.fnum) in qlcnic_sriov_vf_periodic_tasks()

Completed in 68 milliseconds