/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_uc.h | 11 int xe_uc_init(struct xe_uc *uc); 12 int xe_uc_init_hwconfig(struct xe_uc *uc); 13 int xe_uc_init_post_hwconfig(struct xe_uc *uc); 14 int xe_uc_init_hw(struct xe_uc *uc); 15 int xe_uc_fini_hw(struct xe_uc *uc); 16 void xe_uc_gucrc_disable(struct xe_uc *uc); 17 int xe_uc_reset_prepare(struct xe_uc *uc); 18 void xe_uc_stop_prepare(struct xe_uc *uc); 19 int xe_uc_stop(struct xe_uc *uc); 20 int xe_uc_start(struct xe_uc *uc); [all...] |
H A D | xe_uc.c | 21 uc_to_gt(struct xe_uc *uc) argument 23 return container_of(uc, struct xe_gt, uc); 27 uc_to_xe(struct xe_uc *uc) argument 29 return gt_to_xe(uc_to_gt(uc)); 33 int xe_uc_init(struct xe_uc *uc) argument 35 struct xe_device *xe = uc_to_xe(uc); 44 ret = xe_guc_init(&uc->guc); 48 ret = xe_huc_init(&uc->huc); 52 ret = xe_gsc_init(&uc 87 xe_uc_init_post_hwconfig(struct xe_uc *uc) argument 110 uc_reset(struct xe_uc *uc) argument 124 xe_uc_sanitize(struct xe_uc *uc) argument 130 xe_uc_sanitize_reset(struct xe_uc *uc) argument 143 xe_uc_init_hwconfig(struct xe_uc *uc) argument 162 xe_uc_init_hw(struct xe_uc *uc) argument 204 xe_uc_fini_hw(struct xe_uc *uc) argument 209 xe_uc_reset_prepare(struct xe_uc *uc) argument 218 xe_uc_gucrc_disable(struct xe_uc *uc) argument 223 xe_uc_stop_prepare(struct xe_uc *uc) argument 229 xe_uc_stop(struct xe_uc *uc) argument 238 xe_uc_start(struct xe_uc *uc) argument 247 uc_reset_wait(struct xe_uc *uc) argument 259 xe_uc_suspend(struct xe_uc *uc) argument 284 xe_uc_remove(struct xe_uc *uc) argument [all...] |
H A D | xe_uc_debugfs.h | 12 void xe_uc_debugfs_register(struct xe_uc *uc, struct dentry *parent);
|
H A D | xe_uc_debugfs.c | 14 void xe_uc_debugfs_register(struct xe_uc *uc, struct dentry *parent) argument 18 root = debugfs_create_dir("uc", parent); 24 xe_guc_debugfs_register(&uc->guc, root); 25 xe_huc_debugfs_register(&uc->huc, root);
|
/linux-master/drivers/md/ |
H A D | dm-unstripe.c | 28 static void cleanup_unstripe(struct unstripe_c *uc, struct dm_target *ti) argument 30 if (uc->dev) 31 dm_put_device(ti, uc->dev); 32 kfree(uc); 41 struct unstripe_c *uc; local 51 uc = kzalloc(sizeof(*uc), GFP_KERNEL); 52 if (!uc) { 57 if (kstrtouint(argv[0], 10, &uc->stripes) || !uc 112 struct unstripe_c *uc = ti->private; local 119 struct unstripe_c *uc = ti->private; local 137 struct unstripe_c *uc = ti->private; local 148 struct unstripe_c *uc = ti->private; local 170 struct unstripe_c *uc = ti->private; local 178 struct unstripe_c *uc = ti->private; local [all...] |
/linux-master/tools/testing/selftests/kvm/include/s390x/ |
H A D | ucall.h | 13 static inline void ucall_arch_do_ucall(vm_vaddr_t uc) argument 16 asm volatile ("diag 0,%0,0x501" : : "a"(uc) : "memory");
|
/linux-master/tools/testing/selftests/kvm/include/aarch64/ |
H A D | ucall.h | 15 static inline void ucall_arch_do_ucall(vm_vaddr_t uc) argument 17 WRITE_ONCE(*ucall_exit_mmio_addr, uc);
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_debugfs.c | 20 struct intel_uc *uc = m->private; local 24 str_yes_no(intel_uc_supports_guc(uc)), 25 str_yes_no(intel_uc_wants_guc(uc)), 26 str_yes_no(intel_uc_uses_guc(uc))); 28 str_yes_no(intel_uc_supports_huc(uc)), 29 str_yes_no(intel_uc_wants_huc(uc)), 30 str_yes_no(intel_uc_uses_huc(uc))); 32 str_yes_no(intel_uc_supports_guc_submission(uc)), 33 str_yes_no(intel_uc_wants_guc_submission(uc)), 34 str_yes_no(intel_uc_uses_guc_submission(uc))); 40 intel_uc_debugfs_register(struct intel_uc *uc, struct dentry *gt_root) argument [all...] |
H A D | intel_uc.h | 20 int (*sanitize)(struct intel_uc *uc); 21 void (*init_fw)(struct intel_uc *uc); 22 void (*fini_fw)(struct intel_uc *uc); 23 int (*init)(struct intel_uc *uc); 24 void (*fini)(struct intel_uc *uc); 25 int (*init_hw)(struct intel_uc *uc); 26 void (*fini_hw)(struct intel_uc *uc); 27 void (*resume_mappings)(struct intel_uc *uc); 43 void intel_uc_init_early(struct intel_uc *uc); 44 void intel_uc_init_late(struct intel_uc *uc); 99 intel_uc_wait_for_idle(struct intel_uc *uc, long timeout) argument [all...] |
H A D | intel_uc.c | 26 static void uc_expand_default_options(struct intel_uc *uc) argument 28 struct drm_i915_private *i915 = uc_to_gt(uc)->i915; 61 static int __intel_uc_reset_hw(struct intel_uc *uc) argument 63 struct intel_gt *gt = uc_to_gt(uc); 85 static void __confirm_options(struct intel_uc *uc) argument 87 struct intel_gt *gt = uc_to_gt(uc); 92 str_yes_no(intel_uc_wants_guc(uc)), 93 str_yes_no(intel_uc_wants_guc_submission(uc)), 94 str_yes_no(intel_uc_wants_huc(uc)), 95 str_yes_no(intel_uc_wants_guc_slpc(uc))); 119 intel_uc_init_early(struct intel_uc *uc) argument 135 intel_uc_init_late(struct intel_uc *uc) argument 141 intel_uc_driver_late_release(struct intel_uc *uc) argument 152 intel_uc_init_mmio(struct intel_uc *uc) argument 157 __uc_capture_load_err_log(struct intel_uc *uc) argument 165 __uc_free_load_err_log(struct intel_uc *uc) argument 173 intel_uc_driver_remove(struct intel_uc *uc) argument 279 __uc_fetch_firmwares(struct intel_uc *uc) argument 311 __uc_cleanup_firmwares(struct intel_uc *uc) argument 318 __uc_init(struct intel_uc *uc) argument 345 __uc_fini(struct intel_uc *uc) argument 352 __uc_sanitize(struct intel_uc *uc) argument 366 uc_init_wopcm(struct intel_uc *uc) argument 419 uc_is_wopcm_locked(struct intel_uc *uc) argument 428 __uc_check_hw(struct intel_uc *uc) argument 456 __uc_init_hw(struct intel_uc *uc) argument 587 __uc_fini_hw(struct intel_uc *uc) argument 606 intel_uc_reset_prepare(struct intel_uc *uc) argument 627 intel_uc_reset(struct intel_uc *uc, intel_engine_mask_t stalled) argument 636 intel_uc_reset_finish(struct intel_uc *uc) argument 651 intel_uc_cancel_requests(struct intel_uc *uc) argument 660 intel_uc_runtime_suspend(struct intel_uc *uc) argument 681 intel_uc_suspend(struct intel_uc *uc) argument 706 __uc_resume_mappings(struct intel_uc *uc) argument 712 __uc_resume(struct intel_uc *uc, bool enable_communication) argument 750 intel_uc_resume(struct intel_uc *uc) argument 759 intel_uc_runtime_resume(struct intel_uc *uc) argument [all...] |
H A D | intel_uc_debugfs.h | 12 void intel_uc_debugfs_register(struct intel_uc *uc, struct dentry *gt_root);
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | ucall_common.c | 28 struct ucall *uc; local 38 uc = &hdr->ucalls[i]; 39 uc->hva = uc; 49 struct ucall *uc; local 57 uc = &ucall_pool->ucalls[i]; 58 memset(uc->args, 0, sizeof(uc->args)); 59 return uc; 73 static void ucall_free(struct ucall *uc) argument 82 struct ucall *uc; local 103 struct ucall *uc; local 120 struct ucall *uc; local 140 get_ucall(struct kvm_vcpu *vcpu, struct ucall *uc) argument [all...] |
/linux-master/drivers/usb/typec/ucsi/ |
H A D | ucsi_ccg.c | 240 static int ccg_read(struct ucsi_ccg *uc, u16 rab, u8 *data, u32 len) argument 242 struct i2c_client *client = uc->client; 265 pm_runtime_get_sync(uc->dev); 273 dev_err(uc->dev, "i2c_transfer failed %d\n", status); 274 pm_runtime_put_sync(uc->dev); 281 pm_runtime_put_sync(uc->dev); 285 static int ccg_write(struct ucsi_ccg *uc, u16 rab, const u8 *data, u32 len) argument 287 struct i2c_client *client = uc->client; 307 pm_runtime_get_sync(uc->dev); 310 dev_err(uc 321 ccg_op_region_update(struct ucsi_ccg *uc, u32 cci) argument 349 ucsi_ccg_init(struct ucsi_ccg *uc) argument 389 ucsi_ccg_update_get_current_cam_cmd(struct ucsi_ccg *uc, u8 *data) argument 403 struct ucsi_ccg *uc = ucsi_get_drvdata(ucsi); local 475 ucsi_ccg_update_set_new_cam_cmd(struct ucsi_ccg *uc, struct ucsi_connector *con, u64 *cmd) argument 540 ucsi_ccg_nvidia_altmode(struct ucsi_ccg *uc, struct ucsi_altmode *alt) argument 562 struct ucsi_ccg *uc = ucsi_get_drvdata(ucsi); local 616 struct ucsi_ccg *uc = ucsi_get_drvdata(ucsi); local 633 struct ucsi_ccg *uc = ucsi_get_drvdata(ucsi); local 679 struct ucsi_ccg *uc = data; local 718 ccg_request_irq(struct ucsi_ccg *uc) argument 733 get_fw_info(struct ucsi_ccg *uc) argument 758 ccg_process_response(struct ucsi_ccg *uc) argument 782 ccg_read_response(struct ucsi_ccg *uc) argument 819 ccg_send_command(struct ucsi_ccg *uc, struct ccg_cmd *cmd) argument 857 ccg_cmd_enter_flashing(struct ucsi_ccg *uc) argument 881 ccg_cmd_reset(struct ucsi_ccg *uc) argument 912 ccg_cmd_port_control(struct ucsi_ccg *uc, bool enable) argument 939 ccg_cmd_jump_boot_mode(struct ucsi_ccg *uc, int bl_mode) argument 973 ccg_cmd_write_flash_row(struct ucsi_ccg *uc, u16 row, const void *data, u8 fcmd) argument 1021 ccg_cmd_validate_fw(struct ucsi_ccg *uc, unsigned int fwid) argument 1043 ccg_check_vendor_version(struct ucsi_ccg *uc, struct version_format *app, struct fw_config_table *fw_cfg) argument 1063 ccg_check_fw_version(struct ucsi_ccg *uc, const char *fw_name, struct version_format *app) argument 1111 ccg_fw_update_needed(struct ucsi_ccg *uc, enum enum_flash_mode *mode) argument 1156 do_flash(struct ucsi_ccg *uc, enum enum_flash_mode mode) argument 1323 ccg_fw_update(struct ucsi_ccg *uc, enum enum_flash_mode flash_mode) argument 1340 ccg_restart(struct ucsi_ccg *uc) argument 1369 struct ucsi_ccg *uc = container_of(work, struct ucsi_ccg, work); local 1391 struct ucsi_ccg *uc = i2c_get_clientdata(to_i2c_client(dev)); local 1420 struct ucsi_ccg *uc; local 1502 struct ucsi_ccg *uc = i2c_get_clientdata(client); local 1533 struct ucsi_ccg *uc = i2c_get_clientdata(client); local 1546 struct ucsi_ccg *uc = i2c_get_clientdata(client); local [all...] |
/linux-master/tools/testing/selftests/kvm/include/riscv/ |
H A D | ucall.h | 13 static inline void ucall_arch_do_ucall(vm_vaddr_t uc) argument 17 uc, 0, 0, 0, 0, 0);
|
/linux-master/tools/testing/selftests/arm64/signal/testcases/ |
H A D | mangle_pstate_invalid_mode_template.h | 11 ucontext_t *uc) \ 13 ASSERT_GOOD_CONTEXT(uc); \ 15 uc->uc_mcontext.pstate &= ~PSR_MODE_MASK; \ 16 uc->uc_mcontext.pstate |= PSR_MODE_EL ## _mode; \
|
H A D | mangle_pstate_invalid_compat_toggle.c | 14 ucontext_t *uc) 16 ASSERT_GOOD_CONTEXT(uc); 19 uc->uc_mcontext.pstate ^= PSR_MODE32_BIT; 13 mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument
|
H A D | mangle_pstate_invalid_daif_bits.c | 15 ucontext_t *uc) 17 ASSERT_GOOD_CONTEXT(uc); 23 uc->uc_mcontext.pstate |= PSR_D_BIT | PSR_A_BIT | PSR_I_BIT | PSR_F_BIT; 14 mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument
|
H A D | fake_sigreturn_misaligned_sp.c | 19 siginfo_t *si, ucontext_t *uc) 22 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) 18 fake_sigreturn_misaligned_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument
|
H A D | testcases.h | 30 (struct _aarch64_ctx *)(&(sf).uc.uc_mcontext.__reserved) 33 sizeof((sf).uc.uc_mcontext.__reserved) 36 (struct _aarch64_ctx *)(&(buf).uc.uc_mcontext.__reserved) 39 (sizeof(buf) - sizeof(buf.uc) + \ 40 sizeof((buf).uc.uc_mcontext.__reserved)) 45 #define ASSERT_BAD_CONTEXT(uc) do { \ 47 if (!validate_reserved((uc), GET_UCP_RESV_SIZE((uc)), &err)) { \ 57 #define ASSERT_GOOD_CONTEXT(uc) do { \ 59 if (!validate_reserved((uc), GET_UCP_RESV_SIZ 85 ucontext_t uc; member in struct:fake_sigframe [all...] |
H A D | fake_sigreturn_bad_magic.c | 19 siginfo_t *si, ucontext_t *uc) 24 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) 40 ASSERT_BAD_CONTEXT(&sf.uc); 18 fake_sigreturn_bad_magic_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument
|
H A D | fake_sigreturn_bad_size_for_magic0.c | 19 siginfo_t *si, ucontext_t *uc) 24 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) 34 ASSERT_BAD_CONTEXT(&sf.uc); 18 fake_sigreturn_bad_size_for_magic0_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) argument
|
/linux-master/drivers/dma/ti/ |
H A D | k3-udma.c | 357 static inline u32 udma_tchanrt_read(struct udma_chan *uc, int reg) argument 359 if (!uc->tchan) 361 return udma_read(uc->tchan->reg_rt, reg); 364 static inline void udma_tchanrt_write(struct udma_chan *uc, int reg, u32 val) argument 366 if (!uc->tchan) 368 udma_write(uc->tchan->reg_rt, reg, val); 371 static inline void udma_tchanrt_update_bits(struct udma_chan *uc, int reg, argument 374 if (!uc->tchan) 376 udma_update_bits(uc->tchan->reg_rt, reg, mask, val); 380 static inline u32 udma_rchanrt_read(struct udma_chan *uc, in argument 387 udma_rchanrt_write(struct udma_chan *uc, int reg, u32 val) argument 394 udma_rchanrt_update_bits(struct udma_chan *uc, int reg, u32 mask, u32 val) argument 459 udma_reset_uchan(struct udma_chan *uc) argument 468 udma_dump_chan_stdata(struct udma_chan *uc) argument 504 udma_udma_desc_from_paddr(struct udma_chan *uc, dma_addr_t paddr) argument 531 udma_free_hwdesc(struct udma_chan *uc, struct udma_desc *d) argument 567 struct udma_chan *uc = to_udma_chan(vd->tx.chan); local 583 struct udma_chan *uc = to_udma_chan(vd->tx.chan); local 603 udma_is_chan_running(struct udma_chan *uc) argument 619 udma_is_chan_paused(struct udma_chan *uc) argument 646 udma_get_rx_flush_hwdesc_paddr(struct udma_chan *uc) argument 651 udma_push_to_ring(struct udma_chan *uc, int idx) argument 681 udma_desc_is_rx_flush(struct udma_chan *uc, dma_addr_t addr) argument 692 udma_pop_from_ring(struct udma_chan *uc, dma_addr_t *addr) argument 726 udma_reset_rings(struct udma_chan *uc) argument 762 udma_decrement_byte_counters(struct udma_chan *uc, u32 val) argument 777 udma_reset_counters(struct udma_chan *uc) argument 812 udma_reset_chan(struct udma_chan *uc, bool hard) argument 863 udma_start_desc(struct udma_chan *uc) argument 884 udma_chan_needs_reconfiguration(struct udma_chan *uc) argument 897 udma_start(struct udma_chan *uc) argument 1003 udma_stop(struct udma_chan *uc) argument 1041 udma_cyclic_packet_elapsed(struct udma_chan *uc) argument 1052 udma_fetch_epib(struct udma_chan *uc, struct udma_desc *d) argument 1059 udma_is_desc_really_done(struct udma_chan *uc, struct udma_desc *d) argument 1088 struct udma_chan *uc = container_of(work, typeof(*uc), local 1150 struct udma_chan *uc = data; local 1215 struct udma_chan *uc = data; local 1367 bcdma_get_bchan(struct udma_chan *uc) argument 1400 udma_get_tchan(struct udma_chan *uc) argument 1449 udma_get_rchan(struct udma_chan *uc) argument 1476 udma_get_chan_pair(struct udma_chan *uc) argument 1524 udma_get_rflow(struct udma_chan *uc, int flow_id) argument 1550 bcdma_put_bchan(struct udma_chan *uc) argument 1563 udma_put_rchan(struct udma_chan *uc) argument 1575 udma_put_tchan(struct udma_chan *uc) argument 1591 udma_put_rflow(struct udma_chan *uc) argument 1603 bcdma_free_bchan_resources(struct udma_chan *uc) argument 1617 bcdma_alloc_bchan_resources(struct udma_chan *uc) argument 1662 udma_free_tx_resources(struct udma_chan *uc) argument 1675 udma_alloc_tx_resources(struct udma_chan *uc) argument 1732 udma_free_rx_resources(struct udma_chan *uc) argument 1751 udma_alloc_rx_resources(struct udma_chan *uc) argument 1865 udma_tisci_m2m_channel_config(struct udma_chan *uc) argument 1924 bcdma_tisci_m2m_channel_config(struct udma_chan *uc) argument 1957 udma_tisci_tx_channel_config(struct udma_chan *uc) argument 2000 bcdma_tisci_tx_channel_config(struct udma_chan *uc) argument 2029 udma_tisci_rx_channel_config(struct udma_chan *uc) argument 2110 bcdma_tisci_rx_channel_config(struct udma_chan *uc) argument 2130 pktdma_tisci_rx_channel_config(struct udma_chan *uc) argument 2178 struct udma_chan *uc = to_udma_chan(chan); local 2383 struct udma_chan *uc = to_udma_chan(chan); local 2578 struct udma_chan *uc = to_udma_chan(chan); local 2595 struct udma_chan *uc = to_udma_chan(chan); local 2747 struct udma_chan *uc = to_udma_chan(chan); local 2754 udma_alloc_tr_desc(struct udma_chan *uc, size_t tr_size, int tr_count, enum dma_transfer_direction dir) argument 2876 udma_prep_slave_sg_tr(struct udma_chan *uc, struct scatterlist *sgl, unsigned int sglen, enum dma_transfer_direction dir, unsigned long tx_flags, void *context) argument 2960 udma_prep_slave_sg_triggered_tr(struct udma_chan *uc, struct scatterlist *sgl, unsigned int sglen, enum dma_transfer_direction dir, unsigned long tx_flags, void *context) argument 3158 udma_configure_statictr(struct udma_chan *uc, struct udma_desc *d, enum dma_slave_buswidth dev_width, u16 elcnt) argument 3213 udma_prep_slave_sg_pkt(struct udma_chan *uc, struct scatterlist *sgl, unsigned int sglen, enum dma_transfer_direction dir, unsigned long tx_flags, void *context) argument 3307 struct udma_chan *uc = to_udma_chan(desc->chan); local 3343 struct udma_chan *uc = to_udma_chan(desc->chan); local 3364 struct udma_chan *uc = to_udma_chan(desc->chan); local 3402 struct udma_chan *uc = to_udma_chan(chan); local 3468 udma_prep_dma_cyclic_tr(struct udma_chan *uc, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) argument 3538 udma_prep_dma_cyclic_pkt(struct udma_chan *uc, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction dir, unsigned long flags) argument 3610 struct udma_chan *uc = to_udma_chan(chan); local 3676 struct udma_chan *uc = to_udma_chan(chan); local 3765 struct udma_chan *uc = to_udma_chan(chan); local 3789 struct udma_chan *uc = to_udma_chan(chan); local 3860 struct udma_chan *uc = to_udma_chan(chan); local 3888 struct udma_chan *uc = to_udma_chan(chan); local 3914 struct udma_chan *uc = to_udma_chan(chan); local 3941 struct udma_chan *uc = to_udma_chan(chan); local 3969 struct udma_chan *uc = to_udma_chan(&vc->chan); local 4046 struct udma_chan *uc = to_udma_chan(chan); local 4105 struct udma_chan *uc; local 5211 struct udma_chan *uc = to_udma_chan(chan); local 5520 struct udma_chan *uc = &ud->channels[i]; local 5567 struct udma_chan *uc; local 5589 struct udma_chan *uc; local [all...] |
/linux-master/lib/raid6/test/ |
H A D | Makefile | 77 %.uc: ../%.uc 90 neon1.c: neon.uc ../unroll.awk 91 $(AWK) ../unroll.awk -vN=1 < neon.uc > $@ 93 neon2.c: neon.uc ../unroll.awk 94 $(AWK) ../unroll.awk -vN=2 < neon.uc > $@ 96 neon4.c: neon.uc ../unroll.awk 97 $(AWK) ../unroll.awk -vN=4 < neon.uc > $@ 99 neon8.c: neon.uc ../unroll.awk 100 $(AWK) ../unroll.awk -vN=8 < neon.uc > [all...] |
/linux-master/arch/arm/kernel/ |
H A D | signal.h | 4 struct ucontext uc; member in struct:sigframe
|
/linux-master/arch/x86/um/ |
H A D | stub_segv.c | 15 ucontext_t *uc = p; local 17 GET_FAULTINFO_FROM_MC(*f, &uc->uc_mcontext);
|