Home
last modified time | relevance | path

Searched refs:new_segs (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/i386/tcg/
H A Dseg_helper.c319 uint32_t new_regs[8], new_segs[6]; in switch_tss_ra() local
439 new_segs[i] = access_ldw(&new, tss_base + (0x48 + i * 4)); in switch_tss_ra()
452 new_segs[i] = access_ldw(&new, tss_base + (0x22 + i * 2)); in switch_tss_ra()
455 new_segs[R_FS] = 0; in switch_tss_ra()
456 new_segs[R_GS] = 0; in switch_tss_ra()
525 load_seg_vm(env, i, new_segs[i]); in switch_tss_ra()
530 cpu_x86_load_seg_cache(env, i, new_segs[i], 0, 0, 0); in switch_tss_ra()
564 int cpl = new_segs[R_CS] & 3; in switch_tss_ra()
565 tss_load_seg(env, R_CS, new_segs[R_CS], cpl, retaddr); in switch_tss_ra()
566 tss_load_seg(env, R_SS, new_segs[R_SS], cpl, retaddr); in switch_tss_ra()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c323 int new_segs; in xhci_ring_expansion_needed()
343 new_segs = 1 + (trbs_past_seg / (TRBS_PER_SEGMENT - 1)); in xhci_ring_expansion_needed()
346 while (new_segs > 0) { in xhci_ring_expansion_needed()
350 new_segs); in xhci_ring_expansion_needed()
353 return new_segs; in xhci_ring_expansion_needed()
355 new_segs--; in xhci_ring_expansion_needed()
3314 unsigned int new_segs = 0; in prepare_ring()
3346 new_segs = xhci_ring_expansion_needed(xhci, ep_ring, num_trbs); in prepare_ring()
3352 if (new_segs) { in prepare_ring()
3355 if (xhci_ring_expansion(xhci, ep_ring, new_segs, mem_flag in prepare_ring()
322 int new_segs; xhci_ring_expansion_needed() local
3274 unsigned int new_segs = 0; prepare_ring() local
[all...]