/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | sockopt_inherit.c | 39 static __inline struct sockopt_inherit *get_storage(struct bpf_sockopt *ctx) argument 41 if (ctx->optname == CUSTOM_INHERIT1) 42 return bpf_sk_storage_get(&cloned1_map, ctx->sk, 0, 44 else if (ctx->optname == CUSTOM_INHERIT2) 45 return bpf_sk_storage_get(&cloned2_map, ctx->sk, 0, 48 return bpf_sk_storage_get(&listener_only_map, ctx->sk, 0, 53 int _getsockopt(struct bpf_sockopt *ctx) argument 55 __u8 *optval_end = ctx->optval_end; 57 __u8 *optval = ctx->optval; 59 if (ctx 84 _setsockopt(struct bpf_sockopt *ctx) argument [all...] |
H A D | cgroup_getset_retval_getsockopt.c | 18 int get_retval(struct bpf_sockopt *ctx) argument 21 ctx_retval_value = ctx->retval; 25 if (ctx->optlen > page_size) 26 ctx->optlen = 0; 32 int set_eisconn(struct bpf_sockopt *ctx) argument 40 if (ctx->optlen > page_size) 41 ctx->optlen = 0; 47 int clear_retval(struct bpf_sockopt *ctx) argument 51 ctx->retval = 0; 54 if (ctx [all...] |
H A D | test_bpf_cookie.c | 23 static void update(void *ctx, __u64 *res) argument 28 *res |= bpf_get_attach_cookie(ctx); 32 int handle_kprobe(struct pt_regs *ctx) argument 34 update(ctx, &kprobe_res); 39 int handle_kretprobe(struct pt_regs *ctx) argument 41 update(ctx, &kretprobe_res); 46 int handle_uprobe(struct pt_regs *ctx) argument 48 update(ctx, &uprobe_res); 53 int handle_uretprobe(struct pt_regs *ctx) argument 55 update(ctx, 65 handle_tp1(struct pt_regs *ctx) argument 71 handle_tp2(struct pt_regs *ctx) argument 77 handle_tp3(void *ctx) argument 84 handle_pe(struct pt_regs *ctx) argument [all...] |
H A D | verifier_global_subprogs.c | 111 int arg_tag_nullable_ptr_fail(void *ctx) argument 131 int anon_user_mem_invalid(void *ctx) argument 134 return subprog_user_anon_mem(ctx); 140 int anon_user_mem_valid(void *ctx) argument 156 int arg_tag_nonnull_ptr_good(void *ctx) argument 166 __weak int subprog_ctx_tag(void *ctx __arg_ctx) 168 return bpf_get_stack(ctx, stack, sizeof(stack), 0); 171 __weak int raw_tp_canonical(struct bpf_raw_tracepoint_args *ctx __arg_ctx) 176 __weak int raw_tp_u64_array(u64 *ctx __arg_ctx) 183 int arg_tag_ctx_raw_tp(void *ctx) argument 190 arg_tag_ctx_raw_tp_writable(void *ctx) argument 197 arg_tag_ctx_raw_tp_btf(void *ctx) argument 211 arg_tag_ctx_tp(void *ctx) argument 228 arg_tag_ctx_kprobe(void *ctx) argument 263 arg_tag_ctx_perf(void *ctx) argument 283 arg_tag_ctx_iter_task(struct bpf_iter__task *ctx) argument 344 arg_tag_ctx_syscall(void *ctx) argument 370 arg_tag_dynptr(struct xdp_md *ctx) argument [all...] |
H A D | bind4_prog.c | 24 static __inline int bind_to_device(struct bpf_sock_addr *ctx) argument 32 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, 35 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, 38 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, 41 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, 45 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, 48 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTOIFINDEX, 51 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_BINDTODEVICE, 58 static __inline int bind_reuseport(struct bpf_sock_addr *ctx) argument 62 if (bpf_setsockopt(ctx, SOL_SOCKE 79 misc_opts(struct bpf_sock_addr *ctx, int opt) argument 99 bind_v4_prog(struct bpf_sock_addr *ctx) argument [all...] |
/linux-master/arch/loongarch/net/ |
H A D | bpf_jit.c | 35 static void mark_call(struct jit_ctx *ctx) argument 37 ctx->flags |= SAVE_RA; 40 static void mark_tail_call(struct jit_ctx *ctx) argument 42 ctx->flags |= SAVE_TCC; 45 static bool seen_call(struct jit_ctx *ctx) argument 47 return (ctx->flags & SAVE_RA); 50 static bool seen_tail_call(struct jit_ctx *ctx) argument 52 return (ctx->flags & SAVE_TCC); 55 static u8 tail_call_reg(struct jit_ctx *ctx) argument 57 if (seen_call(ctx)) 89 build_prologue(struct jit_ctx *ctx) argument 149 __build_epilogue(struct jit_ctx *ctx, bool is_tail_call) argument 194 build_epilogue(struct jit_ctx *ctx) argument 211 emit_bpf_tail_call(struct jit_ctx *ctx) argument 282 emit_atomic(const struct bpf_insn *insn, struct jit_ctx *ctx) argument 411 add_exception_handler(const struct bpf_insn *insn, struct jit_ctx *ctx, int dst_reg) argument 458 build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass) argument 1124 build_body(struct jit_ctx *ctx, bool extra_pass) argument 1163 validate_code(struct jit_ctx *ctx) argument 1186 struct jit_ctx ctx; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxnv40.c | 49 * rather than a cp_lsr(ctx, dwords_for_1_vs_unit) instruction. 159 nv40_gr_construct_general(struct nvkm_grctx *ctx) argument 161 struct nvkm_device *device = ctx->device; 164 cp_ctx(ctx, 0x4000a4, 1); 165 gr_def(ctx, 0x4000a4, 0x00000008); 166 cp_ctx(ctx, 0x400144, 58); 167 gr_def(ctx, 0x400144, 0x00000001); 168 cp_ctx(ctx, 0x400314, 1); 169 gr_def(ctx, 0x400314, 0x00000000); 170 cp_ctx(ctx, 265 nv40_gr_construct_state3d(struct nvkm_grctx *ctx) argument 370 nv40_gr_construct_state3d_2(struct nvkm_grctx *ctx) argument 534 nv40_gr_construct_state3d_3(struct nvkm_grctx *ctx) argument 549 nv40_gr_construct_shader(struct nvkm_grctx *ctx) argument 596 nv40_grctx_generate(struct nvkm_grctx *ctx) argument 674 struct nvkm_grctx ctx = { local [all...] |
H A D | ctxnv40.h | 25 cp_out(struct nvkm_grctx *ctx, u32 inst) argument 27 u32 *ctxprog = ctx->ucode; 29 if (ctx->mode != NVKM_GRCTX_PROG) 32 BUG_ON(ctx->ctxprog_len == ctx->ctxprog_max); 33 ctxprog[ctx->ctxprog_len++] = inst; 37 cp_lsr(struct nvkm_grctx *ctx, u32 val) argument 39 cp_out(ctx, CP_LOAD_SR | val); 43 cp_ctx(struct nvkm_grctx *ctx, u32 reg, u32 length) argument 45 ctx 59 cp_name(struct nvkm_grctx *ctx, int name) argument 79 _cp_bra(struct nvkm_grctx *ctx, u32 mod, int flag, int state, int name) argument 97 _cp_wait(struct nvkm_grctx *ctx, int flag, int state) argument 104 _cp_set(struct nvkm_grctx *ctx, int flag, int state) argument 111 cp_pos(struct nvkm_grctx *ctx, int offset) argument 121 gr_def(struct nvkm_grctx *ctx, u32 reg, u32 val) argument [all...] |
/linux-master/drivers/gpu/drm/bridge/ |
H A D | tc358762.c | 82 static int tc358762_clear_error(struct tc358762 *ctx) argument 84 int ret = ctx->error; 86 ctx->error = 0; 90 static void tc358762_write(struct tc358762 *ctx, u16 addr, u32 val) argument 92 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); 96 if (ctx->error) 108 ctx->error = ret; 116 static int tc358762_init(struct tc358762 *ctx) argument 120 tc358762_write(ctx, DSI_LANEENABLE, 122 tc358762_write(ctx, PPI_D0S_CLRSIPOCOUN 154 struct tc358762 *ctx = bridge_to_tc358762(bridge); local 176 struct tc358762 *ctx = bridge_to_tc358762(bridge); local 193 struct tc358762 *ctx = bridge_to_tc358762(bridge); local 204 struct tc358762 *ctx = bridge_to_tc358762(bridge); local 214 struct tc358762 *ctx = bridge_to_tc358762(bridge); local 230 tc358762_parse_dt(struct tc358762 *ctx) argument 249 tc358762_configure_regulators(struct tc358762 *ctx) argument 261 struct tc358762 *ctx; local 305 struct tc358762 *ctx = mipi_dsi_get_drvdata(dsi); local [all...] |
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-sst-dsp.c | 22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) argument 24 mutex_lock(&ctx->mutex); 25 ctx->sst_state = state; 26 mutex_unlock(&ctx->mutex); 34 void skl_dsp_init_core_state(struct sst_dsp *ctx) argument 36 struct skl_dev *skl = ctx->thread_context; 49 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx) argument 51 struct skl_dev *skl = ctx->thread_context; 57 val = sst_dsp_shim_read_unlocked(ctx, SKL_ADSP_REG_ADSPCS); 72 dev_dbg(ctx 78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) argument 105 skl_dsp_core_unset_reset_state( struct sst_dsp *ctx, unsigned int core_mask) argument 135 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) argument 153 skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) argument 164 skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) argument 188 skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) argument 216 skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) argument 231 skl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask) argument 246 skl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask) argument 274 skl_dsp_boot(struct sst_dsp *ctx) argument 304 struct sst_dsp *ctx = dev_id; local 336 skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id) argument 365 skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id) argument 393 skl_dsp_wake(struct sst_dsp *ctx) argument 399 skl_dsp_sleep(struct sst_dsp *ctx) argument 458 is_skl_dsp_running(struct sst_dsp *ctx) argument [all...] |
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_fabric.h | 18 __efc_fabric_init(struct efc_sm_ctx *ctx, 21 __efc_fabric_flogi_wait_rsp(struct efc_sm_ctx *ctx, 24 __efc_fabric_domain_attach_wait(struct efc_sm_ctx *ctx, 27 __efc_fabric_wait_domain_attach(struct efc_sm_ctx *ctx, 31 __efc_vport_fabric_init(struct efc_sm_ctx *ctx, 34 __efc_fabric_fdisc_wait_rsp(struct efc_sm_ctx *ctx, 37 __efc_fabric_wait_nport_attach(struct efc_sm_ctx *ctx, 41 __efc_ns_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg); 43 __efc_ns_plogi_wait_rsp(struct efc_sm_ctx *ctx, 46 __efc_ns_rftid_wait_rsp(struct efc_sm_ctx *ctx, [all...] |
H A D | efc_device.h | 25 __efc_d_wait_loop(struct efc_sm_ctx *ctx, 28 __efc_d_wait_plogi_acc_cmpl(struct efc_sm_ctx *ctx, 31 __efc_d_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg); 33 __efc_d_wait_plogi_rsp(struct efc_sm_ctx *ctx, 36 __efc_d_wait_plogi_rsp_recvd_prli(struct efc_sm_ctx *ctx, 39 __efc_d_wait_domain_attach(struct efc_sm_ctx *ctx, 42 __efc_d_wait_topology_notify(struct efc_sm_ctx *ctx, 45 __efc_d_wait_node_attach(struct efc_sm_ctx *ctx, 48 __efc_d_wait_attach_evt_shutdown(struct efc_sm_ctx *ctx, 51 __efc_d_initiate_shutdown(struct efc_sm_ctx *ctx, [all...] |
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_ctx.c | 12 struct lima_ctx *ctx; local 15 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); 16 if (!ctx) 18 ctx->dev = dev; 19 kref_init(&ctx->refcnt); 22 err = lima_sched_context_init(dev->pipe + i, ctx->context + i); 27 err = xa_alloc(&mgr->handles, id, ctx, xa_limit_32b, GFP_KERNEL); 31 ctx->pid = task_pid_nr(current); 32 get_task_comm(ctx 45 struct lima_ctx *ctx = container_of(ref, struct lima_ctx, refcnt); local 55 struct lima_ctx *ctx; local 70 struct lima_ctx *ctx; local 80 lima_ctx_put(struct lima_ctx *ctx) argument 93 struct lima_ctx *ctx; local [all...] |
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | backing_ops.c | 34 static void gen_spu_event(struct spu_context *ctx, u32 event) argument 40 ch0_cnt = ctx->csa.spu_chnlcnt_RW[0]; 41 ch0_data = ctx->csa.spu_chnldata_RW[0]; 42 ch1_data = ctx->csa.spu_chnldata_RW[1]; 43 ctx->csa.spu_chnldata_RW[0] |= event; 45 ctx->csa.spu_chnlcnt_RW[0] = 1; 49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) argument 54 spin_lock(&ctx->csa.register_lock); 55 mbox_stat = ctx->csa.prob.mb_stat_R; 61 *data = ctx 71 spu_backing_mbox_stat_read(struct spu_context *ctx) argument 76 spu_backing_mbox_stat_poll(struct spu_context *ctx, __poll_t events) argument 115 spu_backing_ibox_read(struct spu_context *ctx, u32 * data) argument 139 spu_backing_wbox_write(struct spu_context *ctx, u32 data) argument 170 spu_backing_signal1_read(struct spu_context *ctx) argument 175 spu_backing_signal1_write(struct spu_context *ctx, u32 data) argument 187 spu_backing_signal2_read(struct spu_context *ctx) argument 192 spu_backing_signal2_write(struct spu_context *ctx, u32 data) argument 204 spu_backing_signal1_type_set(struct spu_context *ctx, u64 val) argument 218 spu_backing_signal1_type_get(struct spu_context *ctx) argument 223 spu_backing_signal2_type_set(struct spu_context *ctx, u64 val) argument 237 spu_backing_signal2_type_get(struct spu_context *ctx) argument 242 spu_backing_npc_read(struct spu_context *ctx) argument 247 spu_backing_npc_write(struct spu_context *ctx, u32 val) argument 252 spu_backing_status_read(struct spu_context *ctx) argument 257 spu_backing_get_ls(struct spu_context *ctx) argument 262 spu_backing_privcntl_write(struct spu_context *ctx, u64 val) argument 267 spu_backing_runcntl_read(struct spu_context *ctx) argument 272 spu_backing_runcntl_write(struct spu_context *ctx, u32 val) argument 290 spu_backing_runcntl_stop(struct spu_context *ctx) argument 295 spu_backing_master_start(struct spu_context *ctx) argument 306 spu_backing_master_stop(struct spu_context *ctx) argument 317 spu_backing_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode) argument 343 spu_backing_read_mfc_tagstatus(struct spu_context * ctx) argument 348 spu_backing_get_mfc_free_elements(struct spu_context *ctx) argument 353 spu_backing_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command *cmd) argument 366 spu_backing_restart_dma(struct spu_context *ctx) argument [all...] |
/linux-master/drivers/gpu/drm/bridge/analogix/ |
H A D | anx7625.c | 46 static int i2c_access_workaround(struct anx7625_data *ctx, argument 53 if (client == ctx->last_client) 56 ctx->last_client = client; 58 if (client == ctx->i2c.tcpc_client) 60 else if (client == ctx->i2c.tx_p0_client) 62 else if (client == ctx->i2c.tx_p1_client) 64 else if (client == ctx->i2c.rx_p0_client) 66 else if (client == ctx->i2c.rx_p1_client) 80 static int anx7625_reg_read(struct anx7625_data *ctx, argument 86 i2c_access_workaround(ctx, clien 96 anx7625_reg_block_read(struct anx7625_data *ctx, struct i2c_client *client, u8 reg_addr, u8 len, u8 *buf) argument 113 anx7625_reg_write(struct anx7625_data *ctx, struct i2c_client *client, u8 reg_addr, u8 reg_val) argument 131 anx7625_reg_block_write(struct anx7625_data *ctx, struct i2c_client *client, u8 reg_addr, u8 len, u8 *buf) argument 148 anx7625_write_or(struct anx7625_data *ctx, struct i2c_client *client, u8 offset, u8 mask) argument 161 anx7625_write_and(struct anx7625_data *ctx, struct i2c_client *client, u8 offset, u8 mask) argument 174 anx7625_write_and_or(struct anx7625_data *ctx, struct i2c_client *client, u8 offset, u8 and_mask, u8 or_mask) argument 188 anx7625_config_bit_matrix(struct anx7625_data *ctx) argument 202 anx7625_read_ctrl_status_p0(struct anx7625_data *ctx) argument 207 wait_aux_op_finish(struct anx7625_data *ctx) argument 233 anx7625_aux_trans(struct anx7625_data *ctx, u8 op, u32 address, u8 len, u8 *buf) argument 303 anx7625_video_mute_control(struct anx7625_data *ctx, u8 status) argument 425 anx7625_odfc_config(struct anx7625_data *ctx, u8 post_divider) argument 465 anx7625_set_k_value(struct anx7625_data *ctx) argument 477 anx7625_dsi_video_timing_config(struct anx7625_data *ctx) argument 574 anx7625_swap_dsi_lane3(struct anx7625_data *ctx) argument 590 anx7625_api_dsi_config(struct anx7625_data *ctx) argument 657 anx7625_dsi_config(struct anx7625_data *ctx) argument 689 anx7625_api_dpi_config(struct anx7625_data *ctx) argument 720 anx7625_dpi_config(struct anx7625_data *ctx) argument 759 anx7625_read_flash_status(struct anx7625_data *ctx) argument 764 anx7625_hdcp_key_probe(struct anx7625_data *ctx) argument 814 anx7625_hdcp_key_load(struct anx7625_data *ctx) argument 842 anx7625_hdcp_disable(struct anx7625_data *ctx) argument 862 anx7625_hdcp_enable(struct anx7625_data *ctx) argument 921 anx7625_dp_start(struct anx7625_data *ctx) argument 955 anx7625_dp_stop(struct anx7625_data *ctx) argument 984 sp_tx_rst_aux(struct anx7625_data *ctx) argument 995 sp_tx_aux_wr(struct anx7625_data *ctx, u8 offset) argument 1008 sp_tx_aux_rd(struct anx7625_data *ctx, u8 len_cmd) argument 1019 sp_tx_get_edid_block(struct anx7625_data *ctx) argument 1040 edid_read(struct anx7625_data *ctx, u8 offset, u8 *pblock_buf) argument 1070 segments_edid_read(struct anx7625_data *ctx, u8 segment, u8 *buf, u8 offset) argument 1120 sp_tx_edid_read(struct anx7625_data *ctx, u8 *pedid_blocks_buf) argument 1235 anx7625_power_on(struct anx7625_data *ctx) argument 1271 anx7625_power_standby(struct anx7625_data *ctx) argument 1295 anx7625_config(struct anx7625_data *ctx) argument 1301 anx7625_hpd_timer_config(struct anx7625_data *ctx) argument 1318 anx7625_read_hpd_gpio_config_status(struct anx7625_data *ctx) argument 1323 anx7625_disable_pd_protocol(struct anx7625_data *ctx) argument 1355 anx7625_ocm_loading_check(struct anx7625_data *ctx) argument 1385 anx7625_power_on_init(struct anx7625_data *ctx) argument 1435 anx7625_stop_dp_work(struct anx7625_data *ctx) argument 1441 anx7625_start_dp_work(struct anx7625_data *ctx) argument 1473 anx7625_read_hpd_status_p0(struct anx7625_data *ctx) argument 1478 _anx7625_hpd_polling(struct anx7625_data *ctx, unsigned long wait_us) argument 1515 struct anx7625_data *ctx = container_of(aux, struct anx7625_data, aux); local 1527 anx7625_remove_edid(struct anx7625_data *ctx) argument 1532 anx7625_dp_adjust_swing(struct anx7625_data *ctx) argument 1547 dp_hpd_change_handler(struct anx7625_data *ctx, bool on) argument 1566 anx7625_hpd_change_detect(struct anx7625_data *ctx) argument 1612 struct anx7625_data *ctx = container_of(work, local 1635 struct anx7625_data *ctx = (struct anx7625_data *)data; local 1760 struct anx7625_data *ctx = container_of(aux, struct anx7625_data, aux); local 1787 anx7625_edid_read(struct anx7625_data *ctx) argument 1813 anx7625_sink_detect(struct anx7625_data *ctx) argument 1830 struct anx7625_data *ctx = dev_get_drvdata(dev); local 1975 anx7625_audio_update_connector_status(struct anx7625_data *ctx, enum drm_connector_status status) argument 1988 struct anx7625_data *ctx = data; local 2000 struct anx7625_data *ctx = dev_get_drvdata(dev); local 2022 anx7625_unregister_audio(struct anx7625_data *ctx) argument 2034 anx7625_register_audio(struct device *dev, struct anx7625_data *ctx) argument 2057 anx7625_setup_dsi_device(struct anx7625_data *ctx) argument 2092 anx7625_attach_dsi(struct anx7625_data *ctx) argument 2114 struct anx7625_data *ctx; local 2144 anx7625_connector_atomic_check(struct anx7625_data *ctx, struct drm_connector_state *state) argument 2190 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2225 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2235 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2256 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2302 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2420 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2434 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2461 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2477 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2488 struct anx7625_data *ctx = bridge_to_anx7625(bridge); local 2511 anx7625_register_i2c_dummy_clients(struct anx7625_data *ctx, struct i2c_client *client) argument 2556 struct anx7625_data *ctx = dev_get_drvdata(dev); local 2570 struct anx7625_data *ctx = dev_get_drvdata(dev); local [all...] |
/linux-master/drivers/ras/amd/atl/ |
H A D | core.c | 20 static int addr_over_limit(struct addr_ctx *ctx) argument 25 dram_limit_addr = FIELD_GET(DF4_DRAM_LIMIT_ADDR, ctx->map.limit); 27 dram_limit_addr = FIELD_GET(DF2_DRAM_LIMIT_ADDR, ctx->map.limit); 33 if (ctx->ret_addr > dram_limit_addr) { 34 atl_debug(ctx, "Calculated address (0x%016llx) > DRAM limit (0x%016llx)", 35 ctx->ret_addr, dram_limit_addr); 42 static bool legacy_hole_en(struct addr_ctx *ctx) argument 44 u32 reg = ctx->map.base; 47 reg = ctx->map.ctl; 52 static int add_legacy_hole(struct addr_ctx *ctx) argument 74 get_base_addr(struct addr_ctx *ctx) argument 86 add_base_and_hole(struct addr_ctx *ctx) argument 96 late_hole_remove(struct addr_ctx *ctx) argument 112 struct addr_ctx ctx; local [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | kvm_mmu.h | 26 typedef int (*kvm_pte_ops)(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx); 90 static inline int kvm_need_flush(kvm_ptw_ctx *ctx) argument 92 return ctx->flag & _KVM_FLUSH_PGTABLE; 95 static inline kvm_pte_t *kvm_pgtable_offset(kvm_ptw_ctx *ctx, kvm_pte_t *table, argument 99 return table + ((addr >> ctx->pgtable_shift) & (PTRS_PER_PTE - 1)); 102 static inline phys_addr_t kvm_pgtable_addr_end(kvm_ptw_ctx *ctx, argument 107 size = 0x1UL << ctx->pgtable_shift; 112 static inline int kvm_pte_present(kvm_ptw_ctx *ctx, kvm_pte_t *entry) argument 114 if (!ctx || ctx 120 kvm_pte_none(kvm_ptw_ctx *ctx, kvm_pte_t *entry) argument 125 kvm_ptw_enter(kvm_ptw_ctx *ctx) argument 132 kvm_ptw_exit(kvm_ptw_ctx *ctx) argument [all...] |
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst.c | 195 struct intel_sst_drv *ctx = container_of(work, local 198 ctx->ops->post_message(ctx, NULL, false); 201 static int sst_workqueue_init(struct intel_sst_drv *ctx) argument 203 INIT_LIST_HEAD(&ctx->memcpy_list); 204 INIT_LIST_HEAD(&ctx->rx_list); 205 INIT_LIST_HEAD(&ctx->ipc_dispatch_list); 206 INIT_LIST_HEAD(&ctx->block_list); 207 INIT_WORK(&ctx->ipc_post_msg_wq, sst_process_pending_msg); 208 init_waitqueue_head(&ctx 217 sst_init_locks(struct intel_sst_drv *ctx) argument 230 sst_alloc_drv_context(struct intel_sst_drv **ctx, struct device *dev, unsigned short dev_id) argument 247 struct intel_sst_drv *ctx = dev_get_drvdata(dev); local 270 sst_context_init(struct intel_sst_drv *ctx) argument 362 sst_context_cleanup(struct intel_sst_drv *ctx) argument 380 sst_configure_runtime_pm(struct intel_sst_drv *ctx) argument 405 struct intel_sst_drv *ctx = dev_get_drvdata(dev); local 428 struct intel_sst_drv *ctx = dev_get_drvdata(dev); local 512 struct intel_sst_drv *ctx = dev_get_drvdata(dev); local [all...] |
/linux-master/fs/ |
H A D | timerfd.c | 52 static inline bool isalarm(struct timerfd_ctx *ctx) argument 54 return ctx->clockid == CLOCK_REALTIME_ALARM || 55 ctx->clockid == CLOCK_BOOTTIME_ALARM; 63 static void timerfd_triggered(struct timerfd_ctx *ctx) argument 67 spin_lock_irqsave(&ctx->wqh.lock, flags); 68 ctx->expired = 1; 69 ctx->ticks++; 70 wake_up_locked_poll(&ctx->wqh, EPOLLIN); 71 spin_unlock_irqrestore(&ctx->wqh.lock, flags); 76 struct timerfd_ctx *ctx local 85 struct timerfd_ctx *ctx = container_of(alarm, struct timerfd_ctx, local 100 struct timerfd_ctx *ctx; local 134 __timerfd_remove_cancel(struct timerfd_ctx *ctx) argument 144 timerfd_remove_cancel(struct timerfd_ctx *ctx) argument 151 timerfd_canceled(struct timerfd_ctx *ctx) argument 159 timerfd_setup_cancel(struct timerfd_ctx *ctx, int flags) argument 177 timerfd_get_remaining(struct timerfd_ctx *ctx) argument 189 timerfd_setup(struct timerfd_ctx *ctx, int flags, const struct itimerspec64 *ktmr) argument 237 struct timerfd_ctx *ctx = file->private_data; local 251 struct timerfd_ctx *ctx = file->private_data; local 268 struct timerfd_ctx *ctx = file->private_data; local 323 struct timerfd_ctx *ctx = file->private_data; local 352 struct timerfd_ctx *ctx = file->private_data; local 409 struct timerfd_ctx *ctx; local 459 struct timerfd_ctx *ctx; local 529 struct timerfd_ctx *ctx; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_opp_v.h | 33 struct dc_context *ctx);
|
H A D | dce110_mem_input_v.h | 33 struct dc_context *ctx);
|
H A D | dce110_timing_generator_v.h | 31 struct dc_context *ctx);
|
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/ |
H A D | dce60_clk_mgr.h | 33 struct dc_context *ctx,
|
/linux-master/arch/x86/crypto/ |
H A D | camellia.h | 27 asmlinkage void __camellia_enc_blk(const void *ctx, u8 *dst, const u8 *src, 29 asmlinkage void camellia_dec_blk(const void *ctx, u8 *dst, const u8 *src); 32 asmlinkage void __camellia_enc_blk_2way(const void *ctx, u8 *dst, const u8 *src, 34 asmlinkage void camellia_dec_blk_2way(const void *ctx, u8 *dst, const u8 *src); 37 asmlinkage void camellia_ecb_enc_16way(const void *ctx, u8 *dst, const u8 *src); 38 asmlinkage void camellia_ecb_dec_16way(const void *ctx, u8 *dst, const u8 *src); 40 asmlinkage void camellia_cbc_dec_16way(const void *ctx, u8 *dst, const u8 *src); 42 static inline void camellia_enc_blk(const void *ctx, u8 *dst, const u8 *src) argument 44 __camellia_enc_blk(ctx, dst, src, false); 47 static inline void camellia_enc_blk_xor(const void *ctx, u argument 52 camellia_enc_blk_2way(const void *ctx, u8 *dst, const u8 *src) argument 58 camellia_enc_blk_xor_2way(const void *ctx, u8 *dst, const u8 *src) argument [all...] |
H A D | serpent-sse2.h | 12 asmlinkage void __serpent_enc_blk_4way(const struct serpent_ctx *ctx, u8 *dst, 14 asmlinkage void serpent_dec_blk_4way(const struct serpent_ctx *ctx, u8 *dst, 17 static inline void serpent_enc_blk_xway(const void *ctx, u8 *dst, const u8 *src) argument 19 __serpent_enc_blk_4way(ctx, dst, src, false); 22 static inline void serpent_enc_blk_xway_xor(const struct serpent_ctx *ctx, argument 25 __serpent_enc_blk_4way(ctx, dst, src, true); 28 static inline void serpent_dec_blk_xway(const void *ctx, u8 *dst, const u8 *src) argument 30 serpent_dec_blk_4way(ctx, dst, src); 37 asmlinkage void __serpent_enc_blk_8way(const struct serpent_ctx *ctx, u8 *dst, 39 asmlinkage void serpent_dec_blk_8way(const struct serpent_ctx *ctx, u 42 serpent_enc_blk_xway(const void *ctx, u8 *dst, const u8 *src) argument 47 serpent_enc_blk_xway_xor(const struct serpent_ctx *ctx, u8 *dst, const u8 *src) argument 53 serpent_dec_blk_xway(const void *ctx, u8 *dst, const u8 *src) argument [all...] |