Home
last modified time | relevance | path

Searched refs:pos2 (Results 1 – 6 of 6) sorted by relevance

/drivers/pci/
Dvc.c105 int ctrl_pos, status_pos, id, pos2, evcc, i, ctrl_pos2, status_pos2; in pci_vc_enable() local
126 pos2 = pci_find_ext_capability(dev->bus->self, PCI_EXT_CAP_ID_VC); in pci_vc_enable()
127 if (!pos2) in pci_vc_enable()
130 pci_read_config_dword(dev->bus->self, pos2 + PCI_VC_PORT_CAP1, &cap1); in pci_vc_enable()
135 ctrl_pos2 = pos2 + PCI_VC_RES_CTRL + in pci_vc_enable()
137 status_pos2 = pos2 + PCI_VC_RES_STATUS + in pci_vc_enable()
/drivers/acpi/acpica/
Dutprint.c170 char *pos2; in acpi_ut_print_number() local
173 pos2 = string; in acpi_ut_print_number()
176 *(pos2++) = *(--pos1); in acpi_ut_print_number()
179 *pos2 = 0; in acpi_ut_print_number()
/drivers/thermal/
Dthermal_core.c609 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device() local
619 list_for_each_entry(pos2, &thermal_cdev_list, node) { in thermal_zone_bind_cooling_device()
620 if (pos2 == cdev) in thermal_zone_bind_cooling_device()
624 if (tz != pos1 || cdev != pos2) in thermal_zone_bind_cooling_device()
/drivers/gpu/drm/radeon/
Drs600.c73 u32 pos1, pos2; in avivo_is_counter_moving() local
76 pos2 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]); in avivo_is_counter_moving()
78 if (pos1 != pos2) in avivo_is_counter_moving()
Devergreen.c1357 u32 pos1, pos2; in dce4_is_counter_moving() local
1360 pos2 = RREG32(EVERGREEN_CRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce4_is_counter_moving()
1362 if (pos1 != pos2) in dce4_is_counter_moving()
/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1831 u8 *pos2 = tpg->lines[next_pat][p]; in tpg_precalculate_line() local
1834 for (x = 0; x < w; x++, pos1++, pos2++, dest++) in tpg_precalculate_line()
1835 *dest = ((u16)*pos1 + (u16)*pos2) / 2; in tpg_precalculate_line()