Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/alchemy/
H A 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()
/openbmc/linux/drivers/pinctrl/
H A 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()
/openbmc/qemu/hw/input/
H A Dtsc2005.c53 uint8_t pin_func; member
176 return (s->pin_func << 14) | s->filter; in tsc2005_read()
224 s->pin_func = (data >> 14) & 3; in tsc2005_write()
241 switch (s->pin_func) { in tsc2005_pin_update()
314 s->pin_func = 0; in tsc2005_reset()
491 VMSTATE_UINT8(pin_func, TSC2005State),
H A Dtsc210x.c71 uint8_t pin_func; member
166 s->pin_func = 2; in tsc210x_reset()
422 return (s->pin_func << 14) | ((!s->enabled) << 13) | in tsc2102_control_register_read()
583 s->pin_func = value >> 14; in tsc2102_control_register_write()
780 switch (s->pin_func) { in tsc210x_pin_update()
1034 VMSTATE_UINT8(pin_func, TSC210xState),
/openbmc/linux/tools/testing/selftests/ptp/
H A 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()
/openbmc/linux/drivers/pinctrl/sunplus/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c1274 u32 pin_func = 0; in i40e_led_set() local
1277 pin_func = I40E_PIN_FUNC_SDP; in i40e_led_set()
1279 pin_func = I40E_PIN_FUNC_LED; in i40e_led_set()
1282 gpio_val |= ((pin_func << in i40e_led_set()