Hi Iwai-san, Mark Cc Sakamoto-san, Amadeusz, Pierre-Louis It seems we can use _Generic() more simply, v2 RFC is using it. I'm not 100% sure but unfortunately we can't use bit-field with _Generic() in gcc (clang seems possible to handle it ?). pci/ac97 is the only user of bit-field direction. To avoid posting patch-bomb, I will post main patch and some sample patches as RFC. Please review it. Link: https://lore.kernel.org/r/87zfqel1g7.wl-kuninori.morimoto.gx@xxxxxxxxxxx Thank you for your help !! Best regards --- Kuninori Morimoto