| /openbmc/u-boot/common/ |
| H A D | lcd_console.c | 16 static struct console_t cons; variable 20 cons.curr_col = col; in lcd_set_col() 25 cons.curr_row = row; in lcd_set_row() 30 cons.curr_col = min_t(short, col, cons.cols - 1); in lcd_position_cursor() 31 cons.curr_row = min_t(short, row, cons.rows - 1); in lcd_position_cursor() 36 return cons.rows; in lcd_get_screen_rows() 41 return cons.cols; in lcd_get_screen_columns() 92 if (--cons.curr_col < 0) { in console_back() 93 cons.curr_col = cons.cols - 1; in console_back() 94 if (--cons.curr_row < 0) in console_back() [all …]
|
| /openbmc/u-boot/test/py/tests/ |
| H A D | test_vboot.py | 57 util.run_and_log(cons, 'dtc %s %s%s -O dtb ' 74 cons.restart_uboot() 75 with cons.log.section('Verified boot %s %s' % (sha_algo, test_type)): 76 output = cons.run_command_list( 92 util.run_and_log(cons, [mkimage, '-D', dtc_args, '-f', 105 cons.log.action('%s: Sign images' % sha_algo) 106 util.run_and_log(cons, [mkimage, '-F', '-k', tmpdir, '-K', dtb, 146 cons.log.action('%s: Test FIT with signed images' % sha_algo) 157 cons.log.action('%s: Test FIT with signed configuration' % sha_algo) 165 cons.log.action('%s: Check signed config on the host' % sha_algo) [all …]
|
| H A D | test_fit.py | 126 return os.path.join(cons.config.build_dir, leaf) 159 util.run_and_log(cons, ['dtc', src, '-O', 'dtb', '-o', dtb]) 189 util.run_and_log(cons, [mkimage, '-f', its, fit]) 363 cons.config.dtb = control_dtb 364 cons.restart_uboot() 365 with cons.log.section('Kernel load'): 366 output = cons.run_command_list(cmd.splitlines()) 386 with cons.log.section('Kernel + FDT load'): 389 cons.restart_uboot() 390 output = cons.run_command_list(cmd.splitlines()) [all …]
|
| H A D | test_log.py | 42 with cons.log.section('basic'): 94 cons = u_boot_console 117 output = cons.run_command('log format %s' % fmt) 119 output = cons.run_command('log rec arch notice file.c 123 func msg') 122 cons = u_boot_console 123 with cons.log.section('format'): 125 output = cons.run_command('log format')
|
| H A D | test_ofplatdata.py | 39 cons = u_boot_console 40 cons.restart_uboot_with_flags(['--show_of_platdata']) 41 output = cons.get_spawn_output().replace('\r', '')
|
| H A D | test_handoff.py | 13 cons = u_boot_console 14 response = cons.run_command('sb handoff')
|
| /openbmc/qemu/hw/char/ |
| H A D | sclpconsole.c | 107 SCLPConsole *cons = SCLP_CONSOLE(event); in get_console_data() local 113 if (avail >= cons->iov_sclp_rest) { in get_console_data() 115 memcpy(buf, &cons->iov[cons->iov_sclp], cons->iov_sclp_rest); in get_console_data() 116 *size = cons->iov_sclp_rest + 1; in get_console_data() 117 cons->iov_sclp = 0; in get_console_data() 118 cons->iov_bs = 0; in get_console_data() 119 cons->iov_data_len = 0; in get_console_data() 120 cons->iov_sclp_rest = 0; in get_console_data() 125 memcpy(buf, &cons->iov[cons->iov_sclp], avail); in get_console_data() 127 cons->iov_sclp_rest -= avail; in get_console_data() [all …]
|
| H A D | xen_console.c | 67 XENCONS_RING_IDX cons, prod, size; in OBJECT_DECLARE_SIMPLE_TYPE() local 70 cons = intf->out_cons; in OBJECT_DECLARE_SIMPLE_TYPE() 74 size = prod - cons; in OBJECT_DECLARE_SIMPLE_TYPE() 83 while (cons != prod) in OBJECT_DECLARE_SIMPLE_TYPE() 85 MASK_XENCONS_IDX(cons++, intf->out)]; in OBJECT_DECLARE_SIMPLE_TYPE() 88 intf->out_cons = cons; in OBJECT_DECLARE_SIMPLE_TYPE() 120 XENCONS_RING_IDX cons, prod, space; in ring_free_bytes() local 122 cons = intf->in_cons; in ring_free_bytes() 126 space = prod - cons; in ring_free_bytes()
|
| H A D | sclpconsole-lm.c | 130 SCLPConsoleLM *cons = SCLPLM_CONSOLE(event); in get_console_data() local 132 len = cons->length; in get_console_data() 138 ebcdic_put(buf, (char *)&cons->buf, len); in get_console_data() 140 cons->length = 0; in get_console_data()
|
| /openbmc/qemu/chardev/ |
| H A D | char-ringbuf.c | 40 size_t cons; member 52 return d->prod - d->cons; in DECLARE_INSTANCE_CHECKER() 66 if (d->prod - d->cons > d->size) { in ringbuf_chr_write() 67 d->cons = d->prod - d->size; in ringbuf_chr_write() 80 for (i = 0; i < len && d->cons != d->prod; i++) { in ringbuf_chr_read() 81 buf[i] = d->cbuf[d->cons++ & (d->size - 1)]; in ringbuf_chr_read() 112 d->cons = 0; in qemu_chr_open_ringbuf()
|
| H A D | char-mux.c | 205 while (be && d->prod[m] != d->cons[m] && in mux_chr_accept_input() 208 &d->buffer[m][d->cons[m]++ & MUX_BUFFER_MASK], 1); in mux_chr_accept_input() 218 if ((d->prod[m] - d->cons[m]) < MUX_BUFFER_SIZE) { in mux_chr_can_read() 241 if (d->prod[m] == d->cons[m] && in mux_chr_read()
|
| H A D | chardev-internal.h | 51 unsigned int cons[MAX_MUX]; member
|
| /openbmc/qemu/include/hw/xen/interface/io/ |
| H A D | ring.h | 445 RING_IDX cons, \ 450 if (prod == cons) \ 454 cons = name##_mask(cons, ring_size); \ 456 if (prod == cons) \ 459 if (prod > cons) \ 460 size = prod - cons; \ 462 size = ring_size - (cons - prod); \
|
| /openbmc/qemu/hw/9pfs/ |
| H A D | xen-9p-backend.c | 77 RING_IDX cons, prod, masked_prod, masked_cons; in xen_9pfs_in_sg() local 79 cons = ring->intf->in_cons; in xen_9pfs_in_sg() 83 masked_cons = xen_9pfs_mask(cons, XEN_FLEX_RING_SIZE(ring->ring_order)); in xen_9pfs_in_sg() 103 RING_IDX cons, prod, masked_prod, masked_cons; in xen_9pfs_out_sg() local 105 cons = ring->intf->out_cons; in xen_9pfs_out_sg() 109 masked_cons = xen_9pfs_mask(cons, XEN_FLEX_RING_SIZE(ring->ring_order)); in xen_9pfs_out_sg() 269 RING_IDX cons, prod, masked_prod, masked_cons, queued; in xen_9pfs_receive() local 276 cons = ring->intf->out_cons; in xen_9pfs_receive() 280 queued = xen_9pfs_queued(prod, cons, XEN_FLEX_RING_SIZE(ring->ring_order)); in xen_9pfs_receive() 287 masked_cons = xen_9pfs_mask(cons, XEN_FLEX_RING_SIZE(ring->ring_order)); in xen_9pfs_receive() [all …]
|
| /openbmc/qemu/hw/arm/ |
| H A D | smmuv3-internal.h | 227 #define Q_CONS(q) ((q)->cons & INDEX_MASK(q)) 233 #define Q_CONS_WRAP(q) (((q)->cons & WRAP_MASK(q)) >> (q)->log2size) 238 return ((q->cons ^ q->prod) & WRAP_INDEX_MASK(q)) == WRAP_MASK(q); in smmuv3_q_full() 243 return (q->cons & WRAP_INDEX_MASK(q)) == (q->prod & WRAP_INDEX_MASK(q)); in smmuv3_q_empty() 257 q->cons = deposit32(q->cons, 0, q->log2size + 1, q->cons + 1); in queue_cons_incr() 272 s->cmdq.cons = FIELD_DP32(s->cmdq.cons, CMDQ_CONS, ERR, err_type); in smmu_write_cmdq_err()
|
| H A D | trace-events | 38 …cmdq_consume(uint32_t prod, uint32_t cons, uint8_t prod_wrap, uint8_t cons_wrap) "prod=%d cons=%d … 40 …mmuv3_cmdq_consume_out(uint32_t prod, uint32_t cons, uint8_t prod_wrap, uint8_t cons_wrap) "prod:%…
|
| /openbmc/qemu/hw/usb/ |
| H A D | dev-audio.c | 582 uint64_t cons; member 592 buf->cons = 0; in streambuf_init() 603 int64_t free = buf->size - (buf->prod - buf->cons); in streambuf_put() 622 int64_t used = buf->prod - buf->cons; in streambuf_get() 629 data = buf->data + (buf->cons % buf->size); in streambuf_get() 630 *len = MIN(buf->prod - buf->cons, in streambuf_get() 631 buf->size - (buf->cons % buf->size)); in streambuf_get() 674 s->out.buf.cons += written; in OBJECT_DECLARE_SIMPLE_TYPE()
|
| /openbmc/u-boot/drivers/video/ |
| H A D | video-uclass.c | 224 struct udevice *cons; in video_post_probe() local 267 ret = device_bind_driver(dev, drv_name, str, &cons); in video_post_probe() 273 ret = device_probe(cons); in video_post_probe()
|
| /openbmc/qemu/hw/display/ |
| H A D | xenfb.c | 676 uint32_t cons, prod; in xenfb_queue_full() local 682 cons = page->in_cons; in xenfb_queue_full() 683 return prod - cons == XENFB_IN_RING_LEN; in xenfb_queue_full() 815 uint32_t prod, cons, out_cons; in xenfb_handle_events() local 824 for (cons = out_cons; cons != prod; cons++) { in xenfb_handle_events() 825 union xenfb_out_event *event = &XENFB_OUT_RING_REF(page, cons); in xenfb_handle_events() 877 page->out_cons = cons; in xenfb_handle_events()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/ |
| H A D | 0002-Fix-const-qualifier-error.patch | 22 @@ -90,7 +90,7 @@ int dict_clone(struct dict *target, cons 48 @@ -66,7 +66,7 @@ int vect_clone(struct vect *target, cons
|
| /openbmc/openbmc/poky/meta/files/common-licenses/ |
| H A D | LAL-1.3 | 17 Nous désignons par « œuvre », autant l’œuvre initiale, les œuvres conséquentes, que l’œuvre commune… 19 …e initiale ainsi que toutes les contributions postérieures (les originaux conséquents et les copie… 23 Les œuvres conséquentes :C’est-à-dire les contributions des auteurs qui participent à la formation … 25 Originaux (sources ou ressources de l’œuvre) :Chaque exemplaire daté de l’œuvre initiale ou conséqu… 43 … 3. indiquer au destinataire où il pourrait avoir accès aux originaux (initiaux et/ou conséquents). 48 Vous avez la liberté de modifier les copies des originaux (initiaux et conséquents) dans le respect… 52 3. diffuser cette œuvre conséquente avec la même licence ou avec toute licence compatible ;
|
| H A D | LAL-1.2 | 20 …originelle ainsi que toutes les contributions postérieures (les originaux conséquents et les copie… 24 – Les oeuvres conséquentes :c’est-à-dire les propositions des auteurs qui contribuent à la formatio… 32 …tion d’une copie de l’oeuvre originelle ou de la modification d’une copie d’une oeuvre conséquente. 45 …r au destinataire où il pourra avoir accès aux originaux (originels et/ou conséquents). L’auteur d… 48 Vous avez la liberté de modifier les copies des originaux (originels et conséquents), qui peuvent ê… 51 …pourquoi il ne vous est pas permis d’intégrer les originaux (originels et conséquents) dans une au…
|
| /openbmc/qemu/include/hw/arm/ |
| H A D | smmuv3.h | 30 uint32_t cons; member
|
| /openbmc/qemu/hw/net/ |
| H A D | xen_nic.c | 111 RING_IDX cons = netdev->tx_ring.req_cons; in net_tx_error() 115 if (cons >= end) { in net_tx_error() 118 txp = RING_GET_REQUEST(&netdev->tx_ring, cons++); in net_tx_error() 120 netdev->tx_ring.req_cons = cons; in net_tx_error()
|
| /openbmc/qemu/hw/i386/kvm/ |
| H A D | xen_xenstore.c | 1098 XENSTORE_RING_IDX cons = qatomic_read(&s->xs->req_cons); in copy_from_ring() local 1105 unsigned int avail = prod - cons; in copy_from_ring() 1106 unsigned int offset = MASK_XENSTORE_IDX(cons); in copy_from_ring() 1130 cons += copylen; in copy_from_ring() 1144 qatomic_set(&s->xs->req_cons, cons); in copy_from_ring() 1156 XENSTORE_RING_IDX cons = qatomic_read(&s->xs->rsp_cons); in copy_to_ring() local 1172 unsigned int avail = cons + XENSTORE_RING_SIZE - prod; in copy_to_ring()
|