lpc_gpio_set_state()

Kamal R. Prasad kamalpr at gmail.com
Sat Sep 12 11:26:53 UTC 2020


hello,

 i am not able to locate the definition of this function:-
lpc_gpio_set_state()
Its used in this function.
https://socsvn.freebsd.org/socsvn/soc2015/mihai/bhyve-on-arm-head/sys/arm/lpc/lpc_spi.c
 Also, I saw on
https://elixir.bootlin.com/linux/v4.5/source/drivers/spi/spi-pl022.c
that line 85 defines

#define SSP_CSR
<https://elixir.bootlin.com/linux/v4.5/source/drivers/spi/v4.5/C/ident/SSP_CSR>(r)	(r
+ 0x030) /* vendor extension */

is it that for pl022 we should write the chip select vlaue to that register?

thanks

-kamal


More information about the freebsd-arm mailing list