Lines Matching refs:res_count
1055 int i, err, res_count; in pc87427_probe() local
1064 res_count = (data->address[0] != 0) + (data->address[1] != 0); in pc87427_probe()
1066 err = pc87427_request_regions(pdev, res_count); in pc87427_probe()
1143 int err, i, res_count; in pc87427_device_add() local
1145 res_count = 0; in pc87427_device_add()
1149 res[res_count].start = sio_data->address[i]; in pc87427_device_add()
1150 res[res_count].end = sio_data->address[i] + REGION_LENGTH - 1; in pc87427_device_add()
1151 res[res_count].name = logdev_str[i]; in pc87427_device_add()
1153 err = acpi_check_resource_conflict(&res[res_count]); in pc87427_device_add()
1157 res_count++; in pc87427_device_add()
1167 err = platform_device_add_resources(pdev, res, res_count); in pc87427_device_add()