Searched refs:pos1 (Results 1 – 5 of 5) sorted by relevance
/drivers/misc/ |
D | spear13xx_pcie_gadget.c | 444 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/ |
D | ft1000_hw.c | 364 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/ |
D | rs600.c | 65 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()
|
D | evergreen.c | 1112 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/ |
D | thermal_core.c | 1137 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()
|