HomeSort by: relevance | last modified time | path
    Searched defs:ib (Results 1 - 25 of 52) sorted by relevancy

1 2 3

  /src/tests/lib/libc/locale/
t_io.c 141 struct ibuf *ib = vp; local in function:readfn
142 size_t todo = MIN((size_t)len, ib->buflen - ib->off);
144 memcpy(buf, ib->buf + ib->off, todo);
145 ib->off += todo;
158 struct ibuf ib = { local in function:ATF_TC_BODY
162 FILE *fp = funopen(&ib, readfn, NULL, NULL, NULL);
186 struct ibuf ib = { local in function:ATF_TC_BODY
190 FILE *fp = funopen(&ib, readfn, NULL, NULL, NULL)
    [all...]
  /src/lib/libm/src/
e_jnf.c 174 int32_t i,hx,ix,ib; local in function:__ieee754_ynf
196 GET_FLOAT_WORD(ib,b);
197 for(i=1;i<n&&(uint32_t)ib!=0xff800000;i++){
200 GET_FLOAT_WORD(ib,b);
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_jpeg.c 147 struct amdgpu_ib *ib; local in function:amdgpu_jpeg_dec_set_reg
156 ib = &job->ibs[0];
158 ib->ptr[0] = PACKETJ(adev->jpeg.internal.jpeg_pitch, 0, 0, PACKETJ_TYPE0);
159 ib->ptr[1] = 0xDEADBEEF;
161 ib->ptr[i] = PACKETJ(0, 0, 0, PACKETJ_TYPE6);
162 ib->ptr[i+1] = 0;
164 ib->length_dw = 16;
amdgpu_vm_sdma.c 103 struct amdgpu_ib *ib = p->job->ibs; local in function:amdgpu_vm_sdma_commit
112 WARN_ON(ib->length_dw == 0);
113 amdgpu_ring_pad_ib(ring, ib);
114 WARN_ON(ib->length_dw > p->num_dw_left);
150 struct amdgpu_ib *ib = p->job->ibs; local in function:amdgpu_vm_sdma_copy_ptes
151 uint64_t src = ib->gpu_addr;
158 amdgpu_vm_copy_pte(p->adev, ib, pe, src, count);
180 struct amdgpu_ib *ib = p->job->ibs; local in function:amdgpu_vm_sdma_set_ptes
185 amdgpu_vm_write_pte(p->adev, ib, pe, addr | flags,
188 amdgpu_vm_set_pte_pde(p->adev, ib, pe, addr
    [all...]
amdgpu_ib.c 48 * IB
50 * commands are stored. You can put a pointer to the IB in the
51 * command ring and the hw will fetch the commands from the IB
59 * amdgpu_ib_get - request an IB (Indirect Buffer)
61 * @ring: ring index the IB is associated with
62 * @size: requested IB size
63 * @ib: IB object returned
65 * Request an IB (all asics). IBs are allocated using the
70 unsigned size, struct amdgpu_ib *ib)
132 struct amdgpu_ib *ib = &ibs[0]; local in function:amdgpu_ib_schedule
    [all...]
amdgpu_vcn.c 394 struct amdgpu_ib *ib; local in function:amdgpu_vcn_dec_send_msg
402 ib = &job->ibs[0];
404 ib->ptr[0] = PACKET0(adev->vcn.internal.data0, 0);
405 ib->ptr[1] = addr;
406 ib->ptr[2] = PACKET0(adev->vcn.internal.data1, 0);
407 ib->ptr[3] = addr >> 32;
408 ib->ptr[4] = PACKET0(adev->vcn.internal.cmd, 0);
409 ib->ptr[5] = 0;
411 ib->ptr[i] = PACKET0(adev->vcn.internal.nop, 0);
412 ib->ptr[i+1] = 0
562 struct amdgpu_ib *ib; local in function:amdgpu_vcn_enc_get_create_msg
615 struct amdgpu_ib *ib; local in function:amdgpu_vcn_enc_get_destroy_msg
    [all...]
amdgpu_amdkfd.c 572 struct amdgpu_ib *ib; local in function:amdgpu_amdkfd_submit_ib
588 pr_err("Invalid engine in IB submission: %d\n", engine);
597 ib = &job->ibs[0];
598 memset(ib, 0, sizeof(struct amdgpu_ib));
600 ib->gpu_addr = gpu_addr;
601 ib->ptr = ib_cmd;
602 ib->length_dw = ib_len;
606 ret = amdgpu_ib_schedule(ring, 1, ib, job, &f);
608 DRM_ERROR("amdgpu: failed to schedule IB.\n");
amdgpu_si_dma.c 70 struct amdgpu_ib *ib,
80 amdgpu_ring_write(ring, (ib->gpu_addr & 0xFFFFFFE0));
81 amdgpu_ring_write(ring, (ib->length_dw << 12) | (upper_32_bits(ib->gpu_addr) & 0xFF));
250 * si_dma_ring_test_ib - test an IB on the DMA engine
254 * Test a simple IB in the DMA ring (VI).
260 struct amdgpu_ib ib; local in function:si_dma_ring_test_ib
274 memset(&ib, 0, sizeof(ib));
275 r = amdgpu_ib_get(adev, NULL, 256, &ib);
    [all...]
amdgpu_vce.c 451 struct amdgpu_ib *ib; local in function:amdgpu_vce_get_create_msg
460 ib = &job->ibs[0];
465 ib->length_dw = 0;
466 ib->ptr[ib->length_dw++] = 0x0000000c; /* len */
467 ib->ptr[ib->length_dw++] = 0x00000001; /* session cmd */
468 ib->ptr[ib->length_dw++] = handle;
471 ib->ptr[ib->length_dw++] = 0x00000040; /* len *
530 struct amdgpu_ib *ib; local in function:amdgpu_vce_get_destroy_msg
725 struct amdgpu_ib *ib = &p->job->ibs[ib_idx]; local in function:amdgpu_vce_ring_parse_cs
961 struct amdgpu_ib *ib = &p->job->ibs[ib_idx]; local in function:amdgpu_vce_ring_parse_cs_vm
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_r200.c 156 volatile uint32_t *ib; local in function:r200_packet0_check
164 ib = p->ib.ptr;
171 DRM_ERROR("No reloc for ib[%d]=0x%04X\n",
188 DRM_ERROR("No reloc for ib[%d]=0x%04X\n",
196 ib[idx] = idx_value + ((u32)reloc->gpu_offset);
201 DRM_ERROR("No reloc for ib[%d]=0x%04X\n",
209 ib[idx] = idx_value + ((u32)reloc->gpu_offset);
220 DRM_ERROR("No reloc for ib[%d]=0x%04X\n",
233 ib[idx] = tmp + ((u32)reloc->gpu_offset)
    [all...]
radeon_r600_dma.c 333 * r600_dma_ib_test - test an IB on the DMA engine
338 * Test a simple IB in the DMA ring (r6xx-SI).
343 struct radeon_ib ib; local in function:r600_dma_ib_test
357 r = radeon_ib_get(rdev, ring->idx, &ib, NULL, 256);
359 DRM_ERROR("radeon: failed to get ib (%d).\n", r);
363 ib.ptr[0] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 1);
364 ib.ptr[1] = lower_32_bits(gpu_addr);
365 ib.ptr[2] = upper_32_bits(gpu_addr) & 0xff;
366 ib.ptr[3] = 0xDEADBEEF;
367 ib.length_dw = 4
    [all...]
radeon_cik_sdma.c 131 * cik_sdma_ring_ib_execute - Schedule an IB on the DMA engine
134 * @ib: IB object to schedule
136 * Schedule an IB in the DMA ring (CIK).
139 struct radeon_ib *ib)
141 struct radeon_ring *ring = &rdev->ring[ib->ring];
142 u32 extra_bits = (ib->vm ? ib->vm->ids[ib->ring].id : 0) & 0xf;
156 /* IB packet must end on a 8 DW boundary *
709 struct radeon_ib ib; local in function:cik_sdma_ib_test
    [all...]
radeon_cs.c 201 p->vm_bos = radeon_vm_get_bos(p->rdev, p->ib.vm,
276 r = radeon_sync_resv(p->rdev, &p->ib.sync, resv,
301 p->ib.sa_bo = NULL;
338 /* zero length IB isn't useful */
344 /* zero length CONST IB isn't useful */
449 &parser->ib.fence->base);
471 radeon_ib_free(parser->rdev, &parser->ib);
505 r = radeon_ib_schedule(rdev, &parser->ib, NULL, true);
507 DRM_ERROR("Failed to schedule IB !\n");
551 radeon_sync_fence(&p->ib.sync, bo_va->last_pt_update)
835 volatile uint32_t *ib; local in function:radeon_cs_dump_packet
    [all...]
radeon_r300.c 249 * for enough space (today caller are ib schedule and buffer move) */
666 volatile uint32_t *ib; local in function:r300_packet0_check
672 ib = p->ib.ptr;
681 DRM_ERROR("No reloc for ib[%d]=0x%04X\n",
700 DRM_ERROR("No reloc for ib[%d]=0x%04X\n",
708 ib[idx] = idx_value + ((u32)reloc->gpu_offset);
713 DRM_ERROR("No reloc for ib[%d]=0x%04X\n",
721 ib[idx] = idx_value + ((u32)reloc->gpu_offset);
742 DRM_ERROR("No reloc for ib[%d]=0x%04X\n"
1210 volatile uint32_t *ib; local in function:r300_packet3_check
    [all...]
radeon_vce.c 407 struct radeon_ib ib; local in function:radeon_vce_get_create_msg
411 r = radeon_ib_get(rdev, ring, &ib, NULL, ib_size_dw * 4);
413 DRM_ERROR("radeon: failed to get ib (%d).\n", r);
417 dummy = ib.gpu_addr + 1024;
420 ib.length_dw = 0;
421 ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */
422 ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */
423 ib.ptr[ib.length_dw++] = cpu_to_le32(handle)
474 struct radeon_ib ib; local in function:radeon_vce_get_destroy_msg
    [all...]
radeon_vm.c 356 * @ib: indirect buffer to fill with commands
367 struct radeon_ib *ib,
376 radeon_asic_vm_copy_pages(rdev, ib, pe, src, count);
379 radeon_asic_vm_write_pages(rdev, ib, pe, addr,
383 radeon_asic_vm_set_pages(rdev, ib, pe, addr,
398 struct radeon_ib ib; local in function:radeon_vm_clear_bo
414 r = radeon_ib_get(rdev, R600_RING_TYPE_DMA_INDEX, &ib, NULL, 256);
418 ib.length_dw = 0;
420 radeon_vm_set_pages(rdev, &ib, addr, 0, entries, 0, 0);
421 radeon_asic_vm_pad_ib(rdev, &ib);
656 struct radeon_ib ib; local in function:radeon_vm_update_page_directory
924 struct radeon_ib ib; local in function:radeon_vm_bo_update
    [all...]
  /src/tests/lib/libc/sys/
t_sigqueue.c 120 const int *ia = a, *ib = b; local in function:asc
121 return *ib - *ia;
  /src/usr.sbin/iteconfig/
iteconfig.c 82 struct itebell ib, newib; local in function:main
92 fd = initialize(_PATH_CONSOLE, &is, &ib, &newis, &newib);
107 fd = initialize(optarg, &is, &ib, &newis, &newib);
154 if (memcmp(&newib, &ib, sizeof(ib))) {
156 xioctl(fd, ITEIOCGBELL, &ib);
186 ib.volume, ib.msec, ib.pitch);
257 initialize(file, is, ib, newis, newib
    [all...]
  /src/sys/arch/hppa/hppa/
intr.c 130 struct hppa_interrupt_bit *ib; local in function:hppa_intr_establish
180 ib = &ci->ci_ib[idx];
183 ib->ib_reg = ir;
184 ib->ib_ipl = ipl;
185 ib->ib_spl = (1 << idx);
186 snprintf(ib->ib_name, sizeof(ib->ib_name), "irq %d", bit_pos);
188 evcnt_attach_dynamic(&ib->ib_evcnt, EVCNT_TYPE_INTR, NULL, ir->ir_name,
189 ib->ib_name);
190 ib->ib_handler = handler
254 struct hppa_interrupt_bit *ib; local in function:hppa_intr_calculatemasks
405 struct hppa_interrupt_bit *ib; local in function:hppa_intr_dispatch
    [all...]
  /src/sys/arch/ia64/ia64/
interrupt.c 79 volatile struct ia64_interrupt_block *ib = IA64_INTERRUPT_BLOCK; local in function:interrupt
96 inta = ib->ib_inta;
  /src/usr.bin/systat/
syscall.c 172 int ia = *(const int *)a, ib = *(const int *)b; local in function:compare_irf
175 delta = irf[ib] - irf[ia];
  /src/common/lib/libc/hash/sha3/
sha3.c 120 unsigned ib, iw; /* index of byte/word */ local in function:sha3_update
127 for (ib = 0; ib < MIN(len, C->nb % 8); ib++)
128 T |= (uint64_t)data[ib] << (8*ib);
130 C->nb -= ib;
131 data += ib;
132 len -= ib;
188 for (ib = 0; ib < len; ib++
    [all...]
  /src/sys/arch/vax/vax/
db_disasm.c 115 static inline int get_byte(inst_buffer * ib);
116 static inline int get_word(inst_buffer * ib);
117 static inline int get_long(inst_buffer * ib);
119 static int get_opcode(inst_buffer * ib);
120 static int get_operands(inst_buffer * ib);
121 static int get_operand(inst_buffer * ib, int size);
123 static inline void add_char(inst_buffer * ib, char c);
124 static inline void add_str(inst_buffer * ib, const char *s);
125 static void add_int(inst_buffer * ib, int i);
126 static void add_xint(inst_buffer * ib, int i)
148 inst_buffer ib; local in function:db_disasm
    [all...]
  /src/tests/lib/libc/db/
h_db.c 615 static BTREEINFO ib; local in function:setinfo
629 ib.flags = atoi(eq);
630 return &ib;
633 ib.cachesize = atoi(eq);
634 return &ib;
637 ib.maxkeypage = atoi(eq);
638 return &ib;
641 ib.minkeypage = atoi(eq);
642 return &ib;
645 ib.lorder = atoi(eq)
    [all...]
  /src/sys/dev/ic/
igpio.c 162 igpio_find_bank_setup(struct igpio_bank *ib, int barno)
167 if (strcmp(ib->ib_sc->sc_acpi_hid, ibs->ibs_acpi_hid) != 0)
182 struct igpio_bank *ib; local in function:igpio_find_bank
185 ib = &sc->sc_banks[i];
186 if (pin >= ib->ib_setup->ibs_first_pin &&
187 pin <= ib->ib_setup->ibs_last_pin)
191 ib = NULL;
193 return ib;
197 igpio_bank_pin(struct igpio_bank *ib, int pin)
199 return pin - ib->ib_setup->ibs_first_pin
236 struct igpio_bank *ib = &sc->sc_banks[i]; local in function:igpio_attach
379 struct igpio_bank *ib = &sc->sc_banks[i]; local in function:igpio_detach
470 struct igpio_bank *ib = igpio_find_bank(sc, pin); local in function:igpio_pin_read
497 struct igpio_bank *ib = igpio_find_bank(sc, pin); local in function:igpio_pin_write
529 struct igpio_bank *ib = igpio_find_bank(sc, pin); local in function:igpio_pin_ctl
605 struct igpio_bank *ib = igpio_find_bank(sc, pin); local in function:igpio_intr_establish
682 struct igpio_bank *ib; local in function:igpio_intr_disestablish
743 struct igpio_bank *ib = &sc->sc_banks[i]; local in function:igpio_intr
    [all...]

Completed in 25 milliseconds

1 2 3