Lines Matching refs:tsensor
4719 bfa_trc(diag, diag->tsensor.lock); in bfa_diag_notify()
4731 if (diag->tsensor.lock) { in bfa_diag_notify()
4732 diag->tsensor.status = BFA_STATUS_IOC_FAILURE; in bfa_diag_notify()
4733 diag->tsensor.cbfn(diag->tsensor.cbarg, in bfa_diag_notify()
4734 diag->tsensor.status); in bfa_diag_notify()
4735 diag->tsensor.lock = 0; in bfa_diag_notify()
4902 msg = (struct bfi_diag_ts_req_s *)diag->tsensor.mbcmd.msg; in diag_tempsensor_send()
4908 bfa_ioc_mbox_queue(diag->ioc, &diag->tsensor.mbcmd); in diag_tempsensor_send()
4914 if (!diag->tsensor.lock) { in diag_tempsensor_comp()
4916 bfa_trc(diag, diag->tsensor.lock); in diag_tempsensor_comp()
4924 diag->tsensor.temp->temp = be16_to_cpu(rsp->temp); in diag_tempsensor_comp()
4925 diag->tsensor.temp->ts_junc = rsp->ts_junc; in diag_tempsensor_comp()
4926 diag->tsensor.temp->ts_brd = rsp->ts_brd; in diag_tempsensor_comp()
4930 diag->tsensor.temp->status = rsp->status; in diag_tempsensor_comp()
4932 diag->tsensor.temp->brd_temp = in diag_tempsensor_comp()
4935 diag->tsensor.temp->brd_temp = 0; in diag_tempsensor_comp()
4945 diag->tsensor.status = BFA_STATUS_OK; in diag_tempsensor_comp()
4946 diag->tsensor.cbfn(diag->tsensor.cbarg, diag->tsensor.status); in diag_tempsensor_comp()
4947 diag->tsensor.lock = 0; in diag_tempsensor_comp()
5160 if (diag->block || diag->tsensor.lock) { in bfa_diag_tsensor_query()
5162 bfa_trc(diag, diag->tsensor.lock); in bfa_diag_tsensor_query()
5170 diag->tsensor.lock = 1; in bfa_diag_tsensor_query()
5171 diag->tsensor.temp = result; in bfa_diag_tsensor_query()
5172 diag->tsensor.cbfn = cbfn; in bfa_diag_tsensor_query()
5173 diag->tsensor.cbarg = cbarg; in bfa_diag_tsensor_query()
5174 diag->tsensor.status = BFA_STATUS_OK; in bfa_diag_tsensor_query()