Lines Matching refs:name

338 #define DEVICE_MMIO_NAMED_RAM(name)	mm_reg_t name  argument
340 #define DEVICE_MMIO_NAMED_RAM(name) argument
356 #define DEVICE_MMIO_NAMED_RAM_PTR(dev, name) \ argument
357 (&(DEV_DATA(dev)->name))
393 #define DEVICE_MMIO_NAMED_ROM(name) struct z_device_mmio_rom name argument
409 #define DEVICE_MMIO_NAMED_ROM_PTR(dev, name) (&(DEV_CFG(dev)->name)) argument
435 #define DEVICE_MMIO_NAMED_ROM_INIT(name, node_id) \ argument
436 .name = Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
467 #define DEVICE_MMIO_NAMED_MAP(dev, name, flags) \ argument
468 device_map(DEVICE_MMIO_NAMED_RAM_PTR((dev), name), \
469 (DEVICE_MMIO_NAMED_ROM_PTR((dev), name)->phys_addr), \
470 (DEVICE_MMIO_NAMED_ROM_PTR((dev), name)->size), \
473 #define DEVICE_MMIO_NAMED_MAP(dev, name, flags) do { } while (0) argument
498 #define DEVICE_MMIO_NAMED_GET(dev, name) \ argument
499 (*DEVICE_MMIO_NAMED_RAM_PTR((dev), name))
501 #define DEVICE_MMIO_NAMED_GET(dev, name) \ argument
502 ((DEVICE_MMIO_NAMED_ROM_PTR((dev), name))->addr)
524 #define Z_TOPLEVEL_ROM_NAME(name) _CONCAT(z_mmio_rom__, name) argument
525 #define Z_TOPLEVEL_RAM_NAME(name) _CONCAT(z_mmio_ram__, name) argument
543 #define DEVICE_MMIO_TOPLEVEL(name, node_id) \ argument
545 mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
547 const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
550 #define DEVICE_MMIO_TOPLEVEL(name, node_id) \ argument
552 const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
571 #define DEVICE_MMIO_TOPLEVEL_DECLARE(name) \ argument
572 extern mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
573 extern const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name)
575 #define DEVICE_MMIO_TOPLEVEL_DECLARE(name) \ argument
576 extern const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name)
594 #define DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) \ argument
596 static mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
598 static const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
601 #define DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) \ argument
603 static const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
617 #define DEVICE_MMIO_TOPLEVEL_RAM_PTR(name) &Z_TOPLEVEL_RAM_NAME(name) argument
628 #define DEVICE_MMIO_TOPLEVEL_ROM_PTR(name) &Z_TOPLEVEL_ROM_NAME(name) argument
652 #define DEVICE_MMIO_TOPLEVEL_MAP(name, flags) \ argument
653 device_map(&Z_TOPLEVEL_RAM_NAME(name), \
654 Z_TOPLEVEL_ROM_NAME(name).phys_addr, \
655 Z_TOPLEVEL_ROM_NAME(name).size, flags)
657 #define DEVICE_MMIO_TOPLEVEL_MAP(name, flags) do { } while (0) argument
671 #define DEVICE_MMIO_TOPLEVEL_GET(name) \ argument
672 ((mm_reg_t)Z_TOPLEVEL_RAM_NAME(name))
674 #define DEVICE_MMIO_TOPLEVEL_GET(name) \ argument
675 ((mm_reg_t)Z_TOPLEVEL_ROM_NAME(name).addr)