Lines Matching refs:txn
266 static void uctrl_do_txn(struct uctrl_driver *driver, struct uctrl_txn *txn) in uctrl_do_txn() argument
277 incnt = txn->inbits; in uctrl_do_txn()
278 outcnt = txn->outbits; in uctrl_do_txn()
279 byte = (txn->opcode << 8); in uctrl_do_txn()
284 byte = (txn->inbuf[bytecnt] << 8); in uctrl_do_txn()
297 txn->outbuf[bytecnt] = (byte >> 8); in uctrl_do_txn()
306 struct uctrl_txn txn; in uctrl_get_event_status() local
309 txn.opcode = READ_EVENT_STATUS; in uctrl_get_event_status()
310 txn.inbits = 0; in uctrl_get_event_status()
311 txn.outbits = 2; in uctrl_get_event_status()
312 txn.inbuf = NULL; in uctrl_get_event_status()
313 txn.outbuf = outbits; in uctrl_get_event_status()
315 uctrl_do_txn(driver, &txn); in uctrl_get_event_status()
325 struct uctrl_txn txn; in uctrl_get_external_status() local
329 txn.opcode = READ_EXTERNAL_STATUS; in uctrl_get_external_status()
330 txn.inbits = 0; in uctrl_get_external_status()
331 txn.outbits = 2; in uctrl_get_external_status()
332 txn.inbuf = NULL; in uctrl_get_external_status()
333 txn.outbuf = outbits; in uctrl_get_external_status()
335 uctrl_do_txn(driver, &txn); in uctrl_get_external_status()