/drivers/usb/host/ |
D | ohci-q.c | 142 static void periodic_link (struct ohci_hcd *ohci, struct ed *ed) in periodic_link() argument 147 (ed->hwINFO & cpu_to_hc32 (ohci, ED_ISO)) ? "iso " : "", in periodic_link() 148 ed, ed->branch, ed->load, ed->interval); in periodic_link() 150 for (i = ed->branch; i < NUM_INTS; i += ed->interval) { in periodic_link() 151 struct ed **prev = &ohci->periodic [i]; in periodic_link() 153 struct ed *here = *prev; in periodic_link() 159 while (here && ed != here) { in periodic_link() 160 if (ed->interval > here->interval) in periodic_link() 166 if (ed != here) { in periodic_link() 167 ed->ed_next = here; in periodic_link() [all …]
|
D | fhci-q.c | 62 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number) in fhci_add_tds_to_ed() argument 68 list_add_tail(&td->node, &ed->td_list); in fhci_add_tds_to_ed() 70 if (ed->td_head == NULL) in fhci_add_tds_to_ed() 71 ed->td_head = td_list[0]; in fhci_add_tds_to_ed() 74 static struct td *peek_td_from_ed(struct ed *ed) in peek_td_from_ed() argument 78 if (!list_empty(&ed->td_list)) in peek_td_from_ed() 79 td = list_entry(ed->td_list.next, struct td, node); in peek_td_from_ed() 111 struct td *fhci_remove_td_from_ed(struct ed *ed) in fhci_remove_td_from_ed() argument 115 if (!list_empty(&ed->td_list)) { in fhci_remove_td_from_ed() 116 td = list_entry(ed->td_list.next, struct td, node); in fhci_remove_td_from_ed() [all …]
|
D | fhci-mem.c | 34 static void init_ed(struct ed *ed) in init_ed() argument 36 memset(ed, 0, sizeof(*ed)); in init_ed() 37 INIT_LIST_HEAD(&ed->td_list); in init_ed() 38 INIT_LIST_HEAD(&ed->node); in init_ed() 65 struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci) in fhci_get_empty_ed() 67 struct ed *ed; in fhci_get_empty_ed() local 70 ed = list_entry(fhci->empty_eds.next, struct ed, node); in fhci_get_empty_ed() 73 ed = kmalloc(sizeof(*ed), GFP_ATOMIC); in fhci_get_empty_ed() 74 if (!ed) in fhci_get_empty_ed() 77 init_ed(ed); in fhci_get_empty_ed() [all …]
|
D | fhci-sched.c | 48 struct ed *ed; in fhci_transaction_confirm() local 65 ed = td->ed; in fhci_transaction_confirm() 66 if (ed->mode == FHCI_TF_ISO) { in fhci_transaction_confirm() 67 if (ed->td_list.next->next != &ed->td_list) { in fhci_transaction_confirm() 69 list_entry(ed->td_list.next->next, struct td, in fhci_transaction_confirm() 87 ed->state = FHCI_ED_HALTED; in fhci_transaction_confirm() 122 fhci_move_td_from_ed_to_done_list(usb, ed); in fhci_transaction_confirm() 159 static int add_packet(struct fhci_usb *usb, struct ed *ed, struct td *td) in add_packet() argument 167 td->toggle = ed->toggle_carry; in add_packet() 169 switch (ed->mode) { in add_packet() [all …]
|
D | ohci-hcd.c | 151 struct ed *ed; in ohci_urb_enqueue() local 159 ed = ed_get(ohci, urb->ep, urb->dev, pipe, urb->interval); in ohci_urb_enqueue() 160 if (! ed) in ohci_urb_enqueue() 164 switch (ed->type) { in ohci_urb_enqueue() 198 urb_priv->ed = ed; in ohci_urb_enqueue() 226 if (ed->state == ED_IDLE) { in ohci_urb_enqueue() 227 retval = ed_schedule (ohci, ed); in ohci_urb_enqueue() 241 list_add(&ed->in_use_list, &ohci->eds_in_use); in ohci_urb_enqueue() 243 if (ed->type == PIPE_ISOCHRONOUS) { in ohci_urb_enqueue() 247 frame += max_t (u16, 8, ed->interval); in ohci_urb_enqueue() [all …]
|
D | ohci-mem.c | 47 sizeof (struct ed), in ohci_mem_init() 118 static struct ed * 122 struct ed *ed; in ed_alloc() local 124 ed = dma_pool_zalloc (hc->ed_cache, mem_flags, &dma); in ed_alloc() 125 if (ed) { in ed_alloc() 126 INIT_LIST_HEAD (&ed->td_list); in ed_alloc() 127 ed->dma = dma; in ed_alloc() 129 return ed; in ed_alloc() 133 ed_free (struct ohci_hcd *hc, struct ed *ed) in ed_free() argument 135 dma_pool_free (hc->ed_cache, ed, ed->dma); in ed_free()
|
D | ohci-dbg.c | 312 const struct ed *ed, int verbose) in ohci_dump_ed() argument 314 u32 tmp = hc32_to_cpu (ohci, ed->hwINFO); in ohci_dump_ed() 319 ed, ed->state, edstring (ed->type), in ohci_dump_ed() 320 hc32_to_cpup (ohci, &ed->hwNextED)); in ohci_dump_ed() 336 tmp = hc32_to_cpup (ohci, &ed->hwHeadP); in ohci_dump_ed() 341 hc32_to_cpup (ohci, &ed->hwTailP), in ohci_dump_ed() 349 list_for_each (tmp, &ed->td_list) { in ohci_dump_ed() 399 show_list (struct ohci_hcd *ohci, char *buf, size_t count, struct ed *ed) in show_list() argument 403 if (!ed) in show_list() 407 while (ed->ed_prev) in show_list() [all …]
|
D | fhci.h | 329 struct ed { struct 355 struct ed *ed; /* a handle to the corresponding ED */ argument 397 struct ed *ed; member 521 void fhci_recycle_empty_ed(struct fhci_hcd *fhci, struct ed *ed); 522 struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci); 524 struct urb_priv *urb_priv, struct ed *ed, u16 index, 527 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number); 571 struct td *fhci_remove_td_from_ed(struct ed *ed); 573 void fhci_move_td_from_ed_to_done_list(struct fhci_usb *usb, struct ed *ed); 578 void fhci_del_ed_list(struct fhci_hcd *fhci, struct ed *ed);
|
D | fhci-hcd.c | 173 struct ed *ed; in fhci_mem_free() local 174 struct ed *next_ed; in fhci_mem_free() 178 list_for_each_entry_safe(ed, next_ed, &fhci->empty_eds, node) { in fhci_mem_free() 179 list_del(&ed->node); in fhci_mem_free() 180 kfree(ed); in fhci_mem_free() 229 struct ed *ed; in fhci_mem_init() local 231 ed = kmalloc(sizeof(*ed), GFP_KERNEL); in fhci_mem_init() 232 if (!ed) in fhci_mem_init() 234 fhci_recycle_empty_ed(fhci, ed); in fhci_mem_init() 499 urb_priv->ed->state = FHCI_ED_URB_DEL; in fhci_urb_dequeue() [all …]
|
D | ohci.h | 25 struct ed { struct 47 struct ed *ed_next; /* on schedule or rm_list */ argument 48 struct ed *ed_prev; /* for non-interrupt EDs */ argument 74 #define OKAY_TO_TAKEBACK(ohci, ed) \ argument 75 ((int) (ohci->wdh_cnt - ed->takeback_wdh_cnt) >= 0) 130 struct ed *ed; member 335 struct ed *ed; member 377 struct ed *ed_rm_list; /* to be removed */ 379 struct ed *ed_bulktail; /* last in bulk list */ 380 struct ed *ed_controltail; /* last in ctrl list */ [all …]
|
D | ohci-hub.c | 139 static inline struct ed *find_head (struct ed *ed) in find_head() argument 142 while (ed->ed_prev) in find_head() 143 ed = ed->ed_prev; in find_head() 144 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 …]
|
/drivers/staging/gdm724x/ |
D | gdm_endian.c | 17 void gdm_set_endian(struct gdm_endian *ed, u8 dev_endian) in gdm_set_endian() argument 20 ed->dev_ed = ENDIANNESS_BIG; in gdm_set_endian() 22 ed->dev_ed = ENDIANNESS_LITTLE; in gdm_set_endian() 25 __dev16 gdm_cpu_to_dev16(struct gdm_endian *ed, u16 x) in gdm_cpu_to_dev16() argument 27 if (ed->dev_ed == ENDIANNESS_LITTLE) in gdm_cpu_to_dev16() 33 u16 gdm_dev16_to_cpu(struct gdm_endian *ed, __dev16 x) in gdm_dev16_to_cpu() argument 35 if (ed->dev_ed == ENDIANNESS_LITTLE) in gdm_dev16_to_cpu() 41 __dev32 gdm_cpu_to_dev32(struct gdm_endian *ed, u32 x) in gdm_cpu_to_dev32() argument 43 if (ed->dev_ed == ENDIANNESS_LITTLE) in gdm_cpu_to_dev32() 49 u32 gdm_dev32_to_cpu(struct gdm_endian *ed, __dev32 x) in gdm_dev32_to_cpu() argument [all …]
|
D | gdm_endian.h | 39 void gdm_set_endian(struct gdm_endian *ed, u8 dev_endian); 40 __dev16 gdm_cpu_to_dev16(struct gdm_endian *ed, u16 x); 41 u16 gdm_dev16_to_cpu(struct gdm_endian *ed, __dev16 x); 42 __dev32 gdm_cpu_to_dev32(struct gdm_endian *ed, u32 x); 43 u32 gdm_dev32_to_cpu(struct gdm_endian *ed, __dev32 x);
|
/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 393 struct echo_device *ed = cl2echo_dev(lu2cl_dev(obj->lo_dev)); in echo_object_init() local 394 struct echo_client_obd *ec = ed->ed_ec; in echo_object_init() 399 if (ed->ed_next) { in echo_object_init() 403 under = ed->ed_next; in echo_object_init() 422 eco->eo_dev = ed; in echo_object_init() 514 static int echo_site_init(const struct lu_env *env, struct echo_device *ed) in echo_site_init() argument 516 struct cl_site *site = &ed->ed_site_myself; in echo_site_init() 520 rc = cl_site_init(site, &ed->ed_cl); in echo_site_init() 532 ed->ed_site = &site->cs_lu; in echo_site_init() 536 static void echo_site_fini(const struct lu_env *env, struct echo_device *ed) in echo_site_fini() argument [all …]
|
/drivers/staging/fsl-mc/bus/dpio/ |
D | dpio-service.c | 403 struct qbman_eq_desc ed; in dpaa2_io_service_enqueue_fq() local 409 qbman_eq_desc_clear(&ed); in dpaa2_io_service_enqueue_fq() 410 qbman_eq_desc_set_no_orp(&ed, 0); in dpaa2_io_service_enqueue_fq() 411 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_fq() 413 return qbman_swp_enqueue(d->swp, &ed, fd); in dpaa2_io_service_enqueue_fq() 432 struct qbman_eq_desc ed; in dpaa2_io_service_enqueue_qd() local 438 qbman_eq_desc_clear(&ed); in dpaa2_io_service_enqueue_qd() 439 qbman_eq_desc_set_no_orp(&ed, 0); in dpaa2_io_service_enqueue_qd() 440 qbman_eq_desc_set_qd(&ed, qdid, qdbin, prio); in dpaa2_io_service_enqueue_qd() 442 return qbman_swp_enqueue(d->swp, &ed, fd); in dpaa2_io_service_enqueue_qd()
|
/drivers/media/i2c/ |
D | ad9389b.c | 827 struct ad9389b_edid_detect ed; in ad9389b_edid_handler() local 851 ed.present = false; in ad9389b_edid_handler() 852 ed.segment = ad9389b_rd(sd, 0xc4); in ad9389b_edid_handler() 853 v4l2_subdev_notify(sd, AD9389B_EDID_DETECT, (void *)&ed); in ad9389b_edid_handler() 1024 struct ad9389b_edid_detect ed; in ad9389b_check_edid_status() local 1070 ed.present = true; in ad9389b_check_edid_status() 1071 ed.segment = 0; in ad9389b_check_edid_status() 1072 v4l2_subdev_notify(sd, AD9389B_EDID_DETECT, (void *)&ed); in ad9389b_check_edid_status() 1075 return ed.present; in ad9389b_check_edid_status()
|
D | adv7511-v4l2.c | 1490 struct adv7511_edid_detect ed; in adv7511_notify_no_edid() local 1493 ed.present = false; in adv7511_notify_no_edid() 1494 ed.segment = adv7511_rd(sd, 0xc4); in adv7511_notify_no_edid() 1495 ed.phys_addr = CEC_PHYS_ADDR_INVALID; in adv7511_notify_no_edid() 1496 cec_s_phys_addr(state->cec_adap, ed.phys_addr, false); in adv7511_notify_no_edid() 1497 v4l2_subdev_notify(sd, ADV7511_EDID_DETECT, (void *)&ed); in adv7511_notify_no_edid() 1683 struct adv7511_edid_detect ed; in adv7511_check_edid_status() local 1720 ed.phys_addr = cec_get_edid_phys_addr(state->edid.data, in adv7511_check_edid_status() 1726 ed.present = true; in adv7511_check_edid_status() 1727 ed.segment = 0; in adv7511_check_edid_status() [all …]
|
/drivers/usb/misc/ |
D | ftdi-elan.c | 1462 u8 ed = ed_number - 1; in ftdi_elan_edset_setup() local 1472 struct u132_target *target = &ftdi->target[ed]; in ftdi_elan_edset_setup() 1475 command->header = 0x80 | (ed << 5); in ftdi_elan_edset_setup() 1519 u8 ed = ed_number - 1; in ftdi_elan_edset_input() local 1529 struct u132_target *target = &ftdi->target[ed]; in ftdi_elan_edset_input() 1534 command->header = 0x82 | (ed << 5); in ftdi_elan_edset_input() 1584 u8 ed = ed_number - 1; in ftdi_elan_edset_empty() local 1594 struct u132_target *target = &ftdi->target[ed]; in ftdi_elan_edset_empty() 1597 command->header = 0x81 | (ed << 5); in ftdi_elan_edset_empty() 1641 u8 ed = ed_number - 1; in ftdi_elan_edset_output() local [all …]
|
/drivers/soc/fsl/qbman/ |
D | qman_ccsr.c | 297 static void qm_set_dc(enum qm_dc_portal portal, int ed, u8 sernd) in qm_set_dc() argument 299 DPAA_ASSERT(!ed || portal == qm_dc_portal_fman0 || in qm_set_dc() 303 (ed ? 0x1000 : 0) | (sernd & 0x3ff)); in qm_set_dc() 306 (ed ? 0x100 : 0) | (sernd & 0x1f)); in qm_set_dc()
|
/drivers/net/ethernet/ibm/emac/ |
D | Kconfig | 48 # The options below has to be select'ed by the respective
|
/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 1094 struct ethtool_drvinfo *ed) in axienet_ethtools_get_drvinfo() argument 1096 strlcpy(ed->driver, DRIVER_NAME, sizeof(ed->driver)); in axienet_ethtools_get_drvinfo() 1097 strlcpy(ed->version, DRIVER_VERSION, sizeof(ed->version)); in axienet_ethtools_get_drvinfo()
|
/drivers/net/ieee802154/ |
D | fakelb.c | 124 .ed = fakelb_hw_ed,
|
/drivers/gpu/drm/i915/gvt/ |
D | execlist.c | 368 #define get_desc_from_elsp_dwords(ed, i) \ argument 369 ((struct execlist_ctx_descriptor_format *)&((ed)->data[i * 2]))
|
/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 804 struct event_data *ed; in lpfc_bsg_event_free() local 809 ed = list_entry(evt->events_to_get.next, typeof(*ed), node); in lpfc_bsg_event_free() 810 list_del(&ed->node); in lpfc_bsg_event_free() 811 kfree(ed->data); in lpfc_bsg_event_free() 812 kfree(ed); in lpfc_bsg_event_free() 816 ed = list_entry(evt->events_to_see.next, typeof(*ed), node); in lpfc_bsg_event_free() 817 list_del(&ed->node); in lpfc_bsg_event_free() 818 kfree(ed->data); in lpfc_bsg_event_free() 819 kfree(ed); in lpfc_bsg_event_free()
|