/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_sru.c | 110 struct v4l2_subdev_mbus_code_enum *code) in sru_enum_mbus_code() 117 return vsp1_subdev_enum_mbus_code(subdev, sd_state, code, codes, in sru_enum_mbus_code() 139 if (fse->index || fse->code != format->code) { in sru_enum_frame_size() 178 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in sru_try_format() 179 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) in sru_try_format() 180 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; in sru_try_format() 190 fmt->code = format->code; in sru_try_format() 288 if (input->code in sru_configure_stream() 108 sru_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) sru_enum_mbus_code() argument [all...] |
/kernel/linux/linux-6.6/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 9 * Based on code and ideas from 382 u8 dst, u8 src, s16 off, u8 code) in emit_atomic_r64() 389 switch (code) { in emit_atomic_r64() 414 if (code & BPF_FETCH) { in emit_atomic_r64() 556 * the generated code (0xffff). It is better fail to compile in build_prologue() 640 u8 code = insn->code; in build_insn() local 646 switch (code) { in build_insn() 677 if (!valid_alu_i(BPF_OP(code), imm)) { in build_insn() 679 emit_alu_r(ctx, dst, MIPS_R_T4, BPF_OP(code)); in build_insn() 381 emit_atomic_r64(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 code) emit_atomic_r64() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispcsi2.c | 95 * Output should be CSI2 frame format code 170 switch (fmt->code) { in csi2_ctx_map_format() 188 fmt->code); in csi2_ctx_map_format() 591 if (csi2->formats[CSI2_PAD_SINK].code != in csi2_configure() 592 csi2->formats[CSI2_PAD_SOURCE].code) in csi2_configure() 853 if (fmt->code == csi2_input_fmts[i]) in csi2_try_format() 859 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in csi2_try_format() 869 pixelcode = fmt->code; in csi2_try_format() 877 info = omap3isp_video_format_info(fmt->code); in csi2_try_format() 879 fmt->code in csi2_try_format() 895 csi2_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) csi2_enum_mbus_code() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
H A D | iss_csi2.c | 113 * Output should be CSI2 frame format code 199 switch (fmt->code) { in csi2_ctx_map_format() 224 fmt->code); in csi2_ctx_map_format() 562 if (csi2->formats[CSI2_PAD_SINK].code != in csi2_configure() 563 csi2->formats[CSI2_PAD_SOURCE].code) in csi2_configure() 854 if (fmt->code == csi2_input_fmts[i]) in csi2_try_format() 860 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in csi2_try_format() 870 pixelcode = fmt->code; in csi2_try_format() 878 info = omap4iss_video_format_info(fmt->code); in csi2_try_format() 880 fmt->code in csi2_try_format() 896 csi2_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) csi2_enum_mbus_code() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_subdev.c | 57 /* no valid V4L2 MBUS code for metadata format, so leave it 0. */ 63 u32 code; member 72 u32 atomisp_subdev_uncompressed_code(u32 code) in atomisp_subdev_uncompressed_code() argument 77 if (code == compressed_codes[i].compressed) in atomisp_subdev_uncompressed_code() 78 return compressed_codes[i].code; in atomisp_subdev_uncompressed_code() 80 return code; in atomisp_subdev_uncompressed_code() 83 bool atomisp_subdev_is_compressed(u32 code) in atomisp_subdev_is_compressed() argument 88 if (code == atomisp_in_fmt_conv[i].code) in atomisp_subdev_is_compressed() 95 const struct atomisp_in_fmt_conv *atomisp_find_in_fmt_conv(u32 code) in atomisp_find_in_fmt_conv() argument 215 isp_subdev_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) isp_subdev_enum_mbus_code() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/cal/ |
H A D | cal-video.c | 28 /* Print Four-character-code (FOURCC) */ 31 static char code[5]; in fourcc_to_str() local 33 code[0] = (unsigned char)(fmt & 0xff); in fourcc_to_str() 34 code[1] = (unsigned char)((fmt >> 8) & 0xff); in fourcc_to_str() 35 code[2] = (unsigned char)((fmt >> 16) & 0xff); in fourcc_to_str() 36 code[3] = (unsigned char)((fmt >> 24) & 0xff); in fourcc_to_str() 37 code[4] = '\0'; in fourcc_to_str() 39 return code; in fourcc_to_str() 87 u32 code) in find_format_by_code() 94 if (fmtinfo->code in find_format_by_code() 86 find_format_by_code(struct cal_ctx *ctx, u32 code) find_format_by_code() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsi2.c | 95 * Output should be CSI2 frame format code 170 switch (fmt->code) { in csi2_ctx_map_format() 188 fmt->code); in csi2_ctx_map_format() 593 if (csi2->formats[CSI2_PAD_SINK].code != in csi2_configure() 594 csi2->formats[CSI2_PAD_SOURCE].code) in csi2_configure() 858 if (fmt->code == csi2_input_fmts[i]) in csi2_try_format() 864 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in csi2_try_format() 874 pixelcode = fmt->code; in csi2_try_format() 883 info = omap3isp_video_format_info(fmt->code); in csi2_try_format() 885 fmt->code in csi2_try_format() 901 csi2_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) csi2_enum_mbus_code() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_csi2.c | 113 * Output should be CSI2 frame format code 199 switch (fmt->code) { in csi2_ctx_map_format() 224 fmt->code); in csi2_ctx_map_format() 562 if (csi2->formats[CSI2_PAD_SINK].code != in csi2_configure() 563 csi2->formats[CSI2_PAD_SOURCE].code) in csi2_configure() 855 if (fmt->code == csi2_input_fmts[i]) in csi2_try_format() 861 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in csi2_try_format() 871 pixelcode = fmt->code; in csi2_try_format() 880 info = omap4iss_video_format_info(fmt->code); in csi2_try_format() 882 fmt->code in csi2_try_format() 898 csi2_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) csi2_enum_mbus_code() argument [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-apple.c | 389 __u8 type, __u16 code, unsigned int hid, __s32 value) in input_event_with_scancode() 392 (!test_bit(code, input->key)) == value) in input_event_with_scancode() 394 input_event(input, type, code, value); in input_event_with_scancode() 403 u16 code = usage->code; in hidinput_apple_event() local 413 trans = apple_find_translation(swapped_fn_leftctrl_keys, code); in hidinput_apple_event() 416 code = trans->to; in hidinput_apple_event() 421 trans = apple_find_translation(apple_iso_keyboard, code); in hidinput_apple_event() 424 code = trans->to; in hidinput_apple_event() 429 trans = apple_find_translation(swapped_option_cmd_left_keys, code); in hidinput_apple_event() 388 input_event_with_scancode(struct input_dev *input, __u8 type, __u16 code, unsigned int hid, __s32 value) input_event_with_scancode() argument [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | icmp.c | 21 * code. 275 static bool icmpv4_mask_allow(struct net *net, int type, int code) in icmpv4_mask_allow() argument 281 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmpv4_mask_allow() 291 static bool icmpv4_global_allow(struct net *net, int type, int code) in icmpv4_global_allow() argument 293 if (icmpv4_mask_allow(net, type, code)) in icmpv4_global_allow() 308 struct flowi4 *fl4, int type, int code) in icmpv4_xrlim_allow() 315 if (icmpv4_mask_allow(net, type, code)) in icmpv4_xrlim_allow() 408 int code = icmp_param->data.icmph.code; in icmp_reply() local 417 if (!icmpv4_global_allow(net, type, code)) in icmp_reply() 307 icmpv4_xrlim_allow(struct net *net, struct rtable *rt, struct flowi4 *fl4, int type, int code) icmpv4_xrlim_allow() argument 476 icmp_route_lookup(struct net *net, struct flowi4 *fl4, struct sk_buff *skb_in, const struct iphdr *iph, __be32 saddr, u8 tos, u32 mark, int type, int code, struct icmp_bxm *param) icmp_route_lookup() argument 587 __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info, const struct ip_options *opt) __icmp_send() argument 783 icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info) icmp_ndo_send() argument 1357 int code = icmp_hdr(skb)->code; icmp_err() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 363 u32 col = 0, row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_cmd() local 378 code |= COMMAND_CMD_BYTE1; in vf610_nfc_cmd() 395 code |= COMMAND_NADDR_BYTES(naddrs); in vf610_nfc_cmd() 412 code |= COMMAND_WRITE_DATA; in vf610_nfc_cmd() 419 code |= COMMAND_CMD_BYTE2; in vf610_nfc_cmd() 425 code |= COMMAND_RB_HANDSHAKE; in vf610_nfc_cmd() 435 code |= COMMAND_READ_DATA; in vf610_nfc_cmd() 441 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_cmd() 536 static void vf610_nfc_fill_row(struct nand_chip *chip, int page, u32 *code, in vf610_nfc_fill_row() argument 540 *code | in vf610_nfc_fill_row() 554 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; vf610_nfc_read_page() local 602 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; vf610_nfc_write_page() local [all...] |
/kernel/linux/linux-5.10/sound/pci/echoaudio/ |
H A D | echoaudio_dsp.c | 179 /* Load ASIC code - done after the DSP is loaded */ 185 u8 *code; in load_asic_generic() local 193 code = (u8 *)fw->data; in load_asic_generic() 205 if (write_dsp(chip, code[i]) < 0) in load_asic_generic() 226 program that is used to load the real DSP code. */ 231 u16 *code; in install_resident_loader() local 256 /* The DSP code is an array of 16 bit words. The array is divided up in install_resident_loader() 268 code = (u16 *)fw->data; in install_resident_loader() 271 of the first section, so the first real section of code is pointed in install_resident_loader() 273 index = code[ in install_resident_loader() 335 load_dsp(struct echoaudio *chip, u16 *code) load_dsp() argument [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 363 u32 col = 0, row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_cmd() local 378 code |= COMMAND_CMD_BYTE1; in vf610_nfc_cmd() 395 code |= COMMAND_NADDR_BYTES(naddrs); in vf610_nfc_cmd() 412 code |= COMMAND_WRITE_DATA; in vf610_nfc_cmd() 419 code |= COMMAND_CMD_BYTE2; in vf610_nfc_cmd() 425 code |= COMMAND_RB_HANDSHAKE; in vf610_nfc_cmd() 435 code |= COMMAND_READ_DATA; in vf610_nfc_cmd() 441 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_cmd() 536 static void vf610_nfc_fill_row(struct nand_chip *chip, int page, u32 *code, in vf610_nfc_fill_row() argument 540 *code | in vf610_nfc_fill_row() 554 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; vf610_nfc_read_page() local 602 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; vf610_nfc_write_page() local [all...] |
/kernel/linux/linux-6.6/sound/pci/echoaudio/ |
H A D | echoaudio_dsp.c | 179 /* Load ASIC code - done after the DSP is loaded */ 185 u8 *code; in load_asic_generic() local 193 code = (u8 *)fw->data; in load_asic_generic() 205 if (write_dsp(chip, code[i]) < 0) in load_asic_generic() 226 program that is used to load the real DSP code. */ 231 u16 *code; in install_resident_loader() local 256 /* The DSP code is an array of 16 bit words. The array is divided up in install_resident_loader() 268 code = (u16 *)fw->data; in install_resident_loader() 271 of the first section, so the first real section of code is pointed in install_resident_loader() 273 index = code[ in install_resident_loader() 335 load_dsp(struct echoaudio *chip, u16 *code) load_dsp() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gf100.c | 39 .code.data = gf100_ce_code, 40 .code.size = sizeof(gf100_ce_code), 53 .code.data = gf100_ce_code, 54 .code.size = sizeof(gf100_ce_code),
|
/test/testfwk/developer_test/libs/fuzzlib/tools/ |
H A D | run_result.py | 40 def __init__(self, code, data): 41 self.code = code 77 return "code :{}, msg: {}".format(self.code, self.data)
|
/test/xts/device_attest/services/devattest_ability/src/ |
H A D | devattest_service_stub.cpp | 34 int DevAttestServiceStub::OnRemoteRequest(uint32_t code, in OnRemoteRequest() argument 37 HILOGD("[OnRemoteRequest] cmd = %{public}d, flags = %{public}d", code, option.GetFlags()); in OnRemoteRequest() 43 auto itFunc = requestFuncMap_.find(code); in OnRemoteRequest() 51 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
|
/test/xts/dcts/distributeddatamgr/jstest/distributed_rdb_store/client/hap/src/main/js/test/ |
H A D | RdbStoreSyncFirstLevelJsunit.test.js | 108 console.info("SetDistributedTables failed, err: " + err.code);
210 console.log('testRdbSyncTest0010 sync failed' + err.code);
255 console.log('testRdbSyncTest0020 sync failed' + err.code);
289 console.log('testRdbSyncTest0020 sync failed' + err.code);
333 console.log('testRdbSyncTest0030 sync failed' + err.code);
367 console.log('testRdbSyncTest0030 sync failed' + err.code);
412 console.log('testRdbSyncTest0040 sync failed' + err.code);
433 console.log('testRdbSyncTest0040 sync failed' + err.code);
504 console.log('testRdbSyncTest0050 sync failed' + err.code);
596 console.log('testRdbSyncTest0060 sync failed' + err.code);
[all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | asus-wmi.c | 128 * identically to the AML code. 510 * The reason for this is that an extra code path in the ACPI is enabled when 2088 static int asus_wmi_backlight_notify(struct asus_wmi *asus, int code) in asus_wmi_backlight_notify() argument 2094 if (code >= NOTIFY_BRNUP_MIN && code <= NOTIFY_BRNUP_MAX) in asus_wmi_backlight_notify() 2095 new = code - NOTIFY_BRNUP_MIN + 1; in asus_wmi_backlight_notify() 2096 else if (code >= NOTIFY_BRNDOWN_MIN && code <= NOTIFY_BRNDOWN_MAX) in asus_wmi_backlight_notify() 2097 new = code - NOTIFY_BRNDOWN_MIN; in asus_wmi_backlight_notify() 2155 static int is_display_toggle(int code) in is_display_toggle() argument 2193 int code; asus_wmi_get_event_code() local 2213 asus_wmi_handle_event_code(int code, struct asus_wmi *asus) asus_wmi_handle_event_code() argument 2286 int code; asus_wmi_notify() local 2314 int code; asus_wmi_notify_queue_flush() local [all...] |
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
H A D | traps.h | 12 int code, unsigned long offset) __noreturn __cold; 17 const char *trap_name(unsigned long code); 18 void do_page_fault(struct pt_regs *regs, unsigned long code,
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/ |
H A D | vimc-sensor.c | 39 .code = MEDIA_BUS_FMT_RGB888_1X24, 61 struct v4l2_subdev_mbus_code_enum *code) in vimc_sen_enum_mbus_code() 63 u32 mbus_code = vimc_mbus_code_by_index(code->index); in vimc_sen_enum_mbus_code() 68 code->code = mbus_code; in vimc_sen_enum_mbus_code() 82 /* Only accept code in the pix map table */ in vimc_sen_enum_frame_size() 83 vpix = vimc_pix_map_by_code(fse->code); in vimc_sen_enum_frame_size() 112 vimc_pix_map_by_code(vsen->mbus_format.code); in vimc_sen_tpg_s_format() 131 /* Only accept code in the pix map table */ in vimc_sen_adjust_fmt() 132 vpix = vimc_pix_map_by_code(fmt->code); in vimc_sen_adjust_fmt() 59 vimc_sen_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) vimc_sen_enum_mbus_code() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/ |
H A D | vimc-sensor.c | 39 .code = MEDIA_BUS_FMT_RGB888_1X24, 61 struct v4l2_subdev_mbus_code_enum *code) in vimc_sensor_enum_mbus_code() 63 u32 mbus_code = vimc_mbus_code_by_index(code->index); in vimc_sensor_enum_mbus_code() 68 code->code = mbus_code; in vimc_sensor_enum_mbus_code() 82 /* Only accept code in the pix map table */ in vimc_sensor_enum_frame_size() 83 vpix = vimc_pix_map_by_code(fse->code); in vimc_sensor_enum_frame_size() 112 vimc_pix_map_by_code(vsensor->mbus_format.code); in vimc_sensor_tpg_s_format() 131 /* Only accept code in the pix map table */ in vimc_sensor_adjust_fmt() 132 vpix = vimc_pix_map_by_code(fmt->code); in vimc_sensor_adjust_fmt() 59 vimc_sensor_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) vimc_sensor_enum_mbus_code() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/m5mols/ |
H A D | m5mols_core.c | 56 .code = MEDIA_BUS_FMT_VYUY8_2X8, 63 .code = MEDIA_BUS_FMT_JPEG_1X8, 481 * __find_restype - Lookup M-5MOLS resolution type according to pixel code 482 * @code: pixel code 484 static enum m5mols_restype __find_restype(u32 code) in __find_restype() argument 489 if (code == m5mols_default_ffmt[type].code) in __find_restype() 513 enum m5mols_restype stype = __find_restype(mf->code); in __find_resolution() 591 format->code in m5mols_set_fmt() 650 m5mols_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) m5mols_enum_mbus_code() argument 723 u32 code; m5mols_s_stream() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 316 /* Assemble the body code between the prologue & epilogue */ 326 /* Start of epilogue code - will only be valid 2nd pass onwards */ in bpf_jit_build_body() 330 u32 code = insn[i].code; in bpf_jit_build_body() local 343 * the start of the body code. in bpf_jit_build_body() 363 switch (code) { in bpf_jit_build_body() 399 if (BPF_CLASS(code) == BPF_ALU) in bpf_jit_build_body() 410 if (BPF_CLASS(code) == BPF_ALU) in bpf_jit_build_body() 420 if (BPF_OP(code) == BPF_MOD) { in bpf_jit_build_body() 430 if (BPF_OP(code) in bpf_jit_build_body() [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | ov6650.c | 201 u32 code; member 240 .code = MEDIA_BUS_FMT_SBGGR8_1X8, 551 /* update media bus format code and frame size */ in ov6650_get_fmt() 555 mf->code = cfg->try_fmt.code; in ov6650_get_fmt() 560 mf->code = priv->code; in ov6650_get_fmt() 588 u32 code = mf->code; in ov6650_s_fmt() local 593 switch (code) { in ov6650_s_fmt() 730 ov6650_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) ov6650_enum_mbus_code() argument [all...] |