Searched refs:ADRS (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/pci/cobalt/
H A Dcobalt-flash.c28 #define ADRS(offset) (COBALT_BUS_FLASH_BASE + offset) macro
41 r.x[0] = cobalt_bus_read32(map->virt, ADRS(offset)); flash_read16()
55 cobalt_bus_write16(map->virt, ADRS(offset), data); flash_write16()
66 data = cobalt_bus_read32(map->virt, ADRS(src)); flash_copy_from()
93 cobalt_bus_write16(map->virt, ADRS(dest - 2), data); flash_copy_to()
H A Dcobalt-cpld.c25 #define ADRS(offset) (COBALT_BUS_CPLD_BASE + offset) macro
29 return cobalt_bus_read32(cobalt->bar1, ADRS(offset)); cpld_read()
34 return cobalt_bus_write32(cobalt->bar1, ADRS(offset), val); cpld_write()

Completed in 242 milliseconds