ddp 393 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = dev_get_drvdata(dev); ddp 397 drivers/gpu/drm/mediatek/mtk_drm_ddp.c if (ddp->mutex[id].claimed) ddp 400 drivers/gpu/drm/mediatek/mtk_drm_ddp.c ddp->mutex[id].claimed = true; ddp 402 drivers/gpu/drm/mediatek/mtk_drm_ddp.c return &ddp->mutex[id]; ddp 407 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 410 drivers/gpu/drm/mediatek/mtk_drm_ddp.c WARN_ON(&ddp->mutex[mutex->id] != mutex); ddp 417 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 419 drivers/gpu/drm/mediatek/mtk_drm_ddp.c return clk_prepare_enable(ddp->clk); ddp 424 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 426 drivers/gpu/drm/mediatek/mtk_drm_ddp.c clk_disable_unprepare(ddp->clk); ddp 432 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 437 drivers/gpu/drm/mediatek/mtk_drm_ddp.c WARN_ON(&ddp->mutex[mutex->id] != mutex); ddp 459 drivers/gpu/drm/mediatek/mtk_drm_ddp.c if (ddp->mutex_mod[id] < 32) { ddp 461 drivers/gpu/drm/mediatek/mtk_drm_ddp.c reg = readl_relaxed(ddp->regs + offset); ddp 462 drivers/gpu/drm/mediatek/mtk_drm_ddp.c reg |= 1 << ddp->mutex_mod[id]; ddp 463 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel_relaxed(reg, ddp->regs + offset); ddp 466 drivers/gpu/drm/mediatek/mtk_drm_ddp.c reg = readl_relaxed(ddp->regs + offset); ddp 467 drivers/gpu/drm/mediatek/mtk_drm_ddp.c reg |= 1 << (ddp->mutex_mod[id] - 32); ddp 468 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel_relaxed(reg, ddp->regs + offset); ddp 473 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel_relaxed(reg, ddp->regs + DISP_REG_MUTEX_SOF(mutex->id)); ddp 479 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 484 drivers/gpu/drm/mediatek/mtk_drm_ddp.c WARN_ON(&ddp->mutex[mutex->id] != mutex); ddp 494 drivers/gpu/drm/mediatek/mtk_drm_ddp.c ddp->regs + DISP_REG_MUTEX_SOF(mutex->id)); ddp 497 drivers/gpu/drm/mediatek/mtk_drm_ddp.c if (ddp->mutex_mod[id] < 32) { ddp 499 drivers/gpu/drm/mediatek/mtk_drm_ddp.c reg = readl_relaxed(ddp->regs + offset); ddp 500 drivers/gpu/drm/mediatek/mtk_drm_ddp.c reg &= ~(1 << ddp->mutex_mod[id]); ddp 501 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel_relaxed(reg, ddp->regs + offset); ddp 504 drivers/gpu/drm/mediatek/mtk_drm_ddp.c reg = readl_relaxed(ddp->regs + offset); ddp 505 drivers/gpu/drm/mediatek/mtk_drm_ddp.c reg &= ~(1 << (ddp->mutex_mod[id] - 32)); ddp 506 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel_relaxed(reg, ddp->regs + offset); ddp 514 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 517 drivers/gpu/drm/mediatek/mtk_drm_ddp.c WARN_ON(&ddp->mutex[mutex->id] != mutex); ddp 519 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel(1, ddp->regs + DISP_REG_MUTEX_EN(mutex->id)); ddp 524 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 527 drivers/gpu/drm/mediatek/mtk_drm_ddp.c WARN_ON(&ddp->mutex[mutex->id] != mutex); ddp 529 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel(0, ddp->regs + DISP_REG_MUTEX_EN(mutex->id)); ddp 534 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 538 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel(1, ddp->regs + DISP_REG_MUTEX_EN(mutex->id)); ddp 539 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel(1, ddp->regs + DISP_REG_MUTEX(mutex->id)); ddp 540 drivers/gpu/drm/mediatek/mtk_drm_ddp.c if (readl_poll_timeout_atomic(ddp->regs + DISP_REG_MUTEX(mutex->id), ddp 547 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp = container_of(mutex, struct mtk_ddp, ddp 550 drivers/gpu/drm/mediatek/mtk_drm_ddp.c writel(0, ddp->regs + DISP_REG_MUTEX(mutex->id)); ddp 556 drivers/gpu/drm/mediatek/mtk_drm_ddp.c struct mtk_ddp *ddp; ddp 560 drivers/gpu/drm/mediatek/mtk_drm_ddp.c ddp = devm_kzalloc(dev, sizeof(*ddp), GFP_KERNEL); ddp 561 drivers/gpu/drm/mediatek/mtk_drm_ddp.c if (!ddp) ddp 565 drivers/gpu/drm/mediatek/mtk_drm_ddp.c ddp->mutex[i].id = i; ddp 567 drivers/gpu/drm/mediatek/mtk_drm_ddp.c ddp->clk = devm_clk_get(dev, NULL); ddp 568 drivers/gpu/drm/mediatek/mtk_drm_ddp.c if (IS_ERR(ddp->clk)) { ddp 570 drivers/gpu/drm/mediatek/mtk_drm_ddp.c return PTR_ERR(ddp->clk); ddp 574 drivers/gpu/drm/mediatek/mtk_drm_ddp.c ddp->regs = devm_ioremap_resource(dev, regs); ddp 575 drivers/gpu/drm/mediatek/mtk_drm_ddp.c if (IS_ERR(ddp->regs)) { ddp 577 drivers/gpu/drm/mediatek/mtk_drm_ddp.c return PTR_ERR(ddp->regs); ddp 580 drivers/gpu/drm/mediatek/mtk_drm_ddp.c ddp->mutex_mod = of_device_get_match_data(dev); ddp 582 drivers/gpu/drm/mediatek/mtk_drm_ddp.c platform_set_drvdata(pdev, ddp); ddp 3339 drivers/mtd/nand/onenand/onenand_base.c int vcc, demuxed, ddp, density, flexonenand; ddp 3343 drivers/mtd/nand/onenand/onenand_base.c ddp = device & ONENAND_DEVICE_IS_DDP; ddp 3349 drivers/mtd/nand/onenand/onenand_base.c ddp ? "(DDP)" : "", ddp 121 drivers/net/appletalk/ipddp.c struct ddpehdr *ddp; ddp 154 drivers/net/appletalk/ipddp.c ddp = (struct ddpehdr *)skb->data; ddp 155 drivers/net/appletalk/ipddp.c ddp->deh_len_hops = htons(skb->len + (1<<10)); ddp 156 drivers/net/appletalk/ipddp.c ddp->deh_sum = 0; ddp 164 drivers/net/appletalk/ipddp.c ddp->deh_dnet = 0; /* FIXME more hops?? */ ddp 165 drivers/net/appletalk/ipddp.c ddp->deh_snet = 0; ddp 169 drivers/net/appletalk/ipddp.c ddp->deh_dnet = rt->at.s_net; /* FIXME more hops?? */ ddp 170 drivers/net/appletalk/ipddp.c ddp->deh_snet = our_addr->s_net; ddp 172 drivers/net/appletalk/ipddp.c ddp->deh_dnode = rt->at.s_node; ddp 173 drivers/net/appletalk/ipddp.c ddp->deh_snode = our_addr->s_node; ddp 174 drivers/net/appletalk/ipddp.c ddp->deh_dport = 72; ddp 175 drivers/net/appletalk/ipddp.c ddp->deh_sport = 72; ddp 177 drivers/net/appletalk/ipddp.c *((__u8 *)(ddp+1)) = 22; /* ddp type = IP */ ddp 4724 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->vres.ddp.start = val[3]; ddp 4725 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->vres.ddp.size = val[4] - val[3] + 1; ddp 284 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h struct cxgb4_range ddp; ddp 22 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c static inline void ixgbe_fcoe_clear_ddp(struct ixgbe_fcoe_ddp *ddp) ddp 24 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->len = 0; ddp 25 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->err = 1; ddp 26 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udl = NULL; ddp 27 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udp = 0UL; ddp 28 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->sgl = NULL; ddp 29 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->sgc = 0; ddp 48 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c struct ixgbe_fcoe_ddp *ddp; ddp 60 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp = &fcoe->ddp[xid]; ddp 61 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (!ddp->udl) ddp 65 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c len = ddp->len; ddp 67 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (!ddp->err) ddp 109 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (ddp->sgl) ddp 110 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c dma_unmap_sg(&adapter->pdev->dev, ddp->sgl, ddp->sgc, ddp 112 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (ddp->pool) { ddp 113 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c dma_pool_free(ddp->pool, ddp->udl, ddp->udp); ddp 114 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->pool = NULL; ddp 117 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ixgbe_fcoe_clear_ddp(ddp); ddp 139 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c struct ixgbe_fcoe_ddp *ddp; ddp 167 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp = &fcoe->ddp[xid]; ddp 168 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (ddp->sgl) { ddp 170 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c xid, ddp->sgl, ddp->sgc); ddp 173 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ixgbe_fcoe_clear_ddp(ddp); ddp 195 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udl = dma_pool_alloc(ddp_pool->pool, GFP_KERNEL, &ddp->udp); ddp 196 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (!ddp->udl) { ddp 200 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->pool = ddp_pool->pool; ddp 201 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->sgl = sgl; ddp 202 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->sgc = sgc; ddp 233 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udl[j] = (u64)(addr - thisoff); ddp 255 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udl[j] = (u64)(fcoe->extra_ddp_buffer_dma); ddp 292 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udp & DMA_BIT_MASK(32)); ddp 293 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c IXGBE_WRITE_REG(hw, IXGBE_FCDDC(1, xid), (u64)ddp->udp >> 32); ddp 304 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c IXGBE_WRITE_REG(hw, IXGBE_FCPTRL, ddp->udp & DMA_BIT_MASK(32)); ddp 305 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c IXGBE_WRITE_REG(hw, IXGBE_FCPTRH, (u64)ddp->udp >> 32); ddp 319 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c dma_pool_free(ddp->pool, ddp->udl, ddp->udp); ddp 320 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ixgbe_fcoe_clear_ddp(ddp); ddp 388 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c struct ixgbe_fcoe_ddp *ddp; ddp 423 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp = &fcoe->ddp[xid]; ddp 424 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (!ddp->udl) ddp 436 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->len = le32_to_cpu(rx_desc->wb.lower.hi_dword.rss); ddp 441 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c dma_unmap_sg(&adapter->pdev->dev, ddp->sgl, ddp 442 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->sgc, DMA_FROM_DEVICE); ddp 443 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->err = (__force u32)ddp_err; ddp 444 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->sgl = NULL; ddp 445 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->sgc = 0; ddp 450 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->len = le32_to_cpu(rx_desc->wb.lower.hi_dword.rss); ddp 451 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (ddp->len) ddp 452 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c rc = ddp->len; ddp 56 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX_X550]; ddp 224 drivers/scsi/csiostor/csio_scsi.h struct csio_dma_buf *ddp; ddp 227 drivers/scsi/csiostor/csio_scsi.h ddp = list_first_entry(&scm->ddp_freelist, ddp 229 drivers/scsi/csiostor/csio_scsi.h list_del_init(&ddp->list); ddp 231 drivers/scsi/csiostor/csio_scsi.h return ddp; ddp 237 drivers/scsi/csiostor/csio_scsi.h csio_put_scsi_ddp(struct csio_scsim *scm, struct csio_dma_buf *ddp) ddp 239 drivers/scsi/csiostor/csio_scsi.h list_add_tail(&ddp->list, &scm->ddp_freelist); ddp 4616 drivers/scsi/scsi_debug.c static ssize_t delay_show(struct device_driver *ddp, char *buf) ddp 4623 drivers/scsi/scsi_debug.c static ssize_t delay_store(struct device_driver *ddp, const char *buf, ddp 4656 drivers/scsi/scsi_debug.c static ssize_t ndelay_show(struct device_driver *ddp, char *buf) ddp 4662 drivers/scsi/scsi_debug.c static ssize_t ndelay_store(struct device_driver *ddp, const char *buf, ddp 4697 drivers/scsi/scsi_debug.c static ssize_t opts_show(struct device_driver *ddp, char *buf) ddp 4702 drivers/scsi/scsi_debug.c static ssize_t opts_store(struct device_driver *ddp, const char *buf, ddp 4727 drivers/scsi/scsi_debug.c static ssize_t ptype_show(struct device_driver *ddp, char *buf) ddp 4731 drivers/scsi/scsi_debug.c static ssize_t ptype_store(struct device_driver *ddp, const char *buf, ddp 4744 drivers/scsi/scsi_debug.c static ssize_t dsense_show(struct device_driver *ddp, char *buf) ddp 4748 drivers/scsi/scsi_debug.c static ssize_t dsense_store(struct device_driver *ddp, const char *buf, ddp 4761 drivers/scsi/scsi_debug.c static ssize_t fake_rw_show(struct device_driver *ddp, char *buf) ddp 4765 drivers/scsi/scsi_debug.c static ssize_t fake_rw_store(struct device_driver *ddp, const char *buf, ddp 4793 drivers/scsi/scsi_debug.c static ssize_t no_lun_0_show(struct device_driver *ddp, char *buf) ddp 4797 drivers/scsi/scsi_debug.c static ssize_t no_lun_0_store(struct device_driver *ddp, const char *buf, ddp 4810 drivers/scsi/scsi_debug.c static ssize_t num_tgts_show(struct device_driver *ddp, char *buf) ddp 4814 drivers/scsi/scsi_debug.c static ssize_t num_tgts_store(struct device_driver *ddp, const char *buf, ddp 4828 drivers/scsi/scsi_debug.c static ssize_t dev_size_mb_show(struct device_driver *ddp, char *buf) ddp 4834 drivers/scsi/scsi_debug.c static ssize_t num_parts_show(struct device_driver *ddp, char *buf) ddp 4840 drivers/scsi/scsi_debug.c static ssize_t every_nth_show(struct device_driver *ddp, char *buf) ddp 4844 drivers/scsi/scsi_debug.c static ssize_t every_nth_store(struct device_driver *ddp, const char *buf, ddp 4862 drivers/scsi/scsi_debug.c static ssize_t max_luns_show(struct device_driver *ddp, char *buf) ddp 4866 drivers/scsi/scsi_debug.c static ssize_t max_luns_store(struct device_driver *ddp, const char *buf, ddp 4901 drivers/scsi/scsi_debug.c static ssize_t max_queue_show(struct device_driver *ddp, char *buf) ddp 4907 drivers/scsi/scsi_debug.c static ssize_t max_queue_store(struct device_driver *ddp, const char *buf, ddp 4937 drivers/scsi/scsi_debug.c static ssize_t no_uld_show(struct device_driver *ddp, char *buf) ddp 4943 drivers/scsi/scsi_debug.c static ssize_t scsi_level_show(struct device_driver *ddp, char *buf) ddp 4949 drivers/scsi/scsi_debug.c static ssize_t virtual_gb_show(struct device_driver *ddp, char *buf) ddp 4953 drivers/scsi/scsi_debug.c static ssize_t virtual_gb_store(struct device_driver *ddp, const char *buf, ddp 4984 drivers/scsi/scsi_debug.c static ssize_t add_host_show(struct device_driver *ddp, char *buf) ddp 4992 drivers/scsi/scsi_debug.c static ssize_t add_host_store(struct device_driver *ddp, const char *buf, ddp 5012 drivers/scsi/scsi_debug.c static ssize_t vpd_use_hostno_show(struct device_driver *ddp, char *buf) ddp 5016 drivers/scsi/scsi_debug.c static ssize_t vpd_use_hostno_store(struct device_driver *ddp, const char *buf, ddp 5029 drivers/scsi/scsi_debug.c static ssize_t statistics_show(struct device_driver *ddp, char *buf) ddp 5033 drivers/scsi/scsi_debug.c static ssize_t statistics_store(struct device_driver *ddp, const char *buf, ddp 5051 drivers/scsi/scsi_debug.c static ssize_t sector_size_show(struct device_driver *ddp, char *buf) ddp 5057 drivers/scsi/scsi_debug.c static ssize_t submit_queues_show(struct device_driver *ddp, char *buf) ddp 5063 drivers/scsi/scsi_debug.c static ssize_t dix_show(struct device_driver *ddp, char *buf) ddp 5069 drivers/scsi/scsi_debug.c static ssize_t dif_show(struct device_driver *ddp, char *buf) ddp 5075 drivers/scsi/scsi_debug.c static ssize_t guard_show(struct device_driver *ddp, char *buf) ddp 5081 drivers/scsi/scsi_debug.c static ssize_t ato_show(struct device_driver *ddp, char *buf) ddp 5087 drivers/scsi/scsi_debug.c static ssize_t map_show(struct device_driver *ddp, char *buf) ddp 5104 drivers/scsi/scsi_debug.c static ssize_t removable_show(struct device_driver *ddp, char *buf) ddp 5108 drivers/scsi/scsi_debug.c static ssize_t removable_store(struct device_driver *ddp, const char *buf, ddp 5121 drivers/scsi/scsi_debug.c static ssize_t host_lock_show(struct device_driver *ddp, char *buf) ddp 5126 drivers/scsi/scsi_debug.c static ssize_t host_lock_store(struct device_driver *ddp, const char *buf, ddp 5139 drivers/scsi/scsi_debug.c static ssize_t strict_show(struct device_driver *ddp, char *buf) ddp 5143 drivers/scsi/scsi_debug.c static ssize_t strict_store(struct device_driver *ddp, const char *buf, ddp 5156 drivers/scsi/scsi_debug.c static ssize_t uuid_ctl_show(struct device_driver *ddp, char *buf) ddp 5162 drivers/scsi/scsi_debug.c static ssize_t cdb_len_show(struct device_driver *ddp, char *buf) ddp 5166 drivers/scsi/scsi_debug.c static ssize_t cdb_len_store(struct device_driver *ddp, const char *buf, ddp 4538 drivers/scsi/st.c static ssize_t try_direct_io_show(struct device_driver *ddp, char *buf) ddp 4544 drivers/scsi/st.c static ssize_t fixed_buffer_size_show(struct device_driver *ddp, char *buf) ddp 4550 drivers/scsi/st.c static ssize_t max_sg_segs_show(struct device_driver *ddp, char *buf) ddp 4563 drivers/scsi/st.c static ssize_t debug_flag_store(struct device_driver *ddp, ddp 4582 drivers/scsi/st.c static ssize_t debug_flag_show(struct device_driver *ddp, char *buf) ddp 474 drivers/tty/hvc/hvcs.c static ssize_t rescan_show(struct device_driver *ddp, char *buf) ddp 480 drivers/tty/hvc/hvcs.c static ssize_t rescan_store(struct device_driver *ddp, const char * buf, ddp 555 net/appletalk/aarp.c struct ddpehdr *ddp = (struct ddpehdr *)skb->data; ddp 565 net/appletalk/aarp.c if ((!ddp->deh_snet || at->s_net == ddp->deh_snet) && ddp 566 net/appletalk/aarp.c (!ddp->deh_dnet || at->s_net == ddp->deh_dnet)) { ddp 567 net/appletalk/aarp.c skb_pull(skb, sizeof(*ddp) - 4); ddp 1313 net/appletalk/ddp.c struct ddpehdr *ddp, __u16 len_hops, int origlen) ddp 1322 net/appletalk/ddp.c if (skb->pkt_type != PACKET_HOST || !ddp->deh_dnet) { ddp 1335 net/appletalk/ddp.c ta.s_net = ddp->deh_dnet; ddp 1336 net/appletalk/ddp.c ta.s_node = ddp->deh_dnode; ddp 1363 net/appletalk/ddp.c ddp->deh_len_hops = htons(len_hops); ddp 1415 net/appletalk/ddp.c struct ddpehdr *ddp; ddp 1430 net/appletalk/ddp.c if (!pskb_may_pull(skb, sizeof(*ddp))) ddp 1433 net/appletalk/ddp.c ddp = ddp_hdr(skb); ddp 1435 net/appletalk/ddp.c len_hops = ntohs(ddp->deh_len_hops); ddp 1446 net/appletalk/ddp.c if (skb->len < sizeof(*ddp) || skb->len < (len_hops & 1023)) { ddp 1456 net/appletalk/ddp.c if (ddp->deh_sum && ddp 1457 net/appletalk/ddp.c atalk_checksum(skb, len_hops & 1023) != ddp->deh_sum) ddp 1462 net/appletalk/ddp.c if (!ddp->deh_dnet) /* Net 0 is 'this network' */ ddp 1463 net/appletalk/ddp.c atif = atalk_find_anynet(ddp->deh_dnode, dev); ddp 1465 net/appletalk/ddp.c atif = atalk_find_interface(ddp->deh_dnet, ddp->deh_dnode); ddp 1471 net/appletalk/ddp.c return atalk_route_packet(skb, dev, ddp, len_hops, origlen); ddp 1481 net/appletalk/ddp.c tosat.sat_addr.s_net = ddp->deh_dnet; ddp 1482 net/appletalk/ddp.c tosat.sat_addr.s_node = ddp->deh_dnode; ddp 1483 net/appletalk/ddp.c tosat.sat_port = ddp->deh_dport; ddp 1515 net/appletalk/ddp.c struct ddpehdr *ddp; ddp 1530 net/appletalk/ddp.c ddp = skb_push(skb, sizeof(*ddp) - 4); ddp 1540 net/appletalk/ddp.c ddp->deh_dnode = skb_mac_header(skb)[0]; /* From physical header */ ddp 1541 net/appletalk/ddp.c ddp->deh_snode = skb_mac_header(skb)[1]; /* From physical header */ ddp 1543 net/appletalk/ddp.c ddp->deh_dnet = ap->s_net; /* Network number */ ddp 1544 net/appletalk/ddp.c ddp->deh_snet = ap->s_net; ddp 1545 net/appletalk/ddp.c ddp->deh_sum = 0; /* No checksum */ ddp 1550 net/appletalk/ddp.c ddp->deh_len_hops = htons(skb->len + (DDP_MAXHOPS << 10)); ddp 1570 net/appletalk/ddp.c struct ddpehdr *ddp; ddp 1648 net/appletalk/ddp.c ddp = skb_put(skb, sizeof(struct ddpehdr)); ddp 1649 net/appletalk/ddp.c ddp->deh_len_hops = htons(len + sizeof(*ddp)); ddp 1650 net/appletalk/ddp.c ddp->deh_dnet = usat->sat_addr.s_net; ddp 1651 net/appletalk/ddp.c ddp->deh_snet = at->src_net; ddp 1652 net/appletalk/ddp.c ddp->deh_dnode = usat->sat_addr.s_node; ddp 1653 net/appletalk/ddp.c ddp->deh_snode = at->src_node; ddp 1654 net/appletalk/ddp.c ddp->deh_dport = usat->sat_port; ddp 1655 net/appletalk/ddp.c ddp->deh_sport = at->src_port; ddp 1667 net/appletalk/ddp.c ddp->deh_sum = 0; ddp 1669 net/appletalk/ddp.c ddp->deh_sum = atalk_checksum(skb, len + sizeof(*ddp)); ddp 1675 net/appletalk/ddp.c if (ddp->deh_dnode == ATADDR_BCAST && ddp 1693 net/appletalk/ddp.c if (ddp->deh_dnode == ATADDR_BCAST) { ddp 1732 net/appletalk/ddp.c struct ddpehdr *ddp; ddp 1746 net/appletalk/ddp.c ddp = ddp_hdr(skb); ddp 1747 net/appletalk/ddp.c copied = ntohs(ddp->deh_len_hops) & 1023; ddp 1750 net/appletalk/ddp.c offset = sizeof(*ddp); ddp 1763 net/appletalk/ddp.c sat->sat_port = ddp->deh_sport; ddp 1764 net/appletalk/ddp.c sat->sat_addr.s_node = ddp->deh_snode; ddp 1765 net/appletalk/ddp.c sat->sat_addr.s_net = ddp->deh_snet;