Searched refs:block_buffer (Results 1 – 7 of 7) sorted by relevance
/drivers/hwmon/pmbus/ |
D | ucd9200.c | 77 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in ucd9200_probe() local 89 block_buffer); in ucd9200_probe() 94 block_buffer[ret] = '\0'; in ucd9200_probe() 95 dev_info(&client->dev, "Device ID %s\n", block_buffer); in ucd9200_probe() 98 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe() 122 block_buffer); in ucd9200_probe() 136 if (!block_buffer[i]) in ucd9200_probe()
|
D | ucd9000.c | 478 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in ucd9000_probe() local 491 block_buffer); in ucd9000_probe() 496 block_buffer[ret] = '\0'; in ucd9000_probe() 497 dev_info(&client->dev, "Device ID %s\n", block_buffer); in ucd9000_probe() 500 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9000_probe() 541 block_buffer); in ucd9000_probe() 547 int page = UCD9000_MON_PAGE(block_buffer[i]); in ucd9000_probe() 552 switch (UCD9000_MON_TYPE(block_buffer[i])) { in ucd9000_probe()
|
D | adm1275.c | 457 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in adm1275_probe() local 473 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, block_buffer); in adm1275_probe() 478 if (ret != 3 || strncmp(block_buffer, "ADI", 3)) { in adm1275_probe() 483 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer); in adm1275_probe() 489 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in adm1275_probe()
|
/drivers/hwmon/ |
D | lineage-pem.c | 133 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()
|
/drivers/power/supply/ |
D | sbs-battery.c | 202 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in sbs_read_string_data() local 242 block_length + 1, block_buffer); in sbs_read_string_data() 256 memcpy(values, block_buffer + 1, block_length); in sbs_read_string_data()
|
/drivers/memstick/core/ |
D | ms_block.h | 192 unsigned char *block_buffer; member
|
D | ms_block.c | 978 sg_init_one(&sg, msb->block_buffer, msb->block_size); in msb_verify_block() 990 msb->block_buffer, msb->block_size)) in msb_verify_block() 1736 msb->block_buffer = kzalloc(msb->block_size, GFP_KERNEL); in msb_init_card() 1737 if (!msb->block_buffer) in msb_init_card()
|