Searched refs:context (Results 151 - 175 of 2081) sorted by relevance

1234567891011>>

/linux-master/drivers/hwmon/
H A Dadt7410.c27 static int adt7410_reg_read(void *context, unsigned int reg, unsigned int *val) argument
29 struct i2c_client *client = context;
49 static int adt7410_reg_write(void *context, unsigned int reg, unsigned int val) argument
51 struct i2c_client *client = context;
/linux-master/drivers/md/dm-vdo/
H A Dwait-queue.h51 typedef void (*vdo_waiter_callback_fn)(struct vdo_waiter *waiter, void *context);
58 typedef bool (*vdo_waiter_match_fn)(struct vdo_waiter *waiter, void *context);
112 vdo_waiter_callback_fn callback, void *context);
115 vdo_waiter_callback_fn callback, void *context);
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.h37 struct dc_state *context);
41 struct dc_state *context);
45 struct dc_state *context);
94 struct dc_state *context);
/linux-master/tools/testing/selftests/arm64/signal/testcases/
H A Dfpmr_siginfo.c5 * Verify that the FPMR register context in signal frames is set up as
22 } context; variable in typeref:union:__anon1620
41 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context);
52 if (!get_current_context(td, &context.uc, sizeof(context)))
H A Dza_no_regs.c5 * Verify that the ZA register context in signal frames is set up as
19 } context; variable in typeref:union:__anon1460
56 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context);
67 * Get a signal context which should have a SVE frame and registers
70 if (!get_current_context(td, &context.uc, sizeof(context)))
73 head = get_header(head, ZA_MAGIC, GET_BUF_RESV_SIZE(context), &offset);
75 fprintf(stderr, "No ZA context\n");
114 .descr = "Check ZA context with ZA disabled",
H A Dsve_regs.c5 * Verify that the SVE register context in signal frames is set up as
19 } context; variable in typeref:union:__anon1459
62 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context);
73 * Get a signal context which should have a SVE frame and registers
77 if (!get_current_context(td, &context.uc, sizeof(context)))
80 head = get_header(head, SVE_MAGIC, GET_BUF_RESV_SIZE(context),
83 fprintf(stderr, "No SVE context\n");
H A Dssve_regs.c5 * Verify that the streaming SVE register context in signal frames is
19 } context; variable in typeref:union:__anon5134
66 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context);
79 * Get a signal context which should have a SVE frame and registers
83 if (!get_current_context(td, &context.uc, sizeof(context)))
86 head = get_header(head, SVE_MAGIC, GET_BUF_RESV_SIZE(context),
89 fprintf(stderr, "No SVE context\n");
H A Dza_regs.c5 * Verify that the ZA register context in signal frames is set up as
19 } context; variable in typeref:union:__anon5137
68 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context);
79 * Get a signal context which should have a SVE frame and registers
83 if (!get_current_context(td, &context.uc, sizeof(context)))
86 head = get_header(head, ZA_MAGIC, GET_BUF_RESV_SIZE(context), &offset);
88 fprintf(stderr, "No ZA context\n");
99 fprintf(stderr, "ZA context size %u, expected %lu\n",
/linux-master/include/linux/
H A Dpldmfw.h133 bool pldmfw_op_pci_match_record(struct pldmfw *context, struct pldmfw_record *record);
155 bool (*match_record)(struct pldmfw *context, struct pldmfw_record *record);
156 int (*send_package_data)(struct pldmfw *context, const u8 *data, u16 length);
157 int (*send_component_table)(struct pldmfw *context, struct pldmfw_component *component,
159 int (*flash_component)(struct pldmfw *context, struct pldmfw_component *component);
160 int (*finalize_update)(struct pldmfw *context);
163 int pldmfw_flash_image(struct pldmfw *context, const struct firmware *fw);
/linux-master/arch/arm/include/asm/
H A Dmmu_context.h30 unlikely(atomic_read(&mm->context.vmalloc_seq) !=
31 atomic_read(&init_mm.context.vmalloc_seq)))
44 atomic64_set(&mm->context.id, 0);
75 mm->context.switch_pending = 1;
87 if (mm && mm->context.switch_pending) {
95 if (mm->context.switch_pending) {
96 mm->context.switch_pending = 0;
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_mmap.c20 struct rxe_dev *rxe = to_rdev(ip->context->device);
58 * @context: the IB user context of the process making the mmap() call
62 int rxe_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) argument
64 struct rxe_dev *rxe = to_rdev(context->device);
77 if (context != ip->context || (__u64)offset != ip->info.offset)
141 ip->context =
143 ->context;
/linux-master/lib/
H A Dbitfield_kunit.c16 KUNIT_ASSERT_FALSE_MSG(context, _res != res, \
19 KUNIT_ASSERT_FALSE(context, \
29 KUNIT_ASSERT_FALSE_MSG(context, \
34 KUNIT_ASSERT_FALSE(context, \
44 KUNIT_ASSERT_FALSE_MSG(context, \
49 KUNIT_ASSERT_FALSE(context, \
60 static void __init test_bitfields_constants(struct kunit *context) argument
99 KUNIT_ASSERT_FALSE(context, \
103 static void __init test_bitfields_variables(struct kunit *context) argument
129 static void __init test_bitfields_compile(struct kunit *context) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.h39 struct dc_state *context);
42 struct dc_state *context);
72 struct dc_state *context);
75 struct dc_state *context);
78 struct dc_state *context);
81 struct dc_state *context);
84 struct dc_state *context,
92 struct dc_state *context);
117 struct dc_state *context);
121 void dcn20_update_odm(struct dc *dc, struct dc_state *context, struc
[all...]
/linux-master/drivers/pci/hotplug/
H A Dacpiphp_glue.c50 static void hotplug_event(u32 type, struct acpiphp_context *context);
54 * acpiphp_init_context - Create hotplug context and grab a reference to it.
55 * @adev: ACPI device object to create the context for.
61 struct acpiphp_context *context; local
63 context = kzalloc(sizeof(*context), GFP_KERNEL);
64 if (!context)
67 context->refcount = 1;
68 context->hp.notify = acpiphp_hotplug_notify;
69 context
82 struct acpiphp_context *context; local
100 acpiphp_put_context(struct acpiphp_context *context) argument
122 struct acpiphp_context *context; local
144 acpiphp_let_context_go(struct acpiphp_context *context) argument
151 struct acpiphp_context *context; local
191 struct acpiphp_context *context = acpiphp_grab_context(adev); local
231 struct acpiphp_context *context; local
783 hotplug_event(u32 type, struct acpiphp_context *context) argument
839 struct acpiphp_context *context; local
899 struct acpiphp_context *context; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_utils.c177 bool is_dtbclk_required(const struct dc *dc, struct dc_state *context) argument
182 if (!context->res_ctx.pipe_ctx[i].stream)
184 if (is_dp2p0_output_encoder(&context->res_ctx.pipe_ctx[i]))
190 void dml2_copy_clocks_to_dc_state(struct dml2_dcn_clocks *out_clks, struct dc_state *context) argument
192 context->bw_ctx.bw.dcn.clk.dispclk_khz = out_clks->dispclk_khz;
193 context->bw_ctx.bw.dcn.clk.dcfclk_khz = out_clks->dcfclk_khz;
194 context->bw_ctx.bw.dcn.clk.dramclk_khz = out_clks->uclk_mts / 16;
195 context->bw_ctx.bw.dcn.clk.fclk_khz = out_clks->fclk_khz;
196 context->bw_ctx.bw.dcn.clk.phyclk_khz = out_clks->phyclk_khz;
197 context
287 dml2_calculate_rq_and_dlg_params(const struct dc *dc, struct dc_state *context, struct resource_context *out_new_hw_state, struct dml2_context *in_ctx, unsigned int pipe_cnt) argument
[all...]
/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_queue_pair.h146 struct vmci_ctx *context);
149 struct vmci_ctx *context);
150 int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context);
161 struct vmci_ctx *context, u64 guest_mem);
163 struct vmci_ctx *context, u32 gid);
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.h40 struct dc_state *context);
44 struct dc_state *context,
62 void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context);
72 struct dc_state *context);
76 struct dc_state *context);
/linux-master/arch/csky/kernel/
H A Dvdso.c66 mm->context.vdso = (void *)vdso_base;
74 mm->context.vdso = NULL;
83 mm->context.vdso = NULL;
91 if (vma->vm_mm && (vma->vm_start == (long)vma->vm_mm->context.vdso))
94 (long)vma->vm_mm->context.vdso + PAGE_SIZE))
/linux-master/crypto/asymmetric_keys/
H A Dmscode_parser.c36 int mscode_note_content_type(void *context, size_t hdrlen, argument
68 int mscode_note_digest_algo(void *context, size_t hdrlen, argument
72 struct pefile_context *ctx = context;
116 int mscode_note_digest(void *context, size_t hdrlen, argument
120 struct pefile_context *ctx = context;
/linux-master/tools/perf/scripts/python/
H A Dnetdev-times.py232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec):
235 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec):
241 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec):
247 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
250 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm,
252 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm,
256 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret):
257 event_info = (name, context, cp
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1031 struct dc_state *context,
1040 wb_arb_params->cli_watermark[k] = get_wm_writeback_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
1041 wb_arb_params->pstate_watermark[k] = get_wm_writeback_dram_clock_change(&context->bw_ctx.dml, pipes, pipe_cnt) * 1000;
1043 wb_arb_params->time_per_pixel = 16.0 * 1000 / (context->res_ctx.pipe_ctx[i].stream->phy_pix_clk / 1000); /* 4 bit fraction, ms */
1046 static bool is_dtbclk_required(struct dc *dc, struct dc_state *context) argument
1050 if (!context->res_ctx.pipe_ctx[i].stream)
1052 if (dc->link_srv->dp_is_128b_132b_signal(&context->res_ctx.pipe_ctx[i]))
1058 static enum dcn_zstate_support_state decide_zstate_support(struct dc *dc, struct dc_state *context) argument
1065 if (context->res_ctx.pipe_ctx[i].plane_state)
1082 else if (context
1030 dcn20_fpu_set_wb_arb_params(struct mcif_arb_params *wb_arb_params, struct dc_state *context, display_e2e_pipe_params_st *pipes, int pipe_cnt, int i) argument
1137 dcn20_calculate_dlg_params(struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes, int pipe_cnt, int vlevel) argument
1311 dcn20_populate_dml_pipes_from_context(struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes, bool fast_validate) argument
1725 dcn20_calculate_wm(struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes, int *out_pipe_cnt, int *pipe_split_from, int vlevel, bool fast_validate) argument
2023 dcn20_validate_bandwidth_internal(struct dc *dc, struct dc_state *context, bool fast_validate, display_e2e_pipe_params_st *pipes) argument
2073 dcn20_validate_bandwidth_fp(struct dc *dc, struct dc_state *context, bool fast_validate, display_e2e_pipe_params_st *pipes) argument
2150 dcn21_populate_dml_pipes_from_context(struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes, bool fast_validate) argument
2231 dcn21_calculate_wm(struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes, int *out_pipe_cnt, int *pipe_split_from, int vlevel_req, bool fast_validate) argument
2315 dcn21_validate_bandwidth_fp(struct dc *dc, struct dc_state *context, bool fast_validate, display_e2e_pipe_params_st *pipes) argument
[all...]
/linux-master/drivers/staging/vt6656/
H A Dusbpipe.c142 struct vnt_usb_send_context *context; local
150 context = priv->tx_context[pkt_no];
152 if (!context->skb)
155 info = IEEE80211_SKB_CB(context->skb);
169 ieee80211_tx_status_irqsafe(priv->hw, context->skb);
171 context->in_use = false;
213 struct vnt_private *priv = urb->context;
364 struct vnt_rcb *rcb = urb->context;
426 struct vnt_usb_send_context *context = urb->context; local
456 vnt_tx_context(struct vnt_private *priv, struct vnt_usb_send_context *context, struct sk_buff *skb) argument
[all...]
/linux-master/drivers/base/regmap/
H A Dregmap-spi.c28 static int regmap_spi_write(void *context, const void *data, size_t count) argument
30 struct device *dev = context;
36 static int regmap_spi_gather_write(void *context, argument
40 struct device *dev = context;
53 static int regmap_spi_async_write(void *context, argument
61 struct device *dev = context;
75 async->m.context = async;
91 static int regmap_spi_read(void *context, argument
95 struct device *dev = context;
/linux-master/arch/x86/kernel/
H A Dldt.c10 * context.ldt_usr_sem
12 * context.lock
47 ldt = READ_ONCE(mm->context.ldt);
50 * Any change to mm->context.ldt is followed by an IPI to all
98 * prev->context.ldt actually matches LDTR, but, if LDTR is non-NULL,
99 * then prev->context.ldt will also be non-NULL.
109 if (unlikely((unsigned long)prev->context.ldt |
110 (unsigned long)next->context.ldt))
135 /* context.lock is held by the task which issued the smp function call */
193 if (mm->context
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c390 * dc_stream_adjust_vmin_vmax - look up pipe context & update parts of DRR
395 * Looks up the pipe context of dc_stream_state and updates the
400 * Return: %true if the pipe context is found and adjusted;
401 * %false if the pipe context is not found.
439 * dc_stream_get_last_used_drr_vtotal - Looks up the pipe context of
446 * Return: %true if the pipe context is found and there is an associated
448 * %false if the pipe context is not found or there is no
1075 struct dc_state *context)
1084 struct dc_state *context,
1092 dc->hwss.interdependent_update_lock(dc, context, loc
1072 disable_all_writeback_pipes_for_stream( const struct dc *dc, struct dc_stream_state *stream, struct dc_state *context) argument
1083 apply_ctx_interdependent_lock(struct dc *dc, struct dc_state *context, struct dc_stream_state *stream, bool lock) argument
1108 dc_update_visual_confirm_color(struct dc *dc, struct dc_state *context, struct pipe_ctx *pipe_ctx) argument
1135 disable_dangling_plane(struct dc *dc, struct dc_state *context) argument
1244 disable_vbios_mode_if_required( struct dc *dc, struct dc_state *context) argument
1312 wait_for_blank_complete(struct dc *dc, struct dc_state *context) argument
1333 wait_for_odm_update_pending_complete(struct dc *dc, struct dc_state *context) argument
1353 wait_for_no_pipes_pending(struct dc *dc, struct dc_state *context) argument
1815 should_update_pipe_for_stream( struct dc_state *context, struct pipe_ctx *pipe_ctx, struct dc_stream_state *stream) argument
1823 should_update_pipe_for_plane( struct dc_state *context, struct pipe_ctx *pipe_ctx, struct dc_plane_state *plane_state) argument
1831 dc_enable_stereo( struct dc *dc, struct dc_state *context, struct dc_stream_state *streams[], uint8_t stream_count) argument
1858 dc_trigger_sync(struct dc *dc, struct dc_state *context) argument
1868 get_stream_mask(struct dc *dc, struct dc_state *context) argument
1904 dc_commit_state_no_check(struct dc *dc, struct dc_state *context) argument
2112 struct dc_state *context; local
2233 is_flip_pending_in_pipes(struct dc *dc, struct dc_state *context) argument
2276 struct dc_state *context = dc->current_state; local
2364 is_surface_in_context( const struct dc_state *context, const struct dc_plane_state *plane_state) argument
2540 const struct dc_state *context = dc->current_state; local
2887 copy_stream_update_to_stream(struct dc *dc, struct dc_state *context, struct dc_stream_state *stream, struct dc_stream_update *update) argument
3064 struct dc_state *context; local
3191 commit_planes_do_stream_update(struct dc *dc, struct dc_stream_state *stream, struct dc_stream_update *stream_update, enum surface_update_type update_type, struct dc_state *context) argument
3337 dc_dmub_update_dirty_rect(struct dc *dc, int surface_count, struct dc_stream_state *stream, struct dc_surface_update *srf_updates, struct dc_state *context) argument
3389 build_dmub_update_dirty_rect( struct dc *dc, int surface_count, struct dc_stream_state *stream, struct dc_surface_update *srf_updates, struct dc_state *context, struct dc_dmub_cmd dc_dmub_cmd[], unsigned int *dmub_cmd_count) argument
3463 build_dmub_cmd_list(struct dc *dc, struct dc_surface_update *srf_updates, int surface_count, struct dc_stream_state *stream, struct dc_state *context, struct dc_dmub_cmd dc_dmub_cmd[], unsigned int *dmub_cmd_count) argument
3476 commit_planes_for_stream_fast(struct dc *dc, struct dc_surface_update *srf_updates, int surface_count, struct dc_stream_state *stream, struct dc_stream_update *stream_update, enum surface_update_type update_type, struct dc_state *context) argument
3598 commit_planes_for_stream(struct dc *dc, struct dc_surface_update *srf_updates, int surface_count, struct dc_stream_state *stream, struct dc_stream_update *stream_update, enum surface_update_type update_type, struct dc_state *context) argument
4075 release_minimal_transition_state(struct dc *dc, struct dc_state *context, struct pipe_split_policy_backup *policy) argument
4144 commit_minimal_transition_state(struct dc *dc, struct dc_state *context, struct dc_stream_state *stream) argument
4305 update_seamless_boot_flags(struct dc *dc, struct dc_state *context, int surface_count, struct dc_stream_state *stream) argument
4376 const struct dc_state *context = dc->current_state; local
4450 struct dc_state *context; local
4567 struct dc_state *context; local
4946 struct dc_state *context = dc->current_state; local
5508 dc_get_power_profile_for_dc_state(const struct dc_state *context) argument
[all...]

Completed in 465 milliseconds

1234567891011>>