| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/ |
| D | mmu.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 kfree(mmu->kind); in nvif_mmu_dtor() 52 mmu->kind = NULL; in nvif_mmu_ctor() 76 mmu->kind = kmalloc_array(mmu->kind_nr, sizeof(*mmu->kind), in nvif_mmu_ctor() 78 if (!mmu->kind && mmu->kind_nr) in nvif_mmu_ctor() 105 if (args.kind ) mmu->type[i].type |= NVIF_MEM_KIND; in nvif_mmu_ctor() 113 struct nvif_mmu_kind_v0 *kind; in nvif_mmu_ctor() local 114 size_t argc = struct_size(kind, data, mmu->kind_nr); in nvif_mmu_ctor() 116 if (ret = -ENOMEM, !(kind = kmalloc(argc, GFP_KERNEL))) in nvif_mmu_ctor() 118 kind->version = 0; in nvif_mmu_ctor() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/ |
| D | mmu.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 33 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() 108 if (args.kind ) mmu->type[i].type |= NVIF_MEM_KIND; in nvif_mmu_ctor() 116 struct nvif_mmu_kind_v0 *kind; in nvif_mmu_ctor() local 117 size_t argc = struct_size(kind, data, mmu->kind_nr); in nvif_mmu_ctor() 119 if (ret = -ENOMEM, !(kind = kmalloc(argc, GFP_KERNEL))) in nvif_mmu_ctor() 121 kind->version = 0; in nvif_mmu_ctor() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
| D | nouveau_mem.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 54 args.nv50.kind = mem->kind; in nouveau_mem_map() 68 args.gf100.kind = mem->kind; in nouveau_mem_map() 107 type = drm->ttm.type_ncoh[!!mem->kind]; in nouveau_mem_host() 111 if (mem->kind && !(mmu->type[type].type & NVIF_MEM_KIND)) in nouveau_mem_host() 112 mem->comp = mem->kind = 0; in nouveau_mem_host() 115 mem->kind = mmu->kind[mem->kind]; in nouveau_mem_host() 158 .bankswz = mmu->kind[mem->kind] == 2, in nouveau_mem_vram() 187 nouveau_mem_new(struct nouveau_cli *cli, u8 kind, u8 comp, in nouveau_mem_new() argument 195 mem->kind = kind; in nouveau_mem_new()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
| D | nouveau_mem.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 53 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()
|
| /kernel/linux/linux-5.10/include/trace/events/ |
| D | qdisc.h | 57 __string( kind, q->ops->id ) 64 __assign_str(kind, q->ops->id); 69 TP_printk("dev=%s kind=%s parent=%x:%x handle=%x:%x", __get_str(dev), 70 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent), 82 __string( kind, q->ops->id ) 89 __assign_str(kind, q->ops->id); 94 TP_printk("dev=%s kind=%s parent=%x:%x handle=%x:%x", __get_str(dev), 95 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent), 107 __string( kind, ops->id ) 113 __assign_str(kind, ops->id); [all …]
|
| /kernel/linux/linux-6.6/include/trace/events/ |
| D | qdisc.h | 85 __string( kind, q->ops->id ) 92 __assign_str(kind, q->ops->id); 97 TP_printk("dev=%s kind=%s parent=%x:%x handle=%x:%x", __get_str(dev), 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); 122 TP_printk("dev=%s kind=%s parent=%x:%x handle=%x:%x", __get_str(dev), 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); [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | fschmd.c | 263 enum chips kind; member 327 if (data->kind == fscher || data->kind >= fschrc) in in_value_show() 373 FSCHMD_REG_TEMP_LIMIT[data->kind][index], v); in temp_max_store() 463 FSCHMD_REG_FAN_RIPPLE[data->kind][index]); in fan_div_store() 470 FSCHMD_REG_FAN_RIPPLE[data->kind][index], reg); in fan_div_store() 513 if (val || data->kind == fscsyl) in pwm_auto_point1_pwm_show() 533 if (v || data->kind == fscsyl) { in pwm_auto_point1_pwm_store() 541 FSCHMD_REG_FAN_MIN[data->kind][index], v); in pwm_auto_point1_pwm_store() 699 int kind = data->kind + 1; /* 0-x array index -> 1-x module param */ in watchdog_set_timeout() local 702 if (timeout <= 510 || kind == fscpos || kind == fscscy) in watchdog_set_timeout() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | fschmd.c | 263 enum chips kind; member 327 if (data->kind == fscher || data->kind >= fschrc) in in_value_show() 373 FSCHMD_REG_TEMP_LIMIT[data->kind][index], v); in temp_max_store() 463 FSCHMD_REG_FAN_RIPPLE[data->kind][index]); in fan_div_store() 470 FSCHMD_REG_FAN_RIPPLE[data->kind][index], reg); in fan_div_store() 513 if (val || data->kind == fscsyl) in pwm_auto_point1_pwm_show() 533 if (v || data->kind == fscsyl) { in pwm_auto_point1_pwm_store() 541 FSCHMD_REG_FAN_MIN[data->kind][index], v); in pwm_auto_point1_pwm_store() 699 int kind = data->kind + 1; /* 0-x array index -> 1-x module param */ in watchdog_set_timeout() local 702 if (timeout <= 510 || kind == fscpos || kind == fscscy) in watchdog_set_timeout() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvif/ |
| D | mmu.h | 31 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()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/ |
| D | mmu.h | 31 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()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
| D | usernv50.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 78 u32 user, part, comp, kind; in nv50_dmaobj_new() local 96 "comp %d kind %02x\n", args->v0.version, in nv50_dmaobj_new() 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()
|
| D | usergf119.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 76 u32 kind, page; in gf119_dmaobj_new() local 94 "create gf100 dma vers %d page %d kind %02x\n", in gf119_dmaobj_new() 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()
|
| D | usergf100.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 78 u32 kind, user, unkn; in gf100_dmaobj_new() local 96 "create gf100 dma vers %d priv %d kind %02x\n", in gf100_dmaobj_new() 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()
|
| D | usergv100.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 75 u32 kind, page; in gv100_dmaobj_new() local 93 "create gv100 dma vers %d page %d kind %02x\n", in gv100_dmaobj_new() 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()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
| D | usernv50.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 78 u32 user, part, comp, kind; in nv50_dmaobj_new() local 96 "comp %d kind %02x\n", args->v0.version, in nv50_dmaobj_new() 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()
|
| D | usergf119.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 76 u32 kind, page; in gf119_dmaobj_new() local 94 "create gf100 dma vers %d page %d kind %02x\n", in gf119_dmaobj_new() 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()
|
| D | usergf100.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 78 u32 kind, user, unkn; in gf100_dmaobj_new() local 96 "create gf100 dma vers %d priv %d kind %02x\n", in gf100_dmaobj_new() 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()
|
| D | usergv100.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 75 u32 kind, page; in gv100_dmaobj_new() local 93 "create gv100 dma vers %d page %d kind %02x\n", in gv100_dmaobj_new() 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()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | sch_offload.sh | 130 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%\"} 157 kind=${kind#\"} 158 name="-${kind^^}$name" 180 local kind
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | trampoline.c | 150 int kind; in bpf_trampoline_get_progs() local 157 for (kind = 0; kind < BPF_TRAMP_MAX; kind++) { in bpf_trampoline_get_progs() 158 tprogs[kind].nr_progs = tr->progs_cnt[kind]; in bpf_trampoline_get_progs() 159 *total += tr->progs_cnt[kind]; in bpf_trampoline_get_progs() 160 progs = tprogs[kind].progs; in bpf_trampoline_get_progs() 162 hlist_for_each_entry(aux, &tr->progs_hlist[kind], tramp_hlist) in bpf_trampoline_get_progs() 379 enum bpf_tramp_prog_type kind; in bpf_trampoline_link_prog() local 383 kind = bpf_attach_type_to_tramp(prog); in bpf_trampoline_link_prog() 396 if (kind == BPF_TRAMP_REPLACE) { in bpf_trampoline_link_prog() 416 hlist_add_head(&prog->aux->tramp_hlist, &tr->progs_hlist[kind]); in bpf_trampoline_link_prog() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | test_parse_tcp_hdr_opt_dynptr.c | 21 /* Kind number used for experiments */ 33 __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()
|
| /kernel/linux/linux-6.6/net/dsa/ |
| D | trace.h | 33 __string(kind, dsa_port_kind(dp)) 43 __assign_str(kind, dsa_port_kind(dp)); 52 __get_str(dev), __get_str(kind), __entry->port, __entry->addr, 92 __string(kind, dsa_port_kind(dp)) 102 __assign_str(kind, dsa_port_kind(dp)); 111 __get_str(dev), __get_str(kind), __entry->port, __entry->addr, 152 __string(kind, dsa_port_kind(dp)) 161 __assign_str(kind, dsa_port_kind(dp)); 169 __get_str(dev), __get_str(kind), __entry->port, 332 __string(kind, dsa_port_kind(dp)) [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/tc_ematch/ |
| D | tc_em_meta.h | 18 __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
|
| /kernel/linux/linux-5.10/include/uapi/linux/tc_ematch/ |
| D | tc_em_meta.h | 18 __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
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| D | vmmnv50.c | 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 238 u8 aper, kind, kind_inv, comp, priv, ro; in nv50_vmm_valid() local 248 kind = args->v0.kind & 0x7f; in nv50_vmm_valid() 254 kind = 0x00; in nv50_vmm_valid() 281 kindm = vmm->mmu->func->kind(vmm->mmu, &kindn, &kind_inv); in nv50_vmm_valid() 282 if (kind >= kindn || kindm[kind] == kind_inv) { in nv50_vmm_valid() 283 VMM_DEBUG(vmm, "kind %02x", kind); in nv50_vmm_valid() 287 if (map->mem && map->mem->type != kindm[kind]) { in nv50_vmm_valid() 288 VMM_DEBUG(vmm, "kind %02x bankswz: %d %d", kind, in nv50_vmm_valid() 289 kindm[kind], map->mem->type); in nv50_vmm_valid() [all …]
|