Searched refs:byte_index (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 581 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 …]
|
/drivers/infiniband/hw/irdma/ |
D | defs.h | 1118 static inline void set_64bit_val(__le64 *wqe_words, u32 byte_index, u64 val) in set_64bit_val() argument 1120 wqe_words[byte_index >> 3] = cpu_to_le64(val); in set_64bit_val() 1129 static inline void set_32bit_val(__le32 *wqe_words, u32 byte_index, u32 val) in set_32bit_val() argument 1131 wqe_words[byte_index >> 2] = cpu_to_le32(val); in set_32bit_val() 1140 static inline void get_64bit_val(__le64 *wqe_words, u32 byte_index, u64 *val) in get_64bit_val() argument 1142 *val = le64_to_cpu(wqe_words[byte_index >> 3]); in get_64bit_val() 1151 static inline void get_32bit_val(__le32 *wqe_words, u32 byte_index, u32 *val) in get_32bit_val() argument 1153 *val = le32_to_cpu(wqe_words[byte_index >> 2]); in get_32bit_val()
|
/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 2249 uint8_t byte_index = 0; in set_avi_info_frame() local 2482 for (byte_index = 1; byte_index <= hdmi_info.bits.header.length; byte_index++) in set_avi_info_frame() 2483 *check_sum += hdmi_info.packet_raw_data.sb[byte_index]; in set_avi_info_frame() 2493 for (byte_index = 0; byte_index < sizeof(hdmi_info.packet_raw_data.sb); byte_index++) in set_avi_info_frame() 2494 info_packet->sb[byte_index] = hdmi_info.packet_raw_data.sb[byte_index]; in set_avi_info_frame()
|
/drivers/md/ |
D | dm-verity-fec.c | 125 u64 rsb, int byte_index, unsigned block_offset, in fec_decode_bufs() argument 150 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs()
|
/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 7184 unsigned int byte_index; in pqi_is_firmware_feature_supported() local 7186 byte_index = bit_position / BITS_PER_BYTE; in pqi_is_firmware_feature_supported() 7188 if (byte_index >= le16_to_cpu(firmware_features->num_elements)) in pqi_is_firmware_feature_supported() 7191 return firmware_features->features_supported[byte_index] & in pqi_is_firmware_feature_supported() 7200 unsigned int byte_index; in pqi_is_firmware_feature_enabled() local 7203 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_is_firmware_feature_enabled() 7208 features_supported) + byte_index; in pqi_is_firmware_feature_enabled() 7218 unsigned int byte_index; in pqi_request_firmware_feature() local 7220 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_request_firmware_feature() 7223 firmware_features->features_supported[byte_index] |= in pqi_request_firmware_feature()
|