Searched refs:byte_index (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/drivers/net/ethernet/microchip/ |
| H A D | lan743x_ethtool.c | 943 int byte_index = 0; in lan743x_ethtool_get_rxfh() local 949 byte_index = dw_index << 2; in lan743x_ethtool_get_rxfh() 950 rxfh->indir[byte_index + 0] = in lan743x_ethtool_get_rxfh() 952 rxfh->indir[byte_index + 1] = in lan743x_ethtool_get_rxfh() 962 int byte_index = 0; in lan743x_ethtool_get_rxfh() local 970 rxfh->key[byte_index + 0] = in lan743x_ethtool_get_rxfh() 972 rxfh->key[byte_index + 1] = in lan743x_ethtool_get_rxfh() 974 rxfh->key[byte_index + 2] = in lan743x_ethtool_get_rxfh() 976 rxfh->key[byte_index + 3] = in lan743x_ethtool_get_rxfh() 999 int byte_index = 0; in lan743x_ethtool_set_rxfh() local [all …]
|
| /linux-6.15/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-6.15/sound/pci/hda/ |
| H A D | hda_eld.c | 35 int byte_index) in hdmi_get_eld_data() argument 40 AC_VERB_GET_HDMI_ELDD, byte_index); in hdmi_get_eld_data() 42 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-6.15/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-6.15/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-6.15/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 4423 uint8_t byte_index = 0; in set_avi_info_frame() local 4648 for (byte_index = 1; byte_index <= hdmi_info.bits.header.length; byte_index++) in set_avi_info_frame() 4649 *check_sum += hdmi_info.packet_raw_data.sb[byte_index]; in set_avi_info_frame() 4659 for (byte_index = 0; byte_index < sizeof(hdmi_info.packet_raw_data.sb); byte_index++) in set_avi_info_frame() 4660 info_packet->sb[byte_index] = hdmi_info.packet_raw_data.sb[byte_index]; in set_avi_info_frame()
|
| /linux-6.15/drivers/scsi/smartpqi/ |
| H A D | smartpqi_init.c | 7770 unsigned int byte_index; in pqi_is_firmware_feature_supported() local 7772 byte_index = bit_position / BITS_PER_BYTE; in pqi_is_firmware_feature_supported() 7774 if (byte_index >= le16_to_cpu(firmware_features->num_elements)) in pqi_is_firmware_feature_supported() 7777 return firmware_features->features_supported[byte_index] & in pqi_is_firmware_feature_supported() 7786 unsigned int byte_index; in pqi_is_firmware_feature_enabled() local 7789 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_is_firmware_feature_enabled() 7794 features_supported) + byte_index; in pqi_is_firmware_feature_enabled() 7804 unsigned int byte_index; in pqi_request_firmware_feature() local 7806 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_request_firmware_feature() 7809 firmware_features->features_supported[byte_index] |= in pqi_request_firmware_feature()
|
| /linux-6.15/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()
|