Home
last modified time | relevance | path

Searched refs:HAL_INSTANCE (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_npcx_fiu_qspi.c22 #define HAL_INSTANCE(dev) \ macro
50 struct fiu_reg *const inst = HAL_INSTANCE(dev); in qspi_npcx_uma_cs_level()
62 struct fiu_reg *const inst = HAL_INSTANCE(dev); in qspi_npcx_uma_write_byte()
75 struct fiu_reg *const inst = HAL_INSTANCE(dev); in qspi_npcx_uma_read_byte()
90 struct fiu_reg *const inst = HAL_INSTANCE(dev); in qspi_npcx_config_uma_mode()
103 struct fiu_reg *const inst = HAL_INSTANCE(dev); in qspi_npcx_config_dra_4byte_mode()
127 struct fiu_reg *const inst = HAL_INSTANCE(dev); in qspi_npcx_config_dra_mode()
273 struct fiu_reg *const inst = HAL_INSTANCE(dev); in qspi_npcx_fiu_init()
/Zephyr-latest/drivers/watchdog/
Dwdt_npcx.c92 #define HAL_INSTANCE(dev) ((struct twd_reg *)((const struct wdt_npcx_config *)(dev)->config)->base) macro
97 struct twd_reg *const inst = HAL_INSTANCE(dev); in wdt_t0out_reload()
120 struct twd_reg *const inst = HAL_INSTANCE(dev); in wdt_wait_stopped()
175 struct twd_reg *const inst = HAL_INSTANCE(dev); in wdt_npcx_install_timeout()
211 struct twd_reg *const inst = HAL_INSTANCE(dev); in wdt_npcx_setup()
288 struct twd_reg *const inst = HAL_INSTANCE(dev); in wdt_npcx_disable()
320 struct twd_reg *const inst = HAL_INSTANCE(dev); in wdt_npcx_feed()
340 struct twd_reg *const inst = HAL_INSTANCE(dev); in wdt_npcx_init()
/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_tach_npcx/
Dtach_nuvoton_npcx.c78 #define HAL_INSTANCE(dev) \ macro
95 struct tach_reg *const inst = HAL_INSTANCE(dev); in tach_npcx_start_port_a()
118 struct tach_reg *const inst = HAL_INSTANCE(dev); in tach_npcx_start_port_b()
143 struct tach_reg *const inst = HAL_INSTANCE(dev); in tach_npcx_is_underflow()
163 struct tach_reg *const inst = HAL_INSTANCE(dev); in tach_npcx_clear_underflow_flag()
175 struct tach_reg *const inst = HAL_INSTANCE(dev); in tach_npcx_is_captured()
195 struct tach_reg *const inst = HAL_INSTANCE(dev); in tach_npcx_clear_captured_flag()
207 struct tach_reg *const inst = HAL_INSTANCE(dev); in tach_npcx_get_captured_count()
221 struct tach_reg *const inst = HAL_INSTANCE(dev); in tach_npcx_configure()
/Zephyr-latest/drivers/gpio/
Dgpio_npcx.c49 #define HAL_INSTANCE(dev) \ macro
106 struct gpio_reg *const inst = HAL_INSTANCE(dev); in gpio_npcx_config()
185 struct gpio_reg *const inst = HAL_INSTANCE(port); in gpio_npcx_pin_get_config()
233 struct gpio_reg *const inst = HAL_INSTANCE(dev); in gpio_npcx_port_get_raw()
245 struct gpio_reg *const inst = HAL_INSTANCE(dev); in gpio_npcx_port_set_masked_raw()
256 struct gpio_reg *const inst = HAL_INSTANCE(dev); in gpio_npcx_port_set_bits_raw()
267 struct gpio_reg *const inst = HAL_INSTANCE(dev); in gpio_npcx_port_clear_bits_raw()
278 struct gpio_reg *const inst = HAL_INSTANCE(dev); in gpio_npcx_port_toggle_bits()
/Zephyr-latest/drivers/espi/
Despi_npcx.c76 #define HAL_INSTANCE(dev) \ macro
254 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_bus_err_isr()
278 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_npcx_flash_fake_request()
292 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_bus_cfg_update_isr()
360 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_bus_oob_rx_isr()
384 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_taf_parse()
421 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_bus_flash_rx_isr()
468 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_bus_generic_isr()
498 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_vw_config_input()
515 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_vw_config_output()
[all …]
Despi_taf_npcx.c60 #define HAL_INSTANCE(dev) \ macro
99 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_taf_check_read_protect()
129 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_taf_check_write_protect()
156 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_taf_npcx_configure()
173 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_taf_npcx_set_pr()
218 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_taf_npcx_activate()
228 struct espi_reg *const inst = HAL_INSTANCE(dev); in espi_taf_npcx_channel_ready()
246 struct espi_reg *const inst = HAL_INSTANCE(dev); in taf_set_flash_c_avail()
263 struct espi_reg *const inst = HAL_INSTANCE(dev); in taf_release_flash_np_free()
280 struct espi_reg *const inst = HAL_INSTANCE(dev); in taf_npcx_completion_handler()
[all …]
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi_npcx.c32 #define HAL_INSTANCE(dev) (struct shi_reg *)(((const struct shi_npcx_config *)(dev)->config)->base) macro
264 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_read_inbuf_wait()
336 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_bad_received_data()
363 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_write_first_pkg_outbuf()
407 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_handle_host_package()
560 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_handle_cs_assert()
593 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_handle_cs_deassert()
634 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_handle_input_buf_half_full()
660 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_handle_input_buf_full()
687 struct shi_reg *const inst = HAL_INSTANCE(dev); in shi_npcx_isr()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_npcx.c131 #define HAL_INSTANCE(dev) ((struct adc_reg *)((const struct adc_npcx_config *)(dev)->config)->base) macro
154 struct adc_reg *const inst = HAL_INSTANCE(dev); in adc_npcx_config_channels()
190 struct adc_reg *const inst = HAL_INSTANCE(dev); in adc_npcx_isr()
300 struct adc_reg *const inst = HAL_INSTANCE(dev); in adc_npcx_start_scan()
463 struct adc_reg *const inst = HAL_INSTANCE(dev); in adc_npcx_set_repetitive()
615 struct adc_reg *const inst = HAL_INSTANCE(dev); in adc_npcx_threshold_enable_irq()
664 struct adc_reg *const inst = HAL_INSTANCE(dev); in adc_npcx_threshold_disable_irq()
775 struct adc_reg *const inst = HAL_INSTANCE(dev); in adc_npcx_init()