Searched refs:dev_ctrl (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_hp_ra.c | 109 struct flash_hp_ra_controller *dev_ctrl = flash_data->controller; in flash_ra_erase() local 157 k_sem_take(&dev_ctrl->ctrl_sem, K_FOREVER); in flash_ra_erase() 159 err = R_FLASH_HP_Erase(&dev_ctrl->flash_ctrl, in flash_ra_erase() 163 k_sem_give(&dev_ctrl->ctrl_sem); in flash_ra_erase() 169 if (true == dev_ctrl->fsp_config.data_flash_bgo) { in flash_ra_erase() 177 k_sem_give(&dev_ctrl->ctrl_sem); in flash_ra_erase() 187 struct flash_hp_ra_controller *dev_ctrl = flash_data->controller; in flash_ra_write() local 199 k_sem_take(&dev_ctrl->ctrl_sem, K_FOREVER); in flash_ra_write() 201 err = R_FLASH_HP_Write(&dev_ctrl->flash_ctrl, (uint32_t)data, in flash_ra_write() 205 k_sem_give(&dev_ctrl->ctrl_sem); in flash_ra_write() [all …]
|
D | flash_hp_ra_ex_op.c | 274 struct flash_hp_ra_controller *dev_ctrl = flash_data->controller; in flash_ra_block_protect_get() local 278 err = R_FLASH_HP_BlockProtectGet(&dev_ctrl->flash_ctrl, (uint32_t *)&bps_ns, NULL, NULL, in flash_ra_block_protect_get() 344 struct flash_hp_ra_controller *dev_ctrl = flash_data->controller; in flash_ra_block_protect_set() local 348 err = R_FLASH_HP_BlockProtectGet(&dev_ctrl->flash_ctrl, (uint32_t *)&bps_ns, NULL, NULL, in flash_ra_block_protect_set() 369 err = R_FLASH_HP_BlockProtectSet(&dev_ctrl->flash_ctrl, (uint8_t *)&bps_ns, NULL, NULL, in flash_ra_block_protect_set()
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_sam_usbhs.c | 173 uint32_t dev_ctrl = USBHS->USBHS_DEVCTRL; in usb_dc_ep0_isr() local 193 if (!(dev_ctrl & USBHS_DEVCTRL_ADDEN) && in usb_dc_ep0_isr() 194 (dev_ctrl & USBHS_DEVCTRL_UADD_Msk) != 0U) { in usb_dc_ep0_isr() 199 USBHS->USBHS_DEVCTRL = dev_ctrl | USBHS_DEVCTRL_ADDEN; in usb_dc_ep0_isr()
|
D | usb_dc_sam_usbc.c | 394 uint32_t dev_ctrl = regs->UDCON; in usb_dc_ep0_isr() local 450 if (!(dev_ctrl & USBC_UDCON_ADDEN) in usb_dc_ep0_isr() 451 && (dev_ctrl & USBC_UDCON_UADD_Msk) != 0U) { in usb_dc_ep0_isr()
|