Home
last modified time | relevance | path

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

/drivers/soc/qcom/
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 …]
/drivers/pinctrl/mediatek/
Dpinctrl-paris.c378 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() argument
384 if (func->muxval == fnum) in mtk_pctrl_find_function_by_pin()
393 u32 fnum) in mtk_pctrl_is_function_valid() argument
404 if (func->muxval == fnum) in mtk_pctrl_is_function_valid()
417 u32 pin, u32 fnum, in mtk_pctrl_dt_node_to_map_func() argument
431 ret = mtk_pctrl_is_function_valid(pctl, pin, fnum); in mtk_pctrl_dt_node_to_map_func()
434 fnum, pin); in mtk_pctrl_dt_node_to_map_func()
438 (*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum]; in mtk_pctrl_dt_node_to_map_func()
Dpinctrl-mtk-common.c444 struct mtk_pinctrl *pctl, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() argument
450 if (func->muxval == fnum) in mtk_pctrl_find_function_by_pin()
459 u32 pin_num, u32 fnum) in mtk_pctrl_is_function_valid() argument
471 if (func->muxval == fnum) in mtk_pctrl_is_function_valid()
484 u32 pin, u32 fnum, struct mtk_pinctrl_group *grp, in mtk_pctrl_dt_node_to_map_func() argument
496 ret = mtk_pctrl_is_function_valid(pctl, pin, fnum); in mtk_pctrl_dt_node_to_map_func()
499 fnum, pin); in mtk_pctrl_dt_node_to_map_func()
503 (*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum]; in mtk_pctrl_dt_node_to_map_func()
/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()
/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()
/drivers/pinctrl/stm32/
Dpinctrl-stm32.c539 u32 pin_num, u32 fnum) in stm32_pctrl_is_function_valid() argument
551 if (func->num == fnum) in stm32_pctrl_is_function_valid()
559 dev_err(pctl->dev, "invalid function %d on pin %d .\n", fnum, pin_num); in stm32_pctrl_is_function_valid()
565 u32 pin, u32 fnum, struct stm32_pinctrl_group *grp, in stm32_pctrl_dt_node_to_map_func() argument
575 if (!stm32_pctrl_is_function_valid(pctl, pin, fnum)) in stm32_pctrl_dt_node_to_map_func()
578 (*map)[*num_maps].data.mux.function = stm32_gpio_functions[fnum]; in stm32_pctrl_dt_node_to_map_func()
/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c768 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()
/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.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()
Dqlcnic_main.c1933 if (adapter->fhash.fnum) in __qlcnic_down()
3740 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.c1897 if (adapter->fhash.fnum) in qlcnic_sriov_vf_periodic_tasks()