Lines Matching refs:i
188 int i; in htc_cleanup() local
248 for (i = 0; i < ENDPOINT_MAX; i++) { in htc_cleanup()
249 endpoint = &target->endpoint[i]; in htc_cleanup()
370 uint32_t i; in htc_init_link_vote_ids() local
372 for (i = HTC_LINK_VOTE_INVALID_MIN_USER_ID; in htc_init_link_vote_ids()
373 i < HTC_LINK_VOTE_INVALID_MAX_USER_ID; i++) in htc_init_link_vote_ids()
374 qdf_atomic_init(&htc_link_vote_ids[i]); in htc_init_link_vote_ids()
379 uint32_t i; in htc_log_link_user_votes() local
382 for (i = HTC_LINK_VOTE_INVALID_MIN_USER_ID + 1; in htc_log_link_user_votes()
383 i < HTC_LINK_VOTE_INVALID_MAX_USER_ID; i++) { in htc_log_link_user_votes()
384 link_vote = qdf_atomic_read(&htc_link_vote_ids[i]); in htc_log_link_user_votes()
387 link_vote, i); in htc_log_link_user_votes()
436 int i; in htc_create() local
455 for (i = 0; i < ENDPOINT_MAX; i++) { in htc_create()
456 pEndpoint = &target->endpoint[i]; in htc_create()
482 for (i = 0; i < HTC_PACKET_CONTAINER_ALLOCATION; i++) { in htc_create()
490 for (i = 0; i < NUM_CONTROL_TX_BUFFERS; i++) { in htc_create()
673 int i; in htc_setup_target_buffer_assignments() local
684 for (i = 0; i < target->wmi_ep_count; i++) { in htc_setup_target_buffer_assignments()
687 pEntry->service_id = svc_id[i]; in htc_setup_target_buffer_assignments()
693 int i; in htc_setup_target_buffer_assignments() local
695 for (i = 0; i < HTC_MAX_SERVICE_ALLOC_ENTRIES; i++) { in htc_setup_target_buffer_assignments()
696 if (target->ServiceTxAllocTable[i].service_id != 0) { in htc_setup_target_buffer_assignments()
699 i, in htc_setup_target_buffer_assignments()
700 target->ServiceTxAllocTable[i]. in htc_setup_target_buffer_assignments()
702 target->ServiceTxAllocTable[i]. in htc_setup_target_buffer_assignments()
714 int i; in htc_get_credit_allocation() local
716 for (i = 0; i < HTC_MAX_SERVICE_ALLOC_ENTRIES; i++) { in htc_get_credit_allocation()
717 if (target->ServiceTxAllocTable[i].service_id == service_id) { in htc_get_credit_allocation()
719 target->ServiceTxAllocTable[i].CreditAllocation; in htc_get_credit_allocation()
741 uint8_t i = 0; in htc_wait_target() local
822 for (i = 0; i < MAX_HTC_RX_BUNDLE; i++) { in htc_wait_target()
874 int i; in reset_endpoint_states() local
876 for (i = ENDPOINT_0; i < ENDPOINT_MAX; i++) { in reset_endpoint_states()
877 pEndpoint = &target->endpoint[i]; in reset_endpoint_states()
881 pEndpoint->Id = i; in reset_endpoint_states()
974 int i; in htc_flush_surprise_remove() local
984 for (i = 0; i < ENDPOINT_MAX; i++) { in htc_flush_surprise_remove()
985 pEndpoint = &target->endpoint[i]; in htc_flush_surprise_remove()
1011 int i; in htc_stop() local
1024 for (i = 0; i < ENDPOINT_MAX; i++) { in htc_stop()
1025 endpoint = &target->endpoint[i]; in htc_stop()
1062 for (i = 0; i < ENDPOINT_MAX; i++) { in htc_stop()
1063 endpoint = &target->endpoint[i]; in htc_stop()
1065 htc_flush_endpoint_txlookupQ(target, i, false); in htc_stop()
1069 htc_flush_endpoint_txlookupQ(target, i, true); in htc_stop()
1082 int i; in htc_dump_credit_states() local
1084 for (i = 0; i < ENDPOINT_MAX; i++) { in htc_dump_credit_states()
1085 pEndpoint = &target->endpoint[i]; in htc_dump_credit_states()
1197 int total, i; in htc_dump_bundle_stats() local
1200 for (i = 0; i < HTC_MAX_MSG_PER_BUNDLE_RX; i++) in htc_dump_bundle_stats()
1201 total += target->rx_bundle_stats[i]; in htc_dump_bundle_stats()
1209 for (i = 0; i < HTC_MAX_MSG_PER_BUNDLE_RX; i++) in htc_dump_bundle_stats()
1211 ("%10d:%10d(%2d%s)\n", (i+1), in htc_dump_bundle_stats()
1212 target->rx_bundle_stats[i], in htc_dump_bundle_stats()
1213 ((target->rx_bundle_stats[i]*100)/ in htc_dump_bundle_stats()
1219 for (i = 0; i < HTC_MAX_MSG_PER_BUNDLE_TX; i++) in htc_dump_bundle_stats()
1220 total += target->tx_bundle_stats[i]; in htc_dump_bundle_stats()
1228 for (i = 0; i < HTC_MAX_MSG_PER_BUNDLE_TX; i++) in htc_dump_bundle_stats()
1230 ("%10d:%10d(%2d%s)\n", (i+1), in htc_dump_bundle_stats()
1231 target->tx_bundle_stats[i], in htc_dump_bundle_stats()
1232 ((target->tx_bundle_stats[i]*100)/ in htc_dump_bundle_stats()