| /bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ |
| A D | ald_ebi.c | 223 void ald_ebi_nor_sram_enable(EBI_NOR_SRAM_TypeDef *dev, uint32_t bank) in ald_ebi_nor_sram_enable() 237 void ald_ebi_nor_sram_disable(EBI_NOR_SRAM_TypeDef *dev, uint32_t bank) in ald_ebi_nor_sram_disable() 251 void ald_ebi_nor_sram_write_enable(EBI_NOR_SRAM_TypeDef *dev, uint32_t bank) in ald_ebi_nor_sram_write_enable() 266 void ald_ebi_nor_sram_write_disable(EBI_NOR_SRAM_TypeDef *dev, uint32_t bank) in ald_ebi_nor_sram_write_disable() 289 void ald_ebi_nand_init(EBI_NAND_TypeDef *dev, ald_ebi_nand_init_t *init) in ald_ebi_nand_init() 391 void ald_ebi_nand_deinit(EBI_NAND_TypeDef *dev, uint32_t bank) in ald_ebi_nand_deinit() 430 void ald_ebi_nand_enable(EBI_NAND_TypeDef *dev, uint32_t bank) in ald_ebi_nand_enable() 447 void ald_ebi_nand_disable(EBI_NAND_TypeDef *dev, uint32_t bank) in ald_ebi_nand_disable() 469 void ald_ebi_nand_enable_it(EBI_NAND_TypeDef *dev, uint32_t bank, ebi_it_t it) in ald_ebi_nand_enable_it() 508 void ald_ebi_nand_ecc_enable(EBI_NAND_TypeDef *dev, uint32_t bank) in ald_ebi_nand_ecc_enable() [all …]
|
| /bsp/nxp/imx/imxrt/libraries/drivers/ |
| A D | bsp_wm8960.c | 25 static void wm8960_write_reg(struct rt_i2c_bus_device *dev, rt_uint8_t reg, rt_uint16_t val) in wm8960_write_reg() 41 static void wm8960_read_reg(struct rt_i2c_bus_device *dev, rt_uint8_t reg, rt_uint16_t *val) in wm8960_read_reg() 55 void WM8960_SetMasterSlave(struct rt_i2c_bus_device *dev, rt_bool_t master) in WM8960_SetMasterSlave() 127 void WM8960_SetDataRoute(struct rt_i2c_bus_device *dev, wm8960_route_t route) in WM8960_SetDataRoute() 192 void WM8960_SetLeftInput(struct rt_i2c_bus_device *dev, wm8960_input_t input) in WM8960_SetLeftInput() 241 void WM8960_SetRightInput(struct rt_i2c_bus_device *dev, wm8960_input_t input) in WM8960_SetRightInput() 290 void WM8960_SetProtocol(struct rt_i2c_bus_device *dev, wm8960_protocol_t protocol) in WM8960_SetProtocol() 346 rt_uint32_t WM8960_GetVolume(struct rt_i2c_bus_device *dev, wm8960_module_t module) in WM8960_GetVolume() 524 void WM8960_Deinit(struct rt_i2c_bus_device *dev) in WM8960_Deinit() 534 void WM8960_init(struct rt_i2c_bus_device *dev, wm8960_config_t *wm8960Config) in WM8960_init() [all …]
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/ |
| A D | bflb_i2c.c | 106 static inline bool bflb_i2c_isbusy(struct bflb_device_s *dev) in bflb_i2c_isbusy() 122 static inline bool bflb_i2c_isend(struct bflb_device_s *dev) in bflb_i2c_isend() 138 static inline bool bflb_i2c_isnak(struct bflb_device_s *dev) in bflb_i2c_isnak() 154 static inline void bflb_i2c_enable(struct bflb_device_s *dev) in bflb_i2c_enable() 166 static inline void bflb_i2c_disable(struct bflb_device_s *dev) in bflb_i2c_disable() 189 static inline bool bflb_i2c_isenable(struct bflb_device_s *dev) in bflb_i2c_isenable() 309 void bflb_i2c_init(struct bflb_device_s *dev, uint32_t frequency) in bflb_i2c_init() 332 void bflb_i2c_deinit(struct bflb_device_s *dev) in bflb_i2c_deinit() 353 void bflb_i2c_link_txdma(struct bflb_device_s *dev, bool enable) in bflb_i2c_link_txdma() 368 void bflb_i2c_link_rxdma(struct bflb_device_s *dev, bool enable) in bflb_i2c_link_rxdma() [all …]
|
| A D | bflb_ir.c | 345 void bflb_ir_tx_enable(struct bflb_device_s *dev, bool enable) in bflb_ir_tx_enable() 375 void bflb_ir_txint_clear(struct bflb_device_s *dev) in bflb_ir_txint_clear() 386 uint32_t bflb_ir_get_txint_status(struct bflb_device_s *dev) in bflb_ir_get_txint_status() 395 void bflb_ir_link_txdma(struct bflb_device_s *dev, bool enable) in bflb_ir_link_txdma() 410 uint8_t bflb_ir_get_txfifo_cnt(struct bflb_device_s *dev) in bflb_ir_get_txfifo_cnt() 418 void bflb_ir_txfifo_clear(struct bflb_device_s *dev) in bflb_ir_txfifo_clear() 549 void bflb_ir_rx_enable(struct bflb_device_s *dev, bool enable) in bflb_ir_rx_enable() 579 void bflb_ir_rxint_clear(struct bflb_device_s *dev) in bflb_ir_rxint_clear() 590 uint32_t bflb_ir_get_rxint_status(struct bflb_device_s *dev) in bflb_ir_get_rxint_status() 598 uint8_t bflb_ir_get_rxfifo_cnt(struct bflb_device_s *dev) in bflb_ir_get_rxfifo_cnt() [all …]
|
| A D | bflb_uart.c | 120 void bflb_uart_deinit(struct bflb_device_s *dev) in bflb_uart_deinit() 135 void bflb_uart_enable(struct bflb_device_s *dev) in bflb_uart_enable() 150 void bflb_uart_disable(struct bflb_device_s *dev) in bflb_uart_disable() 165 void bflb_uart_link_txdma(struct bflb_device_s *dev, bool enable) in bflb_uart_link_txdma() 251 bool bflb_uart_txready(struct bflb_device_s *dev) in bflb_uart_txready() 263 bool bflb_uart_txempty(struct bflb_device_s *dev) in bflb_uart_txempty() 275 bool bflb_uart_rxavailable(struct bflb_device_s *dev) in bflb_uart_rxavailable() 283 void bflb_uart_txint_mask(struct bflb_device_s *dev, bool mask) in bflb_uart_txint_mask() 298 void bflb_uart_rxint_mask(struct bflb_device_s *dev, bool mask) in bflb_uart_rxint_mask() 315 void bflb_uart_errint_mask(struct bflb_device_s *dev, bool mask) in bflb_uart_errint_mask() [all …]
|
| A D | bflb_mjpeg.c | 223 void bflb_mjpeg_start(struct bflb_device_s *dev) in bflb_mjpeg_start() 235 void bflb_mjpeg_stop(struct bflb_device_s *dev) in bflb_mjpeg_stop() 247 void bflb_mjpeg_sw_run(struct bflb_device_s *dev, uint8_t frame_count) in bflb_mjpeg_sw_run() 274 void bflb_mjpeg_kick_run(struct bflb_device_s *dev, uint16_t kick_count) in bflb_mjpeg_kick_run() 308 void bflb_mjpeg_kick_stop(struct bflb_device_s *dev) in bflb_mjpeg_kick_stop() 329 void bflb_mjpeg_kick(struct bflb_device_s *dev) in bflb_mjpeg_kick() 341 void bflb_mjpeg_tcint_mask(struct bflb_device_s *dev, bool mask) in bflb_mjpeg_tcint_mask() 359 void bflb_mjpeg_errint_mask(struct bflb_device_s *dev, bool mask) in bflb_mjpeg_errint_mask() 385 uint32_t bflb_mjpeg_get_intstatus(struct bflb_device_s *dev) in bflb_mjpeg_get_intstatus() 407 uint8_t bflb_mjpeg_get_frame_count(struct bflb_device_s *dev) in bflb_mjpeg_get_frame_count() [all …]
|
| A D | bflb_cam.c | 15 void bflb_cam_init(struct bflb_device_s *dev, const struct bflb_cam_config_s *config) in bflb_cam_init() 388 void bflb_cam_start(struct bflb_device_s *dev) in bflb_cam_start() 399 void bflb_cam_stop(struct bflb_device_s *dev) in bflb_cam_stop() 410 void bflb_cam_int_mask(struct bflb_device_s *dev, uint32_t int_type, bool mask) in bflb_cam_int_mask() 433 void bflb_cam_int_clear(struct bflb_device_s *dev, uint32_t int_type) in bflb_cam_int_clear() 454 void bflb_cam_pop_one_frame(struct bflb_device_s *dev) in bflb_cam_pop_one_frame() 464 void bflb_cam_swap_input_yu_order(struct bflb_device_s *dev, bool enable) in bflb_cam_swap_input_yu_order() 487 uint8_t bflb_cam_get_frame_count(struct bflb_device_s *dev) in bflb_cam_get_frame_count() 498 uint32_t bflb_cam_get_frame_info(struct bflb_device_s *dev, uint8_t **pic) in bflb_cam_get_frame_info() 511 uint32_t bflb_cam_get_intstatus(struct bflb_device_s *dev) in bflb_cam_get_intstatus() [all …]
|
| A D | bflb_sec_sha.c | 30 void bflb_sha_init(struct bflb_device_s *dev, uint8_t mode) in bflb_sha_init() 501 void bflb_sha_link_init(struct bflb_device_s *dev) in bflb_sha_link_init() 514 void bflb_sha_link_deinit(struct bflb_device_s *dev) in bflb_sha_link_deinit() 546 int bflb_sha1_link_update(struct bflb_device_s *dev, in bflb_sha1_link_update() 640 int bflb_sha256_link_update(struct bflb_device_s *dev, in bflb_sha256_link_update() 648 int bflb_sha512_link_update(struct bflb_device_s *dev, in bflb_sha512_link_update() 741 void bflb_sha1_link_finish(struct bflb_device_s *dev, in bflb_sha1_link_finish() 795 void bflb_sha256_link_finish(struct bflb_device_s *dev, in bflb_sha256_link_finish() 802 void bflb_sha512_link_finish(struct bflb_device_s *dev, in bflb_sha512_link_finish() 856 void bflb_group0_request_sha_access(struct bflb_device_s *dev) in bflb_group0_request_sha_access() [all …]
|
| A D | bflb_adc.c | 151 void bflb_adc_deinit(struct bflb_device_s *dev) in bflb_adc_deinit() 185 void bflb_adc_link_rxdma(struct bflb_device_s *dev, bool enable) in bflb_adc_link_rxdma() 255 void bflb_adc_start_conversion(struct bflb_device_s *dev) in bflb_adc_start_conversion() 273 void bflb_adc_stop_conversion(struct bflb_device_s *dev) in bflb_adc_stop_conversion() 284 uint8_t bflb_adc_get_count(struct bflb_device_s *dev) in bflb_adc_get_count() 289 uint32_t bflb_adc_read_raw(struct bflb_device_s *dev) in bflb_adc_read_raw() 294 void bflb_adc_rxint_mask(struct bflb_device_s *dev, bool mask) in bflb_adc_rxint_mask() 333 uint32_t bflb_adc_get_intstatus(struct bflb_device_s *dev) in bflb_adc_get_intstatus() 566 float bflb_adc_tsen_get_temp(struct bflb_device_s *dev) in bflb_adc_tsen_get_temp() 624 void bflb_adc_vbat_enable(struct bflb_device_s *dev) in bflb_adc_vbat_enable() [all …]
|
| A D | bflb_pwm_v2.c | 5 void bflb_pwm_v2_init(struct bflb_device_s *dev, const struct bflb_pwm_v2_config_s *config) in bflb_pwm_v2_init() 48 void bflb_pwm_v2_deinit(struct bflb_device_s *dev) in bflb_pwm_v2_deinit() 99 void bflb_pwm_v2_set_period(struct bflb_device_s *dev, uint16_t period) in bflb_pwm_v2_set_period() 111 void bflb_pwm_v2_start(struct bflb_device_s *dev) in bflb_pwm_v2_start() 132 void bflb_pwm_v2_stop(struct bflb_device_s *dev) in bflb_pwm_v2_stop() 153 float bflb_pwm_v2_get_frequency(struct bflb_device_s *dev) in bflb_pwm_v2_get_frequency() 241 void bflb_pwm_v2_channel_positive_start(struct bflb_device_s *dev, uint8_t ch) in bflb_pwm_v2_channel_positive_start() 263 void bflb_pwm_v2_channel_positive_stop(struct bflb_device_s *dev, uint8_t ch) in bflb_pwm_v2_channel_positive_stop() 274 void bflb_pwm_v2_channel_negative_stop(struct bflb_device_s *dev, uint8_t ch) in bflb_pwm_v2_channel_negative_stop() 304 void bflb_pwm_v2_int_clear(struct bflb_device_s *dev, uint32_t int_clear) in bflb_pwm_v2_int_clear() [all …]
|
| A D | bflb_timer.c | 5 void bflb_timer_init(struct bflb_device_s *dev, const struct bflb_timer_config_s *config) in bflb_timer_init() 91 void bflb_timer_deinit(struct bflb_device_s *dev) in bflb_timer_deinit() 103 void bflb_timer_start(struct bflb_device_s *dev) in bflb_timer_start() 115 void bflb_timer_stop(struct bflb_device_s *dev) in bflb_timer_stop() 127 void bflb_timer_set_preloadvalue(struct bflb_device_s *dev, uint32_t val) in bflb_timer_set_preloadvalue() 145 uint32_t bflb_timer_get_compvalue(struct bflb_device_s *dev, uint8_t cmp_no) in bflb_timer_get_compvalue() 154 uint32_t bflb_timer_get_countervalue(struct bflb_device_s *dev) in bflb_timer_get_countervalue() 163 void bflb_timer_compint_mask(struct bflb_device_s *dev, uint8_t cmp_no, bool mask) in bflb_timer_compint_mask() 178 bool bflb_timer_get_compint_status(struct bflb_device_s *dev, uint8_t cmp_no) in bflb_timer_get_compint_status() 193 void bflb_timer_compint_clear(struct bflb_device_s *dev, uint8_t cmp_no) in bflb_timer_compint_clear() [all …]
|
| A D | bflb_gpio.c | 4 void bflb_gpio_init(struct bflb_device_s *dev, uint8_t pin, uint32_t cfgset) in bflb_gpio_init() 127 void bflb_gpio_deinit(struct bflb_device_s *dev, uint8_t pin) in bflb_gpio_deinit() 132 void bflb_gpio_set(struct bflb_device_s *dev, uint8_t pin) in bflb_gpio_set() 145 void bflb_gpio_reset(struct bflb_device_s *dev, uint8_t pin) in bflb_gpio_reset() 158 bool bflb_gpio_read(struct bflb_device_s *dev, uint8_t pin) in bflb_gpio_read() 167 void bflb_gpio_pin0_31_write(struct bflb_device_s *dev, uint32_t val) in bflb_gpio_pin0_31_write() 176 void bflb_gpio_pin32_63_write(struct bflb_device_s *dev, uint32_t val) in bflb_gpio_pin32_63_write() 185 uint32_t bflb_gpio_pin0_31_read(struct bflb_device_s *dev) in bflb_gpio_pin0_31_read() 194 uint32_t bflb_gpio_pin32_63_read(struct bflb_device_s *dev) in bflb_gpio_pin32_63_read() 264 bool bflb_gpio_get_intstatus(struct bflb_device_s *dev, uint8_t pin) in bflb_gpio_get_intstatus() [all …]
|
| A D | bflb_spi.c | 11 void bflb_spi_init(struct bflb_device_s *dev, const struct bflb_spi_config_s *config) in bflb_spi_init() 127 void bflb_spi_deinit(struct bflb_device_s *dev) in bflb_spi_deinit() 137 void bflb_spi_link_txdma(struct bflb_device_s *dev, bool enable) in bflb_spi_link_txdma() 152 void bflb_spi_link_rxdma(struct bflb_device_s *dev, bool enable) in bflb_spi_link_rxdma() 403 void bflb_spi_txint_mask(struct bflb_device_s *dev, bool mask) in bflb_spi_txint_mask() 417 void bflb_spi_rxint_mask(struct bflb_device_s *dev, bool mask) in bflb_spi_rxint_mask() 431 void bflb_spi_tcint_mask(struct bflb_device_s *dev, bool mask) in bflb_spi_tcint_mask() 445 void bflb_spi_errint_mask(struct bflb_device_s *dev, bool mask) in bflb_spi_errint_mask() 463 uint32_t bflb_spi_get_intstatus(struct bflb_device_s *dev) in bflb_spi_get_intstatus() 475 void bflb_spi_int_clear(struct bflb_device_s *dev, uint32_t int_clear) in bflb_spi_int_clear() [all …]
|
| A D | bflb_dbi.c | 30 void bflb_dbi_init(struct bflb_device_s *dev, const struct bflb_dbi_config_s *config) in bflb_dbi_init() 205 void bflb_dbi_deinit(struct bflb_device_s *dev) in bflb_dbi_deinit() 224 void bflb_dbi_qspi_set_addr(struct bflb_device_s *dev, uint8_t addr_byte_size, uint32_t addr_val) in bflb_dbi_qspi_set_addr() 271 static uint32_t bflb_dbi_get_words_cnt_form_pixel(struct bflb_device_s *dev, uint32_t pixle_cnt) in bflb_dbi_get_words_cnt_form_pixel() 571 void bflb_dbi_link_txdma(struct bflb_device_s *dev, bool enable) in bflb_dbi_link_txdma() 587 void bflb_dbi_txint_mask(struct bflb_device_s *dev, bool mask) in bflb_dbi_txint_mask() 603 void bflb_dbi_tcint_mask(struct bflb_device_s *dev, bool mask) in bflb_dbi_tcint_mask() 619 void bflb_dbi_errint_mask(struct bflb_device_s *dev, bool mask) in bflb_dbi_errint_mask() 635 uint32_t bflb_dbi_get_intstatus(struct bflb_device_s *dev) in bflb_dbi_get_intstatus() 664 void bflb_dbi_int_clear(struct bflb_device_s *dev, uint32_t int_clear) in bflb_dbi_int_clear() [all …]
|
| A D | bflb_emac.c | 90 uint32_t bflb_emac_bd_get_cur_active(struct bflb_device_s *dev, uint8_t bdt) in bflb_emac_bd_get_cur_active() 447 void bflb_emac_deinit(struct bflb_device_s *dev) in bflb_emac_deinit() 489 void bflb_emac_int_clear(struct bflb_device_s *dev, uint32_t flag) in bflb_emac_int_clear() 500 uint32_t bflb_emac_get_int_status(struct bflb_device_s *dev) in bflb_emac_get_int_status() 666 int bflb_emac_feature_control(struct bflb_device_s *dev, int cmd, size_t arg) in bflb_emac_feature_control() 795 void bflb_emac_stop(struct bflb_device_s *dev) in bflb_emac_stop() 811 void bflb_emac_start(struct bflb_device_s *dev) in bflb_emac_start() 827 void bflb_emac_start_tx(struct bflb_device_s *dev) in bflb_emac_start_tx() 842 void bflb_emac_stop_tx(struct bflb_device_s *dev) in bflb_emac_stop_tx() 857 void bflb_emac_start_rx(struct bflb_device_s *dev) in bflb_emac_start_rx() [all …]
|
| A D | bflb_sec_aes.c | 11 void bflb_aes_init(struct bflb_device_s *dev) in bflb_aes_init() 29 void bflb_aes_deinit(struct bflb_device_s *dev) in bflb_aes_deinit() 46 void bflb_aes_set_mode(struct bflb_device_s *dev, uint8_t mode) in bflb_aes_set_mode() 133 int bflb_aes_encrypt(struct bflb_device_s *dev, in bflb_aes_encrypt() 205 int bflb_aes_decrypt(struct bflb_device_s *dev, in bflb_aes_decrypt() 277 void bflb_aes_link_init(struct bflb_device_s *dev) in bflb_aes_link_init() 296 void bflb_aes_link_deinit(struct bflb_device_s *dev) in bflb_aes_link_deinit() 309 int bflb_aes_link_update(struct bflb_device_s *dev, in bflb_aes_link_update() 356 void bflb_group0_request_aes_access(struct bflb_device_s *dev) in bflb_group0_request_aes_access() 373 void bflb_group0_release_aes_access(struct bflb_device_s *dev) in bflb_group0_release_aes_access() [all …]
|
| A D | bflb_i2s.c | 5 void bflb_i2s_init(struct bflb_device_s *dev, const struct bflb_i2s_config_s *config) in bflb_i2s_init() 132 void bflb_i2s_deinit(struct bflb_device_s *dev) in bflb_i2s_deinit() 146 void bflb_i2s_link_txdma(struct bflb_device_s *dev, bool enable) in bflb_i2s_link_txdma() 161 void bflb_i2s_link_rxdma(struct bflb_device_s *dev, bool enable) in bflb_i2s_link_rxdma() 176 void bflb_i2s_txint_mask(struct bflb_device_s *dev, bool mask) in bflb_i2s_txint_mask() 190 void bflb_i2s_rxint_mask(struct bflb_device_s *dev, bool mask) in bflb_i2s_rxint_mask() 204 void bflb_i2s_errint_mask(struct bflb_device_s *dev, bool mask) in bflb_i2s_errint_mask() 218 uint32_t bflb_i2s_get_intstatus(struct bflb_device_s *dev) in bflb_i2s_get_intstatus() 233 int bflb_i2s_feature_control(struct bflb_device_s *dev, int cmd, size_t arg) in bflb_i2s_feature_control()
|
| A D | bflb_dma.c | 68 void bflb_dma_channel_init(struct bflb_device_s *dev, const struct bflb_dma_channel_config_s *confi… in bflb_dma_channel_init() 276 void bflb_dma_channel_lli_link_head(struct bflb_device_s *dev, in bflb_dma_channel_lli_link_head() 293 void bflb_dma_channel_start(struct bflb_device_s *dev) in bflb_dma_channel_start() 306 void bflb_dma_channel_stop(struct bflb_device_s *dev) in bflb_dma_channel_stop() 319 bool bflb_dma_channel_isbusy(struct bflb_device_s *dev) in bflb_dma_channel_isbusy() 334 void bflb_dma_channel_tcint_mask(struct bflb_device_s *dev, bool mask) in bflb_dma_channel_tcint_mask() 360 void bflb_dma_channel_irq_attach(struct bflb_device_s *dev, void (*callback)(void *arg), void *arg) in bflb_dma_channel_irq_attach() 368 void bflb_dma_channel_irq_detach(struct bflb_device_s *dev) in bflb_dma_channel_irq_detach() 376 bool bflb_dma_channel_get_tcint_status(struct bflb_device_s *dev) in bflb_dma_channel_get_tcint_status() 388 void bflb_dma_channel_tcint_clear(struct bflb_device_s *dev) in bflb_dma_channel_tcint_clear() [all …]
|
| /bsp/qemu-vexpress-a9/drivers/ |
| A D | drv_smc911x.c | 114 static int smc911x_detect_chip(struct eth_device_smc911x *dev) in smc911x_detect_chip() 145 static void smc911x_reset(struct eth_device_smc911x *dev) in smc911x_reset() 205 static int smc911x_eth_phy_read(struct eth_device_smc911x *dev, in smc911x_eth_phy_read() 219 static int smc911x_eth_phy_write(struct eth_device_smc911x *dev, in smc911x_eth_phy_write() 234 static int smc911x_phy_reset(struct eth_device_smc911x *dev) in smc911x_phy_reset() 248 static void smc911x_phy_configure(struct eth_device_smc911x *dev) in smc911x_phy_configure() 278 static void smc911x_enable(struct eth_device_smc911x *dev) in smc911x_enable() 300 struct eth_device_smc911x *dev = eth_get_dev_by_name(bus->name); in smc911x_miiphy_read() local 340 static rt_err_t smc911x_emac_init(rt_device_t dev) in smc911x_emac_init() 393 rt_err_t smc911x_emac_tx(rt_device_t dev, struct pbuf *p) in smc911x_emac_tx() [all …]
|
| /bsp/microchip/same70/bsp/hpl/gmac/ |
| A D | hpl_gmac.c | 82 int32_t _mac_async_init(struct _mac_async_device *const dev, void *const hw) in _mac_async_init() 125 int32_t _mac_async_deinit(struct _mac_async_device *const dev) in _mac_async_deinit() 141 int32_t _mac_async_enable(struct _mac_async_device *const dev) in _mac_async_enable() 150 int32_t _mac_async_disable(struct _mac_async_device *const dev) in _mac_async_disable() 159 int32_t _mac_async_write(struct _mac_async_device *const dev, uint8_t *buf, uint32_t len) in _mac_async_write() 238 uint32_t _mac_async_read(struct _mac_async_device *const dev, uint8_t *buf, uint32_t len) in _mac_async_read() 307 uint32_t _mac_async_read_len(struct _mac_async_device *const dev) in _mac_async_read_len() 346 void _mac_async_enable_irq(struct _mac_async_device *const dev) in _mac_async_enable_irq() 355 void _mac_async_disable_irq(struct _mac_async_device *const dev) in _mac_async_disable_irq() 408 int32_t _mac_async_set_filter_ex(struct _mac_async_device *const dev, uint8_t mac[6]) in _mac_async_set_filter_ex() [all …]
|
| /bsp/microchip/samc21/bsp/hpl/can/ |
| A D | hpl_can.c | 83 int32_t _can_async_init(struct _can_async_device *const dev, void *const hw) in _can_async_init() 153 int32_t _can_async_deinit(struct _can_async_device *const dev) in _can_async_deinit() 163 int32_t _can_async_enable(struct _can_async_device *const dev) in _can_async_enable() 172 int32_t _can_async_disable(struct _can_async_device *const dev) in _can_async_disable() 181 int32_t _can_async_read(struct _can_async_device *const dev, struct can_message *msg) in _can_async_read() 233 int32_t _can_async_write(struct _can_async_device *const dev, struct can_message *msg) in _can_async_write() 316 uint8_t _can_async_get_rxerr(struct _can_async_device *const dev) in _can_async_get_rxerr() 324 uint8_t _can_async_get_txerr(struct _can_async_device *const dev) in _can_async_get_txerr() 332 int32_t _can_async_set_mode(struct _can_async_device *const dev, enum can_mode mode) in _can_async_set_mode() 357 int32_t _can_async_set_filter(struct _can_async_device *const dev, uint8_t index, enum can_format f… in _can_async_set_filter() [all …]
|
| /bsp/microchip/same54/bsp/hpl/can/ |
| A D | hpl_can.c | 83 int32_t _can_async_init(struct _can_async_device *const dev, void *const hw) in _can_async_init() 153 int32_t _can_async_deinit(struct _can_async_device *const dev) in _can_async_deinit() 163 int32_t _can_async_enable(struct _can_async_device *const dev) in _can_async_enable() 172 int32_t _can_async_disable(struct _can_async_device *const dev) in _can_async_disable() 181 int32_t _can_async_read(struct _can_async_device *const dev, struct can_message *msg) in _can_async_read() 233 int32_t _can_async_write(struct _can_async_device *const dev, struct can_message *msg) in _can_async_write() 316 uint8_t _can_async_get_rxerr(struct _can_async_device *const dev) in _can_async_get_rxerr() 324 uint8_t _can_async_get_txerr(struct _can_async_device *const dev) in _can_async_get_txerr() 332 int32_t _can_async_set_mode(struct _can_async_device *const dev, enum can_mode mode) in _can_async_set_mode() 357 int32_t _can_async_set_filter(struct _can_async_device *const dev, uint8_t index, enum can_format f… in _can_async_set_filter() [all …]
|
| /bsp/microchip/same70/bsp/hpl/mcan/ |
| A D | hpl_mcan.c | 84 int32_t _can_async_init(struct _can_async_device *const dev, void *const hw) in _can_async_init() 154 int32_t _can_async_deinit(struct _can_async_device *const dev) in _can_async_deinit() 164 int32_t _can_async_enable(struct _can_async_device *const dev) in _can_async_enable() 173 int32_t _can_async_disable(struct _can_async_device *const dev) in _can_async_disable() 182 int32_t _can_async_read(struct _can_async_device *const dev, struct can_message *msg) in _can_async_read() 234 int32_t _can_async_write(struct _can_async_device *const dev, struct can_message *msg) in _can_async_write() 317 uint8_t _can_async_get_rxerr(struct _can_async_device *const dev) in _can_async_get_rxerr() 325 uint8_t _can_async_get_txerr(struct _can_async_device *const dev) in _can_async_get_txerr() 333 int32_t _can_async_set_mode(struct _can_async_device *const dev, enum can_mode mode) in _can_async_set_mode() 358 int32_t _can_async_set_filter(struct _can_async_device *const dev, uint8_t index, enum can_format f… in _can_async_set_filter() [all …]
|
| /bsp/nxp/lpc/lpc55sxx/Libraries/drivers/ |
| A D | drv_sound_wm8904.c | 25 rt_err_t wm8904_write_register(struct drv_sound_wm8904 *dev, rt_uint8_t reg, rt_uint16_t value) in wm8904_write_register() 46 rt_err_t wm8904_read_register(struct drv_sound_wm8904 *dev, rt_uint8_t reg, rt_uint16_t *value) in wm8904_read_register() 80 static rt_err_t wm8904_wait_on_write_sequencer(struct drv_sound_wm8904 *dev) in wm8904_wait_on_write_sequencer() 208 rt_err_t wm8904_init(struct drv_sound_wm8904 *dev, struct wm8904_config *config) in wm8904_init() 279 rt_err_t wm8904_deinit(struct drv_sound_wm8904 *dev) in wm8904_deinit() 405 rt_err_t wm8904_set_fll_config(struct drv_sound_wm8904 *dev, wm8904_fll_config_t *config) in wm8904_set_fll_config() 519 rt_err_t wm8904_set_protocol(struct drv_sound_wm8904 *dev, wm8904_protocol_t p) in wm8904_set_protocol() 524 rt_err_t wm8904_select_lrc_polarity(struct drv_sound_wm8904 *dev, rt_uint32_t polarity) in wm8904_select_lrc_polarity() 885 rt_err_t wm8904_enable_dac_volume(struct drv_sound_wm8904 *dev, rt_uint8_t volume) in wm8904_enable_dac_volume() 940 rt_err_t wm8904_set_record(struct drv_sound_wm8904 *dev, rt_uint32_t record_source) in wm8904_set_record() [all …]
|
| /bsp/microchip/same54/bsp/hpl/aes/ |
| A D | hpl_aes.c | 93 static inline void __aes_sync_set_key(struct _aes_sync_device *const dev) in __aes_sync_set_key() 102 static inline void __aes_sync_set_iv(struct _aes_sync_device *const dev, uint8_t *iv) in __aes_sync_set_iv() 134 static inline void __aes_sync_get_indata(struct _aes_sync_device *const dev, uint8_t *output, uint3… in __aes_sync_get_indata() 167 int32_t _aes_sync_init(struct _aes_sync_device *const dev, void *const hw) in _aes_sync_init() 182 int32_t _aes_sync_deinit(struct _aes_sync_device *dev) in _aes_sync_deinit() 194 int32_t _aes_sync_enable(struct _aes_sync_device *const dev) in _aes_sync_enable() 203 int32_t _aes_sync_disable(struct _aes_sync_device *const dev) in _aes_sync_disable() 212 int32_t _aes_sync_set_key(struct _aes_sync_device *const dev, const uint8_t *key, const enum aes_ke… in _aes_sync_set_key() 643 int32_t _aes_sync_gcm_finish(struct _aes_sync_device *const dev, uint8_t *tag, uint32_t tag_len) in _aes_sync_gcm_finish() 796 static void __aes_sync_gcm_update(struct _aes_sync_device *const dev, const uint8_t *input, uint8_t… in __aes_sync_gcm_update() [all …]
|