Home
last modified time | relevance | path

Searched refs:ed (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dohci-q.c143 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 …]
H A Dfhci-q.c58 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 …]
H A Dfhci-mem.c30 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 …]
H A Dfhci-sched.c44 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 …]
H A Dohci-mem.c55 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 …]
H A Dohci-hcd.c153 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 …]
H A Dohci-dbg.c313 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 …]
H A Dfhci.h323 struct ed { struct
349 struct ed *ed; /* a handle to the corresponding ED */ argument
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);
H A Dfhci-hcd.c169 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()
496 urb_priv->ed->state = FHCI_ED_URB_DEL; in fhci_urb_dequeue()
[all …]
H A Dohci.h26 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 …]
/OK3568_Linux_fs/external/xserver/xkb/
H A DxkbLEDs.c234 xkbExtensionDeviceNotify * ed, in XkbUpdateLedAutoState() argument
273 if (ed == NULL) { in XkbUpdateLedAutoState()
274 ed = &my_ed; in XkbUpdateLedAutoState()
275 memset((char *) ed, 0, sizeof(xkbExtensionDeviceNotify)); in XkbUpdateLedAutoState()
277 else if ((ed->reason & XkbXI_IndicatorsMask) && in XkbUpdateLedAutoState()
278 ((ed->ledClass != sli->class) || (ed->ledID != sli->id))) { in XkbUpdateLedAutoState()
279 XkbFlushLedEvents(dev, kbd, sli, ed, changes, cause); in XkbUpdateLedAutoState()
290 ed->reason |= XkbXI_IndicatorStateMask; in XkbUpdateLedAutoState()
291 ed->ledClass = sli->class; in XkbUpdateLedAutoState()
292 ed->ledID = sli->id; in XkbUpdateLedAutoState()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dohci-hcd.c215 static int ep_link(ohci_t * ohci, ed_t * ed);
216 static int ep_unlink(ohci_t * ohci, ed_t * ed);
242 static inline void ed_free(struct ed *ed) in ed_free() argument
244 ed->usb_dev = NULL; in ed_free()
333 ed_t *ed = (ed_t *)m32_swap(ed_p); in ep_print_int_eds() local
334 invalidate_dcache_ed(ed); in ep_print_int_eds()
335 printf(" ed: %4x;", ed->hwINFO); in ep_print_int_eds()
336 ed_p = &ed->hwNextED; in ep_print_int_eds()
515 ed_t *ed; in sohci_submit_job() local
536 ed = ep_add_ed(ohci_dev, dev, pipe, interval, 1); in sohci_submit_job()
[all …]
H A Dohci.h51 struct ed { struct
57 struct ed *ed_prev; argument
65 struct ed *ed_rm_list; argument
71 typedef struct ed ed_t; argument
121 struct ed *ed; member
347 ed_t *ed; member
369 ed_t ed[NUM_EDS] __aligned(ED_ALIGNMENT);
/OK3568_Linux_fs/kernel/drivers/edac/
H A Docteon_edac-pc.c30 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 …]
/OK3568_Linux_fs/u-boot/arch/mips/mach-au1x00/
H A Dau1x00_usb_ohci.c201 ed_t *ed = (ed_t *)m32_swap(ed_p); in ep_print_int_eds() local
202 printf (" ed: %4x;", ed->hwINFO); in ep_print_int_eds()
203 ed_p = &ed->hwNextED; in ep_print_int_eds()
379 ed_t * ed; in sohci_submit_job() local
393 if (!(ed = ep_add_ed (dev, pipe))) { in sohci_submit_job()
418 purb_priv->ed = ed; in sohci_submit_job()
433 if (ed->state == ED_NEW || (ed->state & ED_DEL)) { in sohci_submit_job()
440 if (ed->state != ED_OPER) in sohci_submit_job()
441 ep_link (ohci, ed); in sohci_submit_job()
470 volatile ed_t *ed = edi; in ep_link() local
[all …]
H A Dau1x00_usb_ohci.h41 struct ed { struct
47 struct ed *ed_prev; argument
55 struct ed *ed_rm_list; argument
60 typedef struct ed ed_t; argument
110 struct ed *ed; member
331 ed_t *ed; member
374 ed_t ed[NUM_EDS]; member
380 static int ep_link(ohci_t * ohci, ed_t * ed);
381 static int ep_unlink(ohci_t * ohci, ed_t * ed);
413 ed_free (struct ed *ed) in ed_free() argument
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/ed/
H A Ded_1.18.bb2 HOMEPAGE = "http://www.gnu.org/software/ed/"
3ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate …
7 file://ed.h;endline=20;md5=6e6a818b0593f937fc63ba08d5e314bf \
13 CVE_PRODUCT = "gnu:ed"
15 # LSB states that ed should be in /bin/
18 # Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/
19 SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz"
20 UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/
H A D0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch4 Subject: Don't leak temporary file on failed multi-file ed-style patch
6 The previous fix worked fine with single-file ed-style patches, but
7 would still leak temporary files in the case of multi-file ed-style
17 Fixes: 123eaff0d5d1 ("Fix arbitrary command execution in ed-style patches (CVE-2018-1000156)")
18 Fixes: 19599883ffb6 ("Don't leak temporary file on failed ed-style patch")
25 tests/ed-style | 31 +++++++++++++++++++++++++++++++
40 diff --git a/tests/ed-style b/tests/ed-style
42 --- a/tests/ed-style
43 +++ b/tests/ed-style
49 +# Test the case where one ed-style patch modifies several files
H A D0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch4 Subject: [PATCH] Fix arbitrary command execution in ed-style patches (CVE-2018-1000156)
6 * src/pch.c (do_ed_script): Write ed script to a temporary file instead
7 of piping it to ed: this will cause ed to abort on invalid commands
9 * tests/ed-style: New test case.
19 tests/ed-style | 41 +++++++++++++++++++++++++
21 create mode 100644 tests/ed-style
48 + /* Write ed script to a temporary file. This causes ed to abort on
50 + number of available lines. When ed reads from a pipe, it rejects
162 + ed-style \
166 diff --git a/tests/ed-style b/tests/ed-style
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/fsl/dpio/
H A Ddpio-service.c425 struct qbman_eq_desc ed; in dpaa2_io_service_enqueue_fq() local
431 qbman_eq_desc_clear(&ed); in dpaa2_io_service_enqueue_fq()
432 qbman_eq_desc_set_no_orp(&ed, 0); in dpaa2_io_service_enqueue_fq()
433 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_fq()
435 return qbman_swp_enqueue(d->swp, &ed, fd); in dpaa2_io_service_enqueue_fq()
455 struct qbman_eq_desc ed; in dpaa2_io_service_enqueue_multiple_fq() local
461 qbman_eq_desc_clear(&ed); in dpaa2_io_service_enqueue_multiple_fq()
462 qbman_eq_desc_set_no_orp(&ed, 0); in dpaa2_io_service_enqueue_multiple_fq()
463 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_multiple_fq()
465 return qbman_swp_enqueue_multiple(d->swp, &ed, fd, 0, nb); in dpaa2_io_service_enqueue_multiple_fq()
[all …]
/OK3568_Linux_fs/yocto/poky/meta-selftest/recipes-test/selftest-ed/
H A Dselftest-ed_1.14.1.bb2 HOMEPAGE = "http://www.gnu.org/software/ed/"
6 file://ed.h;endline=20;md5=4e36b7a40e137f42aee718165590d125 \
11 # LSB states that ed should be in /bin/
14 SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.lz"
20 S = "${WORKDIR}/ed-${PV}"
/OK3568_Linux_fs/external/xserver/hw/xquartz/bundle/Resources/cs.lproj/
H A DLocalizable.strings2 "Do you really want to quit X11?" = "Skutečně chcete prostředí X11 ukončit?";
5 …and you will lose any unsaved changes." = "Všechny otevřené aplikace prostředí X11 budou ihned zas…
11edí X11 o změnu rozlišení monitoru. Prostředí X11 obnoví původní stav monitoru, až o návrat do pře…
38edí X11 nemusí mít záhlaví nebo mohou vypadat jinak než okna zobrazená nativními aplikacemi.\n\nCh…
44 "Check for X11 Updates..." = "Hledání aktualizací prostředí X11…";
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_uvc.c1065 struct UVC_EXTENSION_UNIT_DESCRIPTOR(1, 1) *ed; in uvc_alloc_inst()
1115 ed = &opts->uvc_extension; in uvc_alloc_inst()
1116 ed->bLength = UVC_DT_EXTENSION_UNIT_SIZE(1, 1); in uvc_alloc_inst()
1117 ed->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst()
1118 ed->bDescriptorSubType = UVC_VC_EXTENSION_UNIT; in uvc_alloc_inst()
1119 ed->bUnitID = 6; in uvc_alloc_inst()
1120 ed->guidExtensionCode[0] = 0xa2; in uvc_alloc_inst()
1121 ed->guidExtensionCode[1] = 0x9e; in uvc_alloc_inst()
1122 ed->guidExtensionCode[2] = 0x76; in uvc_alloc_inst()
1123 ed->guidExtensionCode[3] = 0x41; in uvc_alloc_inst()
[all …]
/OK3568_Linux_fs/buildroot/package/patch/
H A D0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch4 Subject: [PATCH] Fix arbitrary command execution in ed-style patches
7 * src/pch.c (do_ed_script): Write ed script to a temporary file instead
8 of piping it to ed: this will cause ed to abort on invalid commands
10 * tests/ed-style: New test case.
20 tests/ed-style | 41 +++++++++++++++++++++++++
22 create mode 100644 tests/ed-style
49 + /* Write ed script to a temporary file. This causes ed to abort on
51 + number of available lines. When ed reads from a pipe, it rejects
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/
H A Dpatch_2.7.6.bb6 file://0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch \
7 file://0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch \
10 file://0001-Invoke-ed-directly-instead-of-using-the-shell.patch \
11 file://0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch \
12 file://0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch \

12345678910>>...13