• Home
  • Raw
  • Download

Lines Matching refs:modules

680 		sl = &vind->modules[num].sensors;  in vin_gpio_request()
706 sl = &vind->modules[num].sensors; in vin_gpio_release()
1145 struct vin_module_info *modules = &module->modules; in __vin_register_module() local
1149 modules->sensor[i].sd = NULL; in __vin_register_module()
1150 return modules->sensor[i].sd; in __vin_register_module()
1154 modules->sensor[i].sd = __vin_subdev_register(vind, inst->cam_name, in __vin_register_module()
1156 modules->sensor[i].type, in __vin_register_module()
1161 if (!module->act_used || !modules->sensor[i].sd) { in __vin_register_module()
1162 modules->act[i].sd = NULL; in __vin_register_module()
1163 return modules->sensor[i].sd; in __vin_register_module()
1166 modules->act[i].sd = __vin_subdev_register(vind, inst->act_name, in __vin_register_module()
1168 modules->act[i].type, in __vin_register_module()
1170 return modules->sensor[i].sd; in __vin_register_module()
1175 struct vin_module_info *modules = &module->modules; in __vin_unregister_module() local
1178 __vin_subdev_unregister(modules->sensor[i].sd, in __vin_unregister_module()
1179 modules->sensor[i].type); in __vin_unregister_module()
1180 __vin_subdev_unregister(modules->act[i].sd, in __vin_unregister_module()
1181 modules->act[i].type); in __vin_unregister_module()
1183 modules->sensor[i].sd = NULL; in __vin_unregister_module()
1184 modules->act[i].sd = NULL; in __vin_unregister_module()
1273 module = &vind->modules[i]; in vin_md_register_entities()
1274 sensors = &vind->modules[i].sensors; in vin_md_register_entities()
1293 module->modules.flash.sd = sunxi_flash_get_subdev( in vin_md_register_entities()
1294 module->modules.flash.id); in vin_md_register_entities()
1297 module->modules.flash.sd); in vin_md_register_entities()
1300 module->modules.flash.id); in vin_md_register_entities()
1316 module = &vind->modules[vind->vinc[i]->rear_sensor]; in vin_md_register_entities()
1394 struct vin_module_info *modules = NULL; in vin_md_unregister_entities() local
1397 sensors = &vind->modules[i].sensors; in vin_md_unregister_entities()
1399 __vin_unregister_module(&vind->modules[i], in vin_md_unregister_entities()
1402 modules = &vind->modules[i].modules; in vin_md_unregister_entities()
1403 v4l2_device_unregister_subdev(modules->flash.sd); in vin_md_unregister_entities()
1404 modules->flash.sd = NULL; in vin_md_unregister_entities()
1461 sensor = module->modules.sensor[module->sensors.valid_idx].sd; in sensor_link_to_mipi_csi()
1499 module = &vind->modules[vinc->rear_sensor]; in vin_create_media_links()
1502 module = &vind->modules[vinc->front_sensor]; in vin_create_media_links()
1523 module = &vind->modules[vinc->rear_sensor]; in vin_create_media_links()
1526 module = &vind->modules[vinc->front_sensor]; in vin_create_media_links()
1803 vind->modules[num].modules.flash.type = VIN_MODULE_TYPE_GPIO; in vin_probe()
1805 vind->modules[num].sensors.inst[0].cam_addr = i2c0_addr; in vin_probe()
1806 strcpy(vind->modules[num].sensors.inst[0].cam_name, ccm0); in vin_probe()
1807 vind->modules[num].sensors.inst[0].act_addr = act_slave; in vin_probe()
1808 strcpy(vind->modules[num].sensors.inst[0].act_name, act_name); in vin_probe()
1809 vind->modules[num].sensors.use_sensor_list = use_sensor_list; in vin_probe()
1811 vind->modules[num].sensors.gpio[i] = -1; in vin_probe()
1818 sensor_type = vind->modules[num].sensors.sensor_bus_type; in vin_probe()
1819 act_type = vind->modules[num].sensors.act_bus_type; in vin_probe()
1826 vind->modules[num].modules.sensor[i].type = sensor_type; in vin_probe()
1827 vind->modules[num].modules.act[i].type = act_type; in vin_probe()