Searched refs:HAL_INSTANCE (Results 1 – 8 of 8) sorted by relevance
22 #define HAL_INSTANCE(dev) \ macro50 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()
92 #define HAL_INSTANCE(dev) ((struct twd_reg *)((const struct wdt_npcx_config *)(dev)->config)->base) macro97 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()
78 #define HAL_INSTANCE(dev) \ macro95 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()
49 #define HAL_INSTANCE(dev) \ macro106 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()
76 #define HAL_INSTANCE(dev) \ macro254 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 …]
60 #define HAL_INSTANCE(dev) \ macro99 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 …]
32 #define HAL_INSTANCE(dev) (struct shi_reg *)(((const struct shi_npcx_config *)(dev)->config)->base) macro264 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 …]
131 #define HAL_INSTANCE(dev) ((struct adc_reg *)((const struct adc_npcx_config *)(dev)->config)->base) macro154 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()