Home
last modified time | relevance | path

Searched refs:hal (Results 1 – 25 of 63) sorted by relevance

123

/Zephyr-latest/drivers/sensor/espressif/pcnt_esp32/
Dpcnt_esp32.c45 pcnt_hal_context_t hal; member
95 unit_config->count_val_acc = pcnt_ll_get_count(data->hal.dev, i); in pcnt_esp32_sample_fetch()
149 pcnt_hal_init(&data->hal, 0); in pcnt_esp32_init()
158 pcnt_ll_enable_thres_event(data->hal.dev, i, 0, false); in pcnt_esp32_init()
159 pcnt_ll_enable_thres_event(data->hal.dev, i, 1, false); in pcnt_esp32_init()
160 pcnt_ll_enable_low_limit_event(data->hal.dev, i, false); in pcnt_esp32_init()
161 pcnt_ll_enable_high_limit_event(data->hal.dev, i, false); in pcnt_esp32_init()
162 pcnt_ll_enable_zero_cross_event(data->hal.dev, i, false); in pcnt_esp32_init()
163 pcnt_ll_set_edge_action(data->hal.dev, i, 0, in pcnt_esp32_init()
166 pcnt_ll_set_edge_action(data->hal.dev, i, 1, in pcnt_esp32_init()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_esp32.c64 i2c_hal_context_t hal; member
208 i2c_ll_master_clr_bus(data->hal.dev); in i2c_master_clear_bus()
210 i2c_ll_update(data->hal.dev); in i2c_master_clear_bus()
226 i2c_ll_get_scl_timing(data->hal.dev, &scl_high_period, &scl_low_period); in i2c_hw_fsm_reset()
227 i2c_ll_get_start_timing(data->hal.dev, &scl_rstart_setup, &scl_start_hold); in i2c_hw_fsm_reset()
228 i2c_ll_get_stop_timing(data->hal.dev, &scl_stop_setup, &scl_stop_hold); in i2c_hw_fsm_reset()
229 i2c_ll_get_sda_timing(data->hal.dev, &sda_sample, &sda_hold); in i2c_hw_fsm_reset()
230 i2c_ll_get_tout(data->hal.dev, &timeout); in i2c_hw_fsm_reset()
231 i2c_ll_get_filter(data->hal.dev, &filter_cfg); in i2c_hw_fsm_reset()
238 i2c_hal_master_init(&data->hal); in i2c_hw_fsm_reset()
[all …]
DKconfig.sedi14 bare metal I2C driver in the hal-intel module
/Zephyr-latest/drivers/pwm/
Dpwm_mc_esp32.c48 mcpwm_hal_context_t hal; member
123 mcpwm_ll_operator_connect_timer(data->hal.dev, channel->operator_id, channel->timer_id); in mcpwm_esp32_duty_set()
124 mcpwm_ll_operator_set_compare_value(data->hal.dev, channel->operator_id, in mcpwm_esp32_duty_set()
126 mcpwm_ll_operator_enable_update_compare_on_tez(data->hal.dev, channel->operator_id, in mcpwm_esp32_duty_set()
131 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
134 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
137 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
141 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
144 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
147 data->hal.dev, channel->operator_id, channel->generator_id, in mcpwm_esp32_duty_set()
[all …]
Dpwm_led_esp32.c37 ledc_hal_context_t hal; member
79 ledc_hal_ls_channel_update(&data->hal, channel); in pwm_led_esp32_low_speed_update()
87 ledc_hal_set_sig_out_en(&data->hal, channel, true); in pwm_led_esp32_update_duty()
88 ledc_hal_set_duty_start(&data->hal, channel, true); in pwm_led_esp32_update_duty()
98 ledc_hal_set_hpoint(&data->hal, channel->channel_num, 0); in pwm_led_esp32_duty_set()
99 ledc_hal_set_duty_int_part(&data->hal, channel->channel_num, channel->duty_val); in pwm_led_esp32_duty_set()
100 ledc_hal_set_duty_direction(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
101 ledc_hal_set_duty_num(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
102 ledc_hal_set_duty_cycle(&data->hal, channel->channel_num, 1); in pwm_led_esp32_duty_set()
103 ledc_hal_set_duty_scale(&data->hal, channel->channel_num, 0); in pwm_led_esp32_duty_set()
[all …]
/Zephyr-latest/drivers/dma/
Ddma_esp32_gdma.c42 gdma_hal_context_t hal; member
86 gdma_ll_rx_clear_interrupt_status(data->hal.dev, rx->channel_id, intr_status); in dma_esp32_isr_handle_rx()
110 gdma_ll_tx_clear_interrupt_status(data->hal.dev, tx->channel_id, intr_status); in dma_esp32_isr_handle_tx()
128 intr_status = gdma_ll_rx_get_interrupt_status(data->hal.dev, dma_channel_rx->channel_id); in dma_esp32_isr_handle()
133 intr_status = gdma_ll_tx_get_interrupt_status(data->hal.dev, dma_channel_tx->channel_id); in dma_esp32_isr_handle()
194 gdma_ll_rx_reset_channel(data->hal.dev, dma_channel->channel_id); in dma_esp32_config_rx()
197 data->hal.dev, dma_channel->channel_id, in dma_esp32_config_rx()
207 gdma_ll_rx_enable_data_burst(data->hal.dev, dma_channel->channel_id, in dma_esp32_config_rx()
209 gdma_ll_rx_enable_descriptor_burst(data->hal.dev, dma_channel->channel_id, in dma_esp32_config_rx()
216 gdma_ll_rx_clear_interrupt_status(data->hal.dev, dma_channel->channel_id, UINT32_MAX); in dma_esp32_config_rx()
[all …]
/Zephyr-latest/drivers/serial/
Duart_esp32.c115 uart_hal_context_t hal; member
140 if (uart_hal_get_rxfifo_len(&data->hal) == 0) { in uart_esp32_poll_in()
144 uart_hal_read_rxfifo(&data->hal, p_char, &inout_rd_len); in uart_esp32_poll_in()
155 while (uart_hal_get_txfifo_len(&data->hal) == 0) { in uart_esp32_poll_out()
160 uart_hal_write_txfifo(&data->hal, &c, 1, &written); in uart_esp32_poll_out()
166 uint32_t mask = uart_hal_get_intsts_mask(&data->hal); in uart_esp32_err_check()
207 uart_hal_get_sclk(&data->hal, &src_clk); in uart_esp32_config_get()
211 uart_hal_get_baudrate(&data->hal, &calc_baud, sclk_freq); in uart_esp32_config_get()
214 uart_hal_get_parity(&data->hal, &parity); in uart_esp32_config_get()
229 uart_hal_get_stop_bits(&data->hal, &stop_bit); in uart_esp32_config_get()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/
DCMakeLists.txt42 hal/RV32M1/cntr.c
43 hal/RV32M1/ecb.c
44 hal/RV32M1/radio/radio.c
45 hal/RV32M1/mayfly.c
46 hal/RV32M1/ticker.c
/Zephyr-latest/drivers/mdio/
Dmdio_esp32.c26 emac_hal_context_t hal; member
40 if (emac_ll_is_mii_busy(dev_data->hal.mac_regs)) { in mdio_transfer()
47 emac_ll_set_phy_data(dev_data->hal.mac_regs, data_in); in mdio_transfer()
49 emac_hal_set_phy_cmd(&dev_data->hal, prtad, regad, write); in mdio_transfer()
56 if (!emac_ll_is_mii_busy(dev_data->hal.mac_regs)) { in mdio_transfer()
68 *data_out = emac_ll_get_phy_data(dev_data->hal.mac_regs); in mdio_transfer()
114 dev_data->hal.mac_regs = &EMAC_MAC; in mdio_esp32_initialize()
117 emac_hal_set_csr_clock_range(&dev_data->hal, esp_clk_apb_freq()); in mdio_esp32_initialize()
/Zephyr-latest/drivers/ethernet/
Deth_esp32.c41 emac_hal_context_t hal; member
72 emac_hal_set_address(&dev_data->hal, dev_data->mac_addr); in eth_esp32_set_config()
94 uint32_t sent_len = emac_hal_transmit_frame(&dev_data->hal, dev_data->txb, len); in eth_esp32_send()
106 &dev_data->hal, dev_data->rxb, sizeof(dev_data->rxb), in eth_esp32_rx()
163 uint32_t intr_stat = emac_ll_get_intr_status(dev_data->hal.dma_regs); in eth_esp32_isr()
165 emac_ll_clear_corresponding_intr(dev_data->hal.dma_regs, intr_stat); in eth_esp32_isr()
260 emac_hal_init(&dev_data->hal, dev_data->dma->descriptors, in eth_esp32_initialize()
290 emac_ll_clock_enable_rmii_output(dev_data->hal.ext_regs); in eth_esp32_initialize()
299 emac_ll_clock_enable_rmii_input(dev_data->hal.ext_regs); in eth_esp32_initialize()
303 emac_ll_clock_enable_mii(dev_data->hal.ext_regs); in eth_esp32_initialize()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/
DCMakeLists.txt93 hal/nrf5/cntr.c
94 hal/nrf5/radio/radio.c
95 hal/nrf5/mayfly.c
96 hal/nrf5/ticker.c
101 hal/nrf5/ecb.c
106 hal/nrf5/radio/radio_df.c
120 hal/nrf5/nrfx_glue
/Zephyr-latest/drivers/watchdog/
Dwdt_esp32.c42 wdt_hal_context_t hal; member
62 wdt_hal_write_protect_enable(&data->hal); in wdt_esp32_seal()
69 wdt_hal_write_protect_disable(&data->hal); in wdt_esp32_unseal()
77 wdt_hal_enable(&data->hal); in wdt_esp32_enable()
87 wdt_hal_disable(&data->hal); in wdt_esp32_disable()
100 wdt_hal_feed(&data->hal); in wdt_esp32_feed()
111 wdt_hal_config_stage(&data->hal, WDT_STAGE0, data->timeout, WDT_STAGE_ACTION_INT); in wdt_esp32_set_config()
112 wdt_hal_config_stage(&data->hal, WDT_STAGE1, data->timeout, data->mode); in wdt_esp32_set_config()
170 wdt_hal_init(&data->hal, config->wdt_inst, MWDT_TICK_PRESCALER, true); in wdt_esp32_init()
223 wdt_hal_handle_intr(&data->hal); in wdt_esp32_isr()
Dxt_wdt_esp32.c36 xt_wdt_hal_context_t hal; member
58 xt_wdt_hal_init(&data->hal, &xt_wdt_hal_config); in esp32_xt_wdt_setup()
59 xt_wdt_hal_enable(&data->hal, true); in esp32_xt_wdt_setup()
68 xt_wdt_hal_enable(&data->hal, false); in esp32_xt_wdt_disable()
132 xt_wdt_hal_init(&data->hal, &xt_wdt_hal_config); in esp32_xt_wdt_init()
133 xt_wdt_hal_enable_backup_clk(&data->hal, ESP32_RTC_SLOW_CLK_SRC_RC_SLOW_FREQ/1000); in esp32_xt_wdt_init()
/Zephyr-latest/drivers/spi/
Dspi_esp32_spim.c71 spi_hal_context_t *hal = &data->hal; in spi_esp32_transfer() local
114 memset((uint32_t *)hal->hw->data_buf, 0, sizeof(hal->hw->data_buf)); in spi_esp32_transfer()
127 spi_hal_setup_trans(hal, hal_dev, hal_trans); in spi_esp32_transfer()
128 spi_hal_prepare_data(hal, hal_dev, hal_trans); in spi_esp32_transfer()
131 spi_hal_user_start(hal); in spi_esp32_transfer()
134 while (!spi_hal_usr_is_done(hal)) { in spi_esp32_transfer()
139 spi_hal_fetch_result(hal); in spi_esp32_transfer()
213 spi_hal_init(&data->hal, cfg->dma_host + 1, &data->hal_config); in spi_esp32_init_dma()
222 spi_hal_context_t *hal = &data->hal; in spi_esp32_init() local
240 spi_ll_master_init(hal->hw); in spi_esp32_init()
[all …]
DKconfig.sedi14 bare metal SPI driver in the hal-intel module
/Zephyr-latest/modules/nrf_wifi/os/
DCMakeLists.txt98 ${NRF_WIFI_DIR}/hw_if/hal/inc
99 ${NRF_WIFI_DIR}/hw_if/hal/inc/fw
123 ${NRF_WIFI_DIR}/hw_if/hal/src/hal_api.c
124 ${NRF_WIFI_DIR}/hw_if/hal/src/hal_fw_patch_loader.c
125 ${NRF_WIFI_DIR}/hw_if/hal/src/hal_interrupt.c
126 ${NRF_WIFI_DIR}/hw_if/hal/src/hal_mem.c
127 ${NRF_WIFI_DIR}/hw_if/hal/src/hal_reg.c
128 ${NRF_WIFI_DIR}/hw_if/hal/src/hpqm.c
129 ${NRF_WIFI_DIR}/hw_if/hal/src/pal.c
/Zephyr-latest/drivers/video/
Dvideo_esp32_dvp.c63 cam_hal_context_t hal; member
212 cam_hal_start_streaming(&data->hal); in video_esp32_stream_start()
241 cam_hal_stop_streaming(&data->hal); in video_esp32_stream_stop()
371 cam_hal_init(&data->hal, &hal_cfg); in video_esp32_cam_ctrl_init()
373 cam_ll_reverse_dma_data_bit_order(data->hal.hw, cfg->invert_bit_order); in video_esp32_cam_ctrl_init()
374 cam_ll_enable_invert_pclk(data->hal.hw, cfg->invert_pclk); in video_esp32_cam_ctrl_init()
375 cam_ll_set_input_data_width(data->hal.hw, cfg->data_width); in video_esp32_cam_ctrl_init()
376 cam_ll_enable_invert_de(data->hal.hw, cfg->invert_de); in video_esp32_cam_ctrl_init()
377 cam_ll_enable_invert_vsync(data->hal.hw, cfg->invert_vsync); in video_esp32_cam_ctrl_init()
378 cam_ll_enable_invert_hsync(data->hal.hw, cfg->invert_hsync); in video_esp32_cam_ctrl_init()
/Zephyr-latest/soc/nxp/imxrt/imxrt6xx/
DKconfig.defconfig12 # alias for hal
17 # another alias for hal
/Zephyr-latest/soc/infineon/cat1a/psoc6_legacy/
Drwdata.ld4 * ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld
Dnoinit.ld4 * ext/hal/cypress/.../devices/psoc6/linker/gcc/cy8c6xx6_cm0plus.ld
/Zephyr-latest/drivers/sensor/st/stmemsc/
DCMakeLists.txt1 # ST Microelectronics stmemsc hal i/f
/Zephyr-latest/modules/hal_infineon/
DCMakeLists.txt27 ## Add mtb-hal-cat1 sources for CAT1 devices
28 add_subdirectory(mtb-hal-cat1)
/Zephyr-latest/cmake/linker/xt-ld/
Dlinker_libraries.cmake9 set_linker_property(PROPERTY link_order_library "c;rt;hal")
/Zephyr-latest/drivers/gpio/
DKconfig.sedi14 bare metal GPIO driver in hal-intel module.
/Zephyr-latest/drivers/ipm/
DKconfig.sedi11 bare metal IPC driver in the hal-intel module

123