sizeof(*req), sizeof(*resp));
if (IS_ERR(xfer)) {
ret = PTR_ERR(xfer);
- dev_err(info->dev, "RM_RA:Message config failed(%d)\n", ret);
+ dev_err(dev, "RM_RA:Message config failed(%d)\n", ret);
return ret;
}
req = (struct ti_sci_msg_rm_ring_cfg_req *)xfer->xfer_buf;
ret = ti_sci_do_xfer(info, xfer);
if (ret) {
- dev_err(info->dev, "RM_RA:Mbox config send fail %d\n", ret);
+ dev_err(dev, "RM_RA:Mbox config send fail %d\n", ret);
goto fail;
}
fail:
ti_sci_put_one_xfer(&info->minfo, xfer);
- dev_dbg(info->dev, "RM_RA:config ring %u ret:%d\n", index, ret);
+ dev_dbg(dev, "RM_RA:config ring %u ret:%d\n", index, ret);
return ret;
}
sizeof(*req), sizeof(*resp));
if (IS_ERR(xfer)) {
ret = PTR_ERR(xfer);
- dev_err(info->dev,
+ dev_err(dev,
"RM_RA:Message get config failed(%d)\n", ret);
return ret;
}
ret = ti_sci_do_xfer(info, xfer);
if (ret) {
- dev_err(info->dev, "RM_RA:Mbox get config send fail %d\n", ret);
+ dev_err(dev, "RM_RA:Mbox get config send fail %d\n", ret);
goto fail;
}
fail:
ti_sci_put_one_xfer(&info->minfo, xfer);
- dev_dbg(info->dev, "RM_RA:get config ring %u ret:%d\n", index, ret);
+ dev_dbg(dev, "RM_RA:get config ring %u ret:%d\n", index, ret);
return ret;
}
sizeof(*req), sizeof(*resp));
if (IS_ERR(xfer)) {
ret = PTR_ERR(xfer);
- dev_err(info->dev, "Message TX_CH_CFG alloc failed(%d)\n", ret);
+ dev_err(dev, "Message TX_CH_CFG alloc failed(%d)\n", ret);
return ret;
}
req = (struct ti_sci_msg_rm_udmap_tx_ch_cfg_req *)xfer->xfer_buf;
ret = ti_sci_do_xfer(info, xfer);
if (ret) {
- dev_err(info->dev, "Mbox send TX_CH_CFG fail %d\n", ret);
+ dev_err(dev, "Mbox send TX_CH_CFG fail %d\n", ret);
goto fail;
}
fail:
ti_sci_put_one_xfer(&info->minfo, xfer);
- dev_dbg(info->dev, "TX_CH_CFG: chn %u ret:%u\n", params->index, ret);
+ dev_dbg(dev, "TX_CH_CFG: chn %u ret:%u\n", params->index, ret);
return ret;
}
sizeof(*req), sizeof(*resp));
if (IS_ERR(xfer)) {
ret = PTR_ERR(xfer);
- dev_err(info->dev, "Message RX_CH_CFG alloc failed(%d)\n", ret);
+ dev_err(dev, "Message RX_CH_CFG alloc failed(%d)\n", ret);
return ret;
}
req = (struct ti_sci_msg_rm_udmap_rx_ch_cfg_req *)xfer->xfer_buf;
ret = ti_sci_do_xfer(info, xfer);
if (ret) {
- dev_err(info->dev, "Mbox send RX_CH_CFG fail %d\n", ret);
+ dev_err(dev, "Mbox send RX_CH_CFG fail %d\n", ret);
goto fail;
}
fail:
ti_sci_put_one_xfer(&info->minfo, xfer);
- dev_dbg(info->dev, "RX_CH_CFG: chn %u ret:%d\n", params->index, ret);
+ dev_dbg(dev, "RX_CH_CFG: chn %u ret:%d\n", params->index, ret);
return ret;
}