Home
last modified time | relevance | path

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

/linux/drivers/media/pci/cobalt/
H A Dcobalt-flash.c16 #define ADRS(offset) (COBALT_BUS_FLASH_BASE + offset) macro
29 r.x[0] = cobalt_bus_read32(map->virt, ADRS(offset)); in flash_read16()
43 cobalt_bus_write16(map->virt, ADRS(offset), data); in flash_write16()
54 data = cobalt_bus_read32(map->virt, ADRS(src)); in flash_copy_from()
81 cobalt_bus_write16(map->virt, ADRS(dest - 2), data); in flash_copy_to()
H A Dcobalt-cpld.c13 #define ADRS(offset) (COBALT_BUS_CPLD_BASE + offset) macro
17 return cobalt_bus_read32(cobalt->bar1, ADRS(offset)); in cpld_read()
22 return cobalt_bus_write32(cobalt->bar1, ADRS(offset), val); in cpld_write()