Home
last modified time | relevance | path

Searched refs:pin_func (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/arch/mips/alchemy/
Dboard-xxs1500.c51 u32 pin_func; in board_setup() local
61 pin_func = alchemy_rdsys(AU1000_SYS_PINFUNC) & ~SYS_PF_UR3; in board_setup()
62 pin_func |= SYS_PF_UR3; in board_setup()
63 alchemy_wrsys(pin_func, AU1000_SYS_PINFUNC); in board_setup()
/Linux-v6.6/drivers/pinctrl/
Dpinctrl-lantiq.c265 int i, pin, pin_func, ret; in ltq_pmx_set() local
280 pin_func = match_mux(&info->mfp[pin], pin_grp->mux); in ltq_pmx_set()
281 ret = info->apply_mux(pctrldev, pin, pin_func); in ltq_pmx_set()
285 pin_func, pin); in ltq_pmx_set()
298 int pin_func; in ltq_pmx_gpio_request_enable() local
305 pin_func = match_mux(&info->mfp[mfp], 0); in ltq_pmx_gpio_request_enable()
306 if (pin_func < 0) { in ltq_pmx_gpio_request_enable()
311 return info->apply_mux(pctrldev, mfp, pin_func); in ltq_pmx_gpio_request_enable()
/Linux-v6.6/tools/testing/selftests/ptp/
Dtestptp.c186 int pin_index = -1, pin_func; in main() local
230 cnt = sscanf(optarg, "%d,%d", &pin_index, &pin_func); in main()
407 desc.func = pin_func; in main()
/Linux-v6.6/drivers/pinctrl/sunplus/
Dsppctl.c825 u8 pin_num, pin_type, pin_func; in sppctl_dt_node_to_map() local
875 pin_func = FIELD_GET(GENMASK(15, 8), dt_pin); in sppctl_dt_node_to_map()
909 (*map)[i].data.mux.function = sppctl_list_funcs[pin_func].name; in sppctl_dt_node_to_map()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_common.c1270 u32 pin_func = 0; in i40e_led_set() local
1273 pin_func = I40E_PIN_FUNC_SDP; in i40e_led_set()
1275 pin_func = I40E_PIN_FUNC_LED; in i40e_led_set()
1278 gpio_val |= ((pin_func << in i40e_led_set()