Home
last modified time | relevance | path

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

/drivers/pci/
Dvc.c106 int ctrl_pos, status_pos, id, pos2, evcc, i, ctrl_pos2, status_pos2; in pci_vc_enable() local
128 pos2 = pci_find_ext_capability(dev->bus->self, PCI_EXT_CAP_ID_VC); in pci_vc_enable()
129 if (!pos2) in pci_vc_enable()
132 pci_read_config_dword(dev->bus->self, pos2 + PCI_VC_PORT_CAP1, &cap1); in pci_vc_enable()
137 ctrl_pos2 = pos2 + PCI_VC_RES_CTRL + in pci_vc_enable()
139 status_pos2 = pos2 + PCI_VC_RES_STATUS + in pci_vc_enable()
/drivers/scsi/
DNCR_Q720.c147 __u8 pos2, pos4, asr2, asr9, asr10; in NCR_Q720_probe() local
156 pos2 = mca_device_read_pos(mca_dev, 2); in NCR_Q720_probe()
158 pos2 |= NCR_Q720_POS2_BOARD_ENABLE | NCR_Q720_POS2_INTERRUPT_ENABLE; in NCR_Q720_probe()
159 mca_device_write_pos(mca_dev, 2, pos2); in NCR_Q720_probe()
161 io_base = (pos2 & NCR_Q720_POS2_IO_MASK) << NCR_Q720_POS2_IO_SHIFT; in NCR_Q720_probe()
/drivers/acpi/acpica/
Dutprint.c209 char *pos2; in acpi_ut_print_number() local
212 pos2 = string; in acpi_ut_print_number()
215 *(pos2++) = *(--pos1); in acpi_ut_print_number()
218 *pos2 = 0; in acpi_ut_print_number()
/drivers/staging/ft1000/ft1000-usb/
Dft1000_hw.c230 u16 pos2; in fix_ft1000_write_dpram32() local
242 pos2 = (indx % 4)*4; in fix_ft1000_write_dpram32()
243 buf[pos2++] = *buffer++; in fix_ft1000_write_dpram32()
244 buf[pos2++] = *buffer++; in fix_ft1000_write_dpram32()
245 buf[pos2++] = *buffer++; in fix_ft1000_write_dpram32()
246 buf[pos2++] = *buffer++; in fix_ft1000_write_dpram32()
/drivers/gpu/drm/radeon/
Drs600.c65 u32 pos1, pos2; in avivo_is_counter_moving() local
68 pos2 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]); in avivo_is_counter_moving()
70 if (pos1 != pos2) in avivo_is_counter_moving()
Devergreen.c1255 u32 pos1, pos2; in dce4_is_counter_moving() local
1258 pos2 = RREG32(EVERGREEN_CRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce4_is_counter_moving()
1260 if (pos1 != pos2) in dce4_is_counter_moving()
/drivers/thermal/
Dthermal_core.c953 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device() local
964 list_for_each_entry(pos2, &thermal_cdev_list, node) { in thermal_zone_bind_cooling_device()
965 if (pos2 == cdev) in thermal_zone_bind_cooling_device()
969 if (tz != pos1 || cdev != pos2) in thermal_zone_bind_cooling_device()