Lines Matching refs:payload_bits
149 static u8 digital_payload_bits_to_size(u8 payload_bits) in digital_payload_bits_to_size() argument
151 if (payload_bits >= ARRAY_SIZE(digital_payload_bits_map)) in digital_payload_bits_to_size()
154 return digital_payload_bits_map[payload_bits]; in digital_payload_bits_to_size()
365 u8 payload_size, payload_bits; in digital_in_send_psl_req() local
381 payload_bits = digital_payload_size_to_bits(payload_size); in digital_in_send_psl_req()
382 psl_req->fsl = DIGITAL_PAYLOAD_BITS_TO_FSL(payload_bits); in digital_in_send_psl_req()
404 u8 gb_len, payload_bits; in digital_in_recv_atr_res() local
440 payload_bits = DIGITAL_PAYLOAD_PP_TO_BITS(atr_res->pp); in digital_in_recv_atr_res()
441 ddev->remote_payload_max = digital_payload_bits_to_size(payload_bits); in digital_in_recv_atr_res()
479 u8 payload_bits; in digital_in_send_atr_req() local
509 payload_bits = digital_payload_size_to_bits(ddev->local_payload_max); in digital_in_send_atr_req()
510 atr_req->pp = DIGITAL_PAYLOAD_BITS_TO_PP(payload_bits); in digital_in_send_atr_req()
1404 u8 dsi, payload_size, payload_bits; in digital_tg_recv_psl_req() local
1449 payload_bits = DIGITAL_PAYLOAD_FSL_TO_BITS(psl_req->fsl); in digital_tg_recv_psl_req()
1450 payload_size = digital_payload_bits_to_size(payload_bits); in digital_tg_recv_psl_req()
1494 u8 *gb, payload_bits; in digital_tg_send_atr_res() local
1517 payload_bits = digital_payload_size_to_bits(ddev->local_payload_max); in digital_tg_send_atr_res()
1518 atr_res->pp = DIGITAL_PAYLOAD_BITS_TO_PP(payload_bits); in digital_tg_send_atr_res()
1547 u8 poll_tech_count, payload_bits; in digital_tg_recv_atr_req() local
1596 payload_bits = DIGITAL_PAYLOAD_PP_TO_BITS(atr_req->pp); in digital_tg_recv_atr_req()
1597 ddev->remote_payload_max = digital_payload_bits_to_size(payload_bits); in digital_tg_recv_atr_req()