Lines Matching refs:subdevs
133 .subdevs = pdata_subdevs,
175 if (!pdata.subdevs[i].type)
178 if (pdata.subdevs[i].type)
190 pdata.subdevs[i].type = type;
191 pdata.subdevs[i].port = gs->csi_port;
192 pdata.subdevs[i].lanes = gs->csi_lanes;
193 pdata.subdevs[i].subdev = subdev;
206 if (pdata.subdevs[i].subdev == sd) {
208 pdata.subdevs[j - 1] = pdata.subdevs[j];
1140 if (!pdata.subdevs[i].type)
1144 dev_err(&client->dev, "Error too many subdevs already registered\n");
1152 pdata.subdevs[i].type = RAW_CAMERA;
1153 pdata.subdevs[i].port = port;
1154 pdata.subdevs[i].lanes = lanes;
1155 pdata.subdevs[i].subdev = subdev;
1165 if (pdata.subdevs[i].subdev != subdev)
1169 pdata.subdevs[i].subdev = NULL;
1170 pdata.subdevs[i].type = 0;
1171 pdata.subdevs[i].port = 0;