Searched refs:byte_index (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/infiniband/hw/irdma/ |
H A D | defs.h | 1121 static inline void set_64bit_val(__le64 *wqe_words, u32 byte_index, u64 val) in set_64bit_val() argument 1123 wqe_words[byte_index >> 3] = cpu_to_le64(val); in set_64bit_val() 1132 static inline void set_32bit_val(__le32 *wqe_words, u32 byte_index, u32 val) in set_32bit_val() argument 1134 wqe_words[byte_index >> 2] = cpu_to_le32(val); in set_32bit_val() 1143 static inline void get_64bit_val(__le64 *wqe_words, u32 byte_index, u64 *val) in get_64bit_val() argument 1145 *val = le64_to_cpu(wqe_words[byte_index >> 3]); in get_64bit_val() 1154 static inline void get_32bit_val(__le32 *wqe_words, u32 byte_index, u32 *val) in get_32bit_val() argument 1156 *val = le32_to_cpu(wqe_words[byte_index >> 2]); in get_32bit_val()
|
/linux/sound/pci/hda/ |
H A D | hda_eld.c | 123 int byte_index) in hdmi_get_eld_data() argument 128 AC_VERB_GET_HDMI_ELDD, byte_index); in hdmi_get_eld_data() 130 codec_info(codec, "HDMI: ELD data byte %d: 0x%x\n", byte_index, val); in hdmi_get_eld_data()
|
H A D | patch_hdmi.c | 437 int *packet_index, int *byte_index) in hdmi_get_dip_index() argument 445 *byte_index = val & 0x1f; in hdmi_get_dip_index() 450 int packet_index, int byte_index) in hdmi_set_dip_index() argument 454 val = (packet_index << 5) | (byte_index & 0x1f); in hdmi_set_dip_index()
|
/linux/tools/firewire/ |
H A D | nosy-dump.c | 657 #define byte_index(i) ((i) ^ 3) macro 659 #define byte_index(i) (i) macro 677 data[byte_index(i)]); in dump_data()
|
/linux/drivers/md/ |
H A D | dm-verity-fec.c | 114 struct dm_verity_fec_io *fio, u64 rsb, int byte_index, in fec_decode_bufs() argument 146 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs()
|
/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 7769 unsigned int byte_index; in pqi_is_firmware_feature_supported() local 7771 byte_index = bit_position / BITS_PER_BYTE; in pqi_is_firmware_feature_supported() 7773 if (byte_index >= le16_to_cpu(firmware_features->num_elements)) in pqi_is_firmware_feature_supported() 7776 return firmware_features->features_supported[byte_index] & in pqi_is_firmware_feature_supported() 7785 unsigned int byte_index; in pqi_is_firmware_feature_enabled() local 7788 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_is_firmware_feature_enabled() 7793 features_supported) + byte_index; in pqi_is_firmware_feature_enabled() 7803 unsigned int byte_index; in pqi_request_firmware_feature() local 7805 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_request_firmware_feature() 7808 firmware_features->features_supported[byte_index] |= in pqi_request_firmware_feature()
|
/linux/sound/soc/codecs/ |
H A D | hdac_hdmi.c | 337 int packet_index, int byte_index) in hdac_hdmi_set_dip_index() argument 341 val = (packet_index << 5) | (byte_index & 0x1f); in hdac_hdmi_set_dip_index()
|