Home
last modified time | relevance | path

Searched refs:code (Results 2001 - 2025 of 6117) sorted by relevance

1...<<81828384858687888990>>...245

/kernel/linux/linux-6.6/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c8 * Some code borrowed from drivers/usb/typec/ucsi/ucsi_acpi.c
182 u8 code; member
677 static inline bool invalid_async_evt(int code) in invalid_async_evt() argument
679 return (code >= CCG_EVENT_MAX) || (code < EVENT_INDEX); in invalid_async_evt()
686 if (uc->dev_resp.code & ASYNC_EVENT) { in ccg_process_response()
687 if (uc->dev_resp.code == RESET_COMPLETE) { in ccg_process_response()
689 uc->cmd_resp = uc->dev_resp.code; in ccg_process_response()
692 if (invalid_async_evt(uc->dev_resp.code)) in ccg_process_response()
694 uc->dev_resp.code); in ccg_process_response()
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dmt9v032.c433 struct v4l2_subdev_mbus_code_enum *code) in mt9v032_enum_mbus_code()
437 if (code->index > 0) in mt9v032_enum_mbus_code()
440 code->code = mt9v032->format.code; in mt9v032_enum_mbus_code()
452 if (mt9v032->format.code != fse->code) in mt9v032_enum_frame_size()
942 format->code = MEDIA_BUS_FMT_SGRBG10_1X10; in mt9v032_open()
944 format->code = MEDIA_BUS_FMT_Y10_1X10; in mt9v032_open()
1156 mt9v032->format.code in mt9v032_probe()
431 mt9v032_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) mt9v032_enum_mbus_code() argument
[all...]
/kernel/linux/linux-6.6/net/phonet/
H A Dpep.c85 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_reply() argument
101 ph->error_code = code; in pep_reply()
107 static int pep_indicate(struct sock *sk, u8 id, u8 code, in pep_indicate() argument
122 ph->error_code = code; in pep_indicate()
128 static int pipe_handler_request(struct sock *sk, u8 id, u8 code, in pipe_handler_request() argument
143 ph->error_code = code; in pipe_handler_request()
180 static int pep_reject_conn(struct sock *sk, struct sk_buff *skb, u8 code, in pep_reject_conn() argument
184 WARN_ON(code == PN_PIPE_NO_ERROR); in pep_reject_conn()
185 return pep_reply(sk, skb, code, data, sizeof(data), priority); in pep_reject_conn()
190 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_ctrlreq_error() argument
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dinput.c423 * ICMP8) If the ICMP code is a "Unrecognized next header type encountered"
459 /* Common lookup code for icmp/icmpv6 error handler. */
540 /* Common cleanup code for icmp/icmpv6 error handler. */
549 __u8 type, __u8 code, __u32 info) in sctp_v4_err_handle()
560 if (code > NR_ICMP_UNREACH) in sctp_v4_err_handle()
562 if (code == ICMP_FRAG_NEEDED) { in sctp_v4_err_handle()
566 if (code == ICMP_PROT_UNREACH) { in sctp_v4_err_handle()
570 err = icmp_err_convert[code].errno; in sctp_v4_err_handle()
573 if (code == ICMP_EXC_FRAGTIME) in sctp_v4_err_handle()
596 * it's just the icmp type << 8 | icmp code
548 sctp_v4_err_handle(struct sctp_transport *t, struct sk_buff *skb, __u8 type, __u8 code, __u32 info) sctp_v4_err_handle() argument
611 const int code = icmp_hdr(skb)->code; sctp_v4_err() local
[all...]
/base/inputmethod/imf/frameworks/ndk/include/
H A Dnative_inputmethod_utils.h20 InputMethod_ErrorCode ErrorCodeConvert(int32_t code);
/base/powermgr/thermal_manager/test/fuzztest/thermal_utils/
H A Dthermal_fuzzer_test.h29 void TestThermalServiceStub(const uint32_t code, const uint8_t* data, size_t size);
/base/theme/wallpaper_mgr/test/fuzztest/wallpaperservice_fuzzer/include/
H A Dfuzztest_utils.h23 static void FuzzTestRemoteRequest(const uint8_t *rawData, size_t size, uint32_t code);
/base/theme/screenlock_mgr/test/fuzztest/screenlockservice_fuzzer/common/
H A Dscreenlock_service_fuzz_utils.h25 static void OnRemoteRequestTest(uint32_t code, const uint8_t *rawData, size_t size);
/kernel/linux/linux-6.6/drivers/input/
H A Dinput-core-private.h14 unsigned int type, unsigned int code, int value);
/base/account/os_account/services/accountmgr/src/account_iam/
H A Daccount_iam_mgr_stub.cpp173 std::uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest()
175 ACCOUNT_LOGI("Received stub message: %{public}d, callingPid: %{public}d", code, IPCSkeleton::GetCallingRealPid()); in OnRemoteRequest()
181 ACCOUNT_LOGE("check descriptor failed! code %{public}u.", code); in OnRemoteRequest()
184 const auto &itFunc = messageProcMap_.find(code); in OnRemoteRequest()
195 ACCOUNT_LOGW("remote request unhandled: %{public}d", code); in OnRemoteRequest()
196 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
172 OnRemoteRequest( std::uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
/base/print/print_fwk/services/print_service/src/
H A Dprint_cups_attribute.cpp147 DuplexModeCode code; in ParseDuplexModeAttributes() local
148 if (ParseAttributeToValue<DuplexModeCode>(response, keyword, code, ConvertDuplexModeCode)) { in ParseDuplexModeAttributes()
149 uint32_t value = static_cast<uint32_t>(code); in ParseDuplexModeAttributes()
163 ColorModeCode code; in ParseColorModeAttributes() local
164 if (ParseAttributeToValue<ColorModeCode>(response, keyword, code, ConvertColorModeCode)) { in ParseColorModeAttributes()
165 uint32_t mode = static_cast<uint32_t>(code); in ParseColorModeAttributes()
/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_capi.cpp395 void OnWriteResultCallback(const std::string &jobId, uint32_t code);
396 static void WriteResultCallback(const char *jobId, uint32_t code);
459 void PrintDocumentAdapterWrapper::WriteResultCallback(const char *jobId, uint32_t code) in WriteResultCallback() argument
478 wrapper->OnWriteResultCallback(jobIdStr, code); in WriteResultCallback()
481 void PrintDocumentAdapterWrapper::OnWriteResultCallback(const std::string &jobId, uint32_t code) in OnWriteResultCallback() argument
487 writeResultCb_(jobId, code); in OnWriteResultCallback()
567 PRINT_HILOGE("OH_Print start print start failed, error code : %{public}d.", ret); in OH_Print_StartPrintByNative()
/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_device_builder.cpp311 uinputAbs_.code = resolutionInfo.axisCode;
318 uinputDev_.absmin[absInfo.code] = absInfo.minValue;
319 uinputDev_.absmax[absInfo.code] = absInfo.maxValue;
320 uinputDev_.absfuzz[absInfo.code] = absInfo.fuzz;
321 uinputDev_.absflat[absInfo.code] = absInfo.flat;
513 .code = static_cast<__u16>(abs),
/base/security/access_token/interfaces/innerkits/accesstoken/src/
H A Daccesstoken_kit.cpp257 uint32_t code; in VerifyAccessToken() local
258 if (crossIpc || !TransferPermissionToOpcode(permissionName, code)) { in VerifyAccessToken()
262 int32_t ret = GetPermissionFromKernel(tokenID, code, isGranted); in VerifyAccessToken()
288 uint32_t code; in VerifyAccessToken() local
289 if (!TransferPermissionToOpcode(permissionName, code)) { in VerifyAccessToken()
293 int32_t ret = GetPermissionFromKernel(tokenID, code, isGranted); in VerifyAccessToken()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dassembler.h9 #error "Only include this from assembly code"
166 * Select code when configured for BE.
169 #define CPU_BE(code...) code
171 #define CPU_BE(code...)
175 * Select code when configured for LE.
178 #define CPU_LE(code...)
180 #define CPU_LE(code...) code
695 * Check whether preempt/bh-disabled asm code shoul
[all...]
/kernel/linux/linux-5.10/arch/powerpc/net/
H A Dbpf_jit_comp.c109 /* Assemble the body code between the prologue & epilogue. */
120 /* Start of epilogue code */ in bpf_jit_build_body()
125 u16 code = bpf_anc_helper(&filter[i]); in bpf_jit_build_body() local
129 * the start of the body code. in bpf_jit_build_body()
133 switch (code) { in bpf_jit_build_body()
180 if (code == (BPF_ALU | BPF_MOD | BPF_X)) { in bpf_jit_build_body()
275 * code size/addresses. in bpf_jit_build_body()
358 if (code == (BPF_ANC | SKF_AD_IFINDEX)) { in bpf_jit_build_body()
486 switch (code) { in bpf_jit_build_body()
539 filter[i].code, in bpf_jit_build_body()
[all...]
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dskeleton.S4 | This file contains code that is system dependent and will
17 | package returns. Thus, there will be system specific code
25 | In the following skeleton code, some typical 'real_xxxx' handling
26 | code is shown. This code may need to be moved to an appropriate
84 | The provided code will clear the E3 exception (if pending),
358 | Replace this with a call to your kernel panic code or
359 | code to handle future revisions of the fpu.
370 | to return to user mode, but there may be OS specific code
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dassembler.h9 #error "Only include this from assembly code"
140 * Select code when configured for BE.
143 #define CPU_BE(code...) code
145 #define CPU_BE(code...)
149 * Select code when configured for LE.
152 #define CPU_LE(code...)
154 #define CPU_LE(code...) code
763 * Check whether preempt/bh-disabled asm code shoul
[all...]
/kernel/linux/linux-6.6/arch/m68k/fpsp040/
H A Dskeleton.S4 | This file contains code that is system dependent and will
17 | package returns. Thus, there will be system specific code
25 | In the following skeleton code, some typical 'real_xxxx' handling
26 | code is shown. This code may need to be moved to an appropriate
84 | The provided code will clear the E3 exception (if pending),
358 | Replace this with a call to your kernel panic code or
359 | code to handle future revisions of the fpu.
370 | to return to user mode, but there may be OS specific code
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dsidewinder.c406 * called from the generic code to poll the joystick.
723 int bits, code; in sw_connect() local
754 code = sw_abs[sw->type][j]; in sw_connect()
758 flat = code == ABS_THROTTLE || bits < 5 ? in sw_connect()
761 input_set_abs_params(input_dev, code, in sw_connect()
765 for (j = 0; (code = sw_btn[sw->type][j]); j++) in sw_connect()
766 __set_bit(code, input_dev->keybit); in sw_connect()
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dcm109.c20 * - Oliver Neukum for good review comments and code
135 static unsigned short special_keymap(int code) in special_keymap() argument
137 if (code > 0xff) { in special_keymap()
138 switch (code - 0xff) { in special_keymap()
609 unsigned int code, int value) in cm109_input_ev()
614 "input_ev: type=%u code=%u value=%d\n", type, code, value); in cm109_input_ev()
619 switch (code) { in cm109_input_ev()
608 cm109_input_ev(struct input_dev *idev, unsigned int type, unsigned int code, int value) cm109_input_ev() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dtrace.h464 u32 code,
468 TP_ARGS(ar, type, timestamp, code, len, data),
475 __field(u32, code)
485 __entry->code = code;
491 "%s %s diag container type %hhu timestamp %u code %u len %d",
496 __entry->code,
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_histo.c174 struct v4l2_subdev_mbus_code_enum *code) in histo_enum_mbus_code()
178 if (code->pad == HISTO_PAD_SOURCE) { in histo_enum_mbus_code()
179 code->code = MEDIA_BUS_FMT_FIXED; in histo_enum_mbus_code()
183 return vsp1_subdev_enum_mbus_code(subdev, cfg, code, histo->formats, in histo_enum_mbus_code()
376 fmt->format.code = MEDIA_BUS_FMT_FIXED; in histo_get_format()
172 histo_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) histo_enum_mbus_code() argument
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
H A Dsun8i_a83t_mipi_csi2.c157 format = sun8i_a83t_mipi_csi2_format_find(mbus_format->code); in sun8i_a83t_mipi_csi2_configure()
179 * connected and available and the reference source code only makes use in sun8i_a83t_mipi_csi2_configure()
257 format = sun8i_a83t_mipi_csi2_format_find(mbus_format->code); in sun8i_a83t_mipi_csi2_s_stream()
332 if (!sun8i_a83t_mipi_csi2_format_find(mbus_format->code)) in sun8i_a83t_mipi_csi2_mbus_format_prepare()
333 mbus_format->code = sun8i_a83t_mipi_csi2_formats[0].mbus_code; in sun8i_a83t_mipi_csi2_mbus_format_prepare()
353 mbus_format->code = sun8i_a83t_mipi_csi2_formats[0].mbus_code; in sun8i_a83t_mipi_csi2_init_cfg()
372 code_enum->code = in sun8i_a83t_mipi_csi2_enum_mbus_code()
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun6i-mipi-csi2/
H A Dsun6i_mipi_csi2.c108 format = sun6i_mipi_csi2_format_find(mbus_format->code); in sun6i_mipi_csi2_configure()
145 * connected and available and the reference source code only makes use in sun6i_mipi_csi2_configure()
225 format = sun6i_mipi_csi2_format_find(mbus_format->code); in sun6i_mipi_csi2_s_stream()
299 if (!sun6i_mipi_csi2_format_find(mbus_format->code)) in sun6i_mipi_csi2_mbus_format_prepare()
300 mbus_format->code = sun6i_mipi_csi2_formats[0].mbus_code; in sun6i_mipi_csi2_mbus_format_prepare()
319 mbus_format->code = sun6i_mipi_csi2_formats[0].mbus_code; in sun6i_mipi_csi2_init_cfg()
338 code_enum->code = sun6i_mipi_csi2_formats[code_enum->index].mbus_code; in sun6i_mipi_csi2_enum_mbus_code()

Completed in 23 milliseconds

1...<<81828384858687888990>>...245