Lines Matching defs:epidx

314 	int epidx;
324 for (epidx = 0; epidx < hw->max_epid; epidx++) {
325 if (epidx == hw->my_epid)
328 if (fjes_hw_get_partner_ep_status(hw, epidx) ==
330 adapter->hw.ep_shm_info[epidx]
361 int epidx;
367 for (epidx = 0; epidx < hw->max_epid; epidx++) {
368 hw->ep_shm_info[epidx].es_status =
369 hw->hw_info.res_buf->info.info[epidx].es_status;
370 hw->ep_shm_info[epidx].zone =
371 hw->hw_info.res_buf->info.info[epidx].zone;
384 for (epidx = 0; epidx < (hw->max_epid); epidx++) {
385 if ((epidx != hw->my_epid) &&
386 (hw->ep_shm_info[epidx].es_status ==
388 fjes_hw_raise_interrupt(hw, epidx,
390 hw->ep_shm_info[epidx].ep_stats
397 for (epidx = 0; epidx < (hw->max_epid); epidx++) {
398 if (epidx == hw->my_epid)
401 buf_pair = &hw->ep_shm_info[epidx];
408 if (fjes_hw_epid_is_same_zone(hw, epidx)) {
411 fjes_hw_register_buff_addr(hw, epidx, buf_pair);
424 hw->ep_shm_info[epidx].ep_stats
441 int epidx;
443 for (epidx = 0; epidx < hw->max_epid; epidx++) {
444 if (epidx == hw->my_epid)
448 result = fjes_hw_unregister_buff_addr(hw, epidx);
451 hw->ep_shm_info[epidx].ep_stats.com_unregist_buf_exec += 1;
456 buf_pair = &hw->ep_shm_info[epidx];
463 clear_bit(epidx, &hw->txrx_stop_req_bit);
820 int idx, epidx;
838 for (epidx = 0; epidx < hw->max_epid; epidx++) {
839 if (epidx == hw->my_epid)
841 hw->ep_shm_info[epidx].tx.info->v1i.rx_status &=
859 for (epidx = 0; epidx < hw->max_epid; epidx++) {
860 if (epidx == hw->my_epid)
864 fjes_hw_setup_epbuf(&hw->ep_shm_info[epidx].tx,
868 hw->ep_shm_info[epidx].tx.info->v1i.rx_status |=
1117 int epidx;
1122 for (epidx = 0; epidx < hw->max_epid; epidx++) {
1123 if (epidx == hw->my_epid)
1126 if (fjes_hw_get_partner_ep_status(hw, epidx) ==
1128 adapter->hw.ep_shm_info[epidx]
1189 for (epidx = 0; epidx < hw->max_epid; epidx++) {
1190 if (epidx == hw->my_epid)
1192 if (fjes_hw_get_partner_ep_status(hw, epidx) ==
1194 adapter->hw.ep_shm_info[epidx].tx
1392 int max_epid, my_epid, epidx;
1408 for (epidx = 0; epidx < max_epid; epidx++) {
1409 if (epidx == my_epid)
1413 epidx);
1415 stop_req = test_bit(epidx, &hw->txrx_stop_req_bit);
1417 stop_req_done = hw->ep_shm_info[epidx].rx.info->v1i.rx_status &
1420 unshare_watch = test_bit(epidx, &unshare_watch_bitmask);
1422 unshare_reserve = test_bit(epidx,
1431 ret = fjes_hw_unregister_buff_addr(hw, epidx);
1447 hw->ep_shm_info[epidx].ep_stats
1451 fjes_hw_setup_epbuf(&hw->ep_shm_info[epidx].tx,
1455 clear_bit(epidx, &hw->txrx_stop_req_bit);
1456 clear_bit(epidx, &unshare_watch_bitmask);
1457 clear_bit(epidx,
1466 for (epidx = 0; epidx < max_epid; epidx++) {
1467 if (epidx == my_epid)
1470 if (test_bit(epidx,
1474 ret = fjes_hw_unregister_buff_addr(hw, epidx);
1491 hw->ep_shm_info[epidx].ep_stats
1496 &hw->ep_shm_info[epidx].tx,
1501 clear_bit(epidx, &hw->txrx_stop_req_bit);
1502 clear_bit(epidx, &unshare_watch_bitmask);
1503 clear_bit(epidx, &hw->hw_info.buffer_unshare_reserve_bit);
1506 if (test_bit(epidx, &unshare_watch_bitmask)) {
1508 hw->ep_shm_info[epidx].tx.info->v1i.rx_status &=