Searched refs:pos2 (Results 1 – 10 of 10) sorted by relevance
/drivers/pci/ |
D | vc.c | 106 int ctrl_pos, status_pos, id, pos2, evcc, i, ctrl_pos2, status_pos2; in pci_vc_enable() local 127 pos2 = pci_find_ext_capability(dev->bus->self, PCI_EXT_CAP_ID_VC); in pci_vc_enable() 128 if (!pos2) in pci_vc_enable() 131 pci_read_config_dword(dev->bus->self, pos2 + PCI_VC_PORT_CAP1, &cap1); in pci_vc_enable() 136 ctrl_pos2 = pos2 + PCI_VC_RES_CTRL + in pci_vc_enable() 138 status_pos2 = pos2 + PCI_VC_RES_STATUS + in pci_vc_enable()
|
/drivers/scsi/ |
D | NCR_Q720.c | 147 __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/ |
D | utprint.c | 209 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/gpu/drm/radeon/ |
D | rs600.c | 66 u32 pos1, pos2; in avivo_is_counter_moving() local 69 pos2 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]); in avivo_is_counter_moving() 71 if (pos1 != pos2) in avivo_is_counter_moving()
|
D | evergreen.c | 1353 u32 pos1, pos2; in dce4_is_counter_moving() local 1356 pos2 = RREG32(EVERGREEN_CRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce4_is_counter_moving() 1358 if (pos1 != pos2) in dce4_is_counter_moving()
|
/drivers/thermal/ |
D | thermal_core.c | 1267 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device() local 1278 list_for_each_entry(pos2, &thermal_cdev_list, node) { in thermal_zone_bind_cooling_device() 1279 if (pos2 == cdev) in thermal_zone_bind_cooling_device() 1283 if (tz != pos1 || cdev != pos2) in thermal_zone_bind_cooling_device()
|
/drivers/media/platform/vivid/ |
D | vivid-tpg.c | 1514 u8 *pos2 = tpg->lines[next_pat][p]; in tpg_precalculate_line() local 1517 for (x = 0; x < w; x++, pos1++, pos2++, dest++) in tpg_precalculate_line() 1518 *dest = ((u16)*pos1 + (u16)*pos2) / 2; in tpg_precalculate_line()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 152 u32 pos1, pos2; in dce_v8_0_is_counter_moving() local 155 pos2 = RREG32(mmCRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce_v8_0_is_counter_moving() 157 if (pos1 != pos2) in dce_v8_0_is_counter_moving()
|
D | dce_v10_0.c | 203 u32 pos1, pos2; in dce_v10_0_is_counter_moving() local 206 pos2 = RREG32(mmCRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce_v10_0_is_counter_moving() 208 if (pos1 != pos2) in dce_v10_0_is_counter_moving()
|
D | dce_v11_0.c | 193 u32 pos1, pos2; in dce_v11_0_is_counter_moving() local 196 pos2 = RREG32(mmCRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce_v11_0_is_counter_moving() 198 if (pos1 != pos2) in dce_v11_0_is_counter_moving()
|