Searched refs:expected_status (Results 1 – 2 of 2) sorted by relevance
| /drivers/i2c/ |
| A D | mvtwsi.c | 273 static int twsi_wait(struct mvtwsi_registers *twsi, int expected_status, in twsi_wait() argument 294 if (status == expected_status) in twsi_wait() 299 control, status, expected_status); in twsi_wait() 305 expected_status); in twsi_wait() 321 static int twsi_start(struct mvtwsi_registers *twsi, int expected_status, in twsi_start() argument 328 return twsi_wait(twsi, expected_status, tick); in twsi_start() 345 int expected_status, uint tick) in twsi_send() argument 353 return twsi_wait(twsi, expected_status, tick); in twsi_send() 372 int expected_status, status, control; in twsi_recv() local 375 expected_status = ack_flag ? MVTWSI_STATUS_DATA_R_ACK : in twsi_recv() [all …]
|
| /drivers/power/pmic/ |
| A D | ab8500.c | 109 u8 op, u8 expected_status) in ab8500_transfer() argument 160 if (status != expected_status) { in ab8500_transfer()
|
Completed in 10 milliseconds