Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/char/hw_random/
A Dvirtio-rng.c28 unsigned int data_idx; member
45 vi->data_idx = 0; in random_recv_done()
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-6.3-rc2/drivers/phy/socionext/
A Dphy-uniphier-usb2.c114 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-6.3-rc2/drivers/crypto/aspeed/
A Daspeed-acry.c219 int data_idx; in aspeed_acry_rsa_sg_copy_to_buffer() local
226 data_idx = acry_dev->data_byte_mapping[i]; in aspeed_acry_rsa_sg_copy_to_buffer()
227 buf[data_idx] = dram_buffer[j]; in aspeed_acry_rsa_sg_copy_to_buffer()
232 data_idx = acry_dev->data_byte_mapping[i]; in aspeed_acry_rsa_sg_copy_to_buffer()
233 buf[data_idx] = 0; in aspeed_acry_rsa_sg_copy_to_buffer()
311 int data_idx; in aspeed_acry_rsa_transfer() local
323 data_idx = acry_dev->data_byte_mapping[j]; in aspeed_acry_rsa_transfer()
324 if (readb(sram_buffer + data_idx) == 0 && leading_zero) { in aspeed_acry_rsa_transfer()
328 dram_buffer[i] = readb(sram_buffer + data_idx); in aspeed_acry_rsa_transfer()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-designware-master.c287 int msg_wrt_idx, msg_itr_lmt, buf_len, data_idx; in amd_i2c_dw_xfer_quirk() local
336 for (data_idx = 0; data_idx < buf_len; data_idx++) { in amd_i2c_dw_xfer_quirk()
338 tx_buf[data_idx] = val; in amd_i2c_dw_xfer_quirk()
A Di2c-mlxbf.c738 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-6.3-rc2/drivers/spi/
A Dspi-hisi-sfc-v3xx.c286 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-6.3-rc2/drivers/input/touchscreen/
A Dads7846.c139 int (*filter)(void *data, int data_idx, int *val);
646 static int ads7846_debounce_filter(void *ads, int data_idx, int *val) in ads7846_debounce_filter() argument
688 static int ads7846_no_filter(void *ads, int data_idx, int *val) in ads7846_no_filter() argument
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/
A Digc_main.c3348 const size_t data_idx = i * 8; in igc_write_flex_filter_ll() local
3351 (data[data_idx + 0] << 0) | in igc_write_flex_filter_ll()
3352 (data[data_idx + 1] << 8) | in igc_write_flex_filter_ll()
3353 (data[data_idx + 2] << 16) | in igc_write_flex_filter_ll()
3354 (data[data_idx + 3] << 24); in igc_write_flex_filter_ll()
3356 (data[data_idx + 4] << 0) | in igc_write_flex_filter_ll()
3357 (data[data_idx + 5] << 8) | in igc_write_flex_filter_ll()
3358 (data[data_idx + 6] << 16) | in igc_write_flex_filter_ll()
3359 (data[data_idx + 7] << 24); in igc_write_flex_filter_ll()
/linux-6.3-rc2/drivers/scsi/hisi_sas/
A Dhisi_sas_v2_hw.c3491 int data_idx = phy_no + 3 - (phy_no % 4) * 2; in write_gpio_v2_hw() local
3493 writeb(write_data[data_idx], reg_addr); in write_gpio_v2_hw()

Completed in 51 milliseconds