Searched refs:byte_num (Results 1 – 10 of 10) sorted by relevance
/openbmc/u-boot/drivers/mmc/ |
H A D | fsl_esdhc_spl.c | 62 uint i, byte_num; in mmc_boot() local 109 byte_num = 4; in mmc_boot() 111 for (i = 0; i < byte_num; i++) { in mmc_boot() 117 byte_num = 4; in mmc_boot() 119 for (i = 0; i < byte_num; i++) { in mmc_boot()
|
H A D | bcm2835_sdhci.c | 121 u32 byte_num = reg & 3; in bcm2835_sdhci_writeb() local 122 u32 byte_shift = byte_num * 8; in bcm2835_sdhci_writeb() 149 u32 byte_num = reg & 3; in bcm2835_sdhci_readb() local 150 u32 byte_shift = byte_num * 8; in bcm2835_sdhci_readb()
|
/openbmc/qemu/tests/qtest/ |
H A D | pnv-host-i2c-test.c | 64 int byte_num; in pnv_i2c_send() local 90 for (byte_num = 0; byte_num < len; byte_num++) { in pnv_i2c_send() 91 reg64 = SETFIELD(I2C_FIFO, 0ull, buf[byte_num]); in pnv_i2c_send() 106 int byte_num; in pnv_i2c_recv() local 133 for (byte_num = 0; byte_num < len; byte_num++) { in pnv_i2c_recv() 135 buf[byte_num] = GETFIELD(I2C_FIFO, reg64); in pnv_i2c_recv()
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-dc.c | 284 int byte_num, int offset, int mask) in ipu_dc_map_config() argument 286 int ptr = map * 3 + byte_num; in ipu_dc_map_config() 295 reg &= ~(0x1f << ((16 * (map & 0x1)) + (5 * byte_num))); in ipu_dc_map_config() 296 reg |= ptr << ((16 * (map & 0x1)) + (5 * byte_num)); in ipu_dc_map_config()
|
/openbmc/u-boot/drivers/video/ |
H A D | ipu_disp.c | 237 static void ipu_dc_map_config(int map, int byte_num, int offset, int mask) in ipu_dc_map_config() argument 239 int ptr = map * 3 + byte_num; in ipu_dc_map_config() 248 reg &= ~(0x1F << ((16 * (map & 0x1)) + (5 * byte_num))); in ipu_dc_map_config() 249 reg |= ptr << ((16 * (map & 0x1)) + (5 * byte_num)); in ipu_dc_map_config()
|
/openbmc/linux/drivers/hwmon/ |
H A D | i5k_amb.c | 82 static unsigned long amb_num_from_reg(unsigned int byte_num, unsigned int bit) in amb_num_from_reg() argument 84 return byte_num * MAX_AMBS_PER_CHANNEL + bit; in amb_num_from_reg()
|
/openbmc/qemu/hw/net/ |
H A D | vmxnet3.c | 354 #define VMXNET3_GET_BYTE(x, byte_num) (((x) >> (byte_num)*8) & 0xFF) argument 355 #define VMXNET3_MAKE_BYTE(byte_num, val) \ argument 356 (((uint32_t)((val) & 0xFF)) << (byte_num)*8)
|
/openbmc/qemu/hw/sd/ |
H A D | sdhci.c | 984 sdhci_buff_access_is_sequential(SDHCIState *s, unsigned byte_num) in sdhci_buff_access_is_sequential() argument 986 if ((s->data_count & 0x3) != byte_num) { in sdhci_buff_access_is_sequential()
|
/openbmc/linux/security/selinux/ss/ |
H A D | policydb.c | 413 unsigned int byte_num; in filenametr_hash() local 418 byte_num = 0; in filenametr_hash() 419 while ((focus = ft->name[byte_num++])) in filenametr_hash()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mac80211.c | 1995 u8 byte_num = ppe_pos_bit / 8; in iwl_mvm_he_get_ppe_val() local 2001 return (ppe[byte_num] >> bit_num) & in iwl_mvm_he_get_ppe_val() 2012 res = (ppe[byte_num + 1] & in iwl_mvm_he_get_ppe_val() 2015 res += (ppe[byte_num] >> bit_num) & (BIT(residue_bits) - 1); in iwl_mvm_he_get_ppe_val()
|