Lines Matching refs:dev_ctrl
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()
211 if (true == dev_ctrl->fsp_config.data_flash_bgo) { in flash_ra_write()
219 k_sem_give(&dev_ctrl->ctrl_sem); in flash_ra_write()
319 const struct device *dev_ctrl = DEVICE_DT_INST_GET(0); in flash_ra_init() local
322 if (!device_is_ready(dev_ctrl)) { in flash_ra_init()
332 flash_data->controller = dev_ctrl->data; in flash_ra_init()