hwdescr 262 drivers/net/ethernet/toshiba/spider_net.c spider_net_get_descr_status(struct spider_net_hw_descr *hwdescr) hwdescr 264 drivers/net/ethernet/toshiba/spider_net.c return hwdescr->dmac_cmd_status & SPIDER_NET_DESCR_IND_PROC_MASK; hwdescr 282 drivers/net/ethernet/toshiba/spider_net.c descr->hwdescr->next_descr_addr = 0; hwdescr 306 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwdescr; hwdescr 321 drivers/net/ethernet/toshiba/spider_net.c hwdescr = chain->hwring; hwdescr 323 drivers/net/ethernet/toshiba/spider_net.c for (i=0; i < chain->num_desc; i++, descr++, hwdescr++) { hwdescr 324 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status = SPIDER_NET_DESCR_NOT_IN_USE; hwdescr 325 drivers/net/ethernet/toshiba/spider_net.c hwdescr->next_descr_addr = 0; hwdescr 327 drivers/net/ethernet/toshiba/spider_net.c descr->hwdescr = hwdescr; hwdescr 358 drivers/net/ethernet/toshiba/spider_net.c pci_unmap_single(card->pdev, descr->hwdescr->buf_addr, hwdescr 382 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwdescr = descr->hwdescr; hwdescr 403 drivers/net/ethernet/toshiba/spider_net.c hwdescr->buf_size = bufsize; hwdescr 404 drivers/net/ethernet/toshiba/spider_net.c hwdescr->result_size = 0; hwdescr 405 drivers/net/ethernet/toshiba/spider_net.c hwdescr->valid_size = 0; hwdescr 406 drivers/net/ethernet/toshiba/spider_net.c hwdescr->data_status = 0; hwdescr 407 drivers/net/ethernet/toshiba/spider_net.c hwdescr->data_error = 0; hwdescr 422 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status = SPIDER_NET_DESCR_NOT_IN_USE; hwdescr 424 drivers/net/ethernet/toshiba/spider_net.c hwdescr->buf_addr = buf; hwdescr 426 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status = SPIDER_NET_DESCR_CARDOWNED | hwdescr 497 drivers/net/ethernet/toshiba/spider_net.c while (spider_net_get_descr_status(chain->head->hwdescr) == hwdescr 522 drivers/net/ethernet/toshiba/spider_net.c descr->prev->hwdescr->next_descr_addr = descr->bus_addr; hwdescr 648 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwdescr; hwdescr 668 drivers/net/ethernet/toshiba/spider_net.c hwdescr = descr->hwdescr; hwdescr 672 drivers/net/ethernet/toshiba/spider_net.c hwdescr->buf_addr = buf; hwdescr 673 drivers/net/ethernet/toshiba/spider_net.c hwdescr->buf_size = skb->len; hwdescr 674 drivers/net/ethernet/toshiba/spider_net.c hwdescr->next_descr_addr = 0; hwdescr 675 drivers/net/ethernet/toshiba/spider_net.c hwdescr->data_status = 0; hwdescr 677 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status = hwdescr 684 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status |= SPIDER_NET_DMAC_TCP; hwdescr 687 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status |= SPIDER_NET_DMAC_UDP; hwdescr 693 drivers/net/ethernet/toshiba/spider_net.c descr->prev->hwdescr->next_descr_addr = descr->bus_addr; hwdescr 703 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwdescr; hwdescr 712 drivers/net/ethernet/toshiba/spider_net.c status = descr->hwdescr->dmac_cmd_status & SPIDER_NET_DESCR_NOT_IN_USE; hwdescr 731 drivers/net/ethernet/toshiba/spider_net.c descr->hwdescr->dmac_cmd_status |= SPIDER_NET_DESCR_TXDESFLG; hwdescr 733 drivers/net/ethernet/toshiba/spider_net.c hwdescr = card->low_watermark->hwdescr; hwdescr 734 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status = hwdescr 735 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status & ~SPIDER_NET_DESCR_TXDESFLG; hwdescr 760 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwdescr; hwdescr 773 drivers/net/ethernet/toshiba/spider_net.c hwdescr = descr->hwdescr; hwdescr 775 drivers/net/ethernet/toshiba/spider_net.c status = spider_net_get_descr_status(hwdescr); hwdescr 811 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status |= SPIDER_NET_DESCR_NOT_IN_USE; hwdescr 814 drivers/net/ethernet/toshiba/spider_net.c buf_addr = hwdescr->buf_addr; hwdescr 849 drivers/net/ethernet/toshiba/spider_net.c if (spider_net_get_descr_status(descr->hwdescr) == hwdescr 943 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwdescr = descr->hwdescr; hwdescr 946 drivers/net/ethernet/toshiba/spider_net.c u32 data_status = hwdescr->data_status; hwdescr 947 drivers/net/ethernet/toshiba/spider_net.c u32 data_error = hwdescr->data_error; hwdescr 949 drivers/net/ethernet/toshiba/spider_net.c skb_put(skb, hwdescr->valid_size); hwdescr 983 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwd = start->hwdescr; hwdescr 1004 drivers/net/ethernet/toshiba/spider_net.c hwd = descr->hwdescr; hwdescr 1045 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwd = descr->hwdescr; hwdescr 1084 drivers/net/ethernet/toshiba/spider_net.c status = spider_net_get_descr_status(descr->hwdescr); hwdescr 1092 drivers/net/ethernet/toshiba/spider_net.c status = spider_net_get_descr_status(descr->hwdescr); hwdescr 1096 drivers/net/ethernet/toshiba/spider_net.c status = spider_net_get_descr_status(descr->hwdescr); hwdescr 1111 drivers/net/ethernet/toshiba/spider_net.c status = spider_net_get_descr_status(descr->hwdescr); hwdescr 1117 drivers/net/ethernet/toshiba/spider_net.c status = spider_net_get_descr_status(descr->hwdescr); hwdescr 1143 drivers/net/ethernet/toshiba/spider_net.c struct spider_net_hw_descr *hwdescr = descr->hwdescr; hwdescr 1147 drivers/net/ethernet/toshiba/spider_net.c status = spider_net_get_descr_status(hwdescr); hwdescr 1158 drivers/net/ethernet/toshiba/spider_net.c hw_buf_addr = hwdescr->buf_addr; hwdescr 1159 drivers/net/ethernet/toshiba/spider_net.c hwdescr->buf_addr = 0xffffffff; hwdescr 1183 drivers/net/ethernet/toshiba/spider_net.c if (hwdescr->data_error & SPIDER_NET_DESTROY_RX_FLAGS) { hwdescr 1188 drivers/net/ethernet/toshiba/spider_net.c hwdescr->data_status, hwdescr->data_error); hwdescr 1192 drivers/net/ethernet/toshiba/spider_net.c if (hwdescr->dmac_cmd_status & SPIDER_NET_DESCR_BAD_STATUS) { hwdescr 1194 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status); hwdescr 1196 drivers/net/ethernet/toshiba/spider_net.c pr_err("buf_size=x%08x\n", hwdescr->buf_size); hwdescr 1197 drivers/net/ethernet/toshiba/spider_net.c pr_err("next_descr_addr=x%08x\n", hwdescr->next_descr_addr); hwdescr 1198 drivers/net/ethernet/toshiba/spider_net.c pr_err("result_size=x%08x\n", hwdescr->result_size); hwdescr 1199 drivers/net/ethernet/toshiba/spider_net.c pr_err("valid_size=x%08x\n", hwdescr->valid_size); hwdescr 1200 drivers/net/ethernet/toshiba/spider_net.c pr_err("data_status=x%08x\n", hwdescr->data_status); hwdescr 1201 drivers/net/ethernet/toshiba/spider_net.c pr_err("data_error=x%08x\n", hwdescr->data_error); hwdescr 1211 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status = SPIDER_NET_DESCR_NOT_IN_USE; hwdescr 1219 drivers/net/ethernet/toshiba/spider_net.c hwdescr->dmac_cmd_status = SPIDER_NET_DESCR_NOT_IN_USE; hwdescr 385 drivers/net/ethernet/toshiba/spider_net.h struct spider_net_hw_descr *hwdescr;