Searched refs:smbus_cmd (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/char/ipmi/ |
H A D | ssif_bmc.c | 51 u8 smbus_cmd; member 345 part->pec = i2c_smbus_pec(part->pec, &part->smbus_cmd, 1); in calculate_response_part_pec() 372 switch (part->smbus_cmd) { in set_multipart_response_buffer() 431 __func__, part->smbus_cmd); in set_multipart_response_buffer() 519 cpec = i2c_smbus_pec(cpec, &part->smbus_cmd, 1); in validate_request_part() 545 switch (part->smbus_cmd) { in process_request_part() 574 __func__, part->smbus_cmd); in process_request_part() 582 ssif_bmc->part_buf.smbus_cmd = *val; in process_smbus_cmd() 615 if (!supported_read_cmd(ssif_bmc->part_buf.smbus_cmd)) { in on_read_requested_event() 617 ssif_bmc->part_buf.smbus_cmd); in on_read_requested_event() [all …]
|
/linux/drivers/input/mouse/ |
H A D | cyapa_gen3.c | 249 u8 smbus_cmd; in cyapa_smbus_read_block() local 258 smbus_cmd = SMBUS_ENCODE_RW(cmd, SMBUS_READ); in cyapa_smbus_read_block() 259 ret = i2c_smbus_read_block_data(client, smbus_cmd, values); in cyapa_smbus_read_block() 265 smbus_cmd = SMBUS_ENCODE_IDX(cmd, index); in cyapa_smbus_read_block() 266 smbus_cmd = SMBUS_ENCODE_RW(smbus_cmd, SMBUS_READ); in cyapa_smbus_read_block() 268 ret = i2c_smbus_read_block_data(client, smbus_cmd, buf); in cyapa_smbus_read_block()
|