Home
last modified time | relevance | path

Searched refs:MODIFY_BITS (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/arch/arm/common/
Dsa1111.c1294 #define MODIFY_BITS(port, mask, dir) \ in sa1111_set_io_dir() macro
1303 MODIFY_BITS(gpio + SA1111_GPIO_PADDR, bits & 15, dir); in sa1111_set_io_dir()
1304 MODIFY_BITS(gpio + SA1111_GPIO_PBDDR, (bits >> 8) & 255, dir >> 8); in sa1111_set_io_dir()
1305 MODIFY_BITS(gpio + SA1111_GPIO_PCDDR, (bits >> 16) & 255, dir >> 16); in sa1111_set_io_dir()
1307 MODIFY_BITS(gpio + SA1111_GPIO_PASDR, bits & 15, sleep_dir); in sa1111_set_io_dir()
1308 MODIFY_BITS(gpio + SA1111_GPIO_PBSDR, (bits >> 8) & 255, sleep_dir >> 8); in sa1111_set_io_dir()
1309 MODIFY_BITS(gpio + SA1111_GPIO_PCSDR, (bits >> 16) & 255, sleep_dir >> 16); in sa1111_set_io_dir()
1322 MODIFY_BITS(gpio + SA1111_GPIO_PADWR, bits & 15, v); in sa1111_set_io()
1323 MODIFY_BITS(gpio + SA1111_GPIO_PBDWR, (bits >> 8) & 255, v >> 8); in sa1111_set_io()
1324 MODIFY_BITS(gpio + SA1111_GPIO_PCDWR, (bits >> 16) & 255, v >> 16); in sa1111_set_io()
[all …]