Lines Matching defs:dev_conf
461 dev_info->nb_vchans = dev->data->dev_conf.nb_vchans;
469 rte_dma_configure(int16_t dev_id, const struct rte_dma_conf *dev_conf)
475 if (!rte_dma_is_valid(dev_id) || dev_conf == NULL)
491 if (dev_conf->nb_vchans == 0) {
496 if (dev_conf->nb_vchans > dev_info.max_vchans) {
501 if (dev_conf->enable_silent &&
508 (dev_conf->priority >= dev_info.nb_priorities)) {
515 ret = (*dev->dev_ops->dev_configure)(dev, dev_conf,
518 memcpy(&dev->data->dev_conf, dev_conf,
521 rte_dma_trace_configure(dev_id, dev_conf, ret);
536 if (dev->data->dev_conf.nb_vchans == 0) {
640 if (dev->data->dev_conf.nb_vchans == 0) {
719 if (vchan >= dev->data->dev_conf.nb_vchans &&
743 if (vchan >= dev->data->dev_conf.nb_vchans &&
767 if (vchan >= dev->data->dev_conf.nb_vchans) {
850 dev->data->dev_conf.enable_silent ? "on" : "off");