Lines Matching refs:name

70 #define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \  argument
72 .phys_addr = DT_REG_ADDR_BY_NAME(node_id, name), \
73 .size = DT_REG_SIZE_BY_NAME(node_id, name) \
130 #define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \ argument
132 .addr = (mm_reg_t)DT_REG_ADDR_BY_NAME_U64(node_id, name) \
366 #define DEVICE_MMIO_NAMED_RAM(name) mm_reg_t name argument
368 #define DEVICE_MMIO_NAMED_RAM(name) argument
382 #define DEVICE_MMIO_NAMED_RAM_PTR(dev, name) \ argument
383 (&(DEV_DATA(dev)->name))
421 #define DEVICE_MMIO_NAMED_ROM(name) struct z_device_mmio_rom name argument
435 #define DEVICE_MMIO_NAMED_ROM_PTR(dev, name) (&(DEV_CFG(dev)->name)) argument
463 #define DEVICE_MMIO_NAMED_ROM_INIT(name, node_id) \ argument
464 .name = Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
504 #define DEVICE_MMIO_NAMED_ROM_INIT_BY_NAME(name, node_id) \ argument
505 .name = Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id)
534 #define DEVICE_MMIO_NAMED_MAP(dev, name, flags) \ argument
535 device_map(DEVICE_MMIO_NAMED_RAM_PTR((dev), name), \
536 (DEVICE_MMIO_NAMED_ROM_PTR((dev), name)->phys_addr), \
537 (DEVICE_MMIO_NAMED_ROM_PTR((dev), name)->size), \
540 #define DEVICE_MMIO_NAMED_MAP(dev, name, flags) do { } while (false) argument
565 #define DEVICE_MMIO_NAMED_GET(dev, name) \ argument
566 (*DEVICE_MMIO_NAMED_RAM_PTR((dev), name))
568 #define DEVICE_MMIO_NAMED_GET(dev, name) \ argument
569 ((DEVICE_MMIO_NAMED_ROM_PTR((dev), name))->addr)
591 #define Z_TOPLEVEL_ROM_NAME(name) _CONCAT(z_mmio_rom__, name) argument
592 #define Z_TOPLEVEL_RAM_NAME(name) _CONCAT(z_mmio_ram__, name) argument
610 #define DEVICE_MMIO_TOPLEVEL(name, node_id) \ argument
612 mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
614 const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
617 #define DEVICE_MMIO_TOPLEVEL(name, node_id) \ argument
619 const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
638 #define DEVICE_MMIO_TOPLEVEL_DECLARE(name) \ argument
639 extern mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
640 extern const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name)
642 #define DEVICE_MMIO_TOPLEVEL_DECLARE(name) \ argument
643 extern const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name)
661 #define DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) \ argument
663 static mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
665 static const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
668 #define DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) \ argument
670 static const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
682 #define DEVICE_MMIO_TOPLEVEL_RAM_PTR(name) &Z_TOPLEVEL_RAM_NAME(name) argument
691 #define DEVICE_MMIO_TOPLEVEL_ROM_PTR(name) &Z_TOPLEVEL_ROM_NAME(name) argument
715 #define DEVICE_MMIO_TOPLEVEL_MAP(name, flags) \ argument
716 device_map(&Z_TOPLEVEL_RAM_NAME(name), \
717 Z_TOPLEVEL_ROM_NAME(name).phys_addr, \
718 Z_TOPLEVEL_ROM_NAME(name).size, (flags))
720 #define DEVICE_MMIO_TOPLEVEL_MAP(name, flags) do { } while (false) argument
734 #define DEVICE_MMIO_TOPLEVEL_GET(name) \ argument
735 ((mm_reg_t)Z_TOPLEVEL_RAM_NAME(name))
737 #define DEVICE_MMIO_TOPLEVEL_GET(name) \ argument
738 ((mm_reg_t)Z_TOPLEVEL_ROM_NAME(name).addr)