Lines Matching refs:cb_arg
1085 struct port100_cb_arg *cb_arg = arg; in port100_in_comm_rf_complete() local
1086 nfc_digital_cmd_complete_t cb = cb_arg->complete_cb; in port100_in_comm_rf_complete()
1128 cb(dev->nfc_digital_dev, cb_arg->complete_arg, resp); in port100_in_comm_rf_complete()
1130 kfree(cb_arg); in port100_in_comm_rf_complete()
1138 struct port100_cb_arg *cb_arg; in port100_in_send_cmd() local
1141 cb_arg = kzalloc(sizeof(struct port100_cb_arg), GFP_KERNEL); in port100_in_send_cmd()
1142 if (!cb_arg) in port100_in_send_cmd()
1145 cb_arg->complete_cb = cb; in port100_in_send_cmd()
1146 cb_arg->complete_arg = arg; in port100_in_send_cmd()
1153 port100_in_comm_rf_complete, cb_arg); in port100_in_send_cmd()
1264 struct port100_cb_arg *cb_arg = arg; in port100_tg_comm_rf_complete() local
1265 nfc_digital_cmd_complete_t cb = cb_arg->complete_cb; in port100_tg_comm_rf_complete()
1275 if (cb_arg->mdaa && in port100_tg_comm_rf_complete()
1295 cb(dev->nfc_digital_dev, cb_arg->complete_arg, resp); in port100_tg_comm_rf_complete()
1297 kfree(cb_arg); in port100_tg_comm_rf_complete()
1306 struct port100_cb_arg *cb_arg; in port100_tg_send_cmd() local
1308 cb_arg = kzalloc(sizeof(struct port100_cb_arg), GFP_KERNEL); in port100_tg_send_cmd()
1309 if (!cb_arg) in port100_tg_send_cmd()
1312 cb_arg->complete_cb = cb; in port100_tg_send_cmd()
1313 cb_arg->complete_arg = arg; in port100_tg_send_cmd()
1325 port100_tg_comm_rf_complete, cb_arg); in port100_tg_send_cmd()
1335 struct port100_cb_arg *cb_arg; in port100_listen_mdaa() local
1349 cb_arg = kzalloc(sizeof(struct port100_cb_arg), GFP_KERNEL); in port100_listen_mdaa()
1350 if (!cb_arg) in port100_listen_mdaa()
1353 cb_arg->complete_cb = cb; in port100_listen_mdaa()
1354 cb_arg->complete_arg = arg; in port100_listen_mdaa()
1355 cb_arg->mdaa = 1; in port100_listen_mdaa()
1359 kfree(cb_arg); in port100_listen_mdaa()
1381 port100_tg_comm_rf_complete, cb_arg); in port100_listen_mdaa()