Home
last modified time | relevance | path

Searched refs:tgt_cred_sz (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c118 if (transfer_len <= target->tgt_cred_sz) { in get_htc_packet_credit_based()
122 credits_required = transfer_len / target->tgt_cred_sz; in get_htc_packet_credit_based()
123 remainder = transfer_len % target->tgt_cred_sz; in get_htc_packet_credit_based()
554 credit_per_maxmsg = MAX_MESSAGE_SIZE / target->tgt_cred_sz; in htc_setup_target_buffer_assignments()
555 if (MAX_MESSAGE_SIZE % target->tgt_cred_sz) in htc_setup_target_buffer_assignments()
1369 ep->cred_dist.cred_sz = target->tgt_cred_sz; in ath6kl_htc_pipe_conn_service()
1370 ep->cred_dist.cred_per_msg = max_msg_size / target->tgt_cred_sz; in ath6kl_htc_pipe_conn_service()
1371 if (max_msg_size % target->tgt_cred_sz) in ath6kl_htc_pipe_conn_service()
1587 target->tgt_cred_sz = le16_to_cpu(ready_msg->ver2_0_info.cred_sz); in ath6kl_htc_pipe_wait_target()
1589 if ((target->tgt_creds == 0) || (target->tgt_cred_sz == 0)) in ath6kl_htc_pipe_wait_target()
Dhtc_mbox.c551 *req_cred = (len > target->tgt_cred_sz) ? in htc_check_credits()
552 DIV_ROUND_UP(len, target->tgt_cred_sz) : 1; in htc_check_credits()
702 cred_pad = htc_get_credit_padding(target->tgt_cred_sz, in ath6kl_htc_tx_setup_scat_list()
2526 endpoint->cred_dist.cred_sz = target->tgt_cred_sz; in ath6kl_htc_mbox_conn_service()
2548 conn_req->max_rxmsg_sz / target->tgt_cred_sz; in ath6kl_htc_mbox_conn_service()
2551 max_msg_sz / target->tgt_cred_sz; in ath6kl_htc_mbox_conn_service()
2640 if ((target->tgt_cred_sz % target->block_sz) != 0) { in htc_setup_msg_bndl()
2642 target->tgt_cred_sz); in htc_setup_msg_bndl()
2683 target->tgt_cred_sz = le16_to_cpu(rdy_msg->ver2_0_info.cred_sz); in ath6kl_htc_mbox_wait_target()
2687 target->tgt_creds, target->tgt_cred_sz); in ath6kl_htc_mbox_wait_target()
Dhtc.h594 unsigned int tgt_cred_sz; member