Lines Matching refs:res_count
1080 int i, err, res_count; in pc87427_probe() local
1089 res_count = (data->address[0] != 0) + (data->address[1] != 0); in pc87427_probe()
1091 err = pc87427_request_regions(pdev, res_count); in pc87427_probe()
1168 int err, i, res_count; in pc87427_device_add() local
1170 res_count = 0; in pc87427_device_add()
1174 res[res_count].start = sio_data->address[i]; in pc87427_device_add()
1175 res[res_count].end = sio_data->address[i] + REGION_LENGTH - 1; in pc87427_device_add()
1176 res[res_count].name = logdev_str[i]; in pc87427_device_add()
1178 err = acpi_check_resource_conflict(&res[res_count]); in pc87427_device_add()
1182 res_count++; in pc87427_device_add()
1192 err = platform_device_add_resources(pdev, res, res_count); in pc87427_device_add()