/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/ |
H A D | rfcomm_api.c | 26 Event *ctx = context; in RfcommInitializeTsk() local 28 if (ctx == NULL) { in RfcommInitializeTsk() 35 EventSet(ctx); in RfcommInitializeTsk() 48 Event *ctx = EventCreate(true); in RFCOMM_Startup() local 52 EventDelete(ctx); in RFCOMM_Startup() 56 ret = BTM_RunTaskInProcessingQueue(PROCESSING_QUEUE_ID_RFCOMM, RfcommInitializeTsk, ctx); in RFCOMM_Startup() 58 EventDelete(ctx); in RFCOMM_Startup() 62 EventWait(ctx, WAIT_TIME); in RFCOMM_Startup() 63 EventDelete(ctx); in RFCOMM_Startup() 70 Event *ctx in RfcommFinalizeTsk() local 94 Event *ctx = EventCreate(true); RFCOMM_Shutdown() local 115 RfcommAssignScnInfo *ctx = context; RfcommAssignServerNumTsk() local 144 RfcommAssignScnInfo *ctx = malloc(sizeof(RfcommAssignScnInfo)); RFCOMM_AssignServerNum() local 175 RfcommFreeScnInfo *ctx = context; RfcommFreeServerNumTsk() local 198 RfcommFreeScnInfo *ctx = malloc(sizeof(RfcommFreeScnInfo)); RFCOMM_FreeServerNum() local 225 RfcommConnectDlcInfo *ctx = context; RfcommConnectChannelTsk() local 253 RfcommConnectDlcInfo *ctx = malloc(sizeof(RfcommConnectDlcInfo)); RFCOMM_ConnectChannel() local 292 RfcommRegistServerInfo *ctx = context; RfcommRegisterServerTsk() local 325 RfcommRegistServerInfo *ctx = malloc(sizeof(RfcommRegistServerInfo)); RFCOMM_RegisterServer() local 361 RfcommAcceptConnectionInfo *ctx = context; RfcommAcceptConnectionTsk() local 387 RfcommAcceptConnectionInfo *ctx = malloc(sizeof(RfcommAcceptConnectionInfo)); RFCOMM_AcceptConnection() local 410 RfcommRejectConnectionInfo *ctx = context; RfcommRejectConnectionTsk() local 436 RfcommRejectConnectionInfo *ctx = malloc(sizeof(RfcommRejectConnectionInfo)); RFCOMM_RejectConnection() local 459 RfcommRejectConnectionInfo *ctx = context; RfcommDisconnectChannelTsk() local 483 RfcommDisconnectChannelInfo *ctx = malloc(sizeof(RfcommDisconnectChannelInfo)); RFCOMM_DisconnectChannel() local 508 RfcommDeregisterServerInfo *ctx = context; RfcommDeregisterServerTsk() local 535 RfcommDeregisterServerInfo *ctx = malloc(sizeof(RfcommDeregisterServerInfo)); RFCOMM_DeregisterServer() local 568 RfcommSetRpnInfo *ctx = context; RfcommSetPortConfigTsk() local 595 RfcommSetRpnInfo *ctx = malloc(sizeof(RfcommSetRpnInfo)); RFCOMM_SetPortConfig() local 620 RfcommReqPortConfigInfo *ctx = context; RfcommReqPortConfigTsk() local 644 RfcommReqPortConfigInfo *ctx = malloc(sizeof(RfcommReqPortConfigInfo)); RFCOMM_ReqPortConfig() local 668 RfcommSendRlsInfo *ctx = context; RfcommSendRemoteLineStatusTsk() local 693 RfcommSendRlsInfo *ctx = malloc(sizeof(RfcommSendRlsInfo)); RFCOMM_SendRemoteLineStatus() local 719 RfcommSetMscInfo *ctx = context; RfcommSetModemStatusTsk() local 744 RfcommSetMscInfo *ctx = malloc(sizeof(RfcommSetMscInfo)); RFCOMM_SetModemStatus() local 772 RfcommGetPortStInfo *ctx = context; RfcommGetPortStateTsk() local 800 RfcommGetPortStInfo *ctx = malloc(sizeof(RfcommGetPortStInfo)); RFCOMM_GetPortState() local 856 RfcommWriteInfo *ctx = context; RfcommWriteTsk() local 883 RfcommWriteInfo *ctx = malloc(sizeof(RfcommWriteInfo)); RFCOMM_Write() local 917 RfcommSendTestCmdInfo *ctx = context; RfcommSendTestCmdTsk() local 942 RfcommSendTestCmdInfo *ctx = malloc(sizeof(RfcommSendTestCmdInfo)); RFCOMM_SendTestCmd() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
H A D | context.c | 27 struct spu_context *ctx; in alloc_spu_context() local 29 ctx = kzalloc(sizeof *ctx, GFP_KERNEL); in alloc_spu_context() 30 if (!ctx) in alloc_spu_context() 35 if (spu_init_csa(&ctx->csa)) in alloc_spu_context() 37 spin_lock_init(&ctx->mmio_lock); in alloc_spu_context() 38 mutex_init(&ctx->mapping_lock); in alloc_spu_context() 39 kref_init(&ctx->kref); in alloc_spu_context() 40 mutex_init(&ctx->state_mutex); in alloc_spu_context() 41 mutex_init(&ctx in alloc_spu_context() 71 struct spu_context *ctx; destroy_spu_context() local 88 get_spu_context(struct spu_context *ctx) get_spu_context() argument 94 put_spu_context(struct spu_context *ctx) put_spu_context() argument 100 spu_forget(struct spu_context *ctx) spu_forget() argument 119 spu_unmap_mappings(struct spu_context *ctx) spu_unmap_mappings() argument 143 spu_acquire_saved(struct spu_context *ctx) spu_acquire_saved() argument 165 spu_release_saved(struct spu_context *ctx) spu_release_saved() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | context.c | 27 struct spu_context *ctx; in alloc_spu_context() local 29 ctx = kzalloc(sizeof *ctx, GFP_KERNEL); in alloc_spu_context() 30 if (!ctx) in alloc_spu_context() 35 if (spu_init_csa(&ctx->csa)) in alloc_spu_context() 37 spin_lock_init(&ctx->mmio_lock); in alloc_spu_context() 38 mutex_init(&ctx->mapping_lock); in alloc_spu_context() 39 kref_init(&ctx->kref); in alloc_spu_context() 40 mutex_init(&ctx->state_mutex); in alloc_spu_context() 41 mutex_init(&ctx in alloc_spu_context() 71 struct spu_context *ctx; destroy_spu_context() local 88 get_spu_context(struct spu_context *ctx) get_spu_context() argument 94 put_spu_context(struct spu_context *ctx) put_spu_context() argument 100 spu_forget(struct spu_context *ctx) spu_forget() argument 119 spu_unmap_mappings(struct spu_context *ctx) spu_unmap_mappings() argument 143 spu_acquire_saved(struct spu_context *ctx) spu_acquire_saved() argument 165 spu_release_saved(struct spu_context *ctx) spu_release_saved() argument [all...] |
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | context.c | 37 mpd_dflt_traphandler(mpd_context_t *ctx) in mpd_dflt_traphandler() argument 39 (void)ctx; in mpd_dflt_traphandler() 68 mpd_init(mpd_context_t *ctx, mpd_ssize_t prec) in mpd_init() argument 72 mpd_defaultcontext(ctx); in mpd_init() 74 if (!mpd_qsetprec(ctx, prec)) { in mpd_init() 75 mpd_addstatus_raise(ctx, MPD_Invalid_context); in mpd_init() 87 mpd_maxcontext(mpd_context_t *ctx) in mpd_maxcontext() argument 89 ctx->prec=MPD_MAX_PREC; in mpd_maxcontext() 90 ctx->emax=MPD_MAX_EMAX; in mpd_maxcontext() 91 ctx in mpd_maxcontext() 101 mpd_defaultcontext(mpd_context_t *ctx) mpd_defaultcontext() argument 115 mpd_basiccontext(mpd_context_t *ctx) mpd_basiccontext() argument 129 mpd_ieee_context(mpd_context_t *ctx, int bits) mpd_ieee_context() argument 149 mpd_getprec(const mpd_context_t *ctx) mpd_getprec() argument 155 mpd_getemax(const mpd_context_t *ctx) mpd_getemax() argument 161 mpd_getemin(const mpd_context_t *ctx) mpd_getemin() argument 167 mpd_getround(const mpd_context_t *ctx) mpd_getround() argument 173 mpd_gettraps(const mpd_context_t *ctx) mpd_gettraps() argument 179 mpd_getstatus(const mpd_context_t *ctx) mpd_getstatus() argument 185 mpd_getclamp(const mpd_context_t *ctx) mpd_getclamp() argument 191 mpd_getcr(const mpd_context_t *ctx) mpd_getcr() argument 198 mpd_qsetprec(mpd_context_t *ctx, mpd_ssize_t prec) mpd_qsetprec() argument 208 mpd_qsetemax(mpd_context_t *ctx, mpd_ssize_t emax) mpd_qsetemax() argument 218 mpd_qsetemin(mpd_context_t *ctx, mpd_ssize_t emin) mpd_qsetemin() argument 228 mpd_qsetround(mpd_context_t *ctx, int round) mpd_qsetround() argument 238 mpd_qsettraps(mpd_context_t *ctx, uint32_t flags) mpd_qsettraps() argument 248 mpd_qsetstatus(mpd_context_t *ctx, uint32_t flags) mpd_qsetstatus() argument 258 mpd_qsetclamp(mpd_context_t *ctx, int c) mpd_qsetclamp() argument 268 mpd_qsetcr(mpd_context_t *ctx, int c) mpd_qsetcr() argument 279 mpd_addstatus_raise(mpd_context_t *ctx, uint32_t flags) mpd_addstatus_raise() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/net/ |
H A D | bpf_jit.c | 118 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx); 121 #define emit_instr(ctx, func, ...) \ 123 if ((ctx)->target != NULL) { \ 124 u32 *p = &(ctx)->target[ctx->idx]; \ 127 (ctx)->idx++; \ 134 #define emit_long_instr(ctx, func, ...) \ 136 if ((ctx)->target != NULL) { \ 137 u32 *p = &(ctx)->target[ctx 149 emit_addu(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) emit_addu() argument 155 emit_nop(struct jit_ctx *ctx) emit_nop() argument 161 emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) emit_load_imm() argument 181 emit_or(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) emit_or() argument 187 emit_ori(unsigned int dst, unsigned src, u32 imm, struct jit_ctx *ctx) emit_ori() argument 198 emit_daddiu(unsigned int dst, unsigned int src, int imm, struct jit_ctx *ctx) emit_daddiu() argument 208 emit_addiu(unsigned int dst, unsigned int src, u32 imm, struct jit_ctx *ctx) emit_addiu() argument 219 emit_and(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) emit_and() argument 225 emit_andi(unsigned int dst, unsigned int src, u32 imm, struct jit_ctx *ctx) emit_andi() argument 237 emit_xor(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) emit_xor() argument 243 emit_xori(ptr dst, ptr src, u32 imm, struct jit_ctx *ctx) emit_xori() argument 254 emit_stack_offset(int offset, struct jit_ctx *ctx) emit_stack_offset() argument 259 emit_subu(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) emit_subu() argument 265 emit_neg(unsigned int reg, struct jit_ctx *ctx) emit_neg() argument 270 emit_sllv(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) emit_sllv() argument 276 emit_sll(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) emit_sll() argument 287 emit_srlv(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) emit_srlv() argument 293 emit_srl(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) emit_srl() argument 304 emit_slt(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) emit_slt() argument 310 emit_sltu(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) emit_sltu() argument 316 emit_sltiu(unsigned dst, unsigned int src, unsigned int imm, struct jit_ctx *ctx) emit_sltiu() argument 330 emit_store_stack_reg(ptr reg, ptr base, unsigned int offset, struct jit_ctx *ctx) emit_store_stack_reg() argument 337 emit_store(ptr reg, ptr base, unsigned int offset, struct jit_ctx *ctx) emit_store() argument 343 emit_load_stack_reg(ptr reg, ptr base, unsigned int offset, struct jit_ctx *ctx) emit_load_stack_reg() argument 350 emit_load(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) emit_load() argument 356 emit_load_byte(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) emit_load_byte() argument 362 emit_half_load(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) emit_half_load() argument 368 emit_half_load_unsigned(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) emit_half_load_unsigned() argument 374 emit_mul(unsigned int dst, unsigned int src1, unsigned int src2, struct jit_ctx *ctx) emit_mul() argument 380 emit_div(unsigned int dst, unsigned int src, struct jit_ctx *ctx) emit_div() argument 392 emit_mod(unsigned int dst, unsigned int src, struct jit_ctx *ctx) emit_mod() argument 404 emit_dsll(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) emit_dsll() argument 410 emit_dsrl32(unsigned int dst, unsigned int src, unsigned int sa, struct jit_ctx *ctx) emit_dsrl32() argument 416 emit_wsbh(unsigned int dst, unsigned int src, struct jit_ctx *ctx) emit_wsbh() argument 423 emit_load_ptr(unsigned int dst, unsigned int src, int imm, struct jit_ctx *ctx) emit_load_ptr() argument 431 emit_load_func(unsigned int reg, ptr imm, struct jit_ctx *ctx) emit_load_func() argument 447 emit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx) emit_reg_move() argument 453 emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx) emit_jit_reg_move() argument 459 b_imm(unsigned int tgt, struct jit_ctx *ctx) b_imm() argument 481 emit_bcond(int cond, unsigned int reg1, unsigned int reg2, unsigned int imm, struct jit_ctx *ctx) emit_bcond() argument 505 emit_b(unsigned int imm, struct jit_ctx *ctx) emit_b() argument 510 emit_jalr(unsigned int link, unsigned int reg, struct jit_ctx *ctx) emit_jalr() argument 516 emit_jr(unsigned int reg, struct jit_ctx *ctx) emit_jr() argument 529 save_bpf_jit_regs(struct jit_ctx *ctx, unsigned offset) save_bpf_jit_regs() argument 564 restore_bpf_jit_regs(struct jit_ctx *ctx, unsigned int offset) restore_bpf_jit_regs() argument 589 emit_stack_offset(align_sp(offset), ctx); restore_bpf_jit_regs() local 592 get_stack_depth(struct jit_ctx *ctx) get_stack_depth() argument 609 build_prologue(struct jit_ctx *ctx) build_prologue() argument 647 build_epilogue(struct jit_ctx *ctx) build_epilogue() argument 670 build_body(struct jit_ctx *ctx) build_body() argument 1238 struct jit_ctx ctx; bpf_jit_compile() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | state.c | 61 _mesa_update_allow_draw_out_of_order(struct gl_context *ctx) in _mesa_update_allow_draw_out_of_order() argument 93 if (!ctx->Const.AllowDrawOutOfOrder) in _mesa_update_allow_draw_out_of_order() 96 assert(ctx->API == API_OPENGL_COMPAT); in _mesa_update_allow_draw_out_of_order() 100 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX]; in _mesa_update_allow_draw_out_of_order() 102 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL]; in _mesa_update_allow_draw_out_of_order() 104 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL]; in _mesa_update_allow_draw_out_of_order() 106 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY]; in _mesa_update_allow_draw_out_of_order() 108 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT]; in _mesa_update_allow_draw_out_of_order() 109 GLenum16 depth_func = ctx->Depth.Func; in _mesa_update_allow_draw_out_of_order() 122 bool previous_state = ctx in _mesa_update_allow_draw_out_of_order() 167 update_program(struct gl_context *ctx) update_program() argument 320 update_single_program_constants(struct gl_context *ctx, struct gl_program *prog, gl_shader_stage stage) update_single_program_constants() argument 342 update_program_constants(struct gl_context *ctx) update_program_constants() argument 370 update_fixed_func_program_usage(struct gl_context *ctx) update_fixed_func_program_usage() argument 514 _mesa_set_vp_override(struct gl_context *ctx, GLboolean flag) _mesa_set_vp_override() argument 528 set_vertex_processing_mode(struct gl_context *ctx, gl_vertex_processing_mode m) set_vertex_processing_mode() argument 599 _mesa_update_vertex_processing_mode(struct gl_context *ctx) _mesa_update_vertex_processing_mode() argument 611 _mesa_reset_vertex_processing_mode(struct gl_context *ctx) _mesa_reset_vertex_processing_mode() argument [all...] |
H A D | feedback.c | 54 GET_CURRENT_CONTEXT(ctx); in _mesa_FeedbackBuffer() 56 if (ctx->RenderMode==GL_FEEDBACK) { in _mesa_FeedbackBuffer() 57 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); in _mesa_FeedbackBuffer() 61 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); in _mesa_FeedbackBuffer() 65 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); in _mesa_FeedbackBuffer() 66 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer() 72 ctx->Feedback._Mask = 0; in _mesa_FeedbackBuffer() 75 ctx->Feedback._Mask = FB_3D; in _mesa_FeedbackBuffer() 78 ctx->Feedback._Mask = (FB_3D | FB_COLOR); in _mesa_FeedbackBuffer() 81 ctx in _mesa_FeedbackBuffer() 116 _mesa_feedback_vertex(struct gl_context *ctx, const GLfloat win[4], const GLfloat color[4], const GLfloat texcoord[4]) _mesa_feedback_vertex() argument 196 write_record(struct gl_context *ctx, GLuint value) write_record() argument 215 _mesa_update_hitflag(struct gl_context *ctx, GLfloat z) _mesa_update_hitflag() argument 227 alloc_select_resource(struct gl_context *ctx) alloc_select_resource() argument 280 save_used_name_stack(struct gl_context *ctx) save_used_name_stack() argument 335 update_hit_record(struct gl_context *ctx) update_hit_record() argument 424 reset_name_stack_to_empty(struct gl_context *ctx) reset_name_stack_to_empty() argument 678 _mesa_free_feedback(struct gl_context * ctx) _mesa_free_feedback() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
H A D | sii9234.c | 194 static int sii9234_writeb(struct sii9234 *ctx, int id, int offset, in sii9234_writeb() argument 198 struct i2c_client *client = ctx->client[id]; in sii9234_writeb() 200 if (ctx->i2c_error) in sii9234_writeb() 201 return ctx->i2c_error; in sii9234_writeb() 205 dev_err(ctx->dev, "writeb: %4s[0x%02x] <- 0x%02x\n", in sii9234_writeb() 207 ctx->i2c_error = ret; in sii9234_writeb() 212 static int sii9234_writebm(struct sii9234 *ctx, int id, int offset, in sii9234_writebm() argument 216 struct i2c_client *client = ctx->client[id]; in sii9234_writebm() 218 if (ctx->i2c_error) in sii9234_writebm() 219 return ctx in sii9234_writebm() 249 sii9234_readb(struct sii9234 *ctx, int id, int offset) sii9234_readb() argument 275 sii9234_clear_error(struct sii9234 *ctx) sii9234_clear_error() argument 309 sii9234_tmds_control(struct sii9234 *ctx, bool enable) sii9234_tmds_control() argument 318 sii9234_cbus_reset(struct sii9234 *ctx) sii9234_cbus_reset() argument 343 sii9234_cbus_init(struct sii9234 *ctx) sii9234_cbus_init() argument 389 force_usb_id_switch_open(struct sii9234 *ctx) force_usb_id_switch_open() argument 400 release_usb_id_switch_open(struct sii9234 *ctx) release_usb_id_switch_open() argument 409 sii9234_power_init(struct sii9234 *ctx) sii9234_power_init() argument 422 sii9234_hdmi_init(struct sii9234 *ctx) sii9234_hdmi_init() argument 442 sii9234_mhl_tx_ctl_int(struct sii9234 *ctx) sii9234_mhl_tx_ctl_int() argument 452 sii9234_reset(struct sii9234 *ctx) sii9234_reset() argument 546 sii9234_goto_d3(struct sii9234 *ctx) sii9234_goto_d3() argument 569 sii9234_hw_on(struct sii9234 *ctx) sii9234_hw_on() argument 574 sii9234_hw_off(struct sii9234 *ctx) sii9234_hw_off() argument 581 sii9234_hw_reset(struct sii9234 *ctx) sii9234_hw_reset() argument 588 sii9234_cable_in(struct sii9234 *ctx) sii9234_cable_in() argument 608 sii9234_cable_out(struct sii9234 *ctx) sii9234_cable_out() argument 626 sii9234_rgnd_ready_irq(struct sii9234 *ctx) sii9234_rgnd_ready_irq() argument 668 sii9234_mhl_established(struct sii9234 *ctx) sii9234_mhl_established() argument 688 sii9234_hpd_change(struct sii9234 *ctx) sii9234_hpd_change() argument 707 sii9234_rsen_change(struct sii9234 *ctx) sii9234_rsen_change() argument 753 struct sii9234 *ctx = data; sii9234_irq_thread() local 816 sii9234_init_resources(struct sii9234 *ctx, struct i2c_client *client) sii9234_init_resources() argument 893 struct sii9234 *ctx; sii9234_probe() local 941 struct sii9234 *ctx = i2c_get_clientdata(client); sii9234_remove() local [all...] |
H A D | sil-sii8620.c | 106 typedef void (*sii8620_mt_msg_cb)(struct sii8620 *ctx, 109 typedef void (*sii8620_cb)(struct sii8620 *ctx, int ret); 131 static void sii8620_fetch_edid(struct sii8620 *ctx); 132 static void sii8620_set_upstream_edid(struct sii8620 *ctx); 133 static void sii8620_enable_hpd(struct sii8620 *ctx); 134 static void sii8620_mhl_disconnected(struct sii8620 *ctx); 135 static void sii8620_disconnect(struct sii8620 *ctx); 137 static int sii8620_clear_error(struct sii8620 *ctx) in sii8620_clear_error() argument 139 int ret = ctx->error; in sii8620_clear_error() 141 ctx in sii8620_clear_error() 145 sii8620_read_buf(struct sii8620 *ctx, u16 addr, u8 *buf, int len) sii8620_read_buf() argument 179 sii8620_readb(struct sii8620 *ctx, u16 addr) sii8620_readb() argument 187 sii8620_write_buf(struct sii8620 *ctx, u16 addr, const u8 *buf, int len) sii8620_write_buf() argument 236 __sii8620_write_seq(struct sii8620 *ctx, const u16 *seq, int len) __sii8620_write_seq() argument 256 sii8620_setbits(struct sii8620 *ctx, u16 addr, u8 mask, u8 val) sii8620_setbits() argument 262 sii8620_is_mhl3(struct sii8620 *ctx) sii8620_is_mhl3() argument 267 sii8620_mt_cleanup(struct sii8620 *ctx) sii8620_mt_cleanup() argument 278 sii8620_mt_work(struct sii8620 *ctx) sii8620_mt_work() argument 308 sii8620_enable_gen2_write_burst(struct sii8620 *ctx) sii8620_enable_gen2_write_burst() argument 325 sii8620_disable_gen2_write_burst(struct sii8620 *ctx) sii8620_disable_gen2_write_burst() argument 337 sii8620_start_gen2_write_burst(struct sii8620 *ctx) sii8620_start_gen2_write_burst() argument 351 sii8620_mt_msc_cmd_send(struct sii8620 *ctx, struct sii8620_mt_msg *msg) sii8620_mt_msc_cmd_send() argument 385 sii8620_mt_msg_new(struct sii8620 *ctx) sii8620_mt_msg_new() argument 397 sii8620_mt_set_cont(struct sii8620 *ctx, sii8620_cb cont) sii8620_mt_set_cont() argument 412 sii8620_mt_msc_cmd(struct sii8620 *ctx, u8 cmd, u8 arg1, u8 arg2) sii8620_mt_msc_cmd() argument 425 sii8620_mt_write_stat(struct sii8620 *ctx, u8 reg, u8 val) sii8620_mt_write_stat() argument 430 sii8620_mt_set_int(struct sii8620 *ctx, u8 irq, u8 mask) sii8620_mt_set_int() argument 435 sii8620_mt_msc_msg(struct sii8620 *ctx, u8 cmd, u8 data) sii8620_mt_msc_msg() argument 440 sii8620_mt_rap(struct sii8620 *ctx, u8 code) sii8620_mt_rap() argument 445 sii8620_mt_rcpk(struct sii8620 *ctx, u8 code) sii8620_mt_rcpk() argument 450 sii8620_mt_rcpe(struct sii8620 *ctx, u8 code) sii8620_mt_rcpe() argument 455 sii8620_mt_read_devcap_send(struct sii8620 *ctx, struct sii8620_mt_msg *msg) sii8620_mt_read_devcap_send() argument 481 sii8620_identify_sink(struct sii8620 *ctx) sii8620_identify_sink() argument 514 sii8620_mr_devcap(struct sii8620 *ctx) sii8620_mr_devcap() argument 533 sii8620_mr_xdevcap(struct sii8620 *ctx) sii8620_mr_xdevcap() argument 539 sii8620_mt_read_devcap_recv(struct sii8620 *ctx, struct sii8620_mt_msg *msg) sii8620_mt_read_devcap_recv() argument 562 sii8620_mt_read_devcap(struct sii8620 *ctx, bool xdevcap) sii8620_mt_read_devcap() argument 574 sii8620_mt_read_devcap_reg_recv(struct sii8620 *ctx, struct sii8620_mt_msg *msg) sii8620_mt_read_devcap_reg_recv() argument 585 sii8620_mt_read_devcap_reg(struct sii8620 *ctx, u8 reg) sii8620_mt_read_devcap_reg() argument 598 sii8620_mt_read_xdevcap_reg(struct sii8620 *ctx, u8 reg) sii8620_mt_read_xdevcap_reg() argument 603 sii8620_burst_get_tx_buf(struct sii8620 *ctx, int len) sii8620_burst_get_tx_buf() argument 620 sii8620_burst_get_rx_buf(struct sii8620 *ctx, int len) sii8620_burst_get_rx_buf() argument 637 sii8620_burst_send(struct sii8620 *ctx) sii8620_burst_send() argument 668 sii8620_burst_receive(struct sii8620 *ctx) sii8620_burst_receive() argument 698 sii8620_burst_tx_rbuf_info(struct sii8620 *ctx, int size) sii8620_burst_tx_rbuf_info() argument 727 sii8620_burst_tx_bits_per_pixel_fmt(struct sii8620 *ctx, u8 fmt) sii8620_burst_tx_bits_per_pixel_fmt() argument 743 sii8620_burst_rx_all(struct sii8620 *ctx) sii8620_burst_rx_all() argument 765 sii8620_fetch_edid(struct sii8620 *ctx) sii8620_fetch_edid() argument 873 sii8620_set_upstream_edid(struct sii8620 *ctx) sii8620_set_upstream_edid() argument 906 sii8620_xtal_set_rate(struct sii8620 *ctx) sii8620_xtal_set_rate() argument 934 sii8620_hw_on(struct sii8620 *ctx) sii8620_hw_on() argument 954 sii8620_hw_off(struct sii8620 *ctx) sii8620_hw_off() argument 961 sii8620_cbus_reset(struct sii8620 *ctx) sii8620_cbus_reset() argument 969 sii8620_set_auto_zone(struct sii8620 *ctx) sii8620_set_auto_zone() argument 987 sii8620_stop_video(struct sii8620 *ctx) sii8620_stop_video() argument 1014 sii8620_set_format(struct sii8620 *ctx) sii8620_set_format() argument 1096 sii8620_set_infoframes(struct sii8620 *ctx, struct drm_display_mode *mode) sii8620_set_infoframes() argument 1142 sii8620_start_video(struct sii8620 *ctx) sii8620_start_video() argument 1221 sii8620_disable_hpd(struct sii8620 *ctx) sii8620_disable_hpd() argument 1230 sii8620_enable_hpd(struct sii8620 *ctx) sii8620_enable_hpd() argument 1241 sii8620_mhl_discover(struct sii8620 *ctx) sii8620_mhl_discover() argument 1282 sii8620_peer_specific_init(struct sii8620 *ctx) sii8620_peer_specific_init() argument 1305 sii8620_set_dev_cap(struct sii8620 *ctx) sii8620_set_dev_cap() argument 1338 sii8620_mhl_init(struct sii8620 *ctx) sii8620_mhl_init() argument 1401 sii8620_emsc_enable(struct sii8620 *ctx) sii8620_emsc_enable() argument 1416 sii8620_wait_for_fsm_state(struct sii8620 *ctx, u8 state) sii8620_wait_for_fsm_state() argument 1432 sii8620_set_mode(struct sii8620 *ctx, enum sii8620_mode mode) sii8620_set_mode() argument 1510 sii8620_hpd_unplugged(struct sii8620 *ctx) sii8620_hpd_unplugged() argument 1520 sii8620_disconnect(struct sii8620 *ctx) sii8620_disconnect() argument 1600 sii8620_mhl_disconnected(struct sii8620 *ctx) sii8620_mhl_disconnected() argument 1610 sii8620_irq_disc(struct sii8620 *ctx) sii8620_irq_disc() argument 1640 sii8620_read_burst(struct sii8620 *ctx) sii8620_read_burst() argument 1651 sii8620_irq_g2wb(struct sii8620 *ctx) sii8620_irq_g2wb() argument 1669 sii8620_status_dcap_ready(struct sii8620 *ctx) sii8620_status_dcap_ready() argument 1681 sii8620_status_changed_path(struct sii8620 *ctx) sii8620_status_changed_path() argument 1697 sii8620_msc_mr_write_stat(struct sii8620 *ctx) sii8620_msc_mr_write_stat() argument 1719 sii8620_ecbus_up(struct sii8620 *ctx, int ret) sii8620_ecbus_up() argument 1727 sii8620_got_ecbus_speed(struct sii8620 *ctx, int ret) sii8620_got_ecbus_speed() argument 1746 sii8620_send_features(struct sii8620 *ctx) sii8620_send_features() argument 1757 sii8620_rcp_consume(struct sii8620 *ctx, u8 scancode) sii8620_rcp_consume() argument 1774 sii8620_msc_mr_set_int(struct sii8620 *ctx) sii8620_msc_mr_set_int() argument 1803 sii8620_msc_msg_first(struct sii8620 *ctx) sii8620_msc_msg_first() argument 1815 sii8620_msc_mt_done(struct sii8620 *ctx) sii8620_msc_mt_done() argument 1826 sii8620_msc_mr_msc_msg(struct sii8620 *ctx) sii8620_msc_mr_msc_msg() argument 1853 sii8620_irq_msc(struct sii8620 *ctx) sii8620_irq_msc() argument 1894 sii8620_irq_coc(struct sii8620 *ctx) sii8620_irq_coc() argument 1914 sii8620_irq_merr(struct sii8620 *ctx) sii8620_irq_merr() argument 1921 sii8620_irq_edid(struct sii8620 *ctx) sii8620_irq_edid() argument 1931 sii8620_irq_scdt(struct sii8620 *ctx) sii8620_irq_scdt() argument 1945 sii8620_got_xdevcap(struct sii8620 *ctx, int ret) sii8620_got_xdevcap() argument 1953 sii8620_irq_tdm(struct sii8620 *ctx) sii8620_irq_tdm() argument 1975 sii8620_irq_block(struct sii8620 *ctx) sii8620_irq_block() argument 1989 sii8620_irq_ddc(struct sii8620 *ctx) sii8620_irq_ddc() argument 2027 struct sii8620 *ctx = data; sii8620_irq_thread() local 2052 sii8620_cable_in(struct sii8620 *ctx) sii8620_cable_in() argument 2096 sii8620_init_rcp_input_dev(struct sii8620 *ctx) sii8620_init_rcp_input_dev() argument 2129 sii8620_cable_out(struct sii8620 *ctx) sii8620_cable_out() argument 2137 struct sii8620 *ctx = sii8620_extcon_work() local 2155 struct sii8620 *ctx = sii8620_extcon_notifier() local 2163 sii8620_extcon_init(struct sii8620 *ctx) sii8620_extcon_init() argument 2208 struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620_attach() local 2217 struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620_detach() local 2225 sii8620_is_packing_required(struct sii8620 *ctx, const struct drm_display_mode *mode) sii8620_is_packing_required() argument 2250 struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620_mode_valid() local 2269 struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620_mode_fixup() local 2291 struct sii8620 *ctx; sii8620_probe() local 2351 struct sii8620 *ctx = i2c_get_clientdata(client); sii8620_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
H A D | sii9234.c | 194 static int sii9234_writeb(struct sii9234 *ctx, int id, int offset, in sii9234_writeb() argument 198 struct i2c_client *client = ctx->client[id]; in sii9234_writeb() 200 if (ctx->i2c_error) in sii9234_writeb() 201 return ctx->i2c_error; in sii9234_writeb() 205 dev_err(ctx->dev, "writeb: %4s[0x%02x] <- 0x%02x\n", in sii9234_writeb() 207 ctx->i2c_error = ret; in sii9234_writeb() 212 static int sii9234_writebm(struct sii9234 *ctx, int id, int offset, in sii9234_writebm() argument 216 struct i2c_client *client = ctx->client[id]; in sii9234_writebm() 218 if (ctx->i2c_error) in sii9234_writebm() 219 return ctx in sii9234_writebm() 249 sii9234_readb(struct sii9234 *ctx, int id, int offset) sii9234_readb() argument 275 sii9234_clear_error(struct sii9234 *ctx) sii9234_clear_error() argument 309 sii9234_tmds_control(struct sii9234 *ctx, bool enable) sii9234_tmds_control() argument 318 sii9234_cbus_reset(struct sii9234 *ctx) sii9234_cbus_reset() argument 343 sii9234_cbus_init(struct sii9234 *ctx) sii9234_cbus_init() argument 389 force_usb_id_switch_open(struct sii9234 *ctx) force_usb_id_switch_open() argument 400 release_usb_id_switch_open(struct sii9234 *ctx) release_usb_id_switch_open() argument 409 sii9234_power_init(struct sii9234 *ctx) sii9234_power_init() argument 422 sii9234_hdmi_init(struct sii9234 *ctx) sii9234_hdmi_init() argument 442 sii9234_mhl_tx_ctl_int(struct sii9234 *ctx) sii9234_mhl_tx_ctl_int() argument 452 sii9234_reset(struct sii9234 *ctx) sii9234_reset() argument 546 sii9234_goto_d3(struct sii9234 *ctx) sii9234_goto_d3() argument 569 sii9234_hw_on(struct sii9234 *ctx) sii9234_hw_on() argument 574 sii9234_hw_off(struct sii9234 *ctx) sii9234_hw_off() argument 581 sii9234_hw_reset(struct sii9234 *ctx) sii9234_hw_reset() argument 588 sii9234_cable_in(struct sii9234 *ctx) sii9234_cable_in() argument 608 sii9234_cable_out(struct sii9234 *ctx) sii9234_cable_out() argument 626 sii9234_rgnd_ready_irq(struct sii9234 *ctx) sii9234_rgnd_ready_irq() argument 668 sii9234_mhl_established(struct sii9234 *ctx) sii9234_mhl_established() argument 688 sii9234_hpd_change(struct sii9234 *ctx) sii9234_hpd_change() argument 707 sii9234_rsen_change(struct sii9234 *ctx) sii9234_rsen_change() argument 753 struct sii9234 *ctx = data; sii9234_irq_thread() local 816 sii9234_init_resources(struct sii9234 *ctx, struct i2c_client *client) sii9234_init_resources() argument 887 struct sii9234 *ctx; sii9234_probe() local 935 struct sii9234 *ctx = i2c_get_clientdata(client); sii9234_remove() local [all...] |
H A D | sil-sii8620.c | 106 typedef void (*sii8620_mt_msg_cb)(struct sii8620 *ctx, 109 typedef void (*sii8620_cb)(struct sii8620 *ctx, int ret); 131 static void sii8620_fetch_edid(struct sii8620 *ctx); 132 static void sii8620_set_upstream_edid(struct sii8620 *ctx); 133 static void sii8620_enable_hpd(struct sii8620 *ctx); 134 static void sii8620_mhl_disconnected(struct sii8620 *ctx); 135 static void sii8620_disconnect(struct sii8620 *ctx); 137 static int sii8620_clear_error(struct sii8620 *ctx) in sii8620_clear_error() argument 139 int ret = ctx->error; in sii8620_clear_error() 141 ctx in sii8620_clear_error() 145 sii8620_read_buf(struct sii8620 *ctx, u16 addr, u8 *buf, int len) sii8620_read_buf() argument 179 sii8620_readb(struct sii8620 *ctx, u16 addr) sii8620_readb() argument 187 sii8620_write_buf(struct sii8620 *ctx, u16 addr, const u8 *buf, int len) sii8620_write_buf() argument 236 __sii8620_write_seq(struct sii8620 *ctx, const u16 *seq, int len) __sii8620_write_seq() argument 256 sii8620_setbits(struct sii8620 *ctx, u16 addr, u8 mask, u8 val) sii8620_setbits() argument 262 sii8620_is_mhl3(struct sii8620 *ctx) sii8620_is_mhl3() argument 267 sii8620_mt_cleanup(struct sii8620 *ctx) sii8620_mt_cleanup() argument 278 sii8620_mt_work(struct sii8620 *ctx) sii8620_mt_work() argument 308 sii8620_enable_gen2_write_burst(struct sii8620 *ctx) sii8620_enable_gen2_write_burst() argument 325 sii8620_disable_gen2_write_burst(struct sii8620 *ctx) sii8620_disable_gen2_write_burst() argument 337 sii8620_start_gen2_write_burst(struct sii8620 *ctx) sii8620_start_gen2_write_burst() argument 351 sii8620_mt_msc_cmd_send(struct sii8620 *ctx, struct sii8620_mt_msg *msg) sii8620_mt_msc_cmd_send() argument 385 sii8620_mt_msg_new(struct sii8620 *ctx) sii8620_mt_msg_new() argument 397 sii8620_mt_set_cont(struct sii8620 *ctx, sii8620_cb cont) sii8620_mt_set_cont() argument 412 sii8620_mt_msc_cmd(struct sii8620 *ctx, u8 cmd, u8 arg1, u8 arg2) sii8620_mt_msc_cmd() argument 425 sii8620_mt_write_stat(struct sii8620 *ctx, u8 reg, u8 val) sii8620_mt_write_stat() argument 430 sii8620_mt_set_int(struct sii8620 *ctx, u8 irq, u8 mask) sii8620_mt_set_int() argument 435 sii8620_mt_msc_msg(struct sii8620 *ctx, u8 cmd, u8 data) sii8620_mt_msc_msg() argument 440 sii8620_mt_rap(struct sii8620 *ctx, u8 code) sii8620_mt_rap() argument 445 sii8620_mt_rcpk(struct sii8620 *ctx, u8 code) sii8620_mt_rcpk() argument 450 sii8620_mt_rcpe(struct sii8620 *ctx, u8 code) sii8620_mt_rcpe() argument 455 sii8620_mt_read_devcap_send(struct sii8620 *ctx, struct sii8620_mt_msg *msg) sii8620_mt_read_devcap_send() argument 481 sii8620_identify_sink(struct sii8620 *ctx) sii8620_identify_sink() argument 514 sii8620_mr_devcap(struct sii8620 *ctx) sii8620_mr_devcap() argument 533 sii8620_mr_xdevcap(struct sii8620 *ctx) sii8620_mr_xdevcap() argument 539 sii8620_mt_read_devcap_recv(struct sii8620 *ctx, struct sii8620_mt_msg *msg) sii8620_mt_read_devcap_recv() argument 562 sii8620_mt_read_devcap(struct sii8620 *ctx, bool xdevcap) sii8620_mt_read_devcap() argument 574 sii8620_mt_read_devcap_reg_recv(struct sii8620 *ctx, struct sii8620_mt_msg *msg) sii8620_mt_read_devcap_reg_recv() argument 585 sii8620_mt_read_devcap_reg(struct sii8620 *ctx, u8 reg) sii8620_mt_read_devcap_reg() argument 598 sii8620_mt_read_xdevcap_reg(struct sii8620 *ctx, u8 reg) sii8620_mt_read_xdevcap_reg() argument 603 sii8620_burst_get_tx_buf(struct sii8620 *ctx, int len) sii8620_burst_get_tx_buf() argument 620 sii8620_burst_get_rx_buf(struct sii8620 *ctx, int len) sii8620_burst_get_rx_buf() argument 637 sii8620_burst_send(struct sii8620 *ctx) sii8620_burst_send() argument 668 sii8620_burst_receive(struct sii8620 *ctx) sii8620_burst_receive() argument 698 sii8620_burst_tx_rbuf_info(struct sii8620 *ctx, int size) sii8620_burst_tx_rbuf_info() argument 727 sii8620_burst_tx_bits_per_pixel_fmt(struct sii8620 *ctx, u8 fmt) sii8620_burst_tx_bits_per_pixel_fmt() argument 743 sii8620_burst_rx_all(struct sii8620 *ctx) sii8620_burst_rx_all() argument 765 sii8620_fetch_edid(struct sii8620 *ctx) sii8620_fetch_edid() argument 873 sii8620_set_upstream_edid(struct sii8620 *ctx) sii8620_set_upstream_edid() argument 906 sii8620_xtal_set_rate(struct sii8620 *ctx) sii8620_xtal_set_rate() argument 934 sii8620_hw_on(struct sii8620 *ctx) sii8620_hw_on() argument 954 sii8620_hw_off(struct sii8620 *ctx) sii8620_hw_off() argument 961 sii8620_cbus_reset(struct sii8620 *ctx) sii8620_cbus_reset() argument 969 sii8620_set_auto_zone(struct sii8620 *ctx) sii8620_set_auto_zone() argument 987 sii8620_stop_video(struct sii8620 *ctx) sii8620_stop_video() argument 1014 sii8620_set_format(struct sii8620 *ctx) sii8620_set_format() argument 1096 sii8620_set_infoframes(struct sii8620 *ctx, struct drm_display_mode *mode) sii8620_set_infoframes() argument 1142 sii8620_start_video(struct sii8620 *ctx) sii8620_start_video() argument 1221 sii8620_disable_hpd(struct sii8620 *ctx) sii8620_disable_hpd() argument 1230 sii8620_enable_hpd(struct sii8620 *ctx) sii8620_enable_hpd() argument 1241 sii8620_mhl_discover(struct sii8620 *ctx) sii8620_mhl_discover() argument 1282 sii8620_peer_specific_init(struct sii8620 *ctx) sii8620_peer_specific_init() argument 1305 sii8620_set_dev_cap(struct sii8620 *ctx) sii8620_set_dev_cap() argument 1338 sii8620_mhl_init(struct sii8620 *ctx) sii8620_mhl_init() argument 1401 sii8620_emsc_enable(struct sii8620 *ctx) sii8620_emsc_enable() argument 1416 sii8620_wait_for_fsm_state(struct sii8620 *ctx, u8 state) sii8620_wait_for_fsm_state() argument 1432 sii8620_set_mode(struct sii8620 *ctx, enum sii8620_mode mode) sii8620_set_mode() argument 1510 sii8620_hpd_unplugged(struct sii8620 *ctx) sii8620_hpd_unplugged() argument 1520 sii8620_disconnect(struct sii8620 *ctx) sii8620_disconnect() argument 1600 sii8620_mhl_disconnected(struct sii8620 *ctx) sii8620_mhl_disconnected() argument 1610 sii8620_irq_disc(struct sii8620 *ctx) sii8620_irq_disc() argument 1640 sii8620_read_burst(struct sii8620 *ctx) sii8620_read_burst() argument 1651 sii8620_irq_g2wb(struct sii8620 *ctx) sii8620_irq_g2wb() argument 1669 sii8620_status_dcap_ready(struct sii8620 *ctx) sii8620_status_dcap_ready() argument 1681 sii8620_status_changed_path(struct sii8620 *ctx) sii8620_status_changed_path() argument 1697 sii8620_msc_mr_write_stat(struct sii8620 *ctx) sii8620_msc_mr_write_stat() argument 1719 sii8620_ecbus_up(struct sii8620 *ctx, int ret) sii8620_ecbus_up() argument 1727 sii8620_got_ecbus_speed(struct sii8620 *ctx, int ret) sii8620_got_ecbus_speed() argument 1746 sii8620_send_features(struct sii8620 *ctx) sii8620_send_features() argument 1757 sii8620_rcp_consume(struct sii8620 *ctx, u8 scancode) sii8620_rcp_consume() argument 1774 sii8620_msc_mr_set_int(struct sii8620 *ctx) sii8620_msc_mr_set_int() argument 1803 sii8620_msc_msg_first(struct sii8620 *ctx) sii8620_msc_msg_first() argument 1815 sii8620_msc_mt_done(struct sii8620 *ctx) sii8620_msc_mt_done() argument 1826 sii8620_msc_mr_msc_msg(struct sii8620 *ctx) sii8620_msc_mr_msc_msg() argument 1853 sii8620_irq_msc(struct sii8620 *ctx) sii8620_irq_msc() argument 1894 sii8620_irq_coc(struct sii8620 *ctx) sii8620_irq_coc() argument 1914 sii8620_irq_merr(struct sii8620 *ctx) sii8620_irq_merr() argument 1921 sii8620_irq_edid(struct sii8620 *ctx) sii8620_irq_edid() argument 1931 sii8620_irq_scdt(struct sii8620 *ctx) sii8620_irq_scdt() argument 1945 sii8620_got_xdevcap(struct sii8620 *ctx, int ret) sii8620_got_xdevcap() argument 1953 sii8620_irq_tdm(struct sii8620 *ctx) sii8620_irq_tdm() argument 1975 sii8620_irq_block(struct sii8620 *ctx) sii8620_irq_block() argument 1989 sii8620_irq_ddc(struct sii8620 *ctx) sii8620_irq_ddc() argument 2027 struct sii8620 *ctx = data; sii8620_irq_thread() local 2052 sii8620_cable_in(struct sii8620 *ctx) sii8620_cable_in() argument 2096 sii8620_init_rcp_input_dev(struct sii8620 *ctx) sii8620_init_rcp_input_dev() argument 2129 sii8620_cable_out(struct sii8620 *ctx) sii8620_cable_out() argument 2137 struct sii8620 *ctx = sii8620_extcon_work() local 2155 struct sii8620 *ctx = sii8620_extcon_notifier() local 2163 sii8620_extcon_init(struct sii8620 *ctx) sii8620_extcon_init() argument 2208 struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620_attach() local 2217 struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620_detach() local 2225 sii8620_is_packing_required(struct sii8620 *ctx, const struct drm_display_mode *mode) sii8620_is_packing_required() argument 2250 struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620_mode_valid() local 2269 struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620_mode_fixup() local 2290 struct sii8620 *ctx; sii8620_probe() local 2350 struct sii8620 *ctx = i2c_get_clientdata(client); sii8620_remove() local [all...] |
/third_party/libwebsockets/lib/tls/openssl/ |
H A D | lws-genhash.c | 36 lws_genhash_init(struct lws_genhash_ctx *ctx, enum lws_genhash_types type) in lws_genhash_init() argument 38 ctx->type = (uint8_t)type; in lws_genhash_init() 39 ctx->mdctx = EVP_MD_CTX_create(); in lws_genhash_init() 40 if (!ctx->mdctx) in lws_genhash_init() 43 switch (ctx->type) { in lws_genhash_init() 45 ctx->evp_type = EVP_md5(); in lws_genhash_init() 48 ctx->evp_type = EVP_sha1(); in lws_genhash_init() 51 ctx->evp_type = EVP_sha256(); in lws_genhash_init() 54 ctx->evp_type = EVP_sha384(); in lws_genhash_init() 57 ctx in lws_genhash_init() 73 lws_genhash_update(struct lws_genhash_ctx *ctx, const void *in, size_t len) lws_genhash_update() argument 82 lws_genhash_destroy(struct lws_genhash_ctx *ctx, void *result) lws_genhash_destroy() argument 104 lws_genhmac_init(struct lws_genhmac_ctx *ctx, enum lws_genhmac_types type, const uint8_t *key, size_t key_len) lws_genhmac_init() argument 147 lws_genhmac_update(struct lws_genhmac_ctx *ctx, const void *in, size_t len) lws_genhmac_update() argument 157 lws_genhmac_destroy(struct lws_genhmac_ctx *ctx, void *result) lws_genhmac_destroy() argument 175 lws_genhmac_init(struct lws_genhmac_ctx *ctx, enum lws_genhmac_types type, const uint8_t *key, size_t key_len) lws_genhmac_init() argument 222 lws_genhmac_update(struct lws_genhmac_ctx *ctx, const void *in, size_t len) lws_genhmac_update() argument 239 lws_genhmac_destroy(struct lws_genhmac_ctx *ctx, void *result) lws_genhmac_destroy() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shader_llvm_tess.c | 29 LLVMValueRef si_get_rel_patch_id(struct si_shader_context *ctx) in si_get_rel_patch_id() argument 31 switch (ctx->stage) { in si_get_rel_patch_id() 33 return si_unpack_param(ctx, ctx->args.tcs_rel_ids, 0, 8); in si_get_rel_patch_id() 36 return ac_get_arg(&ctx->ac, ctx->args.tes_rel_patch_id); in si_get_rel_patch_id() 65 static unsigned get_tcs_out_vertex_dw_stride_constant(struct si_shader_context *ctx) in get_tcs_out_vertex_dw_stride_constant() argument 67 assert(ctx->stage == MESA_SHADER_TESS_CTRL); in get_tcs_out_vertex_dw_stride_constant() 69 return util_last_bit64(ctx->shader->selector->info.outputs_written) * 4; in get_tcs_out_vertex_dw_stride_constant() 72 static LLVMValueRef get_tcs_out_patch_stride(struct si_shader_context *ctx) in get_tcs_out_patch_stride() argument 82 get_tcs_out_patch0_patch_data_offset(struct si_shader_context *ctx) get_tcs_out_patch0_patch_data_offset() argument 87 get_tcs_out_current_patch_data_offset(struct si_shader_context *ctx) get_tcs_out_current_patch_data_offset() argument 96 si_get_num_tcs_out_vertices(struct si_shader_context *ctx) si_get_num_tcs_out_vertices() argument 110 si_get_tcs_in_vertex_dw_stride(struct si_shader_context *ctx) si_get_tcs_in_vertex_dw_stride() argument 150 get_tcs_tes_buffer_address(struct si_shader_context *ctx, LLVMValueRef rel_patch_id, LLVMValueRef vertex_index, LLVMValueRef param_index) get_tcs_tes_buffer_address() argument 189 lshs_lds_load(struct si_shader_context *ctx, LLVMTypeRef type, unsigned swizzle, LLVMValueRef dw_addr) lshs_lds_load() argument 215 get_tess_ring_descriptor(struct si_shader_context *ctx, enum si_tess_ring ring) get_tess_ring_descriptor() argument 253 si_llvm_preload_tess_rings(struct si_shader_context *ctx) si_llvm_preload_tess_rings() argument 264 struct si_shader_context *ctx = si_shader_context_from_abi(abi); si_nir_load_tcs_varyings() local 283 si_write_tess_factors(struct si_shader_context *ctx, union si_shader_part_key *key, LLVMValueRef rel_patch_id, LLVMValueRef invocation_id, LLVMValueRef tcs_out_current_patch_data_offset, LLVMValueRef invoc0_tf_outer[4], LLVMValueRef invoc0_tf_inner[2]) si_write_tess_factors() argument 444 si_llvm_tcs_build_end(struct si_shader_context *ctx) si_llvm_tcs_build_end() argument 536 si_set_ls_return_value_for_tcs(struct si_shader_context *ctx) si_set_ls_return_value_for_tcs() argument 571 si_llvm_ls_build_end(struct si_shader_context *ctx) si_llvm_ls_build_end() argument 603 si_llvm_build_tcs_epilog(struct si_shader_context *ctx, union si_shader_part_key *key) si_llvm_build_tcs_epilog() argument 670 si_llvm_init_tcs_callbacks(struct si_shader_context *ctx) si_llvm_init_tcs_callbacks() argument [all...] |
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | lws-genrsa.c | 44 lws_genrsa_create(struct lws_genrsa_ctx *ctx, argument 49 memset(ctx, 0, sizeof(*ctx)); 50 ctx->ctx = lws_zalloc(sizeof(*ctx->ctx), "genrsa"); 51 if (!ctx->ctx) 54 ctx 130 lws_genrsa_new_keypair(struct lws_context *context, struct lws_genrsa_ctx *ctx, enum enum_genrsa_mode mode, struct lws_gencrypto_keyelem *el, int bits) global() argument 198 lws_genrsa_public_decrypt(struct lws_genrsa_ctx *ctx, const uint8_t *in, size_t in_len, uint8_t *out, size_t out_max) global() argument 242 lws_genrsa_private_decrypt(struct lws_genrsa_ctx *ctx, const uint8_t *in, size_t in_len, uint8_t *out, size_t out_max) global() argument 286 lws_genrsa_public_encrypt(struct lws_genrsa_ctx *ctx, const uint8_t *in, size_t in_len, uint8_t *out) global() argument 327 lws_genrsa_private_encrypt(struct lws_genrsa_ctx *ctx, const uint8_t *in, size_t in_len, uint8_t *out) global() argument 368 lws_genrsa_hash_sig_verify(struct lws_genrsa_ctx *ctx, const uint8_t *in, enum lws_genhash_types hash_type, const uint8_t *sig, size_t sig_len) global() argument 415 lws_genrsa_hash_sign(struct lws_genrsa_ctx *ctx, const uint8_t *in, enum lws_genhash_types hash_type, uint8_t *sig, size_t sig_len) global() argument 472 lws_genrsa_render_pkey_asn1(struct lws_genrsa_ctx *ctx, int _private, uint8_t *pkey_asn1, size_t pkey_asn1_len) global() argument 557 lws_genrsa_destroy(struct lws_genrsa_ctx *ctx) global() argument [all...] |
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/ |
H A D | bb-i2c.c | 15 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_start() local 17 ctx->gpio->set(ctx->sda, 1); in lws_bb_i2c_start() 18 ctx->gpio->set(ctx->scl, 1); in lws_bb_i2c_start() 19 ctx->delay(); in lws_bb_i2c_start() 21 if (!ctx->gpio->read(ctx->sda)) in lws_bb_i2c_start() 24 ctx->gpio->set(ctx in lws_bb_i2c_start() 34 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; lws_bb_i2c_stop() local 50 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; lws_bb_i2c_write() local 76 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; lws_bb_i2c_read() local 97 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; lws_bb_i2c_set_ack() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | fs_context.c | 199 cifs_parse_security_flavors(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_security_flavors() argument 208 ctx->sectype = Unspecified; in cifs_parse_security_flavors() 209 ctx->sign = false; in cifs_parse_security_flavors() 216 ctx->sign = true; in cifs_parse_security_flavors() 219 ctx->sectype = Kerberos; in cifs_parse_security_flavors() 222 ctx->sign = true; in cifs_parse_security_flavors() 225 ctx->sectype = RawNTLMSSP; in cifs_parse_security_flavors() 228 ctx->sign = true; in cifs_parse_security_flavors() 231 ctx->sectype = NTLMv2; in cifs_parse_security_flavors() 234 ctx in cifs_parse_security_flavors() 256 cifs_parse_cache_flavor(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) cifs_parse_cache_flavor() argument 310 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) smb3_fs_context_dup() argument 341 cifs_parse_smb_version(struct fs_context *fc, char *value, struct smb3_fs_context *ctx, bool is_smb3) cifs_parse_smb_version() argument 492 smb3_fs_context_fullpath(const struct smb3_fs_context *ctx, char dirsep) smb3_fs_context_fullpath() argument 519 smb3_parse_devname(const char *devname, struct smb3_fs_context *ctx) smb3_parse_devname() argument 669 struct smb3_fs_context *ctx = smb3_fc2context(fc); smb3_fs_context_validate() local 732 struct smb3_fs_context *ctx = smb3_fc2context(fc); smb3_get_tree_common() local 763 struct smb3_fs_context *ctx = smb3_fc2context(fc); smb3_fs_context_free() local 849 struct smb3_fs_context *ctx = smb3_fc2context(fc); smb3_reconfigure() local 904 struct smb3_fs_context *ctx = smb3_fc2context(fc); smb3_fs_context_parse_param() local 1578 struct smb3_fs_context *ctx; smb3_init_fs_context() local 1663 smb3_cleanup_fs_context_contents(struct smb3_fs_context *ctx) smb3_cleanup_fs_context_contents() argument 1694 smb3_cleanup_fs_context(struct smb3_fs_context *ctx) smb3_cleanup_fs_context() argument 1704 struct smb3_fs_context *ctx = cifs_sb->ctx; smb3_update_mnt_flags() local [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_nir_to_llvm.c | 87 create_llvm_function(struct ac_llvm_context *ctx, LLVMModuleRef module, LLVMBuilderRef builder, in create_llvm_function() argument 91 LLVMValueRef main_function = ac_build_main(args, ctx, convention, "main", ctx->voidt, module); in create_llvm_function() 99 ac_llvm_set_target_features(main_function, ctx); in create_llvm_function() 105 load_descriptor_sets(struct radv_shader_context *ctx) in load_descriptor_sets() argument 107 const struct radv_userdata_locations *user_sgprs_locs = &ctx->shader_info->user_sgprs_locs; in load_descriptor_sets() 108 uint32_t mask = ctx->shader_info->desc_set_used_mask; in load_descriptor_sets() 111 LLVMValueRef desc_sets = ac_get_arg(&ctx->ac, ctx->args->descriptor_sets[0]); in load_descriptor_sets() 115 ctx in load_descriptor_sets() 161 create_function(struct radv_shader_context *ctx, gl_shader_stage stage, bool has_previous_stage) create_function() argument 217 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); load_sample_position() local 239 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); visit_emit_vertex_with_counter() local 279 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); visit_end_primitive() local 287 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); radv_load_base_vertex() local 292 radv_load_rsrc(struct radv_shader_context *ctx, LLVMValueRef ptr, LLVMTypeRef type) radv_load_rsrc() argument 313 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); radv_load_ubo() local 320 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); radv_load_ssbo() local 329 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); radv_get_sampler_desc() local 357 radv_fixup_vertex_input_fetches(struct radv_shader_context *ctx, LLVMValueRef value, unsigned num_channels, bool is_float) radv_fixup_vertex_input_fetches() argument 388 load_vs_input(struct radv_shader_context *ctx, unsigned driver_location, LLVMTypeRef dest_type, LLVMValueRef out[4]) load_vs_input() argument 509 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); radv_load_vs_inputs() local 521 prepare_interp_optimize(struct radv_shader_context *ctx, struct nir_shader *nir) prepare_interp_optimize() argument 553 scan_shader_output_decl(struct radv_shader_context *ctx, struct nir_variable *variable, struct nir_shader *shader, gl_shader_stage stage) scan_shader_output_decl() argument 572 si_llvm_init_export_args(struct radv_shader_context *ctx, LLVMValueRef *values, unsigned enabled_channels, unsigned target, struct ac_export_args *args) si_llvm_init_export_args() argument 733 radv_export_param(struct radv_shader_context *ctx, unsigned index, LLVMValueRef *values, unsigned enabled_channels) radv_export_param() argument 743 radv_load_output(struct radv_shader_context *ctx, unsigned index, unsigned chan) radv_load_output() argument 750 radv_emit_stream_output(struct radv_shader_context *ctx, LLVMValueRef const *so_buffers, LLVMValueRef const *so_write_offsets, const struct radv_stream_output *output, struct radv_shader_output_values *shader_out) radv_emit_stream_output() argument 794 radv_emit_streamout(struct radv_shader_context *ctx, unsigned stream) radv_emit_streamout() argument 870 radv_build_param_exports(struct radv_shader_context *ctx, struct radv_shader_output_values *outputs, unsigned noutput, const struct radv_vs_output_info *outinfo, bool export_clip_dists) radv_build_param_exports() argument 896 radv_llvm_export_vs(struct radv_shader_context *ctx, struct radv_shader_output_values *outputs, unsigned noutput, const struct radv_vs_output_info *outinfo, bool export_clip_dists) radv_llvm_export_vs() argument 1015 handle_vs_outputs_post(struct radv_shader_context *ctx, bool export_prim_id, bool export_clip_dists, const struct radv_vs_output_info *outinfo) handle_vs_outputs_post() argument 1058 si_export_mrt_color(struct radv_shader_context *ctx, LLVMValueRef *color, unsigned index, struct ac_export_args *args) si_export_mrt_color() argument 1070 radv_export_mrt_z(struct radv_shader_context *ctx, LLVMValueRef depth, LLVMValueRef stencil, LLVMValueRef samplemask) radv_export_mrt_z() argument 1081 handle_fs_outputs_post(struct radv_shader_context *ctx) handle_fs_outputs_post() argument 1138 emit_gs_epilogue(struct radv_shader_context *ctx) emit_gs_epilogue() argument 1149 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); handle_shader_outputs_post() local 1191 ac_llvm_finalize_module(struct radv_shader_context *ctx, LLVMPassManagerRef passmgr) ac_llvm_finalize_module() argument 1202 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); radv_llvm_visit_export_vertex() local 1213 ac_setup_rings(struct radv_shader_context *ctx) ac_setup_rings() argument 1293 ac_nir_fixup_ls_hs_input_vgprs(struct radv_shader_context *ctx) ac_nir_fixup_ls_hs_input_vgprs() argument 1310 prepare_gs_input_vgprs(struct radv_shader_context *ctx, bool merged) prepare_gs_input_vgprs() argument 1326 declare_esgs_ring(struct radv_shader_context *ctx) declare_esgs_ring() argument 1341 struct radv_shader_context *ctx = radv_shader_context_from_abi(abi); radv_intrinsic_load() local 1365 struct radv_shader_context ctx = {0}; ac_translate_nir_to_llvm() local 1584 LLVMContextRef ctx = LLVMGetModuleContext(llvm_module); ac_compile_llvm_module() local 1625 ac_gs_copy_shader_emit(struct radv_shader_context *ctx) ac_gs_copy_shader_emit() argument 1717 struct radv_shader_context ctx = {0}; radv_compile_gs_copy_shader() local [all...] |
/kernel/linux/linux-5.10/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) in nv40_gr_construct_general() argument 161 struct nvkm_device *device = ctx->device; in nv40_gr_construct_general() 164 cp_ctx(ctx, 0x4000a4, 1); in nv40_gr_construct_general() 165 gr_def(ctx, 0x4000a4, 0x00000008); in nv40_gr_construct_general() 166 cp_ctx(ctx, 0x400144, 58); in nv40_gr_construct_general() 167 gr_def(ctx, 0x400144, 0x00000001); in nv40_gr_construct_general() 168 cp_ctx(ctx, 0x400314, 1); in nv40_gr_construct_general() 169 gr_def(ctx, 0x400314, 0x00000000); in nv40_gr_construct_general() 170 cp_ctx(ctx, in nv40_gr_construct_general() 265 nv40_gr_construct_state3d(struct nvkm_grctx *ctx) nv40_gr_construct_state3d() argument 370 nv40_gr_construct_state3d_2(struct nvkm_grctx *ctx) nv40_gr_construct_state3d_2() argument 534 nv40_gr_construct_state3d_3(struct nvkm_grctx *ctx) nv40_gr_construct_state3d_3() argument 549 nv40_gr_construct_shader(struct nvkm_grctx *ctx) nv40_gr_construct_shader() argument 596 nv40_grctx_generate(struct nvkm_grctx *ctx) nv40_grctx_generate() argument 674 struct nvkm_grctx ctx = { nv40_grctx_init() local [all...] |
/kernel/linux/linux-6.6/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) in nv40_gr_construct_general() argument 161 struct nvkm_device *device = ctx->device; in nv40_gr_construct_general() 164 cp_ctx(ctx, 0x4000a4, 1); in nv40_gr_construct_general() 165 gr_def(ctx, 0x4000a4, 0x00000008); in nv40_gr_construct_general() 166 cp_ctx(ctx, 0x400144, 58); in nv40_gr_construct_general() 167 gr_def(ctx, 0x400144, 0x00000001); in nv40_gr_construct_general() 168 cp_ctx(ctx, 0x400314, 1); in nv40_gr_construct_general() 169 gr_def(ctx, 0x400314, 0x00000000); in nv40_gr_construct_general() 170 cp_ctx(ctx, in nv40_gr_construct_general() 265 nv40_gr_construct_state3d(struct nvkm_grctx *ctx) nv40_gr_construct_state3d() argument 370 nv40_gr_construct_state3d_2(struct nvkm_grctx *ctx) nv40_gr_construct_state3d_2() argument 534 nv40_gr_construct_state3d_3(struct nvkm_grctx *ctx) nv40_gr_construct_state3d_3() argument 549 nv40_gr_construct_shader(struct nvkm_grctx *ctx) nv40_gr_construct_shader() argument 596 nv40_grctx_generate(struct nvkm_grctx *ctx) nv40_grctx_generate() argument 674 struct nvkm_grctx ctx = { nv40_grctx_init() local [all...] |
/third_party/skia/tools/perf-canvaskit-puppeteer/ |
H A D | canvas_perf.js | 4 // tests should NOT call ctx.surface.flush() 31 setup: function(CanvasKit, ctx) { 32 ctx.canvas = ctx.surface.getCanvas(); 34 test: function(CanvasKit, ctx) { 39 ctx.canvas.save(); 40 ctx.canvas.clipRect(CanvasKit.LTRBRect(x, y, x+50, y+50), 42 ctx.canvas.drawColor(randomColorTwo(CanvasKit, 0, 1), CanvasKit.BlendMode.SrcOver); 43 ctx.canvas.restore(); 46 teardown: function(CanvasKit, ctx) {}, [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 43 static void kill_timeout(struct epoll_mtcontext *ctx) in kill_timeout() argument 46 pthread_kill(ctx->main, SIGUSR1); in kill_timeout() 47 pthread_kill(ctx->waiter, SIGUSR1); in kill_timeout() 53 struct epoll_mtcontext *ctx = data; in waiter_entry1a() local 55 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 56 __sync_fetch_and_add(&ctx->count, 1); in waiter_entry1a() 65 struct epoll_mtcontext *ctx = data; in waiter_entry1ap() local 67 pfd.fd = ctx->efd[0]; in waiter_entry1ap() 70 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 71 __sync_fetch_and_add(&ctx in waiter_entry1ap() 80 struct epoll_mtcontext *ctx = data; waiter_entry1o() local 92 struct epoll_mtcontext *ctx = data; waiter_entry1op() local 107 struct epoll_mtcontext *ctx = data; waiter_entry2a() local 119 struct epoll_mtcontext *ctx = data; waiter_entry2ap() local 133 struct epoll_mtcontext *ctx = data; emitter_entry1() local 145 struct epoll_mtcontext *ctx = data; emitter_entry2() local 476 struct epoll_mtcontext ctx = { 0 }; TEST() local 519 struct epoll_mtcontext ctx = { 0 }; TEST() local 562 struct epoll_mtcontext ctx = { 0 }; TEST() local 611 struct epoll_mtcontext ctx = { 0 }; TEST() local 660 struct epoll_mtcontext ctx = { 0 }; TEST() local 703 struct epoll_mtcontext ctx = { 0 }; TEST() local 746 struct epoll_mtcontext ctx = { 0 }; TEST() local 795 struct epoll_mtcontext ctx = { 0 }; TEST() local 1198 struct epoll_mtcontext ctx = { 0 }; TEST() local 1250 struct epoll_mtcontext ctx = { 0 }; TEST() local 1302 struct epoll_mtcontext ctx = { 0 }; TEST() local 1354 struct epoll_mtcontext ctx = { 0 }; TEST() local 1406 struct epoll_mtcontext ctx = { 0 }; TEST() local 1457 struct epoll_mtcontext ctx = { 0 }; TEST() local 1508 struct epoll_mtcontext ctx = { 0 }; TEST() local 1559 struct epoll_mtcontext ctx = { 0 }; TEST() local 1610 struct epoll_mtcontext ctx = { 0 }; TEST() local 1662 struct epoll_mtcontext ctx = { 0 }; TEST() local 1714 struct epoll_mtcontext ctx = { 0 }; TEST() local 1766 struct epoll_mtcontext ctx = { 0 }; TEST() local 1819 struct epoll_mtcontext ctx = { 0 }; TEST() local 1876 struct epoll_mtcontext ctx = { 0 }; TEST() local 1933 struct epoll_mtcontext ctx = { 0 }; TEST() local 1990 struct epoll_mtcontext ctx = { 0 }; TEST() local 2046 struct epoll_mtcontext ctx = { 0 }; TEST() local 2098 struct epoll_mtcontext ctx = { 0 }; TEST() local 2150 struct epoll_mtcontext ctx = { 0 }; TEST() local 2202 struct epoll_mtcontext ctx = { 0 }; TEST() local 2255 struct epoll_mtcontext ctx = { 0 }; TEST() local 2311 struct epoll_mtcontext ctx = { 0 }; TEST() local 2364 struct epoll_mtcontext ctx = { 0 }; TEST() local 2420 struct epoll_mtcontext ctx = { 0 }; TEST() local 2704 struct epoll_mtcontext ctx = { 0 }; TEST() local 2769 struct epoll_mtcontext ctx = { 0 }; TEST() local 2834 struct epoll_mtcontext ctx = { 0 }; TEST() local 2899 struct epoll_mtcontext ctx = { 0 }; TEST() local 2965 struct epoll_mtcontext ctx = { 0 }; TEST() local 3035 struct epoll_mtcontext ctx = { 0 }; TEST() local 3093 struct epoll_mtcontext *ctx = ctx_; epoll59_thread() local 3123 struct epoll_mtcontext ctx = { 0 }; TEST() local 3169 struct epoll60_ctx *ctx = ctx_; epoll60_wait_thread() local 3224 count_waiters(struct epoll60_ctx *ctx) count_waiters() argument 3231 struct epoll60_ctx ctx = { 0 }; TEST() local 3307 struct epoll61_ctx *ctx = ctx_; epoll61_write_eventfd() local 3317 struct epoll61_ctx *ctx = ctx_; epoll61_epoll_with_timeout() local 3336 struct epoll61_ctx *ctx = ctx_; epoll61_blocking_epoll() local 3345 struct epoll61_ctx ctx; TEST() local 3463 struct epoll_mtcontext ctx = { 0 }; TEST() local [all...] |
/third_party/libwebsockets/lib/misc/ |
H A D | lecp.c | 55 lecp_construct(struct lecp_ctx *ctx, lecp_callback cb, void *user, in lecp_construct() argument 60 memset(ctx, 0, sizeof(*ctx) - sizeof(ctx->buf)); in lecp_construct() 62 ctx->user = user; in lecp_construct() 63 ctx->pst[0].cb = cb; in lecp_construct() 64 ctx->pst[0].paths = paths; in lecp_construct() 65 ctx->pst[0].count_paths = count_paths; in lecp_construct() 66 ctx->be = *((uint8_t *)&x) == 0x12; in lecp_construct() 68 ctx in lecp_construct() 74 lecp_destruct(struct lecp_ctx *ctx) lecp_destruct() argument 82 lecp_change_callback(struct lecp_ctx *ctx, lecp_callback cb) lecp_change_callback() argument 105 ex(struct lecp_ctx *ctx, void *_start, size_t len) ex() argument 120 lecp_check_path_match(struct lecp_ctx *ctx) lecp_check_path_match() argument 173 lecp_push(struct lecp_ctx *ctx, char s_start, char s_end, char state) lecp_push() argument 206 lecp_pop(struct lecp_ctx *ctx) lecp_pop() argument 236 lwcp_st_parent(struct lecp_ctx *ctx) lwcp_st_parent() argument 244 lwcp_completed(struct lecp_ctx *ctx, char indet) lwcp_completed() argument 302 lwcp_is_indet_string(struct lecp_ctx *ctx) lwcp_is_indet_string() argument 321 report_raw_cbor(struct lecp_ctx *ctx) report_raw_cbor() argument 337 lecp_parse_report_raw(struct lecp_ctx *ctx, int on) lecp_parse_report_raw() argument 344 lecp_parse_map_is_key(struct lecp_ctx *ctx) lecp_parse_map_is_key() argument 351 lecp_parse_subtree(struct lecp_ctx *ctx, const uint8_t *in, size_t len) lecp_parse_subtree() argument 371 lecp_parse(struct lecp_ctx *ctx, const uint8_t *cbor, size_t len) lecp_parse() argument 920 lws_lec_init(lws_lec_pctx_t *ctx, uint8_t *buf, size_t len) lws_lec_init() argument 929 lws_lec_setbuf(lws_lec_pctx_t *ctx, uint8_t *buf, size_t len) lws_lec_setbuf() argument 938 lws_lec_printf(lws_lec_pctx_t *ctx, const char *format, ...) lws_lec_printf() argument 1152 lws_lec_signed(lws_lec_pctx_t *ctx, int64_t num) lws_lec_signed() argument 1162 lws_lec_int(lws_lec_pctx_t *ctx, uint8_t opcode, uint8_t indet, uint64_t num) lws_lec_int() argument 1223 lws_lec_scratch(lws_lec_pctx_t *ctx) lws_lec_scratch() argument 1242 lws_lec_vsprintf(lws_lec_pctx_t *ctx, const char *fmt, va_list args) lws_lec_vsprintf() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 76 int lookup_pass(struct bpf_sk_lookup *ctx) in lookup_pass() argument 82 int lookup_drop(struct bpf_sk_lookup *ctx) in lookup_drop() argument 88 int check_ifindex(struct bpf_sk_lookup *ctx) in check_ifindex() argument 90 if (ctx->ingress_ifindex == 1) in check_ifindex() 96 int reuseport_pass(struct sk_reuseport_md *ctx) in reuseport_pass() argument 102 int reuseport_drop(struct sk_reuseport_md *ctx) in reuseport_drop() argument 109 int redir_port(struct bpf_sk_lookup *ctx) in redir_port() argument 114 if (ctx->local_port != DST_PORT) in redir_port() 121 err = bpf_sk_assign(ctx, sk, 0); in redir_port() 128 int redir_ip4(struct bpf_sk_lookup *ctx) in redir_ip4() argument 151 redir_ip6(struct bpf_sk_lookup *ctx) redir_ip6() argument 176 select_sock_a(struct bpf_sk_lookup *ctx) select_sock_a() argument 191 select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) select_sock_a_no_reuseport() argument 206 select_sock_b(struct sk_reuseport_md *ctx) select_sock_b() argument 217 sk_assign_eexist(struct bpf_sk_lookup *ctx) sk_assign_eexist() argument 250 sk_assign_replace_flag(struct bpf_sk_lookup *ctx) sk_assign_replace_flag() argument 282 sk_assign_null(struct bpf_sk_lookup *ctx) sk_assign_null() argument 325 access_ctx_sk(struct bpf_sk_lookup *ctx) access_ctx_sk() argument 391 ctx_narrow_access(struct bpf_sk_lookup *ctx) ctx_narrow_access() argument 575 sk_assign_esocknosupport(struct bpf_sk_lookup *ctx) sk_assign_esocknosupport() argument 600 multi_prog_pass1(struct bpf_sk_lookup *ctx) multi_prog_pass1() argument 607 multi_prog_pass2(struct bpf_sk_lookup *ctx) multi_prog_pass2() argument 614 multi_prog_drop1(struct bpf_sk_lookup *ctx) multi_prog_drop1() argument 621 multi_prog_drop2(struct bpf_sk_lookup *ctx) multi_prog_drop2() argument 627 select_server_a(struct bpf_sk_lookup *ctx) select_server_a() argument 645 multi_prog_redir1(struct bpf_sk_lookup *ctx) multi_prog_redir1() argument 653 multi_prog_redir2(struct bpf_sk_lookup *ctx) multi_prog_redir2() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 28 static void kill_timeout(struct epoll_mtcontext *ctx) in kill_timeout() argument 31 pthread_kill(ctx->main, SIGUSR1); in kill_timeout() 32 pthread_kill(ctx->waiter, SIGUSR1); in kill_timeout() 38 struct epoll_mtcontext *ctx = data; in waiter_entry1a() local 40 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 41 __sync_fetch_and_add(&ctx->count, 1); in waiter_entry1a() 50 struct epoll_mtcontext *ctx = data; in waiter_entry1ap() local 52 pfd.fd = ctx->efd[0]; in waiter_entry1ap() 55 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 56 __sync_fetch_and_add(&ctx in waiter_entry1ap() 65 struct epoll_mtcontext *ctx = data; waiter_entry1o() local 77 struct epoll_mtcontext *ctx = data; waiter_entry1op() local 92 struct epoll_mtcontext *ctx = data; waiter_entry2a() local 104 struct epoll_mtcontext *ctx = data; waiter_entry2ap() local 118 struct epoll_mtcontext *ctx = data; emitter_entry1() local 130 struct epoll_mtcontext *ctx = data; emitter_entry2() local 461 struct epoll_mtcontext ctx = { 0 }; TEST() local 504 struct epoll_mtcontext ctx = { 0 }; TEST() local 547 struct epoll_mtcontext ctx = { 0 }; TEST() local 596 struct epoll_mtcontext ctx = { 0 }; TEST() local 645 struct epoll_mtcontext ctx = { 0 }; TEST() local 688 struct epoll_mtcontext ctx = { 0 }; TEST() local 731 struct epoll_mtcontext ctx = { 0 }; TEST() local 780 struct epoll_mtcontext ctx = { 0 }; TEST() local 1183 struct epoll_mtcontext ctx = { 0 }; TEST() local 1235 struct epoll_mtcontext ctx = { 0 }; TEST() local 1287 struct epoll_mtcontext ctx = { 0 }; TEST() local 1339 struct epoll_mtcontext ctx = { 0 }; TEST() local 1391 struct epoll_mtcontext ctx = { 0 }; TEST() local 1442 struct epoll_mtcontext ctx = { 0 }; TEST() local 1493 struct epoll_mtcontext ctx = { 0 }; TEST() local 1544 struct epoll_mtcontext ctx = { 0 }; TEST() local 1595 struct epoll_mtcontext ctx = { 0 }; TEST() local 1647 struct epoll_mtcontext ctx = { 0 }; TEST() local 1699 struct epoll_mtcontext ctx = { 0 }; TEST() local 1751 struct epoll_mtcontext ctx = { 0 }; TEST() local 1804 struct epoll_mtcontext ctx = { 0 }; TEST() local 1861 struct epoll_mtcontext ctx = { 0 }; TEST() local 1918 struct epoll_mtcontext ctx = { 0 }; TEST() local 1975 struct epoll_mtcontext ctx = { 0 }; TEST() local 2031 struct epoll_mtcontext ctx = { 0 }; TEST() local 2083 struct epoll_mtcontext ctx = { 0 }; TEST() local 2135 struct epoll_mtcontext ctx = { 0 }; TEST() local 2187 struct epoll_mtcontext ctx = { 0 }; TEST() local 2240 struct epoll_mtcontext ctx = { 0 }; TEST() local 2296 struct epoll_mtcontext ctx = { 0 }; TEST() local 2349 struct epoll_mtcontext ctx = { 0 }; TEST() local 2405 struct epoll_mtcontext ctx = { 0 }; TEST() local 2689 struct epoll_mtcontext ctx = { 0 }; TEST() local 2754 struct epoll_mtcontext ctx = { 0 }; TEST() local 2819 struct epoll_mtcontext ctx = { 0 }; TEST() local 2884 struct epoll_mtcontext ctx = { 0 }; TEST() local 2950 struct epoll_mtcontext ctx = { 0 }; TEST() local 3020 struct epoll_mtcontext ctx = { 0 }; TEST() local 3078 struct epoll_mtcontext *ctx = ctx_; epoll59_thread() local 3108 struct epoll_mtcontext ctx = { 0 }; TEST() local 3154 struct epoll60_ctx *ctx = ctx_; epoll60_wait_thread() local 3209 count_waiters(struct epoll60_ctx *ctx) count_waiters() argument 3216 struct epoll60_ctx ctx = { 0 }; TEST() local 3292 struct epoll61_ctx *ctx = ctx_; epoll61_write_eventfd() local 3302 struct epoll61_ctx *ctx = ctx_; epoll61_epoll_with_timeout() local 3321 struct epoll61_ctx *ctx = ctx_; epoll61_blocking_epoll() local 3330 struct epoll61_ctx ctx; TEST() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 76 int lookup_pass(struct bpf_sk_lookup *ctx) in lookup_pass() argument 82 int lookup_drop(struct bpf_sk_lookup *ctx) in lookup_drop() argument 88 int reuseport_pass(struct sk_reuseport_md *ctx) in reuseport_pass() argument 94 int reuseport_drop(struct sk_reuseport_md *ctx) in reuseport_drop() argument 101 int redir_port(struct bpf_sk_lookup *ctx) in redir_port() argument 106 if (ctx->local_port != DST_PORT) in redir_port() 113 err = bpf_sk_assign(ctx, sk, 0); in redir_port() 120 int redir_ip4(struct bpf_sk_lookup *ctx) in redir_ip4() argument 125 if (ctx->family != AF_INET) in redir_ip4() 127 if (ctx in redir_ip4() 143 redir_ip6(struct bpf_sk_lookup *ctx) redir_ip6() argument 168 select_sock_a(struct bpf_sk_lookup *ctx) select_sock_a() argument 183 select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) select_sock_a_no_reuseport() argument 198 select_sock_b(struct sk_reuseport_md *ctx) select_sock_b() argument 209 sk_assign_eexist(struct bpf_sk_lookup *ctx) sk_assign_eexist() argument 242 sk_assign_replace_flag(struct bpf_sk_lookup *ctx) sk_assign_replace_flag() argument 274 sk_assign_null(struct bpf_sk_lookup *ctx) sk_assign_null() argument 317 access_ctx_sk(struct bpf_sk_lookup *ctx) access_ctx_sk() argument 383 ctx_narrow_access(struct bpf_sk_lookup *ctx) ctx_narrow_access() argument 557 sk_assign_esocknosupport(struct bpf_sk_lookup *ctx) sk_assign_esocknosupport() argument 582 multi_prog_pass1(struct bpf_sk_lookup *ctx) multi_prog_pass1() argument 589 multi_prog_pass2(struct bpf_sk_lookup *ctx) multi_prog_pass2() argument 596 multi_prog_drop1(struct bpf_sk_lookup *ctx) multi_prog_drop1() argument 603 multi_prog_drop2(struct bpf_sk_lookup *ctx) multi_prog_drop2() argument 609 select_server_a(struct bpf_sk_lookup *ctx) select_server_a() argument 627 multi_prog_redir1(struct bpf_sk_lookup *ctx) multi_prog_redir1() argument 637 multi_prog_redir2(struct bpf_sk_lookup *ctx) multi_prog_redir2() argument [all...] |