kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* how to check regmap start address
@ 2020-04-02 11:48 Tomek The Messenger
  2020-04-02 11:58 ` Valentin Vidić
  2020-04-02 12:14 ` Greg KH
  0 siblings, 2 replies; 5+ messages in thread
From: Tomek The Messenger @ 2020-04-02 11:48 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]

Hi
Let's see how it looks:
https://github.com/u-boot/u-boot/blob/master/include/regmap.h

I first time ever see such thing like this:
struct regmap_range {
ulong start;
ulong size;
};
struct regmap {
enum regmap_endianness_t endianness;
int range_count;
struct regmap_range ranges[0];
};

How I can get access to variable ranges it if is 0 size? Who develops this
one and who reviewed:)
Anyway If I have pointer to regmap can I check what is start variable in
some other way?

[-- Attachment #1.2: Type: text/html, Size: 7467 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-04  9:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02 11:48 how to check regmap start address Tomek The Messenger
2020-04-02 11:58 ` Valentin Vidić
2020-04-02 12:14 ` Greg KH
2020-04-03 12:39   ` Tomek The Messenger
2020-04-04  9:00     ` Tomek The Messenger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).