| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_irq.c | 124 if (!src || !src->funcs->set || !src->num_types) in amdgpu_irq_disable_all() 127 for (k = 0; k < src->num_types; ++k) { in amdgpu_irq_disable_all() 382 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id() 385 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id() 503 for (k = 0; k < src->num_types; k++) in amdgpu_irq_gpu_reset_resume_helper() 527 if (type >= src->num_types) in amdgpu_irq_get() 557 if (type >= src->num_types) in amdgpu_irq_put() 588 if (type >= src->num_types) in amdgpu_irq_enabled()
|
| H A D | mxgpu_nv.c | 348 adev->virt.ack_irq.num_types = 1; in xgpu_nv_mailbox_set_irq_funcs() 350 adev->virt.rcv_irq.num_types = 1; in xgpu_nv_mailbox_set_irq_funcs()
|
| H A D | mxgpu_ai.c | 324 adev->virt.ack_irq.num_types = 1; in xgpu_ai_mailbox_set_irq_funcs() 326 adev->virt.rcv_irq.num_types = 1; in xgpu_ai_mailbox_set_irq_funcs()
|
| H A D | amdgpu_irq.h | 61 unsigned num_types; member
|
| H A D | mxgpu_vi.c | 572 adev->virt.ack_irq.num_types = 1; in xgpu_vi_mailbox_set_irq_funcs() 574 adev->virt.rcv_irq.num_types = 1; in xgpu_vi_mailbox_set_irq_funcs()
|
| H A D | nbio_v7_4.c | 459 adev->nbio.ras_controller_irq.num_types = 1; in nbio_v7_4_init_ras_controller_interrupt() 477 adev->nbio.ras_err_event_athub_irq.num_types = 1; in nbio_v7_4_init_ras_err_event_athub_interrupt()
|
| H A D | sdma_v4_0.c | 2473 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_INSTANCE1; in sdma_v4_0_set_irq_funcs() 2474 adev->sdma.ecc_irq.num_types = AMDGPU_SDMA_IRQ_INSTANCE1; in sdma_v4_0_set_irq_funcs() 2477 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in sdma_v4_0_set_irq_funcs() 2478 adev->sdma.ecc_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in sdma_v4_0_set_irq_funcs() 2482 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_INSTANCE2; in sdma_v4_0_set_irq_funcs() 2483 adev->sdma.ecc_irq.num_types = AMDGPU_SDMA_IRQ_INSTANCE2; in sdma_v4_0_set_irq_funcs()
|
| H A D | gmc_v10_0.c | 150 adev->gmc.vm_fault.num_types = 1; in gmc_v10_0_set_irq_funcs() 154 adev->gmc.ecc_irq.num_types = 1; in gmc_v10_0_set_irq_funcs()
|
| H A D | uvd_v6_0.c | 414 adev->uvd.inst->irq.num_types = 1; in uvd_v6_0_sw_init() 1629 adev->uvd.inst->irq.num_types = adev->uvd.num_enc_rings + 1; in uvd_v6_0_set_irq_funcs() 1631 adev->uvd.inst->irq.num_types = 1; in uvd_v6_0_set_irq_funcs()
|
| H A D | jpeg_v3_0.c | 594 adev->jpeg.inst->irq.num_types = 1; in jpeg_v3_0_set_irq_funcs()
|
| H A D | vce_v2_0.c | 643 adev->vce.irq.num_types = 1; in vce_v2_0_set_irq_funcs()
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkbUtils.c | 982 if (src->map->types && src->map->num_types) { in _XkbCopyClientMap() 983 if (src->map->num_types > dst->map->size_types || in _XkbCopyClientMap() 986 tmp = reallocarray(dst->map->types, src->map->num_types, in _XkbCopyClientMap() 991 memset(dst->map->types + dst->map->num_types, 0, in _XkbCopyClientMap() 992 (src->map->num_types - dst->map->num_types) * in _XkbCopyClientMap() 996 tmp = calloc(src->map->num_types, sizeof(XkbKeyTypeRec)); in _XkbCopyClientMap() 1002 else if (src->map->num_types < dst->map->num_types && in _XkbCopyClientMap() 1004 for (i = src->map->num_types, dtype = (dst->map->types + i); in _XkbCopyClientMap() 1005 i < dst->map->num_types; i++, dtype++) { in _XkbCopyClientMap() 1018 for (i = 0; i < src->map->num_types; i++, dtype++, stype++) { in _XkbCopyClientMap() [all …]
|
| H A D | XKBMAlloc.c | 74 map->num_types = 0; in XkbAllocClientMap() 84 map->num_types = map->size_types = 0; in XkbAllocClientMap() 88 memset(&map->types[map->num_types], 0, in XkbAllocClientMap() 90 map->num_types) * sizeof(XkbKeyTypeRec))); in XkbAllocClientMap() 261 XkbCopyKeyTypes(XkbKeyTypePtr from, XkbKeyTypePtr into, int num_types) in XkbCopyKeyTypes() argument 265 if ((!from) || (!into) || (num_types < 0)) in XkbCopyKeyTypes() 267 for (i = 0; i < num_types; i++) { in XkbCopyKeyTypes() 282 if ((type_ndx < 0) || (type_ndx >= xkb->map->num_types) || (map_count < 0) in XkbResizeKeyType() 855 if (map->num_types > 0) { in XkbFreeClientMap() 859 for (i = 0, type = map->types; i < map->num_types; i++, type++) { in XkbFreeClientMap() [all …]
|
| H A D | XKBMisc.c | 62 if ((protected & (1 << i)) && (types_inout[i] < xkb->map->num_types)) { in XkbKeyTypesForCoreSymbols() 570 if (newTypes[i] > xkb->map->num_types) in XkbChangeTypesOfKey() 740 if ((type_ndx < 0) || (type_ndx > xkb->map->num_types)) in XkbUpdateKeyTypeVirtualMods() 745 last = changes->map.first_type + changes->map.num_types - 1; in XkbUpdateKeyTypeVirtualMods() 748 changes->map.num_types = (last - type_ndx) + 1; in XkbUpdateKeyTypeVirtualMods() 751 changes->map.num_types = in XkbUpdateKeyTypeVirtualMods() 758 changes->map.num_types = 1; in XkbUpdateKeyTypeVirtualMods() 773 for (i = 0; i < xkb->map->num_types; i++) { in XkbApplyVirtualModChanges()
|
| H A D | xkmread.c | 275 unsigned num_types; in ReadXkmKeyTypes() local 296 num_types = XkmGetCARD16(file, &nRead); in ReadXkmKeyTypes() 298 if (num_types < 1) in ReadXkmKeyTypes() 300 if (XkbAllocClientMap(xkb, XkbKeyTypesMask, num_types) != Success) { in ReadXkmKeyTypes() 304 xkb->map->num_types = num_types; in ReadXkmKeyTypes() 305 if (num_types < XkbNumRequiredTypes) { in ReadXkmKeyTypes() 310 for (i = 0; i < num_types; i++, type++) { in ReadXkmKeyTypes() 406 changes->map.num_types = xkb->map->num_types; in ReadXkmKeyTypes() 672 for (i = 0; i < xkb->map->num_types; i++) { in FindTypeForKey()
|
| H A D | XKBAlloc.c | 138 for (i = 0; i < xkb->map->num_types; i++, type++) { in XkbAllocNames() 222 for (i = 0; i < map->num_types; i++, type++) { in XkbFreeNames()
|
| H A D | xkb.c | 1492 rep.nTypes = xkb->map->num_types; in ProcXkbGetMap() 1495 if (((unsigned) stuff->firstType + stuff->nTypes) > xkb->map->num_types) { in ProcXkbGetMap() 1496 client->errorValue = _XkbErrCode4(0x04, xkb->map->num_types, in ProcXkbGetMap() 1505 rep.totalTypes = xkb->map->num_types; in ProcXkbGetMap() 1610 if (req->firstType > ((unsigned) xkb->map->num_types)) { in CheckKeyTypes() 1611 *nMapsRtrn = _XkbErrCode3(0x01, req->firstType, xkb->map->num_types); in CheckKeyTypes() 1622 nMaps = xkb->map->num_types; in CheckKeyTypes() 1629 *nMapsRtrn = xkb->map->num_types; in CheckKeyTypes() 1630 for (i = 0; i < xkb->map->num_types; i++) { in CheckKeyTypes() 2027 if ((unsigned) (req->firstType + req->nTypes) > xkb->map->num_types) in SetKeyTypes() [all …]
|
| H A D | xkbfmisc.c | 221 if ((!xkb->map) || (xkb->map->num_types < XkbNumRequiredTypes)) in XkbWriteXKBKeymapForNames()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/ |
| H A D | vgpu.c | 109 unsigned int num_types; in intel_gvt_init_vgpu_types() local 127 num_types = ARRAY_SIZE(vgpu_types); in intel_gvt_init_vgpu_types() 129 gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types() 135 for (i = 0; i < num_types; ++i) { in intel_gvt_init_vgpu_types() 168 gvt->num_types = i; in intel_gvt_init_vgpu_types() 193 for (i = 0; i < gvt->num_types; i++) { in intel_gvt_update_vgpu_types()
|
| H A D | gvt.c | 57 for (i = 0; i < gvt->num_types; i++) { in intel_gvt_find_vgpu_type() 135 for (i = 0; i < gvt->num_types; i++) { in intel_gvt_init_vgpu_type_groups() 163 for (i = 0; i < gvt->num_types; i++) { in intel_gvt_cleanup_vgpu_type_groups()
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xres.c | 300 int i, clientID, num_types; in ProcXResQueryClientResources() local 316 num_types = 0; in ProcXResQueryClientResources() 320 num_types++; in ProcXResQueryClientResources() 326 .length = bytes_to_int32(num_types * sz_xXResType), in ProcXResQueryClientResources() 327 .num_types = num_types in ProcXResQueryClientResources() 332 swapl(&rep.num_types); in ProcXResQueryClientResources() 337 if (num_types) { in ProcXResQueryClientResources()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_irq.c | 742 adev->crtc_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 745 adev->vupdate_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 748 adev->pageflip_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 751 adev->hpd_irq.num_types = adev->mode_info.num_hpd; in amdgpu_dm_set_irq_funcs()
|
| /OK3568_Linux_fs/external/xserver/include/ |
| H A D | xkbstr.h | 345 unsigned char num_types; member 497 unsigned char num_types; member 528 unsigned char num_types; member 577 int num_types; member
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci-tegra.c | 195 unsigned int num_types; member 1145 for (i = 0; i < tegra->soc->num_types; i++) { in tegra_xusb_get_phy() 1478 for (i = 0; i < tegra->soc->num_types; i++) { in tegra_xusb_probe() 1491 for (i = 0, k = 0; i < tegra->soc->num_types; i++) { in tegra_xusb_probe() 1915 .num_types = ARRAY_SIZE(tegra124_phy_types), 1951 .num_types = ARRAY_SIZE(tegra210_phy_types), 1992 .num_types = ARRAY_SIZE(tegra186_phy_types), 2024 .num_types = ARRAY_SIZE(tegra194_phy_types),
|
| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | sm_make_chunk.c | 217 int num_types, addrs_len = 0; in sctp_make_init() local 243 num_types = sp->pf->supported_addrs(sp, types); in sctp_make_init() 246 chunksize += SCTP_PAD4(SCTP_SAT_LEN(num_types)); in sctp_make_init() 336 sat.param_hdr.length = htons(SCTP_SAT_LEN(num_types)); in sctp_make_init() 338 sctp_addto_chunk(retval, num_types * sizeof(__u16), &types); in sctp_make_init()
|