Searched refs:rp0 (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | nand_ecc.c | 132 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local 285 rp0 = (par >> 8) & 0xff; in __nand_calculate_ecc() 289 rp0 = (par & 0xff); in __nand_calculate_ecc() 324 (invparity[rp1] << 1) | (invparity[rp0]); in __nand_calculate_ecc() 333 (invparity[rp1] << 1) | (invparity[rp0]); in __nand_calculate_ecc()
|
/Linux-v5.4/Documentation/driver-api/mtd/ |
D | nand_ecc.rst | 45 byte 0: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp2 rp4 ... rp14 47 byte 2: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp3 rp4 ... rp14 49 byte 4: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp2 rp5 ... rp14 51 byte 254: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp3 rp5 ... rp15 78 - rp0 is the parity of all even bytes (0, 2, 4, 6, ... 252, 254) 131 rp0 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp0; 217 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; 222 rp0 = 0; rp1 = 0; rp2 = 0; rp3 = 0; 231 if (i & 0x01) rp1 ^= cur; else rp0 ^= cur; 248 (parity[rp0]); [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | intel_pm.c | 7562 u32 val, rp0; in cherryview_rps_max_freq() local 7569 rp0 = (val >> FB_GFX_FMAX_AT_VMAX_2SS4EU_FUSE_SHIFT); in cherryview_rps_max_freq() 7573 rp0 = (val >> FB_GFX_FMAX_AT_VMAX_2SS6EU_FUSE_SHIFT); in cherryview_rps_max_freq() 7579 rp0 = (val >> FB_GFX_FMAX_AT_VMAX_2SS8EU_FUSE_SHIFT); in cherryview_rps_max_freq() 7583 rp0 = (rp0 & FB_GFX_FREQ_FUSE_MASK); in cherryview_rps_max_freq() 7585 return rp0; in cherryview_rps_max_freq() 7632 u32 val, rp0; in valleyview_rps_max_freq() local 7636 rp0 = (val & FB_GFX_MAX_FREQ_FUSE_MASK) >> FB_GFX_MAX_FREQ_FUSE_SHIFT; in valleyview_rps_max_freq() 7638 rp0 = min_t(u32, rp0, 0xea); in valleyview_rps_max_freq() 7640 return rp0; in valleyview_rps_max_freq()
|