• Home
  • Raw
  • Download

Lines Matching refs:se_info

69 		td = ST21NFCA_ATR_GET_Y_FROM_TD(info->se_info.atr[i]);  in st21nfca_se_get_bwi()
74 return info->se_info.atr[i] >> 4; in st21nfca_se_get_bwi()
92 memcpy(info->se_info.atr, skb->data, skb->len); in st21nfca_se_get_atr()
93 info->se_info.wt_timeout = in st21nfca_se_get_atr()
113 info->se_info.count_pipes = 0; in st21nfca_hci_control_se()
114 info->se_info.expected_pipes = ST21NFCA_SE_COUNT_PIPE_UICC; in st21nfca_hci_control_se()
121 info->se_info.count_pipes = 0; in st21nfca_hci_control_se()
122 info->se_info.expected_pipes = ST21NFCA_SE_COUNT_PIPE_EMBEDDED; in st21nfca_hci_control_se()
132 reinit_completion(&info->se_info.req_completion); in st21nfca_hci_control_se()
138 mod_timer(&info->se_info.se_active_timer, jiffies + in st21nfca_hci_control_se()
140 info->se_info.se_active = true; in st21nfca_hci_control_se()
143 wait_for_completion_interruptible(&info->se_info.req_completion); in st21nfca_hci_control_se()
243 info->se_info.cb = cb; in st21nfca_hci_se_io()
244 info->se_info.cb_context = cb_context; in st21nfca_hci_se_io()
245 mod_timer(&info->se_info.bwi_timer, jiffies + in st21nfca_hci_se_io()
246 msecs_to_jiffies(info->se_info.wt_timeout)); in st21nfca_hci_se_io()
247 info->se_info.bwi_active = true; in st21nfca_hci_se_io()
274 info->se_info.bwi_active = false; in st21nfca_se_wt_timeout()
276 if (!info->se_info.xch_error) { in st21nfca_se_wt_timeout()
277 info->se_info.xch_error = true; in st21nfca_se_wt_timeout()
281 info->se_info.xch_error = false; in st21nfca_se_wt_timeout()
285 info->se_info.cb(info->se_info.cb_context, NULL, 0, -ETIME); in st21nfca_se_wt_timeout()
294 info->se_info.se_active = false; in st21nfca_se_activation_timeout()
296 complete(&info->se_info.req_completion); in st21nfca_se_activation_timeout()
377 del_timer_sync(&info->se_info.bwi_timer); in st21nfca_apdu_reader_event_received()
378 info->se_info.bwi_active = false; in st21nfca_apdu_reader_event_received()
384 info->se_info.cb(info->se_info.cb_context, in st21nfca_apdu_reader_event_received()
388 mod_timer(&info->se_info.bwi_timer, jiffies + in st21nfca_apdu_reader_event_received()
389 msecs_to_jiffies(info->se_info.wt_timeout)); in st21nfca_apdu_reader_event_received()
406 init_completion(&info->se_info.req_completion); in st21nfca_se_init()
408 init_timer(&info->se_info.bwi_timer); in st21nfca_se_init()
409 info->se_info.bwi_timer.data = (unsigned long)info; in st21nfca_se_init()
410 info->se_info.bwi_timer.function = st21nfca_se_wt_timeout; in st21nfca_se_init()
411 info->se_info.bwi_active = false; in st21nfca_se_init()
413 init_timer(&info->se_info.se_active_timer); in st21nfca_se_init()
414 info->se_info.se_active_timer.data = (unsigned long)info; in st21nfca_se_init()
415 info->se_info.se_active_timer.function = st21nfca_se_activation_timeout; in st21nfca_se_init()
416 info->se_info.se_active = false; in st21nfca_se_init()
418 info->se_info.count_pipes = 0; in st21nfca_se_init()
419 info->se_info.expected_pipes = 0; in st21nfca_se_init()
421 info->se_info.xch_error = false; in st21nfca_se_init()
423 info->se_info.wt_timeout = in st21nfca_se_init()
432 if (info->se_info.bwi_active) in st21nfca_se_deinit()
433 del_timer_sync(&info->se_info.bwi_timer); in st21nfca_se_deinit()
434 if (info->se_info.se_active) in st21nfca_se_deinit()
435 del_timer_sync(&info->se_info.se_active_timer); in st21nfca_se_deinit()
437 info->se_info.bwi_active = false; in st21nfca_se_deinit()
438 info->se_info.se_active = false; in st21nfca_se_deinit()