Searched refs:pin_func (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/arch/mips/alchemy/ |
H A D | board-xxs1500.c | 51 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 D | pinctrl-lantiq.c | 265 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 D | tsc2005.c | 53 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 D | tsc210x.c | 71 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 D | testptp.c | 186 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 D | sppctl.c | 825 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 D | i40e_common.c | 1274 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()
|