Searched refs:portval (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/char/ |
H A D | dtlk.c | 275 char portval; in dtlk_ioctl() local 289 portval = inb_p(dtlk_port_tts); in dtlk_ioctl() 290 return put_user(portval, argp); in dtlk_ioctl() 568 int portval, retries = 0; in dtlk_read_tts() local 574 portval = inb_p(dtlk_port_tts); in dtlk_read_tts() 575 } while ((portval & TTS_READABLE) == 0 && in dtlk_read_tts() 586 portval = inb_p(dtlk_port_tts); in dtlk_read_tts() 587 } while ((portval & TTS_READABLE) != 0 && in dtlk_read_tts()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | mscc_sgpio.c | 163 u32 portval = sgpio_readl(priv, REG_PORT_CONFIG, port); in mscc_sgpio_get_value() local 165 ret = MSCC_X_PORT_CFG_BIT_SOURCE(priv, portval); in mscc_sgpio_get_value()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-microchip-sgpio.c | 328 u32 val, portval = sgpio_readl(priv, REG_PORT_CONFIG, addr->port); in sgpio_output_get() local 333 val = FIELD_GET(SGPIO_LUTON_BIT_SOURCE, portval); in sgpio_output_get() 336 val = FIELD_GET(SGPIO_OCELOT_BIT_SOURCE, portval); in sgpio_output_get() 339 val = FIELD_GET(SGPIO_SPARX5_BIT_SOURCE, portval); in sgpio_output_get()
|