Home
last modified time | relevance | path

Searched refs:sam_config (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/can/
Dcan_sam.c34 const struct can_sam_config *sam_config = mcan_config->custom; in can_sam_read_reg() local
36 return can_mcan_sys_read_reg(sam_config->base, reg, val); in can_sam_read_reg()
42 const struct can_sam_config *sam_config = mcan_config->custom; in can_sam_write_reg() local
44 return can_mcan_sys_write_reg(sam_config->base, reg, val); in can_sam_write_reg()
50 const struct can_sam_config *sam_config = mcan_config->custom; in can_sam_read_mram() local
52 return can_mcan_sys_read_mram(sam_config->mram, offset, dst, len); in can_sam_read_mram()
59 const struct can_sam_config *sam_config = mcan_config->custom; in can_sam_write_mram() local
61 return can_mcan_sys_write_mram(sam_config->mram, offset, src, len); in can_sam_write_mram()
67 const struct can_sam_config *sam_config = mcan_config->custom; in can_sam_clear_mram() local
69 return can_mcan_sys_clear_mram(sam_config->mram, offset, len); in can_sam_clear_mram()
Dcan_sam0.c36 const struct can_sam0_config *sam_config = mcan_config->custom; in can_sam0_read_reg() local
38 return can_mcan_sys_read_reg(sam_config->base, reg, val); in can_sam0_read_reg()
44 const struct can_sam0_config *sam_config = mcan_config->custom; in can_sam0_write_reg() local
60 return can_mcan_sys_write_reg(sam_config->base, reg, val); in can_sam0_write_reg()
66 const struct can_sam0_config *sam_config = mcan_config->custom; in can_sam0_read_mram() local
68 return can_mcan_sys_read_mram(sam_config->mram, offset, dst, len); in can_sam0_read_mram()
75 const struct can_sam0_config *sam_config = mcan_config->custom; in can_sam0_write_mram() local
77 return can_mcan_sys_write_mram(sam_config->mram, offset, src, len); in can_sam0_write_mram()
83 const struct can_sam0_config *sam_config = mcan_config->custom; in can_sam0_clear_mram() local
85 return can_mcan_sys_clear_mram(sam_config->mram, offset, len); in can_sam0_clear_mram()
/Zephyr-latest/drivers/flash/
Dflash_sam.c208 const struct sam_flash_config *sam_config = dev->config; in sam_flash_read() local
224 memcpy(data, (uint8_t *)(sam_config->area_address + offset), len); in sam_flash_read()
231 const struct sam_flash_config *sam_config = dev->config; in sam_flash_write_latch_buffer_to_page() local
232 Efc *regs = sam_config->regs; in sam_flash_write_latch_buffer_to_page()
300 const struct sam_flash_config *sam_config = dev->config; in sam_flash_unlock_write_page() local
301 Efc *regs = sam_config->regs; in sam_flash_unlock_write_page()
333 const struct sam_flash_config *sam_config = dev->config; in sam_flash_erase_page() local
334 Efc *regs = sam_config->regs; in sam_flash_erase_page()
478 const struct sam_flash_config *sam_config = dev->config; in sam_flash_init() local
482 sam_flash_mask_ready_interrupt(sam_config); in sam_flash_init()
[all …]