Home
last modified time | relevance | path

Searched refs:pos1 (Results 1 – 5 of 5) sorted by relevance

/drivers/misc/
Dspear13xx_pcie_gadget.c444 u32 pos, pos1; in pcie_gadget_store_bar0_size() local
457 pos1 = 0; in pcie_gadget_store_bar0_size()
461 pos1 = pos + 1; in pcie_gadget_store_bar0_size()
466 pos1--; in pcie_gadget_store_bar0_size()
468 size = 1 << pos1; in pcie_gadget_store_bar0_size()
/drivers/staging/ft1000/ft1000-usb/
Dft1000_hw.c364 u16 pos1; in fix_ft1000_write_dpram32() local
372 pos1 = (indx / 4) * 4; in fix_ft1000_write_dpram32()
374 ret = ft1000_read_dpram32(ft1000dev, pos1, buf, 16); in fix_ft1000_write_dpram32()
382 ret = ft1000_write_dpram32(ft1000dev, pos1, buf, 16); in fix_ft1000_write_dpram32()
388 ret = ft1000_read_dpram32(ft1000dev, pos1, (u8 *)&resultbuffer[0], 16); in fix_ft1000_write_dpram32()
399 ret = ft1000_write_dpram32(ft1000dev, pos1, in fix_ft1000_write_dpram32()
401 ret = ft1000_read_dpram32(ft1000dev, pos1, in fix_ft1000_write_dpram32()
/drivers/gpu/drm/radeon/
Drs600.c65 u32 pos1, pos2; in avivo_is_counter_moving() local
67 pos1 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]); in avivo_is_counter_moving()
70 if (pos1 != pos2) in avivo_is_counter_moving()
Devergreen.c1112 u32 pos1, pos2; in dce4_is_counter_moving() local
1114 pos1 = RREG32(EVERGREEN_CRTC_STATUS_POSITION + crtc_offsets[crtc]); in dce4_is_counter_moving()
1117 if (pos1 != pos2) in dce4_is_counter_moving()
/drivers/thermal/
Dthermal_core.c1137 struct thermal_zone_device *pos1; in thermal_zone_bind_cooling_device() local
1145 list_for_each_entry(pos1, &thermal_tz_list, node) { in thermal_zone_bind_cooling_device()
1146 if (pos1 == tz) in thermal_zone_bind_cooling_device()
1154 if (tz != pos1 || cdev != pos2) in thermal_zone_bind_cooling_device()