Searched refs:tcpd (Results 1 – 3 of 3) sorted by relevance
607 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data; in tc6393xb_probe() local633 tc6393xb->irq_base = tcpd->irq_base; in tc6393xb_probe()661 ret = tcpd->enable(dev); in tc6393xb_probe()666 iowrite16(tcpd->scr_pll2cr, tc6393xb->scr + SCR_PLL2CR); in tc6393xb_probe()672 iowrite16(tcpd->scr_gper, tc6393xb->scr + SCR_GPER); in tc6393xb_probe()682 if (tcpd->gpio_base >= 0) { in tc6393xb_probe()683 ret = tc6393xb_register_gpio(tc6393xb, tcpd->gpio_base); in tc6393xb_probe()690 if (tcpd->setup) { in tc6393xb_probe()691 ret = tcpd->setup(dev); in tc6393xb_probe()696 tc6393xb_cells[TC6393XB_CELL_NAND].platform_data = tcpd->nand_data; in tc6393xb_probe()[all …]
695 struct tcpopt_desc *tcpd; in typhoon_tso_fill() local698 tcpd = (struct tcpopt_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_tso_fill()703 tcpd->flags = TYPHOON_OPT_DESC | TYPHOON_OPT_TCP_SEG; in typhoon_tso_fill()704 tcpd->numDesc = 1; in typhoon_tso_fill()705 tcpd->mss_flags = cpu_to_le16(skb_tso_size(skb)); in typhoon_tso_fill()706 tcpd->mss_flags |= TYPHOON_TSO_FIRST | TYPHOON_TSO_LAST; in typhoon_tso_fill()707 tcpd->respAddrLo = cpu_to_le32(tcpd_offset); in typhoon_tso_fill()708 tcpd->bytesTx = cpu_to_le32(skb->len); in typhoon_tso_fill()709 tcpd->status = 0; in typhoon_tso_fill()
2965 unsigned long tcpd = (unsigned long)tcp_hdr(skb) + in qeth_l3_tso_elements() local2967 int tcpd_len = skb->len - (tcpd - (unsigned long)skb->data); in qeth_l3_tso_elements()2968 int elements = PFN_UP(tcpd + tcpd_len - 1) - PFN_DOWN(tcpd); in qeth_l3_tso_elements()