Searched refs:tgt_cred_sz (Results 1 – 3 of 3) sorted by relevance
118 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()553 credit_per_maxmsg = MAX_MESSAGE_SIZE / target->tgt_cred_sz; in htc_setup_target_buffer_assignments()554 if (MAX_MESSAGE_SIZE % target->tgt_cred_sz) in htc_setup_target_buffer_assignments()1368 ep->cred_dist.cred_sz = target->tgt_cred_sz; in ath6kl_htc_pipe_conn_service()1369 ep->cred_dist.cred_per_msg = max_msg_size / target->tgt_cred_sz; in ath6kl_htc_pipe_conn_service()1370 if (max_msg_size % target->tgt_cred_sz) in ath6kl_htc_pipe_conn_service()1586 target->tgt_cred_sz = le16_to_cpu(ready_msg->ver2_0_info.cred_sz); in ath6kl_htc_pipe_wait_target()1588 if ((target->tgt_creds == 0) || (target->tgt_cred_sz == 0)) in ath6kl_htc_pipe_wait_target()
550 *req_cred = (len > target->tgt_cred_sz) ? in htc_check_credits()551 DIV_ROUND_UP(len, target->tgt_cred_sz) : 1; in htc_check_credits()701 cred_pad = htc_get_credit_padding(target->tgt_cred_sz, in ath6kl_htc_tx_setup_scat_list()2525 endpoint->cred_dist.cred_sz = target->tgt_cred_sz; in ath6kl_htc_mbox_conn_service()2547 conn_req->max_rxmsg_sz / target->tgt_cred_sz; in ath6kl_htc_mbox_conn_service()2550 max_msg_sz / target->tgt_cred_sz; in ath6kl_htc_mbox_conn_service()2639 if ((target->tgt_cred_sz % target->block_sz) != 0) { in htc_setup_msg_bndl()2641 target->tgt_cred_sz); in htc_setup_msg_bndl()2682 target->tgt_cred_sz = le16_to_cpu(rdy_msg->ver2_0_info.cred_sz); in ath6kl_htc_mbox_wait_target()2686 target->tgt_creds, target->tgt_cred_sz); in ath6kl_htc_mbox_wait_target()
594 unsigned int tgt_cred_sz; member