Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 826) sorted by relevance

12345678910>>...34

/openbmc/linux/drivers/gpu/drm/nouveau/nvif/
H A Dmmu.c33 kfree(mmu->kind); in nvif_mmu_dtor()
55 mmu->kind = NULL; in nvif_mmu_ctor()
79 mmu->kind = kmalloc_array(mmu->kind_nr, sizeof(*mmu->kind), in nvif_mmu_ctor()
81 if (!mmu->kind && mmu->kind_nr) in nvif_mmu_ctor()
116 struct nvif_mmu_kind_v0 *kind; in nvif_mmu_ctor() local
121 kind->version = 0; in nvif_mmu_ctor()
122 kind->count = mmu->kind_nr; in nvif_mmu_ctor()
125 kind, argc); in nvif_mmu_ctor()
127 memcpy(mmu->kind, kind->data, kind->count); in nvif_mmu_ctor()
128 mmu->kind_inv = kind->kind_inv; in nvif_mmu_ctor()
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dfeatures_check.bbclass24 for kind in ['DISTRO', 'MACHINE', 'COMBINED', 'IMAGE']:
25 …if d.getVar('ANY_OF_' + kind + '_FEATURES') is None and not d.hasOverrides('ANY_OF_' + kind + '_FE…
26 …d.getVar('REQUIRED_' + kind + '_FEATURES') is None and not d.hasOverrides('REQUIRED_' + kind + '_F…
27 …d.getVar('CONFLICT_' + kind + '_FEATURES') is None and not d.hasOverrides('CONFLICT_' + kind + '_F…
33 features = set((d.getVar(kind + '_FEATURES') or '').split())
35 any_of_features = set((d.getVar('ANY_OF_' + kind + '_FEATURES') or '').split())
39 % (' '.join(any_of_features), kind))
41 required_features = set((d.getVar('REQUIRED_' + kind + '_FEATURES') or '').split())
46 % (kind.lower(), 's' if len(missing) > 1 else '', ' '.join(missing), kind))
48 conflict_features = set((d.getVar('CONFLICT_' + kind + '_FEATURES') or '').split())
[all …]
/openbmc/qemu/replay/
H A Dreplay-time.c17 int64_t replay_save_clock(ReplayClockKind kind, int64_t clock, in replay_save_clock() argument
28 replay_put_event(EVENT_CLOCK + kind); in replay_save_clock()
34 void replay_read_next_clock(ReplayClockKind kind) in replay_read_next_clock() argument
38 assert(read_kind == kind); in replay_read_next_clock()
49 int64_t replay_read_clock(ReplayClockKind kind, int64_t raw_icount) in replay_read_clock() argument
55 if (replay_next_event_is(EVENT_CLOCK + kind)) { in replay_read_clock()
56 replay_read_next_clock(kind); in replay_read_clock()
58 return replay_state.cached_clock[kind]; in replay_read_clock()
/openbmc/linux/drivers/hwmon/
H A Dfschmd.c263 enum chips kind; member
327 if (data->kind == fscher || data->kind >= fschrc) in in_value_show()
702 if (timeout <= 510 || kind == fscpos || kind == fscscy) in watchdog_set_timeout()
1062 kind = fscpos; in fschmd_detect()
1064 kind = fscher; in fschmd_detect()
1066 kind = fscscy; in fschmd_detect()
1068 kind = fschrc; in fschmd_detect()
1070 kind = fschmd; in fschmd_detect()
1072 kind = fschds; in fschmd_detect()
1107 data->kind = kind; in fschmd_probe()
[all …]
H A Dnct6775-platform.c100 enum kinds kind; member
420 if (data->kind == nct6791 || data->kind == nct6792 || in nct6775_resume()
421 data->kind == nct6793 || data->kind == nct6795 || in nct6775_resume()
422 data->kind == nct6796 || data->kind == nct6797 || in nct6775_resume()
423 data->kind == nct6798 || data->kind == nct6799) in nct6775_resume()
854 switch (data->kind) { in nct6775_platform_probe_init()
958 data->kind = sio_data->kind; in nct6775_platform_probe()
1068 if (sio_data->kind == nct6791 || sio_data->kind == nct6792 || in nct6775_find()
1069 sio_data->kind == nct6793 || sio_data->kind == nct6795 || in nct6775_find()
1070 sio_data->kind == nct6796 || sio_data->kind == nct6797 || in nct6775_find()
[all …]
/openbmc/qemu/scripts/
H A Dmodinfo-generate.py14 kind = ""
26 kind = item
33 return (kind, data)
42 (kind, data) = parse_line(line)
43 if kind == 'obj':
45 elif kind == 'dep':
47 elif kind == 'opts':
49 elif kind == 'arch':
51 elif kind == 'kconfig':
60 print("unknown:", kind)
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_mem.c53 args.nv50.kind = mem->kind; in nouveau_mem_map()
67 args.gf100.kind = mem->kind; in nouveau_mem_map()
100 type = drm->ttm.type_ncoh[!!mem->kind]; in nouveau_mem_host()
104 if (mem->kind && !(mmu->type[type].type & NVIF_MEM_KIND)) in nouveau_mem_host()
105 mem->comp = mem->kind = 0; in nouveau_mem_host()
108 mem->kind = mmu->kind[mem->kind]; in nouveau_mem_host()
149 .bankswz = mmu->kind[mem->kind] == 2, in nouveau_mem_vram()
176 nouveau_mem_new(struct nouveau_cli *cli, u8 kind, u8 comp, in nouveau_mem_new() argument
185 mem->kind = kind; in nouveau_mem_new()
/openbmc/qemu/qobject/
H A Dqnum.c29 qn->kind = QNUM_I64; in qnum_from_int()
45 qn->kind = QNUM_U64; in qnum_from_uint()
61 qn->kind = QNUM_DOUBLE; in qnum_from_double()
74 switch (qn->kind) { in qnum_get_try_int()
112 switch (qn->kind) { in qnum_get_try_uint()
150 switch (qn->kind) { in qnum_get_double()
165 switch (qn->kind) { in qnum_to_string()
193 switch (num_x->kind) { in qnum_is_equal()
195 switch (num_y->kind) { in qnum_is_equal()
208 switch (num_y->kind) { in qnum_is_equal()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dmmu.h31 u8 *kind; member
39 nvif_mmu_kind_valid(struct nvif_mmu *mmu, u8 kind) in nvif_mmu_kind_valid() argument
41 if (kind) { in nvif_mmu_kind_valid()
42 if (kind >= mmu->kind_nr || mmu->kind[kind] == mmu->kind_inv) in nvif_mmu_kind_valid()
/openbmc/openbmc/meta-security/meta-integrity/recipes-core/initrdscripts/initramfs-framework-ima/
H A Dima33 for kind in ima evm; do
34 key=/etc/keys/x509_$kind.der
36 id=$(grep -w -e "\.$kind" /proc/keys | cut -d ' ' -f1 | head -n 1)
41 id=`keyctl search @u keyring _$kind 2>/dev/null`
43 id=`keyctl newring _$kind @u`
46 info "Loading $key into $kind keyring $id"
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dgm200.c33 kind[256] = { in gm200_mmu_kind() local
67 *count = ARRAY_SIZE(kind); in gm200_mmu_kind()
69 return kind; in gm200_mmu_kind()
78 .kind = gm200_mmu_kind,
88 .kind = gm200_mmu_kind,
H A Dnv50.c41 kind[128] = { in nv50_mmu_kind() local
59 *count = ARRAY_SIZE(kind); in nv50_mmu_kind()
61 return kind; in nv50_mmu_kind()
70 .kind = nv50_mmu_kind,
H A Dtu102.c34 kind[16] = { in tu102_mmu_kind() local
38 *count = ARRAY_SIZE(kind); in tu102_mmu_kind()
40 return kind; in tu102_mmu_kind()
49 .kind = tu102_mmu_kind,
H A Dgf100.c36 kind[256] = { in gf100_mmu_kind() local
71 *count = ARRAY_SIZE(kind); in gf100_mmu_kind()
73 return kind; in gf100_mmu_kind()
82 .kind = gf100_mmu_kind,
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/dma/
H A Dusergf119.c76 u32 kind, page; in gf119_dmaobj_new() local
95 args->v0.version, args->v0.page, args->v0.kind); in gf119_dmaobj_new()
96 kind = args->v0.kind; in gf119_dmaobj_new()
101 kind = GF119_DMA_V0_KIND_PITCH; in gf119_dmaobj_new()
104 kind = GF119_DMA_V0_KIND_VM; in gf119_dmaobj_new()
112 dmaobj->flags0 = (kind << 20) | (page << 6); in gf119_dmaobj_new()
H A Dusernv50.c78 u32 user, part, comp, kind; in nv50_dmaobj_new() local
98 args->v0.kind); in nv50_dmaobj_new()
102 kind = args->v0.kind; in nv50_dmaobj_new()
109 kind = NV50_DMA_V0_KIND_PITCH; in nv50_dmaobj_new()
114 kind = NV50_DMA_V0_KIND_VM; in nv50_dmaobj_new()
119 if (user > 2 || part > 2 || comp > 3 || kind > 0x7f) in nv50_dmaobj_new()
121 dmaobj->flags0 = (comp << 29) | (kind << 22) | (user << 20) | in nv50_dmaobj_new()
H A Dusergf100.c78 u32 kind, user, unkn; in gf100_dmaobj_new() local
97 args->v0.version, args->v0.priv, args->v0.kind); in gf100_dmaobj_new()
98 kind = args->v0.kind; in gf100_dmaobj_new()
104 kind = GF100_DMA_V0_KIND_PITCH; in gf100_dmaobj_new()
108 kind = GF100_DMA_V0_KIND_VM; in gf100_dmaobj_new()
117 dmaobj->flags0 |= (kind << 22) | (user << 20) | oclass->base.oclass; in gf100_dmaobj_new()
H A Dusergv100.c75 u32 kind, page; in gv100_dmaobj_new() local
94 args->v0.version, args->v0.page, args->v0.kind); in gv100_dmaobj_new()
95 kind = args->v0.kind != 0; in gv100_dmaobj_new()
99 kind = 0; in gv100_dmaobj_new()
104 if (kind) in gv100_dmaobj_new()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_parse_tcp_hdr_opt_dynptr.c33 __u8 kind, hdr_len; in parse_hdr_opt() local
34 __u8 buffer[sizeof(kind) + sizeof(hdr_len) + sizeof(*server_id)]; in parse_hdr_opt()
43 kind = data[0]; in parse_hdr_opt()
45 if (kind == TCPOPT_EOL) in parse_hdr_opt()
48 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
61 if (kind == tcp_hdr_opt_kind_tpr) { in parse_hdr_opt()
/openbmc/linux/include/uapi/linux/tc_ematch/
H A Dtc_em_meta.h18 __u16 kind; member
24 #define TCF_META_TYPE(kind) (((kind) & TCF_META_TYPE_MASK) >> 12) argument
26 #define TCF_META_ID(kind) ((kind) & TCF_META_ID_MASK) argument
/openbmc/qemu/hw/usb/
H A Ddev-hid.c592 if (hs->kind == HID_MOUSE) { in usb_hid_handle_control()
596 } else if (hs->kind == HID_TABLET) { in usb_hid_handle_control()
611 if (hs->kind == HID_MOUSE || hs->kind == HID_TABLET) { in usb_hid_handle_control()
613 } else if (hs->kind == HID_KEYBOARD) { in usb_hid_handle_control()
618 if (hs->kind == HID_KEYBOARD) { in usb_hid_handle_control()
625 if (hs->kind != HID_KEYBOARD && hs->kind != HID_MOUSE) { in usb_hid_handle_control()
632 if (hs->kind != HID_KEYBOARD && hs->kind != HID_MOUSE) { in usb_hid_handle_control()
644 if (hs->kind == HID_MOUSE || hs->kind == HID_TABLET) { in usb_hid_handle_control()
665 if (hs->kind == HID_MOUSE || hs->kind == HID_TABLET) { in usb_hid_handle_data()
673 if (hs->kind == HID_MOUSE || hs->kind == HID_TABLET) { in usb_hid_handle_data()
[all …]
/openbmc/linux/include/trace/events/
H A Dqdisc.h85 __string( kind, q->ops->id )
92 __assign_str(kind, q->ops->id);
98 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
110 __string( kind, q->ops->id )
117 __assign_str(kind, q->ops->id);
123 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
135 __string( kind, ops->id )
141 __assign_str(kind, ops->id);
146 __get_str(dev), __get_str(kind),
/openbmc/qemu/bsd-user/freebsd/
H A Dos-sys.c132 if (kind) { in oidfmt()
133 *kind = *(uint32_t *)buf; in oidfmt()
171 hlen = host_ctl_size[kind & CTLTYPE]; in h2g_old_sysctl()
172 glen = guest_ctl_size[kind & CTLTYPE]; in h2g_old_sysctl()
208 switch (kind & CTLTYPE) { in h2g_old_sysctl()
255 uint32_t kind = 0; in do_freebsd_sysctl_oid() local
263 oidfmt(snamep, namelen, NULL, &kind); in do_freebsd_sysctl_oid()
415 if (kind == CTLTYPE_LONG || kind == CTLTYPE_ULONG) { in do_freebsd_sysctl_oid()
445 h2g_old_sysctl(holdp, &holdlen, kind); in do_freebsd_sysctl_oid()
454 h2g_old_sysctl(holdp, &holdlen, kind); in do_freebsd_sysctl_oid()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_offload.sh130 local kind=$1; shift
134 if [[ $kind == "--" ]]; then
144 with_$kind $(printf %x: $handle) "$locus" \
155 kind=$(qdisc_stats_get $h1 $parent: .kind)
156 kind=${kind%\"}
158 name="-${kind^^}$name"
/openbmc/linux/net/dsa/
H A Dtrace.h33 __string(kind, dsa_port_kind(dp))
43 __assign_str(kind, dsa_port_kind(dp));
92 __string(kind, dsa_port_kind(dp))
102 __assign_str(kind, dsa_port_kind(dp));
152 __string(kind, dsa_port_kind(dp))
161 __assign_str(kind, dsa_port_kind(dp));
332 __string(kind, dsa_port_kind(dp))
342 __assign_str(kind, dsa_port_kind(dp));
377 __string(kind, dsa_port_kind(dp))
387 __assign_str(kind, dsa_port_kind(dp));
[all …]

12345678910>>...34