Lines Matching refs:txn
262 static void uctrl_do_txn(struct uctrl_driver *driver, struct uctrl_txn *txn) in uctrl_do_txn() argument
273 incnt = txn->inbits; in uctrl_do_txn()
274 outcnt = txn->outbits; in uctrl_do_txn()
275 byte = (txn->opcode << 8); in uctrl_do_txn()
280 byte = (txn->inbuf[bytecnt] << 8); in uctrl_do_txn()
293 txn->outbuf[bytecnt] = (byte >> 8); in uctrl_do_txn()
302 struct uctrl_txn txn; in uctrl_get_event_status() local
305 txn.opcode = READ_EVENT_STATUS; in uctrl_get_event_status()
306 txn.inbits = 0; in uctrl_get_event_status()
307 txn.outbits = 2; in uctrl_get_event_status()
308 txn.inbuf = NULL; in uctrl_get_event_status()
309 txn.outbuf = outbits; in uctrl_get_event_status()
311 uctrl_do_txn(driver, &txn); in uctrl_get_event_status()
321 struct uctrl_txn txn; in uctrl_get_external_status() local
325 txn.opcode = READ_EXTERNAL_STATUS; in uctrl_get_external_status()
326 txn.inbits = 0; in uctrl_get_external_status()
327 txn.outbits = 2; in uctrl_get_external_status()
328 txn.inbuf = NULL; in uctrl_get_external_status()
329 txn.outbuf = outbits; in uctrl_get_external_status()
331 uctrl_do_txn(driver, &txn); in uctrl_get_external_status()