Home
last modified time | relevance | path

Searched refs:pot (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/potentiometer/
H A Dds1803.c62 int pot = chan->channel; in ds1803_read_raw() local
73 *val = result[pot]; in ds1803_read_raw()
90 int pot = chan->channel; in ds1803_write_raw() local
104 return i2c_smbus_write_byte_data(data->client, DS1803_WRITE(pot), val); in ds1803_write_raw()
/kernel/linux/linux-5.10/drivers/mtd/
H A Dnftlcore.c196 u16 pot = nftl->LastFreeEUN; in NFTL_findfreeblock() local
207 if (nftl->ReplUnitTable[pot] == BLOCK_FREE) { in NFTL_findfreeblock()
208 nftl->LastFreeEUN = pot; in NFTL_findfreeblock()
210 return pot; in NFTL_findfreeblock()
217 if (++pot > nftl->lastEUN) in NFTL_findfreeblock()
218 pot = le16_to_cpu(nftl->MediaHdr.FirstPhysicalEUN); in NFTL_findfreeblock()
226 } while (pot != nftl->LastFreeEUN); in NFTL_findfreeblock()
H A Dinftlcore.c200 u16 pot = inftl->LastFreeEUN; in INFTL_findfreeblock() local
218 if (inftl->PUtable[pot] == BLOCK_FREE) { in INFTL_findfreeblock()
219 inftl->LastFreeEUN = pot; in INFTL_findfreeblock()
220 return pot; in INFTL_findfreeblock()
223 if (++pot > inftl->lastEUN) in INFTL_findfreeblock()
224 pot = 0; in INFTL_findfreeblock()
231 } while (pot != inftl->LastFreeEUN); in INFTL_findfreeblock()
/kernel/linux/linux-6.6/drivers/mtd/
H A Dnftlcore.c196 u16 pot = nftl->LastFreeEUN; in NFTL_findfreeblock() local
207 if (nftl->ReplUnitTable[pot] == BLOCK_FREE) { in NFTL_findfreeblock()
208 nftl->LastFreeEUN = pot; in NFTL_findfreeblock()
210 return pot; in NFTL_findfreeblock()
217 if (++pot > nftl->lastEUN) in NFTL_findfreeblock()
218 pot = le16_to_cpu(nftl->MediaHdr.FirstPhysicalEUN); in NFTL_findfreeblock()
226 } while (pot != nftl->LastFreeEUN); in NFTL_findfreeblock()
H A Dinftlcore.c200 u16 pot = inftl->LastFreeEUN; in INFTL_findfreeblock() local
218 if (inftl->PUtable[pot] == BLOCK_FREE) { in INFTL_findfreeblock()
219 inftl->LastFreeEUN = pot; in INFTL_findfreeblock()
220 return pot; in INFTL_findfreeblock()
223 if (++pot > inftl->lastEUN) in INFTL_findfreeblock()
224 pot = 0; in INFTL_findfreeblock()
231 } while (pot != inftl->LastFreeEUN); in INFTL_findfreeblock()
/kernel/linux/linux-5.10/drivers/staging/fbtft/
H A Dfb_uc1611.c26 * LCD voltage is a combination of ratio, gain, pot and temp
29 * V_LCD = (C_V0 + C_PM × pot) * (1 + (T - 25) * temp)
43 static unsigned int pot = 16; variable
44 module_param(pot, uint, 0000);
45 MODULE_PARM_DESC(pot, "PM[6:0] Bias voltage pot.: 0-63 (default: 16)");
88 write_reg(par, (gain & 0x03) << 6 | (pot & 0x3F)); in init_display()
/kernel/linux/linux-6.6/drivers/staging/fbtft/
H A Dfb_uc1611.c26 * LCD voltage is a combination of ratio, gain, pot and temp
29 * V_LCD = (C_V0 + C_PM × pot) * (1 + (T - 25) * temp)
43 static unsigned int pot = 16; variable
44 module_param(pot, uint, 0000);
45 MODULE_PARM_DESC(pot, "PM[6:0] Bias voltage pot.: 0-63 (default: 16)");
88 write_reg(par, (gain & 0x03) << 6 | (pot & 0x3F)); in init_display()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c663 unsigned int pot; in pot_hole() local
680 /* Insert a pair of pages across every pot boundary within the hole */ in pot_hole()
681 for (pot = fls64(hole_end - 1) - 1; in pot_hole()
682 pot > ilog2(2 * I915_GTT_PAGE_SIZE); in pot_hole()
683 pot--) { in pot_hole()
684 u64 step = BIT_ULL(pot); in pot_hole()
717 __func__, pot, fls64(hole_end - 1) - 1)) { in pot_hole()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c724 unsigned int pot; in pot_hole() local
743 /* Insert a pair of pages across every pot boundary within the hole */ in pot_hole()
744 for (pot = fls64(hole_end - 1) - 1; in pot_hole()
745 pot > ilog2(2 * min_alignment); in pot_hole()
746 pot--) { in pot_hole()
747 u64 step = BIT_ULL(pot); in pot_hole()
780 __func__, pot, fls64(hole_end - 1) - 1)) { in pot_hole()

Completed in 10 milliseconds