lpc_gpio_set_state()

"Kamal R. Prasad" <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CAK=yUGJUxbaeqxF=yz8TwFdhrOx7NG=j1oivZ2mBxYPue6x4gg@mail.gmail.com>
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.