Searched refs:dev_cfg (Results 1 – 3 of 3) sorted by relevance
15 struct adf_cfg_device_data *dev_cfg = sfile->private; in qat_dev_cfg_start() local18 return seq_list_start(&dev_cfg->sec_list, *pos); in qat_dev_cfg_start()38 struct adf_cfg_device_data *dev_cfg = sfile->private; in qat_dev_cfg_next() local40 return seq_list_next(v, &dev_cfg->sec_list, pos); in qat_dev_cfg_next()
285 u32 dev_cfg; in csi2rx_get_resources() local320 dev_cfg = readl(csi2rx->base + CSI2RX_DEVICE_CFG_REG); in csi2rx_get_resources()323 csi2rx->max_lanes = dev_cfg & 7; in csi2rx_get_resources()330 csi2rx->max_streams = (dev_cfg >> 4) & 7; in csi2rx_get_resources()337 csi2rx->has_internal_dphy = dev_cfg & BIT(3) ? true : false; in csi2rx_get_resources()
438 u32 dev_cfg; in csi2tx_get_resources() local458 dev_cfg = readl(csi2tx->base + CSI2TX_DEVICE_CONFIG_REG); in csi2tx_get_resources()461 csi2tx->max_lanes = dev_cfg & CSI2TX_DEVICE_CONFIG_LANES_MASK; in csi2tx_get_resources()468 csi2tx->max_streams = (dev_cfg & CSI2TX_DEVICE_CONFIG_STREAMS_MASK) >> 4; in csi2tx_get_resources()475 csi2tx->has_internal_dphy = !!(dev_cfg & CSI2TX_DEVICE_CONFIG_HAS_DPHY); in csi2tx_get_resources()