Home
last modified time | relevance | path

Searched refs:smbus_cmd (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/char/ipmi/
H A Dssif_bmc.c51 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 …]
/openbmc/linux/drivers/input/mouse/
H A Dcyapa_gen3.c249 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()