/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | bus.h | 21 int nv04_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **); 22 int nv31_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **); 23 int nv50_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **); 24 int g94_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **); 25 int gf100_bus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_bus **);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gf100.c | 32 nvkm_wr32(ce->engine.subdev.device, ce->addr + 0x084, ce->engine.subdev.inst); in gf100_ce_init() 64 gf100_ce_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gf100_ce_new() argument 67 return nvkm_falcon_new_(inst ? &gf100_ce1 : &gf100_ce0, device, type, inst, true, in gf100_ce_new() 68 0x104000 + (inst * 0x1000), pengine); in gf100_ce_new()
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | sme-inst.h | 12 .inst 0x4bf5800 \ 34 .inst 0xe1000000 \ 45 .inst 0xe1200000 \ 57 .inst 0xe11f8000 \ 67 .inst 0xe13f8000 \
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
H A D | mspdec.h | 5 int g98_mspdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_engine **); 6 int gt215_mspdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_engine **); 7 int gf100_mspdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_engine **); 8 int gk104_mspdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_engine **);
|
/kernel/linux/linux-5.10/drivers/phy/samsung/ |
H A D | phy-exynos5-usbdrd.c | 163 void (*phy_isol)(struct phy_usb_instance *inst, u32 on); 165 unsigned int (*set_refclk)(struct phy_usb_instance *inst); 215 struct exynos5_usbdrd_phy *to_usbdrd_phy(struct phy_usb_instance *inst) in to_usbdrd_phy() argument 217 return container_of((inst), struct exynos5_usbdrd_phy, in to_usbdrd_phy() 218 phys[(inst)->index]); in to_usbdrd_phy() 258 static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst, in exynos5_usbdrd_phy_isol() argument 263 if (!inst->reg_pmu) in exynos5_usbdrd_phy_isol() 268 regmap_update_bits(inst->reg_pmu, inst->pmu_offset, in exynos5_usbdrd_phy_isol() 278 exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst) in exynos5_usbdrd_pipe3_set_refclk() argument 324 exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst) exynos5_usbdrd_utmi_set_refclk() argument 386 struct phy_usb_instance *inst = phy_get_drvdata(phy); exynos5_usbdrd_phy_init() local 448 struct phy_usb_instance *inst = phy_get_drvdata(phy); exynos5_usbdrd_phy_exit() local 481 struct phy_usb_instance *inst = phy_get_drvdata(phy); exynos5_usbdrd_phy_power_on() local 533 struct phy_usb_instance *inst = phy_get_drvdata(phy); exynos5_usbdrd_phy_power_off() local 699 struct phy_usb_instance *inst = phy_get_drvdata(phy); exynos5_usbdrd_phy_calibrate() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gk104.c | 68 nvkm_wr32(device, 0x800000 + (chan->id * 8), 0x80000000 | chan->inst->addr >> 12); in gk104_chan_bind_inst() 87 nvkm_kmap(chan->inst); in gk104_chan_ramfc_write() 88 nvkm_wo32(chan->inst, 0x08, lower_32_bits(userd)); in gk104_chan_ramfc_write() 89 nvkm_wo32(chan->inst, 0x0c, upper_32_bits(userd)); in gk104_chan_ramfc_write() 90 nvkm_wo32(chan->inst, 0x10, 0x0000face); in gk104_chan_ramfc_write() 91 nvkm_wo32(chan->inst, 0x30, 0xfffff902); in gk104_chan_ramfc_write() 92 nvkm_wo32(chan->inst, 0x48, lower_32_bits(offset)); in gk104_chan_ramfc_write() 93 nvkm_wo32(chan->inst, 0x4c, upper_32_bits(offset) | (limit2 << 16)); in gk104_chan_ramfc_write() 94 nvkm_wo32(chan->inst, 0x84, 0x20400000); in gk104_chan_ramfc_write() 95 nvkm_wo32(chan->inst, in gk104_chan_ramfc_write() 829 gk104_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fifo **pfifo) gk104_fifo_new() argument [all...] |
H A D | gm107.c | 35 .inst = &gf100_chan_inst, 49 nvkm_wo32(memory, offset + 4, chan->inst->addr >> 12); in gm107_runl_insert_chan() 104 u32 inst = nvkm_rd32(device, 0x002800 + (unit * 0x10)); in gm107_fifo_intr_mmu_fault_unit() local 110 info.inst = (u64)inst << 12; in gm107_fifo_intr_mmu_fault_unit() 152 gm107_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gm107_fifo_new() argument 155 return nvkm_fifo_new_(&gm107_fifo, device, type, inst, pfifo); in gm107_fifo_new()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | jpeg_v4_0_3.c | 94 amdgpu_ih_srcid_jpeg[j], &adev->jpeg.inst->irq); in jpeg_v4_0_3_sw_init() 111 ring = &adev->jpeg.inst[i].ring_dec[j]; in jpeg_v4_0_3_sw_init() 113 ring->vm_hub = AMDGPU_MMHUB0(adev->jpeg.inst[i].aid_id); in jpeg_v4_0_3_sw_init() 128 sprintf(ring->name, "jpeg_dec_%d.%d", adev->jpeg.inst[i].aid_id, j); in jpeg_v4_0_3_sw_init() 129 r = amdgpu_ring_init(adev, ring, 512, &adev->jpeg.inst->irq, 0, in jpeg_v4_0_3_sw_init() 136 adev->jpeg.inst[i].external.jpeg_pitch[j] = in jpeg_v4_0_3_sw_init() 213 ring = &adev->jpeg.inst[i].ring_dec[j]; in jpeg_v4_0_3_start_sriov() 308 ring = &adev->jpeg.inst[i].ring_dec[j]; in jpeg_v4_0_3_hw_init() 319 ring = adev->jpeg.inst[i].ring_dec; in jpeg_v4_0_3_hw_init() 326 adev->jpeg.inst[ in jpeg_v4_0_3_hw_init() 979 uint32_t i, inst; jpeg_v4_0_3_process_interrupt() local [all...] |
H A D | vcn_v1_0.c | 97 VCN_1_0__SRCID__UVD_SYSTEM_MESSAGE_INTERRUPT, &adev->vcn.inst->irq); in vcn_v1_0_sw_init() 104 &adev->vcn.inst->irq); in vcn_v1_0_sw_init() 122 ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_sw_init() 125 r = amdgpu_ring_init(adev, ring, 512, &adev->vcn.inst->irq, 0, in vcn_v1_0_sw_init() 130 adev->vcn.internal.scratch9 = adev->vcn.inst->external.scratch9 = in vcn_v1_0_sw_init() 132 adev->vcn.internal.data0 = adev->vcn.inst->external.data0 = in vcn_v1_0_sw_init() 134 adev->vcn.internal.data1 = adev->vcn.inst->external.data1 = in vcn_v1_0_sw_init() 136 adev->vcn.internal.cmd = adev->vcn.inst->external.cmd = in vcn_v1_0_sw_init() 138 adev->vcn.internal.nop = adev->vcn.inst->external.nop = in vcn_v1_0_sw_init() 144 ring = &adev->vcn.inst in vcn_v1_0_sw_init() [all...] |
H A D | vcn_v4_0_3.c | 105 VCN_4_0__SRCID__UVD_ENC_GENERAL_PURPOSE, &adev->vcn.inst->irq); in vcn_v4_0_3_sw_init() 114 ring = &adev->vcn.inst[i].ring_enc[0]; in vcn_v4_0_3_sw_init() 126 ring->vm_hub = AMDGPU_MMHUB0(adev->vcn.inst[i].aid_id); in vcn_v4_0_3_sw_init() 127 sprintf(ring->name, "vcn_unified_%d", adev->vcn.inst[i].aid_id); in vcn_v4_0_3_sw_init() 128 r = amdgpu_ring_init(adev, ring, 512, &adev->vcn.inst->irq, 0, in vcn_v4_0_3_sw_init() 130 &adev->vcn.inst[i].sched_score); in vcn_v4_0_3_sw_init() 134 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v4_0_3_sw_init() 139 amdgpu_vcn_fwlog_init(&adev->vcn.inst[i]); in vcn_v4_0_3_sw_init() 178 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v4_0_3_sw_fini() 216 ring = &adev->vcn.inst[ in vcn_v4_0_3_hw_init() 1593 uint32_t i, inst; vcn_v4_0_3_process_interrupt() local [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | cm.h | 61 void (*module_enable)(u8 mode, u8 part, u16 inst, u16 clkctrl_offs); 62 void (*module_disable)(u8 part, u16 inst, u16 clkctrl_offs); 63 u32 (*xlate_clkctrl)(u8 part, u16 inst, u16 clkctrl_offs); 72 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs); 73 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs); 74 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs);
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | cm.h | 60 void (*module_enable)(u8 mode, u8 part, u16 inst, u16 clkctrl_offs); 61 void (*module_disable)(u8 part, u16 inst, u16 clkctrl_offs); 62 u32 (*xlate_clkctrl)(u8 part, u16 inst, u16 clkctrl_offs); 71 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs); 72 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs); 73 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs);
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | e500_emulate.c | 87 unsigned int inst, int *advance) in kvmppc_e500_emul_ehpriv() 91 switch (get_oc(inst)) { in kvmppc_e500_emul_ehpriv() 115 static int kvmppc_e500_emul_mftmr(struct kvm_vcpu *vcpu, unsigned int inst, in kvmppc_e500_emul_mftmr() argument 119 if (get_tmrn(inst) == TMRN_TMCFG0) { in kvmppc_e500_emul_mftmr() 129 unsigned int inst, int *advance) in kvmppc_core_emulate_op_e500() 132 int ra = get_ra(inst); in kvmppc_core_emulate_op_e500() 133 int rb = get_rb(inst); in kvmppc_core_emulate_op_e500() 134 int rt = get_rt(inst); in kvmppc_core_emulate_op_e500() 137 switch (get_op(inst)) { in kvmppc_core_emulate_op_e500() 139 switch (get_xop(inst)) { in kvmppc_core_emulate_op_e500() 86 kvmppc_e500_emul_ehpriv(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_e500_emul_ehpriv() argument 128 kvmppc_core_emulate_op_e500(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_core_emulate_op_e500() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | e500_emulate.c | 87 unsigned int inst, int *advance) in kvmppc_e500_emul_ehpriv() 91 switch (get_oc(inst)) { in kvmppc_e500_emul_ehpriv() 115 static int kvmppc_e500_emul_mftmr(struct kvm_vcpu *vcpu, unsigned int inst, in kvmppc_e500_emul_mftmr() argument 119 if (get_tmrn(inst) == TMRN_TMCFG0) { in kvmppc_e500_emul_mftmr() 129 unsigned int inst, int *advance) in kvmppc_core_emulate_op_e500() 132 int ra = get_ra(inst); in kvmppc_core_emulate_op_e500() 133 int rb = get_rb(inst); in kvmppc_core_emulate_op_e500() 134 int rt = get_rt(inst); in kvmppc_core_emulate_op_e500() 137 switch (get_op(inst)) { in kvmppc_core_emulate_op_e500() 139 switch (get_xop(inst)) { in kvmppc_core_emulate_op_e500() 86 kvmppc_e500_emul_ehpriv(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_e500_emul_ehpriv() argument 128 kvmppc_core_emulate_op_e500(struct kvm_vcpu *vcpu, unsigned int inst, int *advance) kvmppc_core_emulate_op_e500() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
H A D | hfi_parser.c | 218 static void parser_init(struct venus_inst *inst, u32 *codecs, u32 *domain) in parser_init() argument 220 if (!inst || !IS_V1(inst->core)) in parser_init() 223 *codecs = inst->hfi_codec; in parser_init() 224 *domain = inst->session_type; in parser_init() 227 static void parser_fini(struct venus_inst *inst, u32 codecs, u32 domain) in parser_fini() argument 233 if (!inst || !IS_V1(inst->core)) in parser_fini() 236 caps = inst->core->caps; in parser_fini() 237 dom = inst in parser_fini() 246 hfi_parser(struct venus_core *core, struct venus_inst *inst, void *buf, u32 size) hfi_parser() argument [all...] |
/kernel/linux/linux-6.6/drivers/phy/samsung/ |
H A D | phy-exynos5250-usb2.c | 174 static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on) in exynos5250_isol() argument 176 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_isol() 181 inst->cfg->id == EXYNOS5250_DEVICE) in exynos5250_isol() 184 inst->cfg->id == EXYNOS5250_HOST) in exynos5250_isol() 187 inst->cfg->id == EXYNOS5250_HOST) in exynos5250_isol() 195 static int exynos5250_power_on(struct samsung_usb2_phy_instance *inst) in exynos5250_power_on() argument 197 struct samsung_usb2_phy_driver *drv = inst->drv; in exynos5250_power_on() 204 switch (inst->cfg->id) { in exynos5250_power_on() 316 exynos5250_isol(inst, 0); in exynos5250_power_on() 321 static int exynos5250_power_off(struct samsung_usb2_phy_instance *inst) in exynos5250_power_off() argument [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | chacha20poly1305.c | 502 struct aead_instance *inst = aead_alg_instance(tfm); in chachapoly_init() local 503 struct chachapoly_instance_ctx *ictx = aead_instance_ctx(inst); in chachapoly_init() 546 static void chachapoly_free(struct aead_instance *inst) in chachapoly_free() argument 548 struct chachapoly_instance_ctx *ctx = aead_instance_ctx(inst); in chachapoly_free() 552 kfree(inst); in chachapoly_free() 559 struct aead_instance *inst; in chachapoly_create() local 572 inst = kzalloc(sizeof(*inst) + sizeof(*ctx), GFP_KERNEL); in chachapoly_create() 573 if (!inst) in chachapoly_create() 575 ctx = aead_instance_ctx(inst); in chachapoly_create() [all...] |
H A D | cbc.c | 175 struct skcipher_instance *inst; in crypto_cbc_create() local 179 inst = skcipher_alloc_instance_simple(tmpl, tb); in crypto_cbc_create() 180 if (IS_ERR(inst)) in crypto_cbc_create() 181 return PTR_ERR(inst); in crypto_cbc_create() 183 alg = skcipher_ialg_simple(inst); in crypto_cbc_create() 189 inst->alg.encrypt = crypto_cbc_encrypt; in crypto_cbc_create() 190 inst->alg.decrypt = crypto_cbc_decrypt; in crypto_cbc_create() 192 err = skcipher_register_instance(tmpl, inst); in crypto_cbc_create() 195 inst->free(inst); in crypto_cbc_create() [all...] |
/kernel/linux/linux-5.10/include/crypto/ |
H A D | algapi.h | 39 void (*free)(struct crypto_instance *inst); 79 struct crypto_instance *inst; member 111 struct crypto_instance *inst); 112 void crypto_unregister_instance(struct crypto_instance *inst); 114 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst, 125 int crypto_inst_setname(struct crypto_instance *inst, const char *name, 190 static inline void *crypto_instance_ctx(struct crypto_instance *inst) in crypto_instance_ctx() argument 192 return inst->__ctx; in crypto_instance_ctx() 200 struct crypto_instance *inst, in crypto_grab_cipher() 206 return crypto_grab_spawn(&spawn->base, inst, nam in crypto_grab_cipher() 199 crypto_grab_cipher(struct crypto_cipher_spawn *spawn, struct crypto_instance *inst, const char *name, u32 type, u32 mask) crypto_grab_cipher() argument [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | cbc.c | 176 struct skcipher_instance *inst; in crypto_cbc_create() local 180 inst = skcipher_alloc_instance_simple(tmpl, tb); in crypto_cbc_create() 181 if (IS_ERR(inst)) in crypto_cbc_create() 182 return PTR_ERR(inst); in crypto_cbc_create() 184 alg = skcipher_ialg_simple(inst); in crypto_cbc_create() 190 inst->alg.encrypt = crypto_cbc_encrypt; in crypto_cbc_create() 191 inst->alg.decrypt = crypto_cbc_decrypt; in crypto_cbc_create() 193 err = skcipher_register_instance(tmpl, inst); in crypto_cbc_create() 196 inst->free(inst); in crypto_cbc_create() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
H A D | rv1_clk_mgr_clk.c | 39 #define CLK_BASE_INNER(inst) \ 40 CLK_BASE__INST ## inst ## _SEG0 43 #define CLK_REG(reg_name, block, inst)\ 44 CLK_BASE(mm ## block ## _ ## inst ## _ ## reg_name ## _BASE_IDX) + \ 45 mm ## block ## _ ## inst ## _ ## reg_name
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
H A D | rv1_clk_mgr_clk.c | 39 #define CLK_BASE_INNER(inst) \ 40 CLK_BASE__INST ## inst ## _SEG0 43 #define CLK_REG(reg_name, block, inst)\ 44 CLK_BASE(mm ## block ## _ ## inst ## _ ## reg_name ## _BASE_IDX) + \ 45 mm ## block ## _ ## inst ## _ ## reg_name
|
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | trace.h | 17 struct tracefs_instance *inst; member 27 int enable_tracer_by_name(struct tracefs_instance *inst, const char *tracer_name); 28 void disable_tracer(struct tracefs_instance *inst); 34 void destroy_instance(struct tracefs_instance *inst); 36 int save_trace_to_file(struct tracefs_instance *inst, const char *filename);
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | efi.h | 210 #define efi_table_attr(inst, attr) \ 211 (efi_is_native() ? (inst)->attr \ 212 : efi_mixed_table_attr((inst), attr)) 214 #define efi_mixed_table_attr(inst, attr) \ 215 (__typeof__(inst->attr)) \ 216 _Generic(inst->mixed_mode.attr, \ 217 u32: (unsigned long)(inst->mixed_mode.attr), \ 218 default: (inst->mixed_mode.attr)) 333 #define __efi64_thunk_map(inst, func, ...) \ 334 efi64_thunk(inst [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | gk104.c | 39 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) in gk104_clkgate_enable() 51 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) in gk104_clkgate_enable() 68 if (!nvkm_device_subdev(dev, order[i].type, order[i].inst)) in gk104_clkgate_fini() 110 enum nvkm_subdev_type type, int inst, in gk104_therm_new_() 120 nvkm_therm_ctor(&therm->base, device, type, inst, func); in gk104_therm_new_() 128 gk104_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_therm **ptherm) in gk104_therm_new() argument 130 return gk104_therm_new_(&gk104_therm_func, device, type, inst, in gk104_therm_new() 109 gk104_therm_new_(const struct nvkm_therm_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, const struct gk104_clkgate_engine_info *clkgate_order, const struct gf100_idle_filter *idle_filter, struct nvkm_therm **ptherm) gk104_therm_new_() argument
|