Lines Matching refs:cmdq
607 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_pca_prom_read() local
608 struct host_cmdq_entry* entry = &cmdq->host_entry[ cmdq->head ]; in fore200e_pca_prom_read()
613 FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); in fore200e_pca_prom_read()
1318 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_activate_vcin() local
1319 struct host_cmdq_entry* entry = &cmdq->host_entry[ cmdq->head ]; in fore200e_activate_vcin()
1326 FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); in fore200e_activate_vcin()
1745 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_getstats() local
1746 struct host_cmdq_entry* entry = &cmdq->host_entry[ cmdq->head ]; in fore200e_getstats()
1760 FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); in fore200e_getstats()
1814 struct host_cmdq* cmdq = &fore200e->host_cmdq;
1815 struct host_cmdq_entry* entry = &cmdq->host_entry[ cmdq->head ];
1822 FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD);
1854 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_set_oc3() local
1855 struct host_cmdq_entry* entry = &cmdq->host_entry[ cmdq->head ]; in fore200e_set_oc3()
1861 FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); in fore200e_set_oc3()
2330 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_init_cmd_queue() local
2338 &cmdq->status, in fore200e_init_cmd_queue()
2351 cmdq->host_entry[ i ].status = in fore200e_init_cmd_queue()
2352 FORE200E_INDEX(cmdq->status.align_addr, enum status, i); in fore200e_init_cmd_queue()
2353 cmdq->host_entry[ i ].cp_entry = &cp_entry[ i ]; in fore200e_init_cmd_queue()
2355 *cmdq->host_entry[ i ].status = STATUS_FREE; in fore200e_init_cmd_queue()
2357 fore200e->bus->write(FORE200E_DMA_INDEX(cmdq->status.dma_addr, enum status, i), in fore200e_init_cmd_queue()
2362 cmdq->head = 0; in fore200e_init_cmd_queue()