Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2020 16:56:40 +0530
From:      "Kamal R. Prasad" <kamalpr@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   lpc_gpio_set_state()
Message-ID:  <CAK=yUGJUxbaeqxF=yz8TwFdhrOx7NG=j1oivZ2mBxYPue6x4gg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK=yUGJUxbaeqxF=yz8TwFdhrOx7NG=j1oivZ2mBxYPue6x4gg>