Lines Matching full:txn
261 static void uctrl_do_txn(struct uctrl_driver *driver, struct uctrl_txn *txn) in uctrl_do_txn() argument
272 incnt = txn->inbits; in uctrl_do_txn()
273 outcnt = txn->outbits; in uctrl_do_txn()
274 byte = (txn->opcode << 8); in uctrl_do_txn()
279 byte = (txn->inbuf[bytecnt] << 8); in uctrl_do_txn()
292 txn->outbuf[bytecnt] = (byte >> 8); in uctrl_do_txn()
301 struct uctrl_txn txn; in uctrl_get_event_status() local
304 txn.opcode = READ_EVENT_STATUS; in uctrl_get_event_status()
305 txn.inbits = 0; in uctrl_get_event_status()
306 txn.outbits = 2; in uctrl_get_event_status()
307 txn.inbuf = NULL; in uctrl_get_event_status()
308 txn.outbuf = outbits; in uctrl_get_event_status()
310 uctrl_do_txn(driver, &txn); in uctrl_get_event_status()
320 struct uctrl_txn txn; in uctrl_get_external_status() local
324 txn.opcode = READ_EXTERNAL_STATUS; in uctrl_get_external_status()
325 txn.inbits = 0; in uctrl_get_external_status()
326 txn.outbits = 2; in uctrl_get_external_status()
327 txn.inbuf = NULL; in uctrl_get_external_status()
328 txn.outbuf = outbits; in uctrl_get_external_status()
330 uctrl_do_txn(driver, &txn); in uctrl_get_external_status()