Lines Matching refs:dev_id
63 struct mspi_dev_id *dev_id; member
273 const struct mspi_dev_id *dev_id) in mspi_verify_device() argument
280 if (dev_id->ce.port == cfg->mspicfg.ce_group[i].port && in mspi_verify_device()
281 dev_id->ce.pin == cfg->mspicfg.ce_group[i].pin && in mspi_verify_device()
282 dev_id->ce.dt_flags == cfg->mspicfg.ce_group[i].dt_flags) { in mspi_verify_device()
288 device_index != dev_id->dev_idx) { in mspi_verify_device()
521 const struct mspi_dev_id *dev_id, in mspi_ambiq_dev_config() argument
530 if (data->dev_id != dev_id) { in mspi_ambiq_dev_config()
536 ret = mspi_verify_device(controller, dev_id); in mspi_ambiq_dev_config()
550 data->dev_id = (struct mspi_dev_id *)dev_id; in mspi_ambiq_dev_config()
554 if (data->dev_id != dev_id) { in mspi_ambiq_dev_config()
655 if (data->dev_id != dev_id) { in mspi_ambiq_dev_config()
657 PINCTRL_STATE_PRIV_START + dev_id->dev_idx); in mspi_ambiq_dev_config()
665 data->dev_id = (struct mspi_dev_id *)dev_id; in mspi_ambiq_dev_config()
759 data->dev_id = (struct mspi_dev_id *)dev_id; in mspi_ambiq_dev_config()
771 const struct mspi_dev_id *dev_id, in mspi_ambiq_xip_config() argument
779 if (dev_id != data->dev_id) { in mspi_ambiq_xip_config()
802 const struct mspi_dev_id *dev_id, in mspi_ambiq_scramble_config() argument
815 if (dev_id != data->dev_id) { in mspi_ambiq_scramble_config()
860 const struct mspi_dev_id *dev_id, in mspi_ambiq_timing_config() argument
875 if (dev_id != data->dev_id) { in mspi_ambiq_timing_config()
932 data->dev_id = NULL; in mspi_ambiq_get_channel_status()
1030 cfg_flag = mspi_context_lock(ctx, data->dev_id, xfer, cb, cb_ctx, true); in mspi_pio_transceive()
1087 ctx->callback_ctx->mspi_evt.evt_data.dev_id = data->ctx.owner; in mspi_pio_transceive()
1136 cfg_flag = mspi_context_lock(ctx, data->dev_id, xfer, cb, cb_ctx, true); in mspi_dma_transceive()
1177 ctx->callback_ctx->mspi_evt.evt_data.dev_id = data->ctx.owner; in mspi_dma_transceive()
1219 const struct mspi_dev_id *dev_id, in mspi_ambiq_transceive() argument
1227 if (dev_id != data->dev_id) { in mspi_ambiq_transceive()
1247 const struct mspi_dev_id *dev_id, in mspi_ambiq_register_callback() argument
1259 if (dev_id != data->dev_id) { in mspi_ambiq_register_callback()
1411 .dev_id = 0, \