Lines Matching refs:name

69 #define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \  argument
71 .phys_addr = DT_REG_ADDR_BY_NAME(node_id, name), \
72 .size = DT_REG_SIZE_BY_NAME(node_id, name) \
129 #define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \ argument
131 .addr = (mm_reg_t)DT_REG_ADDR_BY_NAME_U64(node_id, name) \
349 #define DEVICE_MMIO_NAMED_RAM(name) mm_reg_t name argument
351 #define DEVICE_MMIO_NAMED_RAM(name) argument
365 #define DEVICE_MMIO_NAMED_RAM_PTR(dev, name) \ argument
366 (&(DEV_DATA(dev)->name))
400 #define DEVICE_MMIO_NAMED_ROM(name) struct z_device_mmio_rom name argument
414 #define DEVICE_MMIO_NAMED_ROM_PTR(dev, name) (&(DEV_CFG(dev)->name)) argument
438 #define DEVICE_MMIO_NAMED_ROM_INIT(name, node_id) \ argument
439 .name = Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
479 #define DEVICE_MMIO_NAMED_ROM_INIT_BY_NAME(name, node_id) \ argument
480 .name = Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id)
509 #define DEVICE_MMIO_NAMED_MAP(dev, name, flags) \ argument
510 device_map(DEVICE_MMIO_NAMED_RAM_PTR((dev), name), \
511 (DEVICE_MMIO_NAMED_ROM_PTR((dev), name)->phys_addr), \
512 (DEVICE_MMIO_NAMED_ROM_PTR((dev), name)->size), \
515 #define DEVICE_MMIO_NAMED_MAP(dev, name, flags) do { } while (false) argument
540 #define DEVICE_MMIO_NAMED_GET(dev, name) \ argument
541 (*DEVICE_MMIO_NAMED_RAM_PTR((dev), name))
543 #define DEVICE_MMIO_NAMED_GET(dev, name) \ argument
544 ((DEVICE_MMIO_NAMED_ROM_PTR((dev), name))->addr)
566 #define Z_TOPLEVEL_ROM_NAME(name) _CONCAT(z_mmio_rom__, name) argument
567 #define Z_TOPLEVEL_RAM_NAME(name) _CONCAT(z_mmio_ram__, name) argument
585 #define DEVICE_MMIO_TOPLEVEL(name, node_id) \ argument
587 mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
589 const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
592 #define DEVICE_MMIO_TOPLEVEL(name, node_id) \ argument
594 const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
613 #define DEVICE_MMIO_TOPLEVEL_DECLARE(name) \ argument
614 extern mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
615 extern const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name)
617 #define DEVICE_MMIO_TOPLEVEL_DECLARE(name) \ argument
618 extern const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name)
636 #define DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) \ argument
638 static mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
640 static const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
643 #define DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) \ argument
645 static const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
657 #define DEVICE_MMIO_TOPLEVEL_RAM_PTR(name) &Z_TOPLEVEL_RAM_NAME(name) argument
666 #define DEVICE_MMIO_TOPLEVEL_ROM_PTR(name) &Z_TOPLEVEL_ROM_NAME(name) argument
690 #define DEVICE_MMIO_TOPLEVEL_MAP(name, flags) \ argument
691 device_map(&Z_TOPLEVEL_RAM_NAME(name), \
692 Z_TOPLEVEL_ROM_NAME(name).phys_addr, \
693 Z_TOPLEVEL_ROM_NAME(name).size, flags)
695 #define DEVICE_MMIO_TOPLEVEL_MAP(name, flags) do { } while (false) argument
709 #define DEVICE_MMIO_TOPLEVEL_GET(name) \ argument
710 ((mm_reg_t)Z_TOPLEVEL_RAM_NAME(name))
712 #define DEVICE_MMIO_TOPLEVEL_GET(name) \ argument
713 ((mm_reg_t)Z_TOPLEVEL_ROM_NAME(name).addr)