Lines Matching refs:cmd_code

247 static void pn533_std_tx_frame_init(void *_frame, u8 cmd_code)  in pn533_std_tx_frame_init()  argument
254 PN533_FRAME_CMD(frame) = cmd_code; in pn533_std_tx_frame_init()
381 static void pn533_build_cmd_frame(struct pn533 *dev, u8 cmd_code, in pn533_build_cmd_frame() argument
392 ops->tx_frame_init(skb->data, cmd_code); in pn533_build_cmd_frame()
437 static int __pn533_send_async(struct pn533 *dev, u8 cmd_code, in __pn533_send_async() argument
445 dev_dbg(dev->dev, "Sending command 0x%x\n", cmd_code); in __pn533_send_async()
451 cmd->code = cmd_code; in __pn533_send_async()
456 pn533_build_cmd_frame(dev, cmd_code, req); in __pn533_send_async()
473 __func__, cmd_code); in __pn533_send_async()
487 static int pn533_send_data_async(struct pn533 *dev, u8 cmd_code, in pn533_send_data_async() argument
492 return __pn533_send_async(dev, cmd_code, req, complete_cb, in pn533_send_data_async()
496 static int pn533_send_cmd_async(struct pn533 *dev, u8 cmd_code, in pn533_send_cmd_async() argument
501 return __pn533_send_async(dev, cmd_code, req, complete_cb, in pn533_send_cmd_async()
513 static int pn533_send_cmd_direct_async(struct pn533 *dev, u8 cmd_code, in pn533_send_cmd_direct_async() argument
525 cmd->code = cmd_code; in pn533_send_cmd_direct_async()
530 pn533_build_cmd_frame(dev, cmd_code, req); in pn533_send_cmd_direct_async()
616 static struct sk_buff *pn533_send_cmd_sync(struct pn533 *dev, u8 cmd_code, in pn533_send_cmd_sync() argument
624 rc = pn533_send_cmd_async(dev, cmd_code, req, in pn533_send_cmd_sync()
1566 u8 cmd_code; in pn533_send_poll_frame() local
1579 cmd_code = PN533_CMD_TG_INIT_AS_TARGET; in pn533_send_poll_frame()
1582 cmd_code = PN533_CMD_IN_LIST_PASSIVE_TARGET; in pn533_send_poll_frame()
1591 rc = pn533_send_cmd_async(dev, cmd_code, skb, pn533_poll_complete, in pn533_send_poll_frame()