| /Linux-v6.6/drivers/char/hw_random/ |
| D | virtio-rng.c | 29 unsigned int data_idx; member 56 vi->data_idx = 0; in request_entropy() 70 memcpy(buf, vi->data + vi->data_idx, size); in copy_data() 71 vi->data_idx += size; in copy_data() 181 vi->data_idx = 0; in remove_common()
|
| /Linux-v6.6/drivers/phy/socionext/ |
| D | phy-uniphier-usb2.c | 114 int ret, data_idx, ndatas; in uniphier_u2phy_probe() local 156 ret = of_property_read_u32(child, "reg", &data_idx); in uniphier_u2phy_probe() 162 if (data_idx < ndatas) in uniphier_u2phy_probe() 163 priv->data = &data[data_idx]; in uniphier_u2phy_probe()
|
| /Linux-v6.6/drivers/i2c/busses/ |
| D | i2c-designware-master.c | 288 int msg_wrt_idx, msg_itr_lmt, buf_len, data_idx; in amd_i2c_dw_xfer_quirk() local 337 for (data_idx = 0; data_idx < buf_len; data_idx++) { in amd_i2c_dw_xfer_quirk() 339 tx_buf[data_idx] = val; in amd_i2c_dw_xfer_quirk() 380 int msg_idx, buf_len, data_idx, ret; in txgbe_i2c_dw_xfer_quirk() local 393 for (data_idx = 0; data_idx < buf_len; data_idx++) { in txgbe_i2c_dw_xfer_quirk() 394 if (msg_idx == num_msgs - 1 && data_idx == buf_len - 1) in txgbe_i2c_dw_xfer_quirk() 405 buf[data_idx] = val; in txgbe_i2c_dw_xfer_quirk() 412 buf[data_idx] | stop); in txgbe_i2c_dw_xfer_quirk()
|
| D | i2c-mlxbf.c | 738 u8 op_idx, data_idx, data_len, write_len, read_len; in mlxbf_i2c_smbus_start_transaction() local 749 data_idx = 0; in mlxbf_i2c_smbus_start_transaction() 773 data_desc[data_idx++] = addr; in mlxbf_i2c_smbus_start_transaction() 794 if (data_idx + operation->length > in mlxbf_i2c_smbus_start_transaction() 799 memcpy(data_desc + data_idx, in mlxbf_i2c_smbus_start_transaction() 801 data_idx += operation->length; in mlxbf_i2c_smbus_start_transaction()
|
| /Linux-v6.6/drivers/crypto/aspeed/ |
| D | aspeed-acry.c | 216 int data_idx; in aspeed_acry_rsa_sg_copy_to_buffer() local 223 data_idx = acry_dev->data_byte_mapping[i]; in aspeed_acry_rsa_sg_copy_to_buffer() 224 buf[data_idx] = dram_buffer[j]; in aspeed_acry_rsa_sg_copy_to_buffer() 229 data_idx = acry_dev->data_byte_mapping[i]; in aspeed_acry_rsa_sg_copy_to_buffer() 230 buf[data_idx] = 0; in aspeed_acry_rsa_sg_copy_to_buffer() 308 int data_idx; in aspeed_acry_rsa_transfer() local 320 data_idx = acry_dev->data_byte_mapping[j]; in aspeed_acry_rsa_transfer() 321 if (readb(sram_buffer + data_idx) == 0 && leading_zero) { in aspeed_acry_rsa_transfer() 325 dram_buffer[i] = readb(sram_buffer + data_idx); in aspeed_acry_rsa_transfer()
|
| /Linux-v6.6/drivers/spi/ |
| D | spi-hisi-sfc-v3xx.c | 286 int data_idx, addr_idx, cmd_idx; in hisi_sfc_v3xx_start_bus() local 288 data_idx = (op->data.buswidth - 1) / 2; in hisi_sfc_v3xx_start_bus() 291 buswidth_mode = hisi_sfc_v3xx_io_modes[data_idx][addr_idx][cmd_idx]; in hisi_sfc_v3xx_start_bus()
|
| /Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | d3.c | 2128 int data_idx, status_idx = 0; in iwl_mvm_convert_gtk_v3() local 2135 for (data_idx = 0; data_idx < ARRAY_SIZE(status->gtk); data_idx++) { in iwl_mvm_convert_gtk_v3() 2136 if (!(data[data_idx].key_len)) in iwl_mvm_convert_gtk_v3() 2138 status->gtk[status_idx].len = data[data_idx].key_len; in iwl_mvm_convert_gtk_v3() 2139 status->gtk[status_idx].flags = data[data_idx].key_flags; in iwl_mvm_convert_gtk_v3() 2143 memcpy(status->gtk[status_idx].key, data[data_idx].key, in iwl_mvm_convert_gtk_v3() 2144 sizeof(data[data_idx].key)); in iwl_mvm_convert_gtk_v3() 2151 data[data_idx].tkip_mic_key, in iwl_mvm_convert_gtk_v3() 2152 sizeof(data[data_idx].tkip_mic_key)); in iwl_mvm_convert_gtk_v3()
|
| /Linux-v6.6/drivers/input/touchscreen/ |
| D | ads7846.c | 137 int (*filter)(void *data, int data_idx, int *val); 644 static int ads7846_debounce_filter(void *ads, int data_idx, int *val) in ads7846_debounce_filter() argument 686 static int ads7846_no_filter(void *ads, int data_idx, int *val) in ads7846_no_filter() argument
|
| /Linux-v6.6/drivers/net/ethernet/intel/igc/ |
| D | igc_main.c | 3468 const size_t data_idx = i * 8; in igc_write_flex_filter_ll() local 3471 (data[data_idx + 0] << 0) | in igc_write_flex_filter_ll() 3472 (data[data_idx + 1] << 8) | in igc_write_flex_filter_ll() 3473 (data[data_idx + 2] << 16) | in igc_write_flex_filter_ll() 3474 (data[data_idx + 3] << 24); in igc_write_flex_filter_ll() 3476 (data[data_idx + 4] << 0) | in igc_write_flex_filter_ll() 3477 (data[data_idx + 5] << 8) | in igc_write_flex_filter_ll() 3478 (data[data_idx + 6] << 16) | in igc_write_flex_filter_ll() 3479 (data[data_idx + 7] << 24); in igc_write_flex_filter_ll()
|
| /Linux-v6.6/drivers/scsi/hisi_sas/ |
| D | hisi_sas_v2_hw.c | 3501 int data_idx = phy_no + 3 - (phy_no % 4) * 2; in write_gpio_v2_hw() local 3503 writeb(write_data[data_idx], reg_addr); in write_gpio_v2_hw()
|