/drivers/usb/host/ |
D | ohci-q.c | 143 static void periodic_link (struct ohci_hcd *ohci, struct ed *ed) in periodic_link() argument 148 (ed->hwINFO & cpu_to_hc32 (ohci, ED_ISO)) ? "iso " : "", in periodic_link() 149 ed, ed->branch, ed->load, ed->interval); in periodic_link() 151 for (i = ed->branch; i < NUM_INTS; i += ed->interval) { in periodic_link() 152 struct ed **prev = &ohci->periodic [i]; in periodic_link() 154 struct ed *here = *prev; in periodic_link() 160 while (here && ed != here) { in periodic_link() 161 if (ed->interval > here->interval) in periodic_link() 167 if (ed != here) { in periodic_link() 168 ed->ed_next = here; in periodic_link() [all …]
|
D | fhci-q.c | 58 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number) in fhci_add_tds_to_ed() argument 64 list_add_tail(&td->node, &ed->td_list); in fhci_add_tds_to_ed() 66 if (ed->td_head == NULL) in fhci_add_tds_to_ed() 67 ed->td_head = td_list[0]; in fhci_add_tds_to_ed() 70 static struct td *peek_td_from_ed(struct ed *ed) in peek_td_from_ed() argument 74 if (!list_empty(&ed->td_list)) in peek_td_from_ed() 75 td = list_entry(ed->td_list.next, struct td, node); in peek_td_from_ed() 107 struct td *fhci_remove_td_from_ed(struct ed *ed) in fhci_remove_td_from_ed() argument 111 if (!list_empty(&ed->td_list)) { in fhci_remove_td_from_ed() 112 td = list_entry(ed->td_list.next, struct td, node); in fhci_remove_td_from_ed() [all …]
|
D | fhci-mem.c | 30 static void init_ed(struct ed *ed) in init_ed() argument 32 memset(ed, 0, sizeof(*ed)); in init_ed() 33 INIT_LIST_HEAD(&ed->td_list); in init_ed() 34 INIT_LIST_HEAD(&ed->node); in init_ed() 61 struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci) in fhci_get_empty_ed() 63 struct ed *ed; in fhci_get_empty_ed() local 66 ed = list_entry(fhci->empty_eds.next, struct ed, node); in fhci_get_empty_ed() 69 ed = kmalloc(sizeof(*ed), GFP_ATOMIC); in fhci_get_empty_ed() 70 if (!ed) in fhci_get_empty_ed() 73 init_ed(ed); in fhci_get_empty_ed() [all …]
|
D | fhci-sched.c | 44 struct ed *ed; in fhci_transaction_confirm() local 61 ed = td->ed; in fhci_transaction_confirm() 62 if (ed->mode == FHCI_TF_ISO) { in fhci_transaction_confirm() 63 if (ed->td_list.next->next != &ed->td_list) { in fhci_transaction_confirm() 65 list_entry(ed->td_list.next->next, struct td, in fhci_transaction_confirm() 83 ed->state = FHCI_ED_HALTED; in fhci_transaction_confirm() 118 fhci_move_td_from_ed_to_done_list(usb, ed); in fhci_transaction_confirm() 155 static int add_packet(struct fhci_usb *usb, struct ed *ed, struct td *td) in add_packet() argument 163 td->toggle = ed->toggle_carry; in add_packet() 165 switch (ed->mode) { in add_packet() [all …]
|
D | ohci-mem.c | 55 sizeof (struct ed), in ohci_mem_init() 133 static struct ed * 137 struct ed *ed; in ed_alloc() local 141 ed = gen_pool_dma_zalloc_align(hcd->localmem_pool, in ed_alloc() 142 sizeof(*ed), &dma, 16); in ed_alloc() 144 ed = dma_pool_zalloc(hc->ed_cache, mem_flags, &dma); in ed_alloc() 145 if (ed) { in ed_alloc() 146 INIT_LIST_HEAD (&ed->td_list); in ed_alloc() 147 ed->dma = dma; in ed_alloc() 149 return ed; in ed_alloc() [all …]
|
D | ohci-hcd.c | 153 struct ed *ed; in ohci_urb_enqueue() local 161 ed = ed_get(ohci, urb->ep, urb->dev, pipe, urb->interval); in ohci_urb_enqueue() 162 if (! ed) in ohci_urb_enqueue() 166 switch (ed->type) { in ohci_urb_enqueue() 200 urb_priv->ed = ed; in ohci_urb_enqueue() 228 if (ed->state == ED_IDLE) { in ohci_urb_enqueue() 229 retval = ed_schedule (ohci, ed); in ohci_urb_enqueue() 243 list_add(&ed->in_use_list, &ohci->eds_in_use); in ohci_urb_enqueue() 245 if (ed->type == PIPE_ISOCHRONOUS) { in ohci_urb_enqueue() 249 frame += max_t (u16, 8, ed->interval); in ohci_urb_enqueue() [all …]
|
D | ohci-dbg.c | 313 const struct ed *ed, int verbose) in ohci_dump_ed() argument 315 u32 tmp = hc32_to_cpu (ohci, ed->hwINFO); in ohci_dump_ed() 320 ed, ed->state, edstring (ed->type), in ohci_dump_ed() 321 hc32_to_cpup (ohci, &ed->hwNextED)); in ohci_dump_ed() 337 tmp = hc32_to_cpup (ohci, &ed->hwHeadP); in ohci_dump_ed() 342 hc32_to_cpup (ohci, &ed->hwTailP), in ohci_dump_ed() 350 list_for_each (tmp, &ed->td_list) { in ohci_dump_ed() 400 show_list (struct ohci_hcd *ohci, char *buf, size_t count, struct ed *ed) in show_list() argument 404 if (!ed) in show_list() 408 while (ed->ed_prev) in show_list() [all …]
|
D | fhci.h | 323 struct ed { struct 349 struct ed *ed; /* a handle to the corresponding ED */ member 391 struct ed *ed; member 515 void fhci_recycle_empty_ed(struct fhci_hcd *fhci, struct ed *ed); 516 struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci); 518 struct urb_priv *urb_priv, struct ed *ed, u16 index, 521 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number); 565 struct td *fhci_remove_td_from_ed(struct ed *ed); 567 void fhci_move_td_from_ed_to_done_list(struct fhci_usb *usb, struct ed *ed); 572 void fhci_del_ed_list(struct fhci_hcd *fhci, struct ed *ed);
|
D | fhci-hcd.c | 169 struct ed *ed; in fhci_mem_free() local 170 struct ed *next_ed; in fhci_mem_free() 174 list_for_each_entry_safe(ed, next_ed, &fhci->empty_eds, node) { in fhci_mem_free() 175 list_del(&ed->node); in fhci_mem_free() 176 kfree(ed); in fhci_mem_free() 225 struct ed *ed; in fhci_mem_init() local 227 ed = kmalloc(sizeof(*ed), GFP_KERNEL); in fhci_mem_init() 228 if (!ed) in fhci_mem_init() 230 fhci_recycle_empty_ed(fhci, ed); in fhci_mem_init() 495 urb_priv->ed->state = FHCI_ED_URB_DEL; in fhci_urb_dequeue() [all …]
|
D | ohci.h | 26 struct ed { struct 48 struct ed *ed_next; /* on schedule or rm_list */ argument 49 struct ed *ed_prev; /* for non-interrupt EDs */ argument 75 #define OKAY_TO_TAKEBACK(ohci, ed) \ argument 76 ((int) (ohci->wdh_cnt - ed->takeback_wdh_cnt) >= 0) 131 struct ed *ed; member 336 struct ed *ed; member 378 struct ed *ed_rm_list; /* to be removed */ 380 struct ed *ed_bulktail; /* last in bulk list */ 381 struct ed *ed_controltail; /* last in ctrl list */ [all …]
|
D | ohci-hub.c | 140 static inline struct ed *find_head (struct ed *ed) in find_head() argument 143 while (ed->ed_prev) in find_head() 144 ed = ed->ed_prev; in find_head() 145 return ed; in find_head()
|
/drivers/edac/ |
D | octeon_edac-pc.c | 30 struct edac_device_ctl_info *ed; member 57 edac_device_printk(p->ed, KERN_ERR, in co_cache_error_event() 62 edac_device_handle_ce(p->ed, cpu, 1, "icache"); in co_cache_error_event() 65 edac_device_printk(p->ed, KERN_ERR, in co_cache_error_event() 70 edac_device_handle_ue(p->ed, cpu, 0, "dcache"); in co_cache_error_event() 72 edac_device_handle_ce(p->ed, cpu, 0, "dcache"); in co_cache_error_event() 94 p->ed = edac_device_alloc_ctl_info(0, "cpu", num_possible_cpus(), in co_cache_error_probe() 97 if (!p->ed) in co_cache_error_probe() 100 p->ed->dev = &pdev->dev; in co_cache_error_probe() 102 p->ed->dev_name = dev_name(&pdev->dev); in co_cache_error_probe() [all …]
|
D | altera_edac.c | 2138 struct altr_edac_device_dev *ed; in s10_edac_dberr_handler() local 2143 ed = list_entry(position, struct altr_edac_device_dev, in s10_edac_dberr_handler() 2145 if (!(BIT(ed->db_irq) & dberror)) in s10_edac_dberr_handler() 2149 ed->base + ALTR_A10_ECC_INTSTAT_OFST); in s10_edac_dberr_handler() 2150 err_addr = readl(ed->base + ALTR_S10_DERR_ADDRA_OFST); in s10_edac_dberr_handler() 2155 ed->edac_dev_name, err_addr); in s10_edac_dberr_handler()
|
/drivers/soc/fsl/dpio/ |
D | dpio-service.c | 421 struct qbman_eq_desc ed; in dpaa2_io_service_enqueue_fq() local 427 qbman_eq_desc_clear(&ed); in dpaa2_io_service_enqueue_fq() 428 qbman_eq_desc_set_no_orp(&ed, 0); in dpaa2_io_service_enqueue_fq() 429 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_fq() 431 return qbman_swp_enqueue(d->swp, &ed, fd); in dpaa2_io_service_enqueue_fq() 450 struct qbman_eq_desc ed; in dpaa2_io_service_enqueue_qd() local 456 qbman_eq_desc_clear(&ed); in dpaa2_io_service_enqueue_qd() 457 qbman_eq_desc_set_no_orp(&ed, 0); in dpaa2_io_service_enqueue_qd() 458 qbman_eq_desc_set_qd(&ed, qdid, qdbin, prio); in dpaa2_io_service_enqueue_qd() 460 return qbman_swp_enqueue(d->swp, &ed, fd); in dpaa2_io_service_enqueue_qd()
|
/drivers/media/i2c/ |
D | ad9389b.c | 815 struct ad9389b_edid_detect ed; in ad9389b_edid_handler() local 839 ed.present = false; in ad9389b_edid_handler() 840 ed.segment = ad9389b_rd(sd, 0xc4); in ad9389b_edid_handler() 841 v4l2_subdev_notify(sd, AD9389B_EDID_DETECT, (void *)&ed); in ad9389b_edid_handler() 1012 struct ad9389b_edid_detect ed; in ad9389b_check_edid_status() local 1058 ed.present = true; in ad9389b_check_edid_status() 1059 ed.segment = 0; in ad9389b_check_edid_status() 1060 v4l2_subdev_notify(sd, AD9389B_EDID_DETECT, (void *)&ed); in ad9389b_check_edid_status() 1063 return ed.present; in ad9389b_check_edid_status()
|
D | adv7511-v4l2.c | 1477 struct adv7511_edid_detect ed; in adv7511_notify_no_edid() local 1480 ed.present = false; in adv7511_notify_no_edid() 1481 ed.segment = adv7511_rd(sd, 0xc4); in adv7511_notify_no_edid() 1482 ed.phys_addr = CEC_PHYS_ADDR_INVALID; in adv7511_notify_no_edid() 1483 cec_s_phys_addr(state->cec_adap, ed.phys_addr, false); in adv7511_notify_no_edid() 1484 v4l2_subdev_notify(sd, ADV7511_EDID_DETECT, (void *)&ed); in adv7511_notify_no_edid() 1670 struct adv7511_edid_detect ed; in adv7511_check_edid_status() local 1707 ed.phys_addr = cec_get_edid_phys_addr(state->edid.data, in adv7511_check_edid_status() 1713 ed.present = true; in adv7511_check_edid_status() 1714 ed.segment = 0; in adv7511_check_edid_status() [all …]
|
/drivers/usb/misc/ |
D | ftdi-elan.c | 1432 u8 ed = ed_number - 1; in ftdi_elan_edset_setup() local 1442 struct u132_target *target = &ftdi->target[ed]; in ftdi_elan_edset_setup() 1445 command->header = 0x80 | (ed << 5); in ftdi_elan_edset_setup() 1489 u8 ed = ed_number - 1; in ftdi_elan_edset_input() local 1499 struct u132_target *target = &ftdi->target[ed]; in ftdi_elan_edset_input() 1504 command->header = 0x82 | (ed << 5); in ftdi_elan_edset_input() 1554 u8 ed = ed_number - 1; in ftdi_elan_edset_empty() local 1564 struct u132_target *target = &ftdi->target[ed]; in ftdi_elan_edset_empty() 1567 command->header = 0x81 | (ed << 5); in ftdi_elan_edset_empty() 1611 u8 ed = ed_number - 1; in ftdi_elan_edset_output() local [all …]
|
/drivers/soc/fsl/qbman/ |
D | qman_ccsr.c | 299 static void qm_set_dc(enum qm_dc_portal portal, int ed, u8 sernd) in qm_set_dc() argument 301 DPAA_ASSERT(!ed || portal == qm_dc_portal_fman0 || in qm_set_dc() 305 (ed ? 0x1000 : 0) | (sernd & 0x3ff)); in qm_set_dc() 308 (ed ? 0x100 : 0) | (sernd & 0x1f)); in qm_set_dc()
|
/drivers/net/ethernet/ibm/emac/ |
D | Kconfig | 37 # The options below has to be select'ed by the respective
|
/drivers/net/ethernet/ni/ |
D | nixge.c | 990 struct ethtool_drvinfo *ed) in nixge_ethtools_get_drvinfo() argument 992 strlcpy(ed->driver, "nixge", sizeof(ed->driver)); in nixge_ethtools_get_drvinfo() 993 strlcpy(ed->bus_info, "platform", sizeof(ed->bus_info)); in nixge_ethtools_get_drvinfo()
|
/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 1083 struct ethtool_drvinfo *ed) in xemaclite_ethtools_get_drvinfo() argument 1085 strlcpy(ed->driver, DRIVER_NAME, sizeof(ed->driver)); in xemaclite_ethtools_get_drvinfo()
|
D | xilinx_axienet_main.c | 1108 struct ethtool_drvinfo *ed) in axienet_ethtools_get_drvinfo() argument 1110 strlcpy(ed->driver, DRIVER_NAME, sizeof(ed->driver)); in axienet_ethtools_get_drvinfo() 1111 strlcpy(ed->version, DRIVER_VERSION, sizeof(ed->version)); in axienet_ethtools_get_drvinfo()
|
/drivers/staging/gdm724x/ |
D | gdm_lte.c | 723 u8 ed = nic->phy_dev->get_endian(nic->phy_dev->priv_dev); in gdm_lte_pdn_table() local 733 nic->pdn_table.dft_eps_id = gdm_dev32_to_cpu(ed, pdn_table->dft_eps_id); in gdm_lte_pdn_table() 734 nic->pdn_table.nic_type = gdm_dev32_to_cpu(ed, pdn_table->nic_type); in gdm_lte_pdn_table()
|
/drivers/gpu/drm/i915/gvt/ |
D | execlist.c | 374 #define get_desc_from_elsp_dwords(ed, i) \ argument 375 ((struct execlist_ctx_descriptor_format *)&((ed)->data[i * 2]))
|
/drivers/net/ieee802154/ |
D | fakelb.c | 116 .ed = fakelb_hw_ed,
|