| /OK3568_Linux_fs/u-boot/common/ |
| H A D | lcd_console.c | 17 static struct console_t cons; variable 21 cons.curr_col = col; in lcd_set_col() 26 cons.curr_row = row; in lcd_set_row() 31 cons.curr_col = min_t(short, col, cons.cols - 1); in lcd_position_cursor() 32 cons.curr_row = min_t(short, row, cons.rows - 1); in lcd_position_cursor() 37 return cons.rows; in lcd_get_screen_rows() 42 return cons.cols; in lcd_get_screen_columns() 93 if (--cons.curr_col < 0) { in console_back() 94 cons.curr_col = cons.cols - 1; in console_back() 95 if (--cons.curr_row < 0) in console_back() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/fusion/container/list/detail/ |
| H A D | at_impl.hpp | 21 template <typename Cons> 24 typedef typename Cons::car_type type; 27 template <typename Cons, int I> 31 cons_advance<Cons, I-1>::type::cdr_type 35 template <typename Cons> 36 struct cons_advance<Cons, 0> 38 typedef Cons type; 41 template <typename Cons> 42 struct cons_advance<Cons, 1> 44 typedef typename Cons::cdr_type type; [all …]
|
| H A D | reverse_cons.hpp | 16 template<typename Cons, typename State = nil_> 20 struct reverse_cons<cons<Car, Cdr>, State> 22 typedef reverse_cons<Cdr, cons<Car, State> > impl; 26 static type call(cons<Car, Cdr> const &cons, State const &state = State()) in call() 28 typedef fusion::cons<Car, State> cdr_type; in call() 29 return impl::call(cons.cdr, cdr_type(cons.car, state)); in call()
|
| /OK3568_Linux_fs/u-boot/test/py/tests/ |
| H A D | test_vboot.py | 53 util.run_and_log(cons, 'dtc %s %s%s -O dtb ' 70 cons.restart_uboot() 71 with cons.log.section('Verified boot %s %s' % (sha_algo, test_type)): 72 output = cons.run_command_list( 88 util.run_and_log(cons, [mkimage, '-D', dtc_args, '-f', 101 cons.log.action('%s: Sign images' % sha_algo) 102 util.run_and_log(cons, [mkimage, '-F', '-k', tmpdir, '-K', dtb, 122 cons.log.action('%s: Test FIT with signed images' % sha_algo) 133 cons.log.action('%s: Test FIT with signed configuration' % sha_algo) 141 cons.log.action('%s: Check signed config on the host' % sha_algo) [all …]
|
| H A D | test_fit.py | 124 return os.path.join(cons.config.build_dir, leaf) 157 util.run_and_log(cons, ['dtc', src, '-O', 'dtb', '-o', dtb]) 187 util.run_and_log(cons, [mkimage, '-f', its, fit]) 361 cons.config.dtb = control_dtb 362 cons.restart_uboot() 363 with cons.log.section('Kernel load'): 364 output = cons.run_command_list(cmd.splitlines()) 384 with cons.log.section('Kernel + FDT load'): 387 cons.restart_uboot() 388 output = cons.run_command_list(cmd.splitlines()) [all …]
|
| /OK3568_Linux_fs/kernel/virt/lib/ |
| H A D | irqbypass.c | 31 struct irq_bypass_consumer *cons) in __connect() argument 37 if (cons->stop) in __connect() 38 cons->stop(cons); in __connect() 41 ret = prod->add_consumer(prod, cons); in __connect() 44 ret = cons->add_producer(cons, prod); in __connect() 46 prod->del_consumer(prod, cons); in __connect() 49 if (cons->start) in __connect() 50 cons->start(cons); in __connect() 59 struct irq_bypass_consumer *cons) in __disconnect() argument 63 if (cons->stop) in __disconnect() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/fusion/container/list/ |
| H A D | cons.hpp | 44 struct cons : sequence_base<cons<Car, Cdr> > struct 55 cons() in cons() function 59 explicit cons(typename detail::call_param<Car>::type in_car) in cons() argument 63 cons( in cons() argument 70 cons(cons<Car2, Cdr2> const& rhs) in cons() function 74 cons(cons const& rhs) in cons() argument 79 cons( in cons() argument 84 , mpl::not_<is_base_of<cons, Sequence> > in cons() 94 cons(Iterator const& iter, mpl::true_ /*this_is_an_iterator*/) in cons() function 100 cons& operator=(cons<Car2, Cdr2> const& rhs) in operator =() argument [all …]
|
| H A D | cons_iterator.hpp | 26 template <typename Cons> 29 template <typename Cons = nil_> 30 struct cons_iterator : iterator_base<cons_iterator<Cons> > 34 typedef Cons cons_type; 36 typename add_const<Cons>::type> 41 : cons(in_cons) {} in cons_iterator() 43 cons_type& cons; member 105 template <typename Cons> 106 struct iterator_traits< ::boost::fusion::cons_iterator<Cons> >
|
| /OK3568_Linux_fs/kernel/net/smc/ |
| H A D | smc_rx.c | 48 * @cons consumer cursor 54 union smc_host_cursor cons, size_t len) in smc_rx_update_consumer() argument 61 smc_curs_add(conn->rmb_desc->len, &cons, len); in smc_rx_update_consumer() 65 diff = smc_curs_comp(conn->rmb_desc->len, &cons, in smc_rx_update_consumer() 77 smc_curs_add(conn->rmb_desc->len, &cons, 1); in smc_rx_update_consumer() 85 smc_curs_copy(&conn->local_tx_ctrl.cons, &cons, conn); in smc_rx_update_consumer() 97 union smc_host_cursor cons; in smc_rx_update_cons() local 99 smc_curs_copy(&cons, &conn->local_tx_ctrl.cons, conn); in smc_rx_update_cons() 100 smc_rx_update_consumer(smc, cons, len); in smc_rx_update_cons() 221 union smc_host_cursor cons; in smc_rx_recv_urg() local [all …]
|
| H A D | smc_cdc.h | 47 union smc_cdc_cursor cons; /* piggy backed "ack" */ member 73 union smcd_cdc_cursor cons; member 217 smc_host_cursor_to_cdc(&peer->cons, &local->cons, save, conn); in smc_host_msg_to_cdc() 250 smc_cdc_cursor_to_host(&local->cons, &peer->cons, conn); in smcr_cdc_msg_to_host() 265 temp.wrap = peer->cons.wrap; in smcd_cdc_msg_to_host() 266 temp.count = peer->cons.count; in smcd_cdc_msg_to_host() 267 smc_curs_copy(&local->cons, &temp, conn); in smcd_cdc_msg_to_host() 268 local->prod_flags = peer->cons.prod_flags; in smcd_cdc_msg_to_host() 269 local->conn_state_flags = peer->cons.conn_state_flags; in smcd_cdc_msg_to_host()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | u_serial.c | 866 struct gs_console *cons = req->context; in gs_console_complete_out() local 875 spin_lock(&cons->lock); in gs_console_complete_out() 877 schedule_work(&cons->work); in gs_console_complete_out() 878 spin_unlock(&cons->lock); in gs_console_complete_out() 888 static void __gs_console_push(struct gs_console *cons) in __gs_console_push() argument 890 struct usb_request *req = cons->req; in __gs_console_push() 900 ep = cons->console.data; in __gs_console_push() 901 size = kfifo_out(&cons->buf, req->buf, ep->maxpacket); in __gs_console_push() 905 if (cons->missed && ep->maxpacket >= 64) { in __gs_console_push() 909 len = sprintf(buf, "\n[missed %zu bytes]\n", cons->missed); in __gs_console_push() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | kgdboc.c | 147 if (kgdboc_earlycon_io_ops.cons) in cleanup_earlycon() 173 struct console *cons; in configure_kgdboc() local 180 kgdboc_io_ops.cons = NULL; in configure_kgdboc() 196 for_each_console(cons) { in configure_kgdboc() 198 if (cons->device && cons->device(cons, &idx) == p && in configure_kgdboc() 200 kgdboc_io_ops.cons = cons; in configure_kgdboc() 435 if (!kgdboc_earlycon_io_ops.cons->read(kgdboc_earlycon_io_ops.cons, in kgdboc_earlycon_get_char() 444 kgdboc_earlycon_io_ops.cons->write(kgdboc_earlycon_io_ops.cons, &chr, in kgdboc_earlycon_put_char() 465 if (con == kgdboc_earlycon_io_ops.cons) in kgdboc_earlycon_pre_exp_handler() 488 if (!kgdboc_earlycon_io_ops.cons) in kgdboc_earlycon_deinit() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/tuple/detail/ |
| H A D | tuple_basic.hpp | 29 // Added default constructor for cons<>. 71 // - cons forward declaration ----------------------------------------------- 72 template <class HT, class TT> struct cons; 122 // -cons type accessors ---------------------------------------- 210 // get function for non-const cons-lists, returns a reference to the element 214 typename element<N, cons<HT, TT> >::type 216 get(cons<HT, TT>& c) { in get() 218 apply<cons<HT, TT> > impl; in get() 223 // get function for const cons-lists, returns a const reference to 228 typename element<N, cons<HT, TT> >::type [all …]
|
| /OK3568_Linux_fs/kernel/drivers/xen/xenbus/ |
| H A D | xenbus_comms.c | 66 static int check_indexes(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod) in check_indexes() argument 68 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes() 71 static void *get_output_chunk(XENSTORE_RING_IDX cons, in get_output_chunk() argument 76 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk() 77 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk() 81 static const void *get_input_chunk(XENSTORE_RING_IDX cons, in get_input_chunk() argument 85 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); in get_input_chunk() 86 if ((prod - cons) < *len) in get_input_chunk() 87 *len = prod - cons; in get_input_chunk() 88 return buf + MASK_XENSTORE_IDX(cons); in get_input_chunk() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/support/detail/ |
| H A D | make_cons.hpp | 18 #include <boost/fusion/include/cons.hpp> 48 … as_meta_element<Car>::type car_type; typedef typename fusion::cons<car_type, Cdr> type; 53 fusion::cons<typename as_meta_element<Car>::type, Cdr> 57 typedef typename fusion::cons<car_type, Cdr> result; in make_cons() 62 fusion::cons<typename as_meta_element<Car>::type> 66 typedef typename fusion::cons<car_type> result; in make_cons() 75 fusion::cons<typename as_meta_element<Car>::type> 79 typedef typename fusion::cons<car_type> result; in make_cons()
|
| /OK3568_Linux_fs/kernel/drivers/platform/mellanox/ |
| H A D | mlxbf-tmfifo.c | 109 * @config.cons: virtual console config - 121 struct virtio_console_config cons; member 414 static void mlxbf_tmfifo_console_output_one(struct mlxbf_tmfifo_vdev *cons, in mlxbf_tmfifo_console_output_one() argument 419 struct virtio_device *vdev = &cons->vdev; in mlxbf_tmfifo_console_output_one() 427 seg = CIRC_SPACE_TO_END(cons->tx_buf.head, cons->tx_buf.tail, in mlxbf_tmfifo_console_output_one() 430 memcpy(cons->tx_buf.buf + cons->tx_buf.head, addr, len); in mlxbf_tmfifo_console_output_one() 432 memcpy(cons->tx_buf.buf + cons->tx_buf.head, addr, seg); in mlxbf_tmfifo_console_output_one() 434 memcpy(cons->tx_buf.buf, addr, len - seg); in mlxbf_tmfifo_console_output_one() 436 cons->tx_buf.head = (cons->tx_buf.head + len) % in mlxbf_tmfifo_console_output_one() 447 static void mlxbf_tmfifo_console_output(struct mlxbf_tmfifo_vdev *cons, in mlxbf_tmfifo_console_output() argument [all …]
|
| /OK3568_Linux_fs/kernel/net/9p/ |
| H A D | trans_xen.c | 129 RING_IDX cons, prod; in p9_xen_write_todo() local 131 cons = ring->intf->out_cons; in p9_xen_write_todo() 136 xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) >= size; in p9_xen_write_todo() 142 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_request() local 166 cons = ring->intf->out_cons; in p9_xen_request() 171 xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) < size) { in p9_xen_request() 177 masked_cons = xen_9pfs_mask(cons, XEN_9PFS_RING_SIZE(ring)); in p9_xen_request() 198 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_response() local 207 cons = ring->intf->in_cons; in p9_xen_response() 211 if (xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) < in p9_xen_response() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | asn1_decoder.c | 136 *_errmsg = "Missing EOC in indefinite len cons"; in asn1_find_indefinite_length() 159 * cons stack elements and length_too_long checking. 185 #define FLAG_CONS 0x20 /* Corresponds to CONS bit in the opcode tag in asn1_ber_decoder() 237 * - Either CONS or PRIM are permitted in the data if in asn1_ber_decoder() 238 * CONS is not set in the op stream, otherwise CONS in asn1_ber_decoder() 306 tag, len, flags & FLAG_CONS ? " CONS" : ""); in asn1_ber_decoder() 399 pr_debug("- end cons t=%zu dp=%zu l=%zu/%zu\n", in asn1_ber_decoder() 430 pr_debug("- cons len l=%zu d=%zu\n", len, dp - tdp); in asn1_ber_decoder() 489 errmsg = "Cons stack underflow"; in asn1_ber_decoder() 492 errmsg = "Cons stack overflow"; in asn1_ber_decoder() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/hvc/ |
| H A D | hvc_xen.c | 75 static inline void notify_daemon(struct xencons_info *cons) in notify_daemon() argument 78 notify_remote_via_evtchn(cons->evtchn); in notify_daemon() 84 XENCONS_RING_IDX cons, prod; in __write_console() local 88 cons = intf->out_cons; in __write_console() 92 if ((prod - cons) > sizeof(intf->out)) { in __write_console() 97 while ((sent < len) && ((prod - cons) < sizeof(intf->out))) in __write_console() 111 struct xencons_info *cons = vtermno_to_xencons(vtermno); in domU_write_console() local 112 if (cons == NULL) in domU_write_console() 122 int sent = __write_console(cons, data, len); in domU_write_console() 140 XENCONS_RING_IDX cons, prod; in domU_read_console() local [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/tuple/ |
| H A D | tuple.hpp | 46 typename tuples::element<N, tuples::cons<HT, TT> >::type 48 get(tuples::cons<HT, TT>& c) { in get() 51 // get function for const cons-lists, returns a const reference to 56 typename tuples::element<N, tuples::cons<HT, TT> >::type 58 get(const tuples::cons<HT, TT>& c) { in get()
|
| /OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3.c | 116 u32 space, prod, cons; in queue_has_space() local 119 cons = Q_IDX(q, q->cons); in queue_has_space() 121 if (Q_WRP(q, q->prod) == Q_WRP(q, q->cons)) in queue_has_space() 122 space = (1 << q->max_n_shift) - (prod - cons); in queue_has_space() 124 space = cons - prod; in queue_has_space() 131 return Q_IDX(q, q->prod) == Q_IDX(q, q->cons) && in queue_full() 132 Q_WRP(q, q->prod) != Q_WRP(q, q->cons); in queue_full() 137 return Q_IDX(q, q->prod) == Q_IDX(q, q->cons) && in queue_empty() 138 Q_WRP(q, q->prod) == Q_WRP(q, q->cons); in queue_empty() 143 return ((Q_WRP(q, q->cons) == Q_WRP(q, prod)) && in queue_consumed() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/qed/ |
| H A D | qed_chain.h | 36 /* The chain's size/prod/cons are kept in 16-bit variables */ 39 /* The chain's size/prod/cons are kept in 32-bit variables */ 209 u32 cons = qed_chain_get_cons_idx(chain); in qed_chain_get_elem_used() local 213 if (prod < cons) in qed_chain_get_elem_used() 216 used = (u16)(prod - cons); in qed_chain_get_elem_used() 218 used -= (u16)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used() 231 u64 cons = qed_chain_get_cons_idx_u32(chain); in qed_chain_get_elem_used_u32() local 235 if (prod < cons) in qed_chain_get_elem_used_u32() 238 used = (u32)(prod - cons); in qed_chain_get_elem_used_u32() 240 used -= (u32)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used_u32() [all …]
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | xsk.h | 138 static inline size_t xsk_ring_cons__peek(struct xsk_ring_cons *cons, in xsk_ring_cons__peek() argument 141 size_t entries = xsk_cons_nb_avail(cons, nb); in xsk_ring_cons__peek() 149 *idx = cons->cached_cons; in xsk_ring_cons__peek() 150 cons->cached_cons += entries; in xsk_ring_cons__peek() 156 static inline void xsk_ring_cons__release(struct xsk_ring_cons *cons, size_t nb) in xsk_ring_cons__release() argument 163 *cons->consumer += nb; in xsk_ring_cons__release()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/ |
| H A D | predicates.hpp | 387 boost::tuples::cons< 389 boost::tuples::cons<Pred2, boost::tuples::null_type> 398 bt::cons< Pred1, bt::cons<Pred2, bt::null_type> > in operator &&() 399 ( p1, bt::cons<Pred2, bt::null_type>(p2, bt::null_type()) ); in operator &&() 404 boost::tuples::cons<Head, Tail>, Pred 406 operator&&(boost::tuples::cons<Head, Tail> const& t, Pred const& p) in operator &&() 413 bt::cons<Head, Tail>, Pred in operator &&()
|
| /OK3568_Linux_fs/kernel/drivers/tty/vt/ |
| H A D | selection.c | 41 struct vc_data *cons; /* must not be deallocated */ member 57 invert_screen(vc_sel.cons, s, e-s+2, true); in highlight() 63 complement_pos(vc_sel.cons, where); in highlight_pointer() 70 return screen_glyph_unicode(vc_sel.cons, n / 2); in sel_pos() 71 return inverse_translate(vc_sel.cons, screen_glyph(vc_sel.cons, n), 0); in sel_pos() 92 return vc == vc_sel.cons; in vc_is_sel() 345 if (vc_sel.cons != vc) { in vc_selection() 347 vc_sel.cons = vc; in vc_selection()
|