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/i40iw/ |
D | i40iw_osdep.h | 48 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()
|
/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 2301 uint8_t byte_index = 0; in set_avi_info_frame() local 2529 for (byte_index = 1; byte_index <= hdmi_info.bits.header.length; byte_index++) in set_avi_info_frame() 2530 *check_sum += hdmi_info.packet_raw_data.sb[byte_index]; in set_avi_info_frame() 2540 for (byte_index = 0; byte_index < sizeof(hdmi_info.packet_raw_data.sb); byte_index++) in set_avi_info_frame() 2541 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 | 6783 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()
|