Home
last modified time | relevance | path

Searched refs:byte_index (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c581 int byte_index = 0; in lan743x_ethtool_get_rxfh() local
587 byte_index = dw_index << 2; in lan743x_ethtool_get_rxfh()
588 indir[byte_index + 0] = in lan743x_ethtool_get_rxfh()
590 indir[byte_index + 1] = in lan743x_ethtool_get_rxfh()
592 indir[byte_index + 2] = in lan743x_ethtool_get_rxfh()
594 indir[byte_index + 3] = in lan743x_ethtool_get_rxfh()
600 int byte_index = 0; in lan743x_ethtool_get_rxfh() local
607 byte_index = dword_index << 2; in lan743x_ethtool_get_rxfh()
608 key[byte_index + 0] = in lan743x_ethtool_get_rxfh()
610 key[byte_index + 1] = in lan743x_ethtool_get_rxfh()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_osdep.h48 static inline void set_64bit_val(u64 *wqe_words, u32 byte_index, u64 value) in set_64bit_val() argument
50 wqe_words[byte_index >> 3] = value; in set_64bit_val()
59 static inline void set_32bit_val(u32 *wqe_words, u32 byte_index, u32 value) in set_32bit_val() argument
61 wqe_words[byte_index >> 2] = value; in set_32bit_val()
70 static inline void get_64bit_val(u64 *wqe_words, u32 byte_index, u64 *value) in get_64bit_val() argument
72 *value = wqe_words[byte_index >> 3]; in get_64bit_val()
81 static inline void get_32bit_val(u32 *wqe_words, u32 byte_index, u32 *value) in get_32bit_val() argument
83 *value = wqe_words[byte_index >> 2]; in get_32bit_val()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_eld.c123 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()
Dpatch_hdmi.c421 int *packet_index, int *byte_index) in hdmi_get_dip_index() argument
429 *byte_index = val & 0x1f; in hdmi_get_dip_index()
434 int packet_index, int byte_index) in hdmi_set_dip_index() argument
438 val = (packet_index << 5) | (byte_index & 0x1f); in hdmi_set_dip_index()
/kernel/linux/linux-5.10/tools/firewire/
Dnosy-dump.c657 #define byte_index(i) ((i) ^ 3) macro
659 #define byte_index(i) (i) macro
677 data[byte_index(i)]); in dump_data()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c2295 uint8_t byte_index = 0; in set_avi_info_frame() local
2523 for (byte_index = 1; byte_index <= hdmi_info.bits.header.length; byte_index++) in set_avi_info_frame()
2524 *check_sum += hdmi_info.packet_raw_data.sb[byte_index]; in set_avi_info_frame()
2534 for (byte_index = 0; byte_index < sizeof(hdmi_info.packet_raw_data.sb); byte_index++) in set_avi_info_frame()
2535 info_packet->sb[byte_index] = hdmi_info.packet_raw_data.sb[byte_index]; in set_avi_info_frame()
/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-fec.c124 u64 rsb, int byte_index, unsigned block_offset, in fec_decode_bufs() argument
149 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs()
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c6783 unsigned int byte_index; in pqi_is_firmware_feature_supported() local
6785 byte_index = bit_position / BITS_PER_BYTE; in pqi_is_firmware_feature_supported()
6787 if (byte_index >= le16_to_cpu(firmware_features->num_elements)) in pqi_is_firmware_feature_supported()
6790 return firmware_features->features_supported[byte_index] & in pqi_is_firmware_feature_supported()
6799 unsigned int byte_index; in pqi_is_firmware_feature_enabled() local
6802 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_is_firmware_feature_enabled()
6807 features_supported) + byte_index; in pqi_is_firmware_feature_enabled()
6817 unsigned int byte_index; in pqi_request_firmware_feature() local
6819 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_request_firmware_feature()
6822 firmware_features->features_supported[byte_index] |= in pqi_request_firmware_feature()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dhdac_hdmi.c336 int packet_index, int byte_index) in hdac_hdmi_set_dip_index() argument
340 val = (packet_index << 5) | (byte_index & 0x1f); in hdac_hdmi_set_dip_index()