/linux-6.6.21/drivers/xen/ |
D | sys-hypervisor.c | 446 for (unsigned fnum = 0; fnum != FLAG_COUNT; fnum++) { in xen_sysfs_flags_init() local 447 if (likely(flag_attrs[fnum].attr.name == NULL)) { in xen_sysfs_flags_init() 448 sprintf(flag_unames[fnum], FLAG_UNAME_FMT, fnum); in xen_sysfs_flags_init() 449 flag_attrs[fnum].attr.name = flag_unames[fnum]; in xen_sysfs_flags_init() 450 flag_attrs[fnum].attr.mode = 0444; in xen_sysfs_flags_init() 451 flag_attrs[fnum].show = flag_show; in xen_sysfs_flags_init() 452 flag_attrs[fnum].hyp_attr_value = 1 << fnum; in xen_sysfs_flags_init() 454 xen_flags_group.attrs[fnum] = &flag_attrs[fnum].attr; in xen_sysfs_flags_init()
|
/linux-6.6.21/sound/drivers/opl3/ |
D | opl3_midi.c | 79 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()
|
D | opl3_drums.c | 45 unsigned char fnum; member 110 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set()
|
D | opl3_synth.c | 416 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-6.6.21/drivers/pinctrl/mediatek/ |
D | pinctrl-paris.c | 383 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() argument 389 if (func->muxval == fnum) in mtk_pctrl_find_function_by_pin() 398 u32 fnum) in mtk_pctrl_is_function_valid() argument 409 if (func->muxval == fnum) in mtk_pctrl_is_function_valid() 422 u32 pin, u32 fnum, in mtk_pctrl_dt_node_to_map_func() argument 436 ret = mtk_pctrl_is_function_valid(pctl, pin, fnum); in mtk_pctrl_dt_node_to_map_func() 439 fnum, pin); in mtk_pctrl_dt_node_to_map_func() 443 (*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum]; in mtk_pctrl_dt_node_to_map_func()
|
D | pinctrl-mtk-common.c | 457 struct mtk_pinctrl *pctl, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() argument 463 if (func->muxval == fnum) in mtk_pctrl_find_function_by_pin() 472 u32 pin_num, u32 fnum) in mtk_pctrl_is_function_valid() argument 484 if (func->muxval == fnum) in mtk_pctrl_is_function_valid() 497 u32 pin, u32 fnum, struct mtk_pinctrl_group *grp, in mtk_pctrl_dt_node_to_map_func() argument 509 ret = mtk_pctrl_is_function_valid(pctl, pin, fnum); in mtk_pctrl_dt_node_to_map_func() 512 fnum, pin); in mtk_pctrl_dt_node_to_map_func() 516 (*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum]; in mtk_pctrl_dt_node_to_map_func()
|
/linux-6.6.21/drivers/pmdomain/qcom/ |
D | cpr.c | 1080 unsigned int fnum, fc; in cpr_corner_init() local 1117 fnum = fc - 1; in cpr_corner_init() 1123 cdata[level - 1].fuse_corner = fnum; in cpr_corner_init() 1126 fuse = &drv->fuse_corners[fnum]; in cpr_corner_init() 1128 freq, dev_pm_opp_get_level(opp) - 1, fnum); in cpr_corner_init() 1174 fnum = cdata[i].fuse_corner; in cpr_corner_init() 1175 fdata = &desc->cpr_fuses.fuse_corner_data[fnum]; in cpr_corner_init() 1176 quot_offset = fuses[fnum].quotient_offset; in cpr_corner_init() 1177 fuse = &drv->fuse_corners[fnum]; in cpr_corner_init() 1178 if (fnum) in cpr_corner_init() [all …]
|
/linux-6.6.21/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_dvbt.h | 66 u8 fnum; member
|
D | cxd2880_tnrdmd_dvbt_mon.c | 282 info->fnum = (rdata[2] >> 6) & 0x03; in cxd2880_tnrdmd_dvbt_mon_tps_info()
|
/linux-6.6.21/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.c | 209 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-6.6.21/include/uapi/sound/ |
D | asound_fm.h | 59 unsigned int fnum; /* 10 bits: frequency number */ member
|
/linux-6.6.21/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 540 u32 pin_num, u32 fnum) in stm32_pctrl_is_function_valid() argument 552 if (func->num == fnum) in stm32_pctrl_is_function_valid() 560 dev_err(pctl->dev, "invalid function %d on pin %d .\n", fnum, pin_num); in stm32_pctrl_is_function_valid() 566 u32 pin, u32 fnum, struct stm32_pinctrl_group *grp, in stm32_pctrl_dt_node_to_map_func() argument 576 if (!stm32_pctrl_is_function_valid(pctl, pin, fnum)) in stm32_pctrl_dt_node_to_map_func() 579 (*map)[*num_maps].data.mux.function = stm32_gpio_functions[fnum]; in stm32_pctrl_dt_node_to_map_func()
|
/linux-6.6.21/drivers/pinctrl/bcm/ |
D | pinctrl-bcm2835.c | 768 struct device_node *np, u32 pin, u32 fnum, in bcm2835_pctl_dt_node_to_map_func() argument 773 if (fnum >= ARRAY_SIZE(bcm2835_functions)) { in bcm2835_pctl_dt_node_to_map_func() 774 dev_err(pc->dev, "%pOF: invalid brcm,function %d\n", np, fnum); in bcm2835_pctl_dt_node_to_map_func() 780 map->data.mux.function = bcm2835_functions[fnum]; in bcm2835_pctl_dt_node_to_map_func()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 172 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()
|
D | qlcnic_hw.c | 650 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()
|
D | qlcnic_main.c | 1932 if (adapter->fhash.fnum) in __qlcnic_down() 3736 if (adapter->fhash.fnum) in qlcnic_fw_poll_work()
|
D | qlcnic.h | 1079 u8 fnum; member
|
D | qlcnic_83xx_init.c | 1090 if (adapter->fhash.fnum) in qlcnic_83xx_periodic_tasks()
|
D | qlcnic_sriov_common.c | 1897 if (adapter->fhash.fnum) in qlcnic_sriov_vf_periodic_tasks()
|