Searched refs:bank_offset (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_cadence_qspi_nor_ll.c | 791 uint32_t bank_count, bank_addr, bank_offset, copy_len; in cad_qspi_read() local 822 bank_offset = offset & (CAD_QSPI_BANK_SIZE - 1); in cad_qspi_read() 826 copy_len = MIN(size, CAD_QSPI_BANK_SIZE - bank_offset); in cad_qspi_read() 834 status = cad_qspi_read_bank(cad_params, read_data, bank_offset, copy_len); in cad_qspi_read() 843 bank_offset = 0; in cad_qspi_read() 878 uint32_t bank_count, bank_addr, bank_offset, copy_len; in cad_qspi_write() local 900 bank_offset = offset & (CAD_QSPI_BANK_SIZE - 1); in cad_qspi_write() 904 copy_len = MIN(size, CAD_QSPI_BANK_SIZE - bank_offset); in cad_qspi_write() 913 status = cad_qspi_write_bank(cad_params, bank_offset, write_data, copy_len); in cad_qspi_write() 921 bank_offset = 0; in cad_qspi_write()
|
/Zephyr-Core-3.5.0/drivers/can/ |
D | can_stm32_bxcan.c | 617 uint32_t bank_offset; in can_stm32_init() local 663 bank_offset = (cfg->can == cfg->master_can) ? 0 : CAN_STM32_NUM_FILTER_BANKS; in can_stm32_init() 665 cfg->master_can->FS1R |= ((1U << CONFIG_CAN_MAX_EXT_ID_FILTER) - 1) << bank_offset; in can_stm32_init() 934 int bank_offset = 0; in can_stm32_set_filter() local 939 bank_offset = CAN_STM32_NUM_FILTER_BANKS; in can_stm32_set_filter() 948 bank_num = bank_offset + i; in can_stm32_set_filter() 958 bank_num = bank_offset + CONFIG_CAN_MAX_EXT_ID_FILTER + i / 2; in can_stm32_set_filter() 1034 int bank_offset = 0; in can_stm32_remove_rx_filter() local 1044 bank_offset = CAN_STM32_NUM_FILTER_BANKS; in can_stm32_remove_rx_filter() 1049 bank_num = bank_offset + filter_id; in can_stm32_remove_rx_filter() [all …]
|