Lines Matching refs:cb_arg
1158 const struct port100_cb_arg *cb_arg = arg; in port100_in_comm_rf_complete() local
1159 nfc_digital_cmd_complete_t cb = cb_arg->complete_cb; in port100_in_comm_rf_complete()
1201 cb(dev->nfc_digital_dev, cb_arg->complete_arg, resp); in port100_in_comm_rf_complete()
1203 kfree(cb_arg); in port100_in_comm_rf_complete()
1211 struct port100_cb_arg *cb_arg; in port100_in_send_cmd() local
1214 cb_arg = kzalloc(sizeof(struct port100_cb_arg), GFP_KERNEL); in port100_in_send_cmd()
1215 if (!cb_arg) in port100_in_send_cmd()
1218 cb_arg->complete_cb = cb; in port100_in_send_cmd()
1219 cb_arg->complete_arg = arg; in port100_in_send_cmd()
1226 port100_in_comm_rf_complete, cb_arg); in port100_in_send_cmd()
1336 const struct port100_cb_arg *cb_arg = arg; in port100_tg_comm_rf_complete() local
1337 nfc_digital_cmd_complete_t cb = cb_arg->complete_cb; in port100_tg_comm_rf_complete()
1347 if (cb_arg->mdaa && in port100_tg_comm_rf_complete()
1367 cb(dev->nfc_digital_dev, cb_arg->complete_arg, resp); in port100_tg_comm_rf_complete()
1369 kfree(cb_arg); in port100_tg_comm_rf_complete()
1378 struct port100_cb_arg *cb_arg; in port100_tg_send_cmd() local
1380 cb_arg = kzalloc(sizeof(struct port100_cb_arg), GFP_KERNEL); in port100_tg_send_cmd()
1381 if (!cb_arg) in port100_tg_send_cmd()
1384 cb_arg->complete_cb = cb; in port100_tg_send_cmd()
1385 cb_arg->complete_arg = arg; in port100_tg_send_cmd()
1397 port100_tg_comm_rf_complete, cb_arg); in port100_tg_send_cmd()
1407 struct port100_cb_arg *cb_arg; in port100_listen_mdaa() local
1421 cb_arg = kzalloc(sizeof(struct port100_cb_arg), GFP_KERNEL); in port100_listen_mdaa()
1422 if (!cb_arg) in port100_listen_mdaa()
1425 cb_arg->complete_cb = cb; in port100_listen_mdaa()
1426 cb_arg->complete_arg = arg; in port100_listen_mdaa()
1427 cb_arg->mdaa = 1; in port100_listen_mdaa()
1431 kfree(cb_arg); in port100_listen_mdaa()
1453 port100_tg_comm_rf_complete, cb_arg); in port100_listen_mdaa()