Lines Matching refs:MAC_QUEUE
358 tp->tx_fcb_head[MAC_QUEUE] = (FCBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
359 sizeof(FCBlock) * tp->num_tx_fcbs[MAC_QUEUE]); in smctr_alloc_shared_memory()
368 tp->tx_bdb_head[MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
369 sizeof(BDBlock) * tp->num_tx_bdbs[MAC_QUEUE]); in smctr_alloc_shared_memory()
378 tp->rx_fcb_head[MAC_QUEUE] = (FCBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
379 sizeof(FCBlock) * tp->num_rx_fcbs[MAC_QUEUE]); in smctr_alloc_shared_memory()
385 tp->rx_bdb_head[MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, in smctr_alloc_shared_memory()
386 sizeof(BDBlock) * tp->num_rx_bdbs[MAC_QUEUE]); in smctr_alloc_shared_memory()
388 tp->rx_bdb_end[MAC_QUEUE] = (BDBlock *)smctr_malloc(dev, 0); in smctr_alloc_shared_memory()
398 tp->tx_buff_head[MAC_QUEUE] in smctr_alloc_shared_memory()
399 = (__u16 *)smctr_malloc(dev, tp->tx_buff_size[MAC_QUEUE]); in smctr_alloc_shared_memory()
400 tp->tx_buff_curr[MAC_QUEUE] = tp->tx_buff_head[MAC_QUEUE]; in smctr_alloc_shared_memory()
401 tp->tx_buff_end [MAC_QUEUE] = (__u16 *)smctr_malloc(dev, 0); in smctr_alloc_shared_memory()
412 tp->rx_buff_head[MAC_QUEUE] = (__u16 *)smctr_malloc(dev, in smctr_alloc_shared_memory()
413 RX_DATA_BUFFER_SIZE * tp->num_rx_bdbs[MAC_QUEUE]); in smctr_alloc_shared_memory()
414 tp->rx_buff_end[MAC_QUEUE] = (__u16 *)smctr_malloc(dev, 0); in smctr_alloc_shared_memory()
1297 mem_used += sizeof(FCBlock) * tp->num_tx_fcbs[MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1302 mem_used += sizeof(BDBlock) * tp->num_tx_bdbs[MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1307 mem_used += sizeof(FCBlock) * tp->num_rx_fcbs[MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1311 mem_used += sizeof(BDBlock) * tp->num_rx_bdbs[MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1316 mem_used += tp->tx_buff_size[MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1324 mem_used += RX_DATA_BUFFER_SIZE * tp->num_rx_bdbs[MAC_QUEUE]; in smctr_get_num_rx_bdbs()
1681 tp->num_tx_fcbs [MAC_QUEUE] = NUM_MAC_TX_FCBS; in smctr_init_card_real()
1682 tp->num_tx_bdbs [MAC_QUEUE] = NUM_MAC_TX_BDBS; in smctr_init_card_real()
1683 tp->tx_buff_size [MAC_QUEUE] = MAC_TX_BUFFER_MEMORY; in smctr_init_card_real()
1684 tp->tx_buff_used [MAC_QUEUE] = 0; in smctr_init_card_real()
1685 tp->tx_queue_status [MAC_QUEUE] = NOT_TRANSMITING; in smctr_init_card_real()
1694 tp->num_rx_fcbs[MAC_QUEUE] = NUM_MAC_RX_FCBS; in smctr_init_card_real()
1695 tp->num_rx_bdbs[MAC_QUEUE] = NUM_MAC_RX_BDBS; in smctr_init_card_real()
2142 … err = smctr_tx_complete(dev, MAC_QUEUE); break; in smctr_interrupt()
2174 tp->tx_queue_status[MAC_QUEUE] = NOT_TRANSMITING; in smctr_interrupt()
2175 if((err = smctr_tx_complete(dev, MAC_QUEUE)) != SUCCESS) in smctr_interrupt()
2178 err = smctr_restart_tx_chain(dev, MAC_QUEUE); in smctr_interrupt()
2218 tp->receive_queue_number = MAC_QUEUE; in smctr_interrupt()
2223 …ssue_resume_rx_fcb_cmd( dev, MAC_QUEUE)) != SUCCESS) in smctr_interrupt()
2232 …ssue_resume_rx_bdb_cmd( dev, MAC_QUEUE)) != SUCCESS) in smctr_interrupt()
2250 tp->receive_queue_number = MAC_QUEUE; in smctr_interrupt()
2786 if(queue == MAC_QUEUE) in smctr_issue_resume_rx_bdb_cmd()
2808 if(queue == MAC_QUEUE) in smctr_issue_resume_rx_fcb_cmd()
3120 if((tp->rx_fcb_curr[MAC_QUEUE]->frame_status) || in smctr_lobe_media_test()
3496 if((err = smctr_issue_resume_rx_fcb_cmd(dev, (short)MAC_QUEUE))) in smctr_open_tr()
3499 if((err = smctr_issue_resume_rx_bdb_cmd(dev, (short)MAC_QUEUE))) in smctr_open_tr()
4504 if((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, in smctr_send_dat()
4528 if((err = smctr_trc_send_packet(dev, fcb, MAC_QUEUE))) in smctr_send_dat()
4551 tp->tx_queue_status[MAC_QUEUE] = NOT_TRANSMITING; in smctr_send_dat()
4552 smctr_update_tx_chain(dev, fcb, MAC_QUEUE); in smctr_send_dat()
4612 if((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, sizeof(struct trh_hdr) in smctr_send_lobe_media_test()
4643 if((err = smctr_trc_send_packet(dev, fcb, MAC_QUEUE))) in smctr_send_lobe_media_test()
4666 tp->tx_queue_status[MAC_QUEUE] = NOT_TRANSMITING; in smctr_send_lobe_media_test()
4667 smctr_update_tx_chain(dev, fcb, MAC_QUEUE); in smctr_send_lobe_media_test()
4679 if((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, sizeof(MAC_HEADER) in smctr_send_rpt_addr()
4727 return smctr_trc_send_packet(dev, fcb, MAC_QUEUE); in smctr_send_rpt_addr()
4737 if((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, sizeof(MAC_HEADER) in smctr_send_rpt_attch()
4781 return smctr_trc_send_packet(dev, fcb, MAC_QUEUE); in smctr_send_rpt_attch()
4791 if((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, sizeof(MAC_HEADER) in smctr_send_rpt_state()
4831 return smctr_trc_send_packet(dev, fcb, MAC_QUEUE); in smctr_send_rpt_state()
4841 if((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, sizeof(MAC_HEADER) in smctr_send_rpt_tx_forward()
4867 return smctr_trc_send_packet(dev, fcb, MAC_QUEUE); in smctr_send_rpt_tx_forward()
4877 if((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, sizeof(MAC_HEADER) in smctr_send_rsp()
4907 if(((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, sizeof(MAC_HEADER) in smctr_send_rq_init()
4947 if((err = smctr_trc_send_packet(dev, fcb, MAC_QUEUE))) in smctr_send_rq_init()
4972 tp->tx_queue_status[MAC_QUEUE] = NOT_TRANSMITING; in smctr_send_rq_init()
4973 smctr_update_tx_chain(dev, fcb, MAC_QUEUE); in smctr_send_rq_init()
4994 if((fcb = smctr_get_tx_fcb(dev, MAC_QUEUE, 0)) == (FCBlock *)(-1L)) in smctr_send_tx_forward()
5010 if((err = smctr_trc_send_packet(dev, fcb, MAC_QUEUE))) in smctr_send_tx_forward()
5024 if((err = smctr_issue_resume_tx_fcb_cmd(dev, MAC_QUEUE))) in smctr_send_tx_forward()