Home
last modified time | relevance | path

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

/linux/drivers/hwmon/pmbus/
H A Ducd9200.c76 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in ucd9200_probe() local
88 block_buffer); in ucd9200_probe()
93 block_buffer[ret] = '\0'; in ucd9200_probe()
94 dev_info(&client->dev, "Device ID %s\n", block_buffer); in ucd9200_probe()
97 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe()
121 block_buffer); in ucd9200_probe()
135 if (!block_buffer[i]) in ucd9200_probe()
H A Dltc4286.c71 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in ltc4286_probe() local
76 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, block_buffer); in ltc4286_probe()
87 strncmp(block_buffer, "LTC", LTC4286_MFR_ID_SIZE)) { in ltc4286_probe()
92 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer); in ltc4286_probe()
99 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ltc4286_probe()
H A Ducd9000.c502 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in ucd9000_probe() local
515 block_buffer); in ucd9000_probe()
520 block_buffer[ret] = '\0'; in ucd9000_probe()
521 dev_info(&client->dev, "Device ID %s\n", block_buffer); in ucd9000_probe()
524 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9000_probe()
565 block_buffer); in ucd9000_probe()
571 int page = UCD9000_MON_PAGE(block_buffer[i]); in ucd9000_probe()
576 switch (UCD9000_MON_TYPE(block_buffer[i])) { in ucd9000_probe()
H A Dadm1275.c512 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in adm1275_probe() local
529 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, block_buffer); in adm1275_probe()
534 if (ret != 3 || strncmp(block_buffer, "ADI", 3)) { in adm1275_probe()
539 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer); in adm1275_probe()
545 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in adm1275_probe()
/linux/arch/riscv/crypto/
H A Dchacha-riscv64-glue.c22 u8 block_buffer[CHACHA_BLOCK_SIZE]; in riscv64_chacha20_crypt() local
46 memcpy(block_buffer, walk.src.virt.addr + nbytes, in riscv64_chacha20_crypt()
48 chacha20_zvkb(ctx->key, block_buffer, block_buffer, in riscv64_chacha20_crypt()
50 memcpy(walk.dst.virt.addr + nbytes, block_buffer, in riscv64_chacha20_crypt()
/linux/fs/verity/
H A Denable.c15 struct block_buffer { struct
24 struct block_buffer *cur) in hash_one_block() argument
26 struct block_buffer *next = cur + 1; in hash_one_block()
79 struct block_buffer _buffers[1 + FS_VERITY_MAX_LEVELS + 1] = {}; in build_merkle_tree()
80 struct block_buffer *buffers = &_buffers[1]; in build_merkle_tree()
/linux/drivers/hwmon/
H A Dlineage-pem.c133 u8 block_buffer[I2C_SMBUS_BLOCK_MAX]; in pem_read_block() local
136 result = i2c_smbus_read_block_data(client, command, block_buffer); in pem_read_block()
143 memcpy(data, block_buffer, data_len); in pem_read_block()
/linux/drivers/memstick/core/
H A Dms_block.h191 unsigned char *block_buffer; member
/linux/drivers/power/supply/
H A Dsbs-battery.c362 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in sbs_read_string_data_fallback() local
405 block_length + 1, block_buffer); in sbs_read_string_data_fallback()
419 memcpy(values, block_buffer + 1, block_length); in sbs_read_string_data_fallback()