Searched refs:wrap (Results 26 - 50 of 66) sorted by relevance

123

/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_ring.c16 ring->wrap = BITS_PER_TYPE(ring->size) - ilog2(sz);
88 /* Precision of wrap detection is limited to ring->size / 2 */
H A Dintel_ring.h65 return (next - prev) << ring->wrap;
/linux-master/drivers/bcma/
H A Dscan.c399 core->wrap = tmp;
417 core->wrap = tmp;
425 if (core->wrap) {
426 core->io_wrap = ioremap(core->wrap,
H A Dhost_pci.c21 pci_write_config_dword(core->bus->host_pci, win2, core->wrap);
/linux-master/drivers/usb/gadget/function/
H A Du_ether.h73 struct sk_buff *(*wrap)(struct gether *port, member in struct:gether
H A Du_ether.c73 struct sk_buff *(*wrap)(struct gether *, struct sk_buff *skb); member in struct:eth_dev
535 if (dev->wrap) {
540 skb = dev->wrap(dev->port_usb, skb);
1149 dev->wrap = link->wrap;
1241 dev->wrap = NULL;
/linux-master/drivers/video/console/
H A Dvgacon.c90 static unsigned int vga_rolled_over; /* last vc_origin offset before wrap */
145 int from, wrap, from_off, avail; local
156 wrap = vga_rolled_over + c->vc_size_row;
159 wrap = vga_vram_size;
162 from_off = (vorigin - from + wrap) % wrap + lines * c->vc_size_row;
163 avail = (origin - from + wrap) % wrap;
173 c->vc_visible_origin = vga_vram_base + (from + from_off) % wrap;
/linux-master/lib/zlib_inflate/
H A Dinflate.c70 state->wrap = 0;
74 state->wrap = (windowBits >> 4) + 1;
366 if (state->wrap == 0) {
705 if (state->wrap) {
753 if (INFLATE_NEED_CHECKSUM(strm) && state->wrap && out)
/linux-master/fs/jbd2/
H A Drecovery.c230 /* Make sure we wrap around the log correctly! */
231 #define wrap(journal, var) \ macro
413 wrap(journal, *next_log_block);
538 wrap(journal, next_log_block);
612 wrap(journal, next_log_block);
630 wrap(journal, next_log_block);
/linux-master/arch/m68k/fpsp040/
H A Dres_func.S403 | ;wrap-around case
614 | The wrap-around condition occurs for add, sub, div, and cmp
697 | One of the ops is denormalized. Test for wrap condition
709 blt fix_stk |if less, not wrap case
727 beq nan_or_inf |not wrap case
729 beq nan_or_inf |yes, not wrap case?
734 | ;check wrap case
748 blt fix_stk |if less, not wrap case
801 | One of the ops is denormalized. Test for wrap condition
813 blt fix_stk |if less, not wrap cas
[all...]
/linux-master/net/smc/
H A Dsmc_cdc.c246 cdc.prod.wrap = curs.wrap;
249 cdc.cons.wrap = curs.wrap;
H A Dsmc.h120 u16 wrap; /* window wrap sequence number */ member in struct:smc_host_cursor::__anon3055
H A Dsmc_tx.c500 if (prod.wrap == cons.wrap) {
/linux-master/drivers/scsi/csiostor/
H A Dcsio_wr.h366 uint8_t wrap[512]; /* Temp area for q-wrap around*/ member in struct:csio_eq
405 * wrap around at
479 #define csio_q_eq_wrap(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.eq.wrap)
/linux-master/net/xfrm/
H A Dxfrm_replay.c556 int wrap; local
566 wrap = seq_hi - replay_esn->seq_hi;
568 if ((!wrap && seq > replay_esn->seq) || wrap > 0) {
569 if (likely(!wrap))
590 if (unlikely(wrap > 0))
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c304 * wrapped around again to the base pointer. This is called a TRBE wrap event, which
306 * uses FILL mode, where the TRBE stops the trace collection at wrap event. The IRQ
462 * the end of the buffer, neither an wrap around nor an IRQ is expected
475 * end of the buffer, it will just wrap around with an IRQ giving an
488 * reaches the end of the buffer, it will just wrap around with an IRQ
496 * current generation, either we'll wrap before hitting it, or it's
499 * If there's a wakeup before we wrap, arrange to be woken up by the
676 struct trbe_buf *buf, bool wrap)
698 if (wrap)
790 bool wrap local
675 trbe_get_trace_size(struct perf_output_handle *handle, struct trbe_buf *buf, bool wrap) argument
[all...]
/linux-master/net/rxrpc/
H A Doutput.c85 unsigned int qsize, sack, wrap, to; local
120 wrap = RXRPC_SACK_SIZE - sack;
126 memcpy(sackp, call->ackr_sack_table + sack, wrap);
127 memcpy(sackp + wrap, call->ackr_sack_table, to - wrap);
/linux-master/include/linux/ssb/
H A Dssb.h290 struct __ssb_dev_wrapper *wrap; local
291 wrap = container_of(dev, struct __ssb_dev_wrapper, dev);
292 return wrap->sdev;
/linux-master/fs/gfs2/
H A Drecovery.c86 int wrap, a, b, revoke; local
98 wrap = (rr->rr_where < jd->jd_replay_tail);
101 revoke = (wrap) ? (a || b) : (a && b);
/linux-master/include/linux/
H A Dcpumask.h287 unsigned int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap) argument
297 if (wrap && n >= 0)
303 unsigned int __pure cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap);
/linux-master/drivers/net/wireless/intersil/p54/
H A Deeprom.c732 struct eeprom_pda_wrap *wrap; local
741 wrap = (struct eeprom_pda_wrap *) eeprom;
742 entry = (void *)wrap->data + le16_to_cpu(wrap->len);
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_internal.h49 u32 (*wrap)(struct krb5_ctx *kctx, int offset, member in struct:gss_krb5_enctype
H A Dgss_rpc_upcall.c66 PROC(WRAP, wrap),
/linux-master/drivers/leds/
H A DMakefile92 obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o
/linux-master/include/trace/events/
H A Drpcgss.h138 DEFINE_GSSAPI_EVENT(wrap); variable
209 DEFINE_SVC_GSSAPI_EVENT(wrap); variable

Completed in 300 milliseconds

123