ed                118 arch/ia64/include/asm/processor.h 	__u64 ed : 1;
ed                139 arch/ia64/include/asm/processor.h 		__u64 ed : 1;
ed                741 arch/ia64/kernel/palinfo.c 		unsigned long ed:1;
ed                439 arch/ia64/kernel/traps.c 		ia64_psr(&regs)->ed = 1;
ed                225 arch/ia64/mm/fault.c 		ia64_psr(regs)->ed = 1;
ed                243 arch/ia64/mm/fault.c 		ia64_psr(regs)->ed = 1;
ed                 64 arch/s390/include/asm/cpu_mf.h 	unsigned int ed:1;	    /* 23: diag-sampling enable control	 */
ed                 87 arch/s390/include/asm/cpu_mf.h 	unsigned int ed:1;	    /* 55: diag-sampling enable control	 */
ed                 43 arch/s390/include/asm/nmi.h 		u64 ed :  1; /* 05 external damage */
ed                417 arch/s390/kernel/nmi.c 	if (mci.ed && mci.ec) {
ed                989 arch/s390/kernel/perf_cpum_sf.c 			    cpuhw->lsctl.es, cpuhw->lsctl.cs, cpuhw->lsctl.ed,
ed               1909 arch/s390/kernel/perf_cpum_sf.c 	if (WARN_ON_ONCE(cpuhw->lsctl.es == 1 || cpuhw->lsctl.ed == 1)) {
ed               1922 arch/s390/kernel/perf_cpum_sf.c 		cpuhw->lsctl.ed = 1;
ed               1946 arch/s390/kernel/perf_cpum_sf.c 	cpuhw->lsctl.ed = 0;
ed                154 arch/s390/kernel/perf_event.c 			si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear);
ed               1798 drivers/atm/eni.c 	struct eni_dev *ed = ENI_DEV(dev);
ed               1802 drivers/atm/eni.c 	iounmap(ed->ioaddr);
ed               2308 drivers/atm/eni.c 	struct eni_dev *ed = ENI_DEV(dev);
ed               2309 drivers/atm/eni.c 	struct eni_zero *zero = &ed->zero;
ed               2314 drivers/atm/eni.c 	kfree(ed);
ed               2138 drivers/edac/altera_edac.c 		struct altr_edac_device_dev *ed;
ed               2143 drivers/edac/altera_edac.c 			ed = list_entry(position, struct altr_edac_device_dev,
ed               2145 drivers/edac/altera_edac.c 			if (!(BIT(ed->db_irq) & dberror))
ed               2149 drivers/edac/altera_edac.c 			       ed->base + ALTR_A10_ECC_INTSTAT_OFST);
ed               2150 drivers/edac/altera_edac.c 			err_addr = readl(ed->base + ALTR_S10_DERR_ADDRA_OFST);
ed               2155 drivers/edac/altera_edac.c 				    ed->edac_dev_name, err_addr);
ed                 30 drivers/edac/octeon_edac-pc.c 	struct edac_device_ctl_info *ed;
ed                 57 drivers/edac/octeon_edac-pc.c 		edac_device_printk(p->ed, KERN_ERR,
ed                 62 drivers/edac/octeon_edac-pc.c 		edac_device_handle_ce(p->ed, cpu, 1, "icache");
ed                 65 drivers/edac/octeon_edac-pc.c 		edac_device_printk(p->ed, KERN_ERR,
ed                 70 drivers/edac/octeon_edac-pc.c 			edac_device_handle_ue(p->ed, cpu, 0, "dcache");
ed                 72 drivers/edac/octeon_edac-pc.c 			edac_device_handle_ce(p->ed, cpu, 0, "dcache");
ed                 94 drivers/edac/octeon_edac-pc.c 	p->ed = edac_device_alloc_ctl_info(0, "cpu", num_possible_cpus(),
ed                 97 drivers/edac/octeon_edac-pc.c 	if (!p->ed)
ed                100 drivers/edac/octeon_edac-pc.c 	p->ed->dev = &pdev->dev;
ed                102 drivers/edac/octeon_edac-pc.c 	p->ed->dev_name = dev_name(&pdev->dev);
ed                104 drivers/edac/octeon_edac-pc.c 	p->ed->mod_name = "octeon-cpu";
ed                105 drivers/edac/octeon_edac-pc.c 	p->ed->ctl_name = "cache";
ed                107 drivers/edac/octeon_edac-pc.c 	if (edac_device_add_device(p->ed)) {
ed                117 drivers/edac/octeon_edac-pc.c 	edac_device_free_ctl_info(p->ed);
ed                128 drivers/edac/octeon_edac-pc.c 	edac_device_free_ctl_info(p->ed);
ed                374 drivers/gpu/drm/i915/gvt/execlist.c #define get_desc_from_elsp_dwords(ed, i) \
ed                375 drivers/gpu/drm/i915/gvt/execlist.c 	((struct execlist_ctx_descriptor_format *)&((ed)->data[i * 2]))
ed                815 drivers/media/i2c/ad9389b.c 	struct ad9389b_edid_detect ed;
ed                839 drivers/media/i2c/ad9389b.c 	ed.present = false;
ed                840 drivers/media/i2c/ad9389b.c 	ed.segment = ad9389b_rd(sd, 0xc4);
ed                841 drivers/media/i2c/ad9389b.c 	v4l2_subdev_notify(sd, AD9389B_EDID_DETECT, (void *)&ed);
ed               1012 drivers/media/i2c/ad9389b.c 	struct ad9389b_edid_detect ed;
ed               1058 drivers/media/i2c/ad9389b.c 	ed.present = true;
ed               1059 drivers/media/i2c/ad9389b.c 	ed.segment = 0;
ed               1060 drivers/media/i2c/ad9389b.c 	v4l2_subdev_notify(sd, AD9389B_EDID_DETECT, (void *)&ed);
ed               1063 drivers/media/i2c/ad9389b.c 	return ed.present;
ed               1477 drivers/media/i2c/adv7511-v4l2.c 	struct adv7511_edid_detect ed;
ed               1480 drivers/media/i2c/adv7511-v4l2.c 	ed.present = false;
ed               1481 drivers/media/i2c/adv7511-v4l2.c 	ed.segment = adv7511_rd(sd, 0xc4);
ed               1482 drivers/media/i2c/adv7511-v4l2.c 	ed.phys_addr = CEC_PHYS_ADDR_INVALID;
ed               1483 drivers/media/i2c/adv7511-v4l2.c 	cec_s_phys_addr(state->cec_adap, ed.phys_addr, false);
ed               1484 drivers/media/i2c/adv7511-v4l2.c 	v4l2_subdev_notify(sd, ADV7511_EDID_DETECT, (void *)&ed);
ed               1670 drivers/media/i2c/adv7511-v4l2.c 		struct adv7511_edid_detect ed;
ed               1707 drivers/media/i2c/adv7511-v4l2.c 		ed.phys_addr = cec_get_edid_phys_addr(state->edid.data,
ed               1713 drivers/media/i2c/adv7511-v4l2.c 		ed.present = true;
ed               1714 drivers/media/i2c/adv7511-v4l2.c 		ed.segment = 0;
ed               1716 drivers/media/i2c/adv7511-v4l2.c 		cec_s_phys_addr(state->cec_adap, ed.phys_addr, false);
ed               1717 drivers/media/i2c/adv7511-v4l2.c 		v4l2_subdev_notify(sd, ADV7511_EDID_DETECT, (void *)&ed);
ed               1718 drivers/media/i2c/adv7511-v4l2.c 		return ed.present;
ed                368 drivers/misc/fastrpc.c 	int ed = CMP(pb->end, pa->end);
ed                370 drivers/misc/fastrpc.c 	return st == 0 ? ed : st;
ed                990 drivers/net/ethernet/ni/nixge.c 				       struct ethtool_drvinfo *ed)
ed                992 drivers/net/ethernet/ni/nixge.c 	strlcpy(ed->driver, "nixge", sizeof(ed->driver));
ed                993 drivers/net/ethernet/ni/nixge.c 	strlcpy(ed->bus_info, "platform", sizeof(ed->bus_info));
ed               1108 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 					 struct ethtool_drvinfo *ed)
ed               1110 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	strlcpy(ed->driver, DRIVER_NAME, sizeof(ed->driver));
ed               1111 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	strlcpy(ed->version, DRIVER_VERSION, sizeof(ed->version));
ed               1083 drivers/net/ethernet/xilinx/xilinx_emaclite.c 					   struct ethtool_drvinfo *ed)
ed               1085 drivers/net/ethernet/xilinx/xilinx_emaclite.c 	strlcpy(ed->driver, DRIVER_NAME, sizeof(ed->driver));
ed                927 drivers/net/ieee802154/adf7242.c 	.ed = adf7242_ed,
ed               1313 drivers/net/ieee802154/at86rf230.c 	.ed = at86rf230_ed,
ed                779 drivers/net/ieee802154/atusb.c 	.ed			= atusb_ed,
ed               2391 drivers/net/ieee802154/ca8210.c 	.ed = ca8210_get_ed,
ed                821 drivers/net/ieee802154/cc2520.c 	.ed = cc2520_ed,
ed                116 drivers/net/ieee802154/fakelb.c 	.ed = fakelb_hw_ed,
ed                170 drivers/net/ieee802154/mac802154_hwsim.c 	.ed = hwsim_hw_ed,
ed                758 drivers/net/ieee802154/mcr20a.c 	.ed			= mcr20a_ed,
ed               1008 drivers/net/ieee802154/mrf24j40.c 	.ed = mrf24j40_ed,
ed                805 drivers/scsi/lpfc/lpfc_bsg.c 	struct event_data *ed;
ed                810 drivers/scsi/lpfc/lpfc_bsg.c 		ed = list_entry(evt->events_to_get.next, typeof(*ed), node);
ed                811 drivers/scsi/lpfc/lpfc_bsg.c 		list_del(&ed->node);
ed                812 drivers/scsi/lpfc/lpfc_bsg.c 		kfree(ed->data);
ed                813 drivers/scsi/lpfc/lpfc_bsg.c 		kfree(ed);
ed                817 drivers/scsi/lpfc/lpfc_bsg.c 		ed = list_entry(evt->events_to_see.next, typeof(*ed), node);
ed                818 drivers/scsi/lpfc/lpfc_bsg.c 		list_del(&ed->node);
ed                819 drivers/scsi/lpfc/lpfc_bsg.c 		kfree(ed->data);
ed                820 drivers/scsi/lpfc/lpfc_bsg.c 		kfree(ed);
ed                421 drivers/soc/fsl/dpio/dpio-service.c 	struct qbman_eq_desc ed;
ed                427 drivers/soc/fsl/dpio/dpio-service.c 	qbman_eq_desc_clear(&ed);
ed                428 drivers/soc/fsl/dpio/dpio-service.c 	qbman_eq_desc_set_no_orp(&ed, 0);
ed                429 drivers/soc/fsl/dpio/dpio-service.c 	qbman_eq_desc_set_fq(&ed, fqid);
ed                431 drivers/soc/fsl/dpio/dpio-service.c 	return qbman_swp_enqueue(d->swp, &ed, fd);
ed                450 drivers/soc/fsl/dpio/dpio-service.c 	struct qbman_eq_desc ed;
ed                456 drivers/soc/fsl/dpio/dpio-service.c 	qbman_eq_desc_clear(&ed);
ed                457 drivers/soc/fsl/dpio/dpio-service.c 	qbman_eq_desc_set_no_orp(&ed, 0);
ed                458 drivers/soc/fsl/dpio/dpio-service.c 	qbman_eq_desc_set_qd(&ed, qdid, qdbin, prio);
ed                460 drivers/soc/fsl/dpio/dpio-service.c 	return qbman_swp_enqueue(d->swp, &ed, fd);
ed                299 drivers/soc/fsl/qbman/qman_ccsr.c static void qm_set_dc(enum qm_dc_portal portal, int ed, u8 sernd)
ed                301 drivers/soc/fsl/qbman/qman_ccsr.c 	DPAA_ASSERT(!ed || portal == qm_dc_portal_fman0 ||
ed                305 drivers/soc/fsl/qbman/qman_ccsr.c 			    (ed ? 0x1000 : 0) | (sernd & 0x3ff));
ed                308 drivers/soc/fsl/qbman/qman_ccsr.c 			    (ed ? 0x100 : 0) | (sernd & 0x1f));
ed                723 drivers/staging/gdm724x/gdm_lte.c 	u8 ed = nic->phy_dev->get_endian(nic->phy_dev->priv_dev);
ed                733 drivers/staging/gdm724x/gdm_lte.c 	nic->pdn_table.dft_eps_id = gdm_dev32_to_cpu(ed, pdn_table->dft_eps_id);
ed                734 drivers/staging/gdm724x/gdm_lte.c 	nic->pdn_table.nic_type = gdm_dev32_to_cpu(ed, pdn_table->nic_type);
ed                169 drivers/usb/host/fhci-hcd.c 	struct ed *ed;
ed                170 drivers/usb/host/fhci-hcd.c 	struct ed *next_ed;
ed                174 drivers/usb/host/fhci-hcd.c 	list_for_each_entry_safe(ed, next_ed, &fhci->empty_eds, node) {
ed                175 drivers/usb/host/fhci-hcd.c 		list_del(&ed->node);
ed                176 drivers/usb/host/fhci-hcd.c 		kfree(ed);
ed                225 drivers/usb/host/fhci-hcd.c 		struct ed *ed;
ed                227 drivers/usb/host/fhci-hcd.c 		ed = kmalloc(sizeof(*ed), GFP_KERNEL);
ed                228 drivers/usb/host/fhci-hcd.c 		if (!ed)
ed                230 drivers/usb/host/fhci-hcd.c 		fhci_recycle_empty_ed(fhci, ed);
ed                495 drivers/usb/host/fhci-hcd.c 		urb_priv->ed->state = FHCI_ED_URB_DEL;
ed                510 drivers/usb/host/fhci-hcd.c 	struct ed *ed;
ed                515 drivers/usb/host/fhci-hcd.c 	ed = ep->hcpriv;
ed                516 drivers/usb/host/fhci-hcd.c 	if (ed) {
ed                517 drivers/usb/host/fhci-hcd.c 		while (ed->td_head != NULL) {
ed                518 drivers/usb/host/fhci-hcd.c 			struct td *td = fhci_remove_td_from_ed(ed);
ed                521 drivers/usb/host/fhci-hcd.c 		fhci_recycle_empty_ed(fhci, ed);
ed                 30 drivers/usb/host/fhci-mem.c static void init_ed(struct ed *ed)
ed                 32 drivers/usb/host/fhci-mem.c 	memset(ed, 0, sizeof(*ed));
ed                 33 drivers/usb/host/fhci-mem.c 	INIT_LIST_HEAD(&ed->td_list);
ed                 34 drivers/usb/host/fhci-mem.c 	INIT_LIST_HEAD(&ed->node);
ed                 61 drivers/usb/host/fhci-mem.c struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci)
ed                 63 drivers/usb/host/fhci-mem.c 	struct ed *ed;
ed                 66 drivers/usb/host/fhci-mem.c 		ed = list_entry(fhci->empty_eds.next, struct ed, node);
ed                 69 drivers/usb/host/fhci-mem.c 		ed = kmalloc(sizeof(*ed), GFP_ATOMIC);
ed                 70 drivers/usb/host/fhci-mem.c 		if (!ed)
ed                 73 drivers/usb/host/fhci-mem.c 			init_ed(ed);
ed                 76 drivers/usb/host/fhci-mem.c 	return ed;
ed                 79 drivers/usb/host/fhci-mem.c void fhci_recycle_empty_ed(struct fhci_hcd *fhci, struct ed *ed)
ed                 81 drivers/usb/host/fhci-mem.c 	init_ed(ed);
ed                 82 drivers/usb/host/fhci-mem.c 	list_add(&ed->node, &fhci->empty_eds);
ed                 86 drivers/usb/host/fhci-mem.c 			struct urb_priv *urb_priv, struct ed *ed, u16 index,
ed                 96 drivers/usb/host/fhci-mem.c 	td->ed = ed;
ed                 58 drivers/usb/host/fhci-q.c void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number)
ed                 64 drivers/usb/host/fhci-q.c 		list_add_tail(&td->node, &ed->td_list);
ed                 66 drivers/usb/host/fhci-q.c 	if (ed->td_head == NULL)
ed                 67 drivers/usb/host/fhci-q.c 		ed->td_head = td_list[0];
ed                 70 drivers/usb/host/fhci-q.c static struct td *peek_td_from_ed(struct ed *ed)
ed                 74 drivers/usb/host/fhci-q.c 	if (!list_empty(&ed->td_list))
ed                 75 drivers/usb/host/fhci-q.c 		td = list_entry(ed->td_list.next, struct td, node);
ed                107 drivers/usb/host/fhci-q.c struct td *fhci_remove_td_from_ed(struct ed *ed)
ed                111 drivers/usb/host/fhci-q.c 	if (!list_empty(&ed->td_list)) {
ed                112 drivers/usb/host/fhci-q.c 		td = list_entry(ed->td_list.next, struct td, node);
ed                113 drivers/usb/host/fhci-q.c 		list_del_init(ed->td_list.next);
ed                116 drivers/usb/host/fhci-q.c 		if (!list_empty(&ed->td_list))
ed                117 drivers/usb/host/fhci-q.c 			ed->td_head = list_entry(ed->td_list.next, struct td,
ed                120 drivers/usb/host/fhci-q.c 			ed->td_head = NULL;
ed                140 drivers/usb/host/fhci-q.c void fhci_move_td_from_ed_to_done_list(struct fhci_usb *usb, struct ed *ed)
ed                144 drivers/usb/host/fhci-q.c 	td = ed->td_head;
ed                148 drivers/usb/host/fhci-q.c 	if (!list_empty(&ed->td_list))
ed                149 drivers/usb/host/fhci-q.c 		ed->td_head = list_entry(ed->td_list.next, struct td, node);
ed                151 drivers/usb/host/fhci-q.c 		ed->td_head = NULL;
ed                152 drivers/usb/host/fhci-q.c 		ed->state = FHCI_ED_SKIP;
ed                154 drivers/usb/host/fhci-q.c 	ed->toggle_carry = td->toggle;
ed                165 drivers/usb/host/fhci-q.c 	struct ed *ed = urb_priv->ed;
ed                173 drivers/usb/host/fhci-q.c 	if (!list_empty(&ed->td_list))
ed                174 drivers/usb/host/fhci-q.c 		ed->td_head = list_entry(ed->td_list.next, struct td, node);
ed                176 drivers/usb/host/fhci-q.c 		ed->td_head = NULL;
ed                183 drivers/usb/host/fhci-q.c 	if (ed->td_head == NULL)
ed                184 drivers/usb/host/fhci-q.c 		list_del_init(&ed->node);
ed                216 drivers/usb/host/fhci-q.c 	struct ed *ed = td->ed;
ed                220 drivers/usb/host/fhci-q.c 	if (ed->mode == FHCI_TF_ISO) {
ed                250 drivers/usb/host/fhci-q.c 			ed->state = FHCI_ED_OPER;
ed                265 drivers/usb/host/fhci-q.c void fhci_del_ed_list(struct fhci_hcd *fhci, struct ed *ed)
ed                267 drivers/usb/host/fhci-q.c 	struct td *td = peek_td_from_ed(ed);
ed                272 drivers/usb/host/fhci-q.c 		td = fhci_remove_td_from_ed(ed);
ed                 44 drivers/usb/host/fhci-sched.c 	struct ed *ed;
ed                 61 drivers/usb/host/fhci-sched.c 	ed = td->ed;
ed                 62 drivers/usb/host/fhci-sched.c 	if (ed->mode == FHCI_TF_ISO) {
ed                 63 drivers/usb/host/fhci-sched.c 		if (ed->td_list.next->next != &ed->td_list) {
ed                 65 drivers/usb/host/fhci-sched.c 			    list_entry(ed->td_list.next->next, struct td,
ed                 83 drivers/usb/host/fhci-sched.c 			ed->state = FHCI_ED_HALTED;
ed                118 drivers/usb/host/fhci-sched.c 		fhci_move_td_from_ed_to_done_list(usb, ed);
ed                155 drivers/usb/host/fhci-sched.c static int add_packet(struct fhci_usb *usb, struct ed *ed, struct td *td)
ed                163 drivers/usb/host/fhci-sched.c 		td->toggle = ed->toggle_carry;
ed                165 drivers/usb/host/fhci-sched.c 	switch (ed->mode) {
ed                173 drivers/usb/host/fhci-sched.c 		len = min(td->len - td->actual_len, ed->max_pkt_size);
ed                179 drivers/usb/host/fhci-sched.c 		len = min(td->len, ed->max_pkt_size);
ed                181 drivers/usb/host/fhci-sched.c 		      ((td->len + CRC_SIZE) >= ed->max_pkt_size)))
ed                239 drivers/usb/host/fhci-sched.c 	} else if (fhci_host_transaction(usb, pkt, td->type, ed->dev_addr,
ed                240 drivers/usb/host/fhci-sched.c 			ed->ep_addr, ed->mode, ed->speed, td->toggle)) {
ed                279 drivers/usb/host/fhci-sched.c 	struct ed *ed;
ed                284 drivers/usb/host/fhci-sched.c 	list_for_each_entry(ed, list, node) {
ed                285 drivers/usb/host/fhci-sched.c 		td = ed->td_head;
ed                290 drivers/usb/host/fhci-sched.c 		if (ed->state != FHCI_ED_OPER) {
ed                291 drivers/usb/host/fhci-sched.c 			if (ed->state == FHCI_ED_URB_DEL) {
ed                293 drivers/usb/host/fhci-sched.c 				fhci_move_td_from_ed_to_done_list(usb, ed);
ed                294 drivers/usb/host/fhci-sched.c 				ed->state = FHCI_ED_SKIP;
ed                308 drivers/usb/host/fhci-sched.c 		if (add_packet(usb, ed, td) < 0)
ed                634 drivers/usb/host/fhci-sched.c 	struct ed *ed;
ed                647 drivers/usb/host/fhci-sched.c 		ed = td->ed;
ed                662 drivers/usb/host/fhci-sched.c 				ed->state == FHCI_ED_SKIP) {
ed                663 drivers/usb/host/fhci-sched.c 			fhci_del_ed_list(fhci, ed);
ed                664 drivers/usb/host/fhci-sched.c 			ed->state = FHCI_ED_OPER;
ed                665 drivers/usb/host/fhci-sched.c 		} else if (ed->state == FHCI_ED_HALTED) {
ed                667 drivers/usb/host/fhci-sched.c 			ed->state = FHCI_ED_URB_DEL;
ed                668 drivers/usb/host/fhci-sched.c 			fhci_del_ed_list(fhci, ed);
ed                669 drivers/usb/host/fhci-sched.c 			ed->state = FHCI_ED_OPER;
ed                699 drivers/usb/host/fhci-sched.c 	struct ed *ed = urb->ep->hcpriv;
ed                708 drivers/usb/host/fhci-sched.c 	if (ed == NULL) {
ed                709 drivers/usb/host/fhci-sched.c 		ed = fhci_get_empty_ed(fhci);
ed                710 drivers/usb/host/fhci-sched.c 		ed->dev_addr = usb_pipedevice(urb->pipe);
ed                711 drivers/usb/host/fhci-sched.c 		ed->ep_addr = usb_pipeendpoint(urb->pipe);
ed                714 drivers/usb/host/fhci-sched.c 			ed->mode = FHCI_TF_CTRL;
ed                717 drivers/usb/host/fhci-sched.c 			ed->mode = FHCI_TF_BULK;
ed                720 drivers/usb/host/fhci-sched.c 			ed->mode = FHCI_TF_INTR;
ed                723 drivers/usb/host/fhci-sched.c 			ed->mode = FHCI_TF_ISO;
ed                728 drivers/usb/host/fhci-sched.c 		ed->speed = (urb->dev->speed == USB_SPEED_LOW) ?
ed                730 drivers/usb/host/fhci-sched.c 		ed->max_pkt_size = usb_endpoint_maxp(&urb->ep->desc);
ed                731 drivers/usb/host/fhci-sched.c 		urb->ep->hcpriv = ed;
ed                733 drivers/usb/host/fhci-sched.c 			 ed->speed, ed->max_pkt_size);
ed                737 drivers/usb/host/fhci-sched.c 	if (ed->mode == FHCI_TF_ISO) {
ed                739 drivers/usb/host/fhci-sched.c 		urb->start_frame = ed->td_head ? ed->next_iso :
ed                741 drivers/usb/host/fhci-sched.c 		ed->next_iso = (urb->start_frame + urb->interval *
ed                759 drivers/usb/host/fhci-sched.c 	urb_priv->ed = ed;
ed                765 drivers/usb/host/fhci-sched.c 	switch (ed->mode) {
ed                773 drivers/usb/host/fhci-sched.c 			td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt,
ed                784 drivers/usb/host/fhci-sched.c 		td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt,
ed                792 drivers/usb/host/fhci-sched.c 			td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt,
ed                801 drivers/usb/host/fhci-sched.c 		td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++,
ed                807 drivers/usb/host/fhci-sched.c 		ed->dev_addr = usb_pipedevice(urb->pipe);
ed                808 drivers/usb/host/fhci-sched.c 		ed->max_pkt_size = usb_endpoint_maxp(&urb->ep->desc);
ed                811 drivers/usb/host/fhci-sched.c 		td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++, FHCI_TA_SETUP,
ed                816 drivers/usb/host/fhci-sched.c 			td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++,
ed                825 drivers/usb/host/fhci-sched.c 			td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++,
ed                830 drivers/usb/host/fhci-sched.c 			 td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt++,
ed                847 drivers/usb/host/fhci-sched.c 			td = fhci_td_fill(fhci, urb, urb_priv, ed, cnt,
ed                870 drivers/usb/host/fhci-sched.c 	if (!ed->td_head) {
ed                871 drivers/usb/host/fhci-sched.c 		ed->state = FHCI_ED_OPER;
ed                872 drivers/usb/host/fhci-sched.c 		switch (ed->mode) {
ed                874 drivers/usb/host/fhci-sched.c 			list_add(&ed->node, &fhci->hc_list->ctrl_list);
ed                877 drivers/usb/host/fhci-sched.c 			list_add(&ed->node, &fhci->hc_list->bulk_list);
ed                880 drivers/usb/host/fhci-sched.c 			list_add(&ed->node, &fhci->hc_list->intr_list);
ed                883 drivers/usb/host/fhci-sched.c 			list_add(&ed->node, &fhci->hc_list->iso_list);
ed                890 drivers/usb/host/fhci-sched.c 	fhci_add_tds_to_ed(ed, urb_priv->tds, urb_priv->num_of_tds);
ed                349 drivers/usb/host/fhci.h 	struct ed *ed;		 /* a handle to the corresponding ED */
ed                391 drivers/usb/host/fhci.h 	struct ed *ed;
ed                515 drivers/usb/host/fhci.h void fhci_recycle_empty_ed(struct fhci_hcd *fhci, struct ed *ed);
ed                516 drivers/usb/host/fhci.h struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci);
ed                518 drivers/usb/host/fhci.h 			struct urb_priv *urb_priv, struct ed *ed, u16 index,
ed                521 drivers/usb/host/fhci.h void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number);
ed                565 drivers/usb/host/fhci.h struct td *fhci_remove_td_from_ed(struct ed *ed);
ed                567 drivers/usb/host/fhci.h void fhci_move_td_from_ed_to_done_list(struct fhci_usb *usb, struct ed *ed);
ed                572 drivers/usb/host/fhci.h void fhci_del_ed_list(struct fhci_hcd *fhci, struct ed *ed);
ed                313 drivers/usb/host/ohci-dbg.c 		const struct ed *ed, int verbose)
ed                315 drivers/usb/host/ohci-dbg.c 	u32	tmp = hc32_to_cpu (ohci, ed->hwINFO);
ed                320 drivers/usb/host/ohci-dbg.c 		ed, ed->state, edstring (ed->type),
ed                321 drivers/usb/host/ohci-dbg.c 		hc32_to_cpup (ohci, &ed->hwNextED));
ed                337 drivers/usb/host/ohci-dbg.c 	tmp = hc32_to_cpup (ohci, &ed->hwHeadP);
ed                342 drivers/usb/host/ohci-dbg.c 		hc32_to_cpup (ohci, &ed->hwTailP),
ed                350 drivers/usb/host/ohci-dbg.c 		list_for_each (tmp, &ed->td_list) {
ed                400 drivers/usb/host/ohci-dbg.c show_list (struct ohci_hcd *ohci, char *buf, size_t count, struct ed *ed)
ed                404 drivers/usb/host/ohci-dbg.c 	if (!ed)
ed                408 drivers/usb/host/ohci-dbg.c 	while (ed->ed_prev)
ed                409 drivers/usb/host/ohci-dbg.c 		ed = ed->ed_prev;
ed                412 drivers/usb/host/ohci-dbg.c 	while (ed) {
ed                413 drivers/usb/host/ohci-dbg.c 		u32		info = hc32_to_cpu (ohci, ed->hwINFO);
ed                414 drivers/usb/host/ohci-dbg.c 		u32		headp = hc32_to_cpu (ohci, ed->hwHeadP);
ed                420 drivers/usb/host/ohci-dbg.c 			ed,
ed                433 drivers/usb/host/ohci-dbg.c 		list_for_each (entry, &ed->td_list) {
ed                460 drivers/usb/host/ohci-dbg.c 		ed = ed->ed_next;
ed                489 drivers/usb/host/ohci-dbg.c 	struct ed		**seen, *ed;
ed                511 drivers/usb/host/ohci-dbg.c 		ed = ohci->periodic[i];
ed                512 drivers/usb/host/ohci-dbg.c 		if (!ed)
ed                521 drivers/usb/host/ohci-dbg.c 				ed->interval, ed);
ed                525 drivers/usb/host/ohci-dbg.c 				if (seen [temp] == ed)
ed                531 drivers/usb/host/ohci-dbg.c 				u32	info = hc32_to_cpu (ohci, ed->hwINFO);
ed                536 drivers/usb/host/ohci-dbg.c 				list_for_each (entry, &ed->td_list)
ed                551 drivers/usb/host/ohci-dbg.c 					(ed->hwHeadP &
ed                558 drivers/usb/host/ohci-dbg.c 					seen [seen_count++] = ed;
ed                560 drivers/usb/host/ohci-dbg.c 				ed = ed->ed_next;
ed                565 drivers/usb/host/ohci-dbg.c 				ed = NULL;
ed                568 drivers/usb/host/ohci-dbg.c 		} while (ed);
ed                153 drivers/usb/host/ohci-hcd.c 	struct ed	*ed;
ed                161 drivers/usb/host/ohci-hcd.c 	ed = ed_get(ohci, urb->ep, urb->dev, pipe, urb->interval);
ed                162 drivers/usb/host/ohci-hcd.c 	if (! ed)
ed                166 drivers/usb/host/ohci-hcd.c 	switch (ed->type) {
ed                200 drivers/usb/host/ohci-hcd.c 	urb_priv->ed = ed;
ed                228 drivers/usb/host/ohci-hcd.c 	if (ed->state == ED_IDLE) {
ed                229 drivers/usb/host/ohci-hcd.c 		retval = ed_schedule (ohci, ed);
ed                243 drivers/usb/host/ohci-hcd.c 		list_add(&ed->in_use_list, &ohci->eds_in_use);
ed                245 drivers/usb/host/ohci-hcd.c 		if (ed->type == PIPE_ISOCHRONOUS) {
ed                249 drivers/usb/host/ohci-hcd.c 			frame += max_t (u16, 8, ed->interval);
ed                250 drivers/usb/host/ohci-hcd.c 			frame &= ~(ed->interval - 1);
ed                251 drivers/usb/host/ohci-hcd.c 			frame |= ed->branch;
ed                253 drivers/usb/host/ohci-hcd.c 			ed->last_iso = frame + ed->interval * (size - 1);
ed                255 drivers/usb/host/ohci-hcd.c 	} else if (ed->type == PIPE_ISOCHRONOUS) {
ed                257 drivers/usb/host/ohci-hcd.c 		u16	frame = ed->last_iso + ed->interval;
ed                258 drivers/usb/host/ohci-hcd.c 		u16	length = ed->interval * (size - 1);
ed                265 drivers/usb/host/ohci-hcd.c 				frame += (next - frame + ed->interval - 1) &
ed                266 drivers/usb/host/ohci-hcd.c 						-ed->interval;
ed                282 drivers/usb/host/ohci-hcd.c 						ed->interval);
ed                292 drivers/usb/host/ohci-hcd.c 		ed->last_iso = frame + length;
ed                331 drivers/usb/host/ohci-hcd.c 		if (urb_priv->ed->state == ED_OPER)
ed                332 drivers/usb/host/ohci-hcd.c 			start_ed_unlink(ohci, urb_priv->ed);
ed                354 drivers/usb/host/ohci-hcd.c 	struct ed		*ed = ep->hcpriv;
ed                360 drivers/usb/host/ohci-hcd.c 	if (!ed)
ed                368 drivers/usb/host/ohci-hcd.c 		ed->state = ED_IDLE;
ed                372 drivers/usb/host/ohci-hcd.c 	switch (ed->state) {
ed                383 drivers/usb/host/ohci-hcd.c 		if (list_empty (&ed->td_list)) {
ed                384 drivers/usb/host/ohci-hcd.c 			td_free (ohci, ed->dummy);
ed                385 drivers/usb/host/ohci-hcd.c 			ed_free (ohci, ed);
ed                394 drivers/usb/host/ohci-hcd.c 			ed, ep->desc.bEndpointAddress, ed->state,
ed                395 drivers/usb/host/ohci-hcd.c 			list_empty (&ed->td_list) ? "" : " (has tds)");
ed                396 drivers/usb/host/ohci-hcd.c 		td_free (ohci, ed->dummy);
ed                751 drivers/usb/host/ohci-hcd.c 	struct ed	*ed;
ed                781 drivers/usb/host/ohci-hcd.c 	list_for_each_entry(ed, &ohci->eds_in_use, in_use_list) {
ed                782 drivers/usb/host/ohci-hcd.c 		if (ed->pending_td) {
ed                784 drivers/usb/host/ohci-hcd.c 					OKAY_TO_TAKEBACK(ohci, ed)) {
ed                785 drivers/usb/host/ohci-hcd.c 				unsigned tmp = hc32_to_cpu(ohci, ed->hwINFO);
ed                791 drivers/usb/host/ohci-hcd.c 				add_to_done_list(ohci, ed->pending_td);
ed                796 drivers/usb/host/ohci-hcd.c 		td = ed->pending_td;
ed                800 drivers/usb/host/ohci-hcd.c 			list_for_each_entry(td_next, &ed->td_list, td_list) {
ed                808 drivers/usb/host/ohci-hcd.c 		head = hc32_to_cpu(ohci, READ_ONCE(ed->hwHeadP)) & TD_MASK;
ed                810 drivers/usb/host/ohci-hcd.c 		td_next = list_prepare_entry(td, &ed->td_list, td_list);
ed                811 drivers/usb/host/ohci-hcd.c 		list_for_each_entry_continue(td_next, &ed->td_list, td_list) {
ed                822 drivers/usb/host/ohci-hcd.c 			ed->takeback_wdh_cnt = ohci->wdh_cnt + 2;
ed                823 drivers/usb/host/ohci-hcd.c 			ed->pending_td = td;
ed               1043 drivers/usb/host/ohci-hcd.c 		struct ed	*ed = priv->ed;
ed               1045 drivers/usb/host/ohci-hcd.c 		switch (ed->state) {
ed               1047 drivers/usb/host/ohci-hcd.c 			ed->state = ED_UNLINK;
ed               1048 drivers/usb/host/ohci-hcd.c 			ed->hwINFO |= cpu_to_hc32(ohci, ED_DEQUEUE);
ed               1049 drivers/usb/host/ohci-hcd.c 			ed_deschedule (ohci, ed);
ed               1051 drivers/usb/host/ohci-hcd.c 			ed->ed_next = ohci->ed_rm_list;
ed               1052 drivers/usb/host/ohci-hcd.c 			ed->ed_prev = NULL;
ed               1053 drivers/usb/host/ohci-hcd.c 			ohci->ed_rm_list = ed;
ed               1059 drivers/usb/host/ohci-hcd.c 					ed, ed->state);
ed               1279 drivers/usb/host/ohci-hcd.c 		sizeof (struct ed), sizeof (struct td));
ed                140 drivers/usb/host/ohci-hub.c static inline struct ed *find_head (struct ed *ed)
ed                143 drivers/usb/host/ohci-hub.c 	while (ed->ed_prev)
ed                144 drivers/usb/host/ohci-hub.c 		ed = ed->ed_prev;
ed                145 drivers/usb/host/ohci-hub.c 	return ed;
ed                 55 drivers/usb/host/ohci-mem.c 		sizeof (struct ed),
ed                133 drivers/usb/host/ohci-mem.c static struct ed *
ed                137 drivers/usb/host/ohci-mem.c 	struct ed	*ed;
ed                141 drivers/usb/host/ohci-mem.c 		ed = gen_pool_dma_zalloc_align(hcd->localmem_pool,
ed                142 drivers/usb/host/ohci-mem.c 				sizeof(*ed), &dma, 16);
ed                144 drivers/usb/host/ohci-mem.c 		ed = dma_pool_zalloc(hc->ed_cache, mem_flags, &dma);
ed                145 drivers/usb/host/ohci-mem.c 	if (ed) {
ed                146 drivers/usb/host/ohci-mem.c 		INIT_LIST_HEAD (&ed->td_list);
ed                147 drivers/usb/host/ohci-mem.c 		ed->dma = dma;
ed                149 drivers/usb/host/ohci-mem.c 	return ed;
ed                153 drivers/usb/host/ohci-mem.c ed_free (struct ohci_hcd *hc, struct ed *ed)
ed                158 drivers/usb/host/ohci-mem.c 		gen_pool_free(hcd->localmem_pool, (unsigned long)ed,
ed                159 drivers/usb/host/ohci-mem.c 			      sizeof(*ed));
ed                161 drivers/usb/host/ohci-mem.c 		dma_pool_free(hc->ed_cache, ed, ed->dma);
ed                143 drivers/usb/host/ohci-q.c static void periodic_link (struct ohci_hcd *ohci, struct ed *ed)
ed                148 drivers/usb/host/ohci-q.c 		(ed->hwINFO & cpu_to_hc32 (ohci, ED_ISO)) ? "iso " : "",
ed                149 drivers/usb/host/ohci-q.c 		ed, ed->branch, ed->load, ed->interval);
ed                151 drivers/usb/host/ohci-q.c 	for (i = ed->branch; i < NUM_INTS; i += ed->interval) {
ed                152 drivers/usb/host/ohci-q.c 		struct ed	**prev = &ohci->periodic [i];
ed                154 drivers/usb/host/ohci-q.c 		struct ed	*here = *prev;
ed                160 drivers/usb/host/ohci-q.c 		while (here && ed != here) {
ed                161 drivers/usb/host/ohci-q.c 			if (ed->interval > here->interval)
ed                167 drivers/usb/host/ohci-q.c 		if (ed != here) {
ed                168 drivers/usb/host/ohci-q.c 			ed->ed_next = here;
ed                170 drivers/usb/host/ohci-q.c 				ed->hwNextED = *prev_p;
ed                172 drivers/usb/host/ohci-q.c 			*prev = ed;
ed                173 drivers/usb/host/ohci-q.c 			*prev_p = cpu_to_hc32(ohci, ed->dma);
ed                176 drivers/usb/host/ohci-q.c 		ohci->load [i] += ed->load;
ed                178 drivers/usb/host/ohci-q.c 	ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval;
ed                183 drivers/usb/host/ohci-q.c static int ed_schedule (struct ohci_hcd *ohci, struct ed *ed)
ed                187 drivers/usb/host/ohci-q.c 	ed->ed_prev = NULL;
ed                188 drivers/usb/host/ohci-q.c 	ed->ed_next = NULL;
ed                189 drivers/usb/host/ohci-q.c 	ed->hwNextED = 0;
ed                202 drivers/usb/host/ohci-q.c 	switch (ed->type) {
ed                206 drivers/usb/host/ohci-q.c 			ohci_writel (ohci, ed->dma,
ed                209 drivers/usb/host/ohci-q.c 			ohci->ed_controltail->ed_next = ed;
ed                211 drivers/usb/host/ohci-q.c 								ed->dma);
ed                213 drivers/usb/host/ohci-q.c 		ed->ed_prev = ohci->ed_controltail;
ed                221 drivers/usb/host/ohci-q.c 		ohci->ed_controltail = ed;
ed                227 drivers/usb/host/ohci-q.c 			ohci_writel (ohci, ed->dma, &ohci->regs->ed_bulkhead);
ed                229 drivers/usb/host/ohci-q.c 			ohci->ed_bulktail->ed_next = ed;
ed                231 drivers/usb/host/ohci-q.c 								ed->dma);
ed                233 drivers/usb/host/ohci-q.c 		ed->ed_prev = ohci->ed_bulktail;
ed                241 drivers/usb/host/ohci-q.c 		ohci->ed_bulktail = ed;
ed                247 drivers/usb/host/ohci-q.c 		branch = balance (ohci, ed->interval, ed->load);
ed                251 drivers/usb/host/ohci-q.c 				branch, ed->interval, ed->load);
ed                255 drivers/usb/host/ohci-q.c 		ed->branch = branch;
ed                256 drivers/usb/host/ohci-q.c 		periodic_link (ohci, ed);
ed                263 drivers/usb/host/ohci-q.c 	ed->state = ED_OPER;
ed                270 drivers/usb/host/ohci-q.c static void periodic_unlink (struct ohci_hcd *ohci, struct ed *ed)
ed                274 drivers/usb/host/ohci-q.c 	for (i = ed->branch; i < NUM_INTS; i += ed->interval) {
ed                275 drivers/usb/host/ohci-q.c 		struct ed	*temp;
ed                276 drivers/usb/host/ohci-q.c 		struct ed	**prev = &ohci->periodic [i];
ed                279 drivers/usb/host/ohci-q.c 		while (*prev && (temp = *prev) != ed) {
ed                284 drivers/usb/host/ohci-q.c 			*prev_p = ed->hwNextED;
ed                285 drivers/usb/host/ohci-q.c 			*prev = ed->ed_next;
ed                287 drivers/usb/host/ohci-q.c 		ohci->load [i] -= ed->load;
ed                289 drivers/usb/host/ohci-q.c 	ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval;
ed                292 drivers/usb/host/ohci-q.c 		(ed->hwINFO & cpu_to_hc32 (ohci, ED_ISO)) ? "iso " : "",
ed                293 drivers/usb/host/ohci-q.c 		ed, ed->branch, ed->load, ed->interval);
ed                317 drivers/usb/host/ohci-q.c static void ed_deschedule (struct ohci_hcd *ohci, struct ed *ed)
ed                319 drivers/usb/host/ohci-q.c 	ed->hwINFO |= cpu_to_hc32 (ohci, ED_SKIP);
ed                321 drivers/usb/host/ohci-q.c 	ed->state = ED_UNLINK;
ed                333 drivers/usb/host/ohci-q.c 	switch (ed->type) {
ed                336 drivers/usb/host/ohci-q.c 		if (ed->ed_prev == NULL) {
ed                337 drivers/usb/host/ohci-q.c 			if (!ed->hwNextED) {
ed                344 drivers/usb/host/ohci-q.c 					hc32_to_cpup (ohci, &ed->hwNextED),
ed                347 drivers/usb/host/ohci-q.c 			ed->ed_prev->ed_next = ed->ed_next;
ed                348 drivers/usb/host/ohci-q.c 			ed->ed_prev->hwNextED = ed->hwNextED;
ed                351 drivers/usb/host/ohci-q.c 		if (ohci->ed_controltail == ed) {
ed                352 drivers/usb/host/ohci-q.c 			ohci->ed_controltail = ed->ed_prev;
ed                355 drivers/usb/host/ohci-q.c 		} else if (ed->ed_next) {
ed                356 drivers/usb/host/ohci-q.c 			ed->ed_next->ed_prev = ed->ed_prev;
ed                362 drivers/usb/host/ohci-q.c 		if (ed->ed_prev == NULL) {
ed                363 drivers/usb/host/ohci-q.c 			if (!ed->hwNextED) {
ed                370 drivers/usb/host/ohci-q.c 					hc32_to_cpup (ohci, &ed->hwNextED),
ed                373 drivers/usb/host/ohci-q.c 			ed->ed_prev->ed_next = ed->ed_next;
ed                374 drivers/usb/host/ohci-q.c 			ed->ed_prev->hwNextED = ed->hwNextED;
ed                377 drivers/usb/host/ohci-q.c 		if (ohci->ed_bulktail == ed) {
ed                378 drivers/usb/host/ohci-q.c 			ohci->ed_bulktail = ed->ed_prev;
ed                381 drivers/usb/host/ohci-q.c 		} else if (ed->ed_next) {
ed                382 drivers/usb/host/ohci-q.c 			ed->ed_next->ed_prev = ed->ed_prev;
ed                389 drivers/usb/host/ohci-q.c 		periodic_unlink (ohci, ed);
ed                400 drivers/usb/host/ohci-q.c static struct ed *ed_get (
ed                407 drivers/usb/host/ohci-q.c 	struct ed		*ed;
ed                412 drivers/usb/host/ohci-q.c 	ed = ep->hcpriv;
ed                413 drivers/usb/host/ohci-q.c 	if (!ed) {
ed                418 drivers/usb/host/ohci-q.c 		ed = ed_alloc (ohci, GFP_ATOMIC);
ed                419 drivers/usb/host/ohci-q.c 		if (!ed) {
ed                428 drivers/usb/host/ohci-q.c 			ed_free (ohci, ed);
ed                429 drivers/usb/host/ohci-q.c 			ed = NULL;
ed                432 drivers/usb/host/ohci-q.c 		ed->dummy = td;
ed                433 drivers/usb/host/ohci-q.c 		ed->hwTailP = cpu_to_hc32 (ohci, td->td_dma);
ed                434 drivers/usb/host/ohci-q.c 		ed->hwHeadP = ed->hwTailP;	/* ED_C, ED_H zeroed */
ed                435 drivers/usb/host/ohci-q.c 		ed->state = ED_IDLE;
ed                443 drivers/usb/host/ohci-q.c 		ed->type = usb_pipetype(pipe);
ed                450 drivers/usb/host/ohci-q.c 		if (ed->type != PIPE_CONTROL) {
ed                452 drivers/usb/host/ohci-q.c 			if (ed->type != PIPE_BULK) {
ed                454 drivers/usb/host/ohci-q.c 				if (ed->type == PIPE_ISOCHRONOUS)
ed                458 drivers/usb/host/ohci-q.c 				ed->interval = interval;
ed                459 drivers/usb/host/ohci-q.c 				ed->load = usb_calc_bus_time (
ed                461 drivers/usb/host/ohci-q.c 					ed->type == PIPE_ISOCHRONOUS,
ed                466 drivers/usb/host/ohci-q.c 		ed->hwINFO = cpu_to_hc32(ohci, info);
ed                468 drivers/usb/host/ohci-q.c 		ep->hcpriv = ed;
ed                473 drivers/usb/host/ohci-q.c 	return ed;
ed                484 drivers/usb/host/ohci-q.c static void start_ed_unlink (struct ohci_hcd *ohci, struct ed *ed)
ed                486 drivers/usb/host/ohci-q.c 	ed->hwINFO |= cpu_to_hc32 (ohci, ED_DEQUEUE);
ed                487 drivers/usb/host/ohci-q.c 	ed_deschedule (ohci, ed);
ed                490 drivers/usb/host/ohci-q.c 	ed->ed_next = ohci->ed_rm_list;
ed                491 drivers/usb/host/ohci-q.c 	ed->ed_prev = NULL;
ed                492 drivers/usb/host/ohci-q.c 	ohci->ed_rm_list = ed;
ed                505 drivers/usb/host/ohci-q.c 	ed->tick = ohci_frame_no(ohci) + 1;
ed                546 drivers/usb/host/ohci-q.c 	td = urb_priv->td [index] = urb_priv->ed->dummy;
ed                547 drivers/usb/host/ohci-q.c 	urb_priv->ed->dummy = td_pt;
ed                549 drivers/usb/host/ohci-q.c 	td->ed = urb_priv->ed;
ed                572 drivers/usb/host/ohci-q.c 	list_add_tail (&td->td_list, &td->ed->td_list);
ed                581 drivers/usb/host/ohci-q.c 	td->ed->hwTailP = td->hwNextTD;
ed                613 drivers/usb/host/ohci-q.c 		urb_priv->ed->hwHeadP &= ~cpu_to_hc32 (ohci, ED_C);
ed                641 drivers/usb/host/ohci-q.c 	switch (urb_priv->ed->type) {
ed                685 drivers/usb/host/ohci-q.c 		if (urb_priv->ed->type == PIPE_BULK) {
ed                837 drivers/usb/host/ohci-q.c 	struct ed		*ed = td->ed;
ed                839 drivers/usb/host/ohci-q.c 	__hc32			toggle = ed->hwHeadP & cpu_to_hc32 (ohci, ED_C);
ed                844 drivers/usb/host/ohci-q.c 	ed->hwINFO |= cpu_to_hc32 (ohci, ED_SKIP);
ed                846 drivers/usb/host/ohci-q.c 	ed->hwHeadP &= ~cpu_to_hc32 (ohci, ED_H);
ed                852 drivers/usb/host/ohci-q.c 	while (tmp != &ed->td_list) {
ed                871 drivers/usb/host/ohci-q.c 		ed->hwHeadP = next->hwNextTD | toggle;
ed                902 drivers/usb/host/ohci-q.c 	struct ed	*ed;
ed                908 drivers/usb/host/ohci-q.c 	ed = td->ed;
ed                910 drivers/usb/host/ohci-q.c 	list_for_each_entry_continue_reverse(td2, &ed->td_list, td_list) {
ed                929 drivers/usb/host/ohci-q.c 	td2 = ed->pending_td;
ed                931 drivers/usb/host/ohci-q.c 		ed->pending_td = NULL;
ed                964 drivers/usb/host/ohci-q.c 				&& (td->ed->hwHeadP & cpu_to_hc32 (ohci, ED_H)))
ed                978 drivers/usb/host/ohci-q.c 	struct ed	*ed, **last;
ed                981 drivers/usb/host/ohci-q.c 	for (last = &ohci->ed_rm_list, ed = *last; ed != NULL; ed = *last) {
ed                990 drivers/usb/host/ohci-q.c 				tick_before(tick, ed->tick)) {
ed                992 drivers/usb/host/ohci-q.c 			last = &ed->ed_next;
ed                995 drivers/usb/host/ohci-q.c 		if (!list_empty(&ed->td_list)) {
ed                999 drivers/usb/host/ohci-q.c 			td = list_first_entry(&ed->td_list, struct td, td_list);
ed               1002 drivers/usb/host/ohci-q.c 			head = hc32_to_cpu(ohci, ed->hwHeadP) & TD_MASK;
ed               1013 drivers/usb/host/ohci-q.c 		ed->hwHeadP &= ~cpu_to_hc32(ohci, ED_H);
ed               1014 drivers/usb/host/ohci-q.c 		ed->hwNextED = 0;
ed               1016 drivers/usb/host/ohci-q.c 		ed->hwINFO &= ~cpu_to_hc32(ohci, ED_SKIP | ED_DEQUEUE);
ed               1022 drivers/usb/host/ohci-q.c 		*last = ed->ed_next;
ed               1023 drivers/usb/host/ohci-q.c 		ed->ed_next = NULL;
ed               1036 drivers/usb/host/ohci-q.c 		prev = &ed->hwHeadP;
ed               1037 drivers/usb/host/ohci-q.c 		list_for_each_safe (entry, tmp, &ed->td_list) {
ed               1064 drivers/usb/host/ohci-q.c 				ed->hwHeadP &= ~cpu_to_hc32(ohci, ED_C);
ed               1066 drivers/usb/host/ohci-q.c 				ed->hwHeadP |= cpu_to_hc32(ohci, ED_C);
ed               1078 drivers/usb/host/ohci-q.c 		if (completed && !list_empty (&ed->td_list))
ed               1087 drivers/usb/host/ohci-q.c 		if (list_empty(&ed->td_list)) {
ed               1088 drivers/usb/host/ohci-q.c 			ed->state = ED_IDLE;
ed               1089 drivers/usb/host/ohci-q.c 			list_del(&ed->in_use_list);
ed               1091 drivers/usb/host/ohci-q.c 			ed_schedule(ohci, ed);
ed               1093 drivers/usb/host/ohci-q.c 			ed->ed_next = ohci->ed_rm_list;
ed               1094 drivers/usb/host/ohci-q.c 			ohci->ed_rm_list = ed;
ed               1097 drivers/usb/host/ohci-q.c 				last = &ed->ed_next;
ed               1154 drivers/usb/host/ohci-q.c 	struct ed	*ed = td->ed;
ed               1166 drivers/usb/host/ohci-q.c 	if (list_empty(&ed->td_list)) {
ed               1167 drivers/usb/host/ohci-q.c 		if (ed->state == ED_OPER)
ed               1168 drivers/usb/host/ohci-q.c 			start_ed_unlink(ohci, ed);
ed               1171 drivers/usb/host/ohci-q.c 	} else if ((ed->hwINFO & cpu_to_hc32(ohci, ED_SKIP | ED_DEQUEUE))
ed               1173 drivers/usb/host/ohci-q.c 		td = list_entry(ed->td_list.next, struct td, td_list);
ed               1175 drivers/usb/host/ohci-q.c 			ed->hwINFO &= ~cpu_to_hc32(ohci, ED_SKIP);
ed               1177 drivers/usb/host/ohci-q.c 			switch (ed->type) {
ed                 48 drivers/usb/host/ohci.h 	struct ed		*ed_next;	/* on schedule or rm_list */
ed                 49 drivers/usb/host/ohci.h 	struct ed		*ed_prev;	/* for non-interrupt EDs */
ed                 75 drivers/usb/host/ohci.h #define	OKAY_TO_TAKEBACK(ohci, ed)			\
ed                 76 drivers/usb/host/ohci.h 		((int) (ohci->wdh_cnt - ed->takeback_wdh_cnt) >= 0)
ed                131 drivers/usb/host/ohci.h 	struct ed	*ed;
ed                336 drivers/usb/host/ohci.h 	struct ed		*ed;
ed                378 drivers/usb/host/ohci.h 	struct ed		*ed_rm_list;		/* to be removed */
ed                380 drivers/usb/host/ohci.h 	struct ed		*ed_bulktail;		/* last in bulk list */
ed                381 drivers/usb/host/ohci.h 	struct ed		*ed_controltail;	/* last in ctrl list */
ed                382 drivers/usb/host/ohci.h 	struct ed		*periodic [NUM_INTS];	/* shadow int_table */
ed               1432 drivers/usb/misc/ftdi-elan.c 	u8 ed = ed_number - 1;
ed               1442 drivers/usb/misc/ftdi-elan.c 			struct u132_target *target = &ftdi->target[ed];
ed               1445 drivers/usb/misc/ftdi-elan.c 			command->header = 0x80 | (ed << 5);
ed               1489 drivers/usb/misc/ftdi-elan.c 	u8 ed = ed_number - 1;
ed               1499 drivers/usb/misc/ftdi-elan.c 			struct u132_target *target = &ftdi->target[ed];
ed               1504 drivers/usb/misc/ftdi-elan.c 			command->header = 0x82 | (ed << 5);
ed               1554 drivers/usb/misc/ftdi-elan.c 	u8 ed = ed_number - 1;
ed               1564 drivers/usb/misc/ftdi-elan.c 			struct u132_target *target = &ftdi->target[ed];
ed               1567 drivers/usb/misc/ftdi-elan.c 			command->header = 0x81 | (ed << 5);
ed               1611 drivers/usb/misc/ftdi-elan.c 	u8 ed = ed_number - 1;
ed               1628 drivers/usb/misc/ftdi-elan.c 			struct u132_target *target = &ftdi->target[ed];
ed               1631 drivers/usb/misc/ftdi-elan.c 			command->header = 0x81 | (ed << 5);
ed               1690 drivers/usb/misc/ftdi-elan.c 	u8 ed = ed_number - 1;
ed               1702 drivers/usb/misc/ftdi-elan.c 			struct u132_target *target = &ftdi->target[ed];
ed               1705 drivers/usb/misc/ftdi-elan.c 			command->header = 0x83 | (ed << 5);
ed               1752 drivers/usb/misc/ftdi-elan.c 	u8 ed = ed_number - 1;
ed               1758 drivers/usb/misc/ftdi-elan.c 		struct u132_target *target = &ftdi->target[ed];
ed               1772 drivers/usb/misc/ftdi-elan.c 					command->header = 0x80 | (ed << 5) |
ed                716 include/linux/vmw_vmci_defs.h typedef void (*vmci_event_cb) (u32 sub_id, const struct vmci_event_data *ed,
ed                216 include/net/mac802154.h 	int		(*ed)(struct ieee802154_hw *hw, u8 *level);
ed                 53 net/mac802154/main.c 	if (WARN_ON(!ops || !(ops->xmit_async || ops->xmit_sync) || !ops->ed ||
ed                 35 net/vmw_vsock/vmci_transport.c 					  const struct vmci_event_data *ed,