/linux-master/drivers/target/tcm_fc/ |
H A D | tfc_cmd.c | 262 * status is SAM_STAT_GOOD (zero) iff code is valid. 267 u32 status, enum fcp_resp_rsp_codes code) 277 pr_debug("FCP error response: did %x oxid %x status %x code %x\n", 278 ntoh24(fh->fh_s_id), ntohs(fh->fh_ox_id), status, code); 292 info->rsp_code = code; 309 enum fcp_resp_rsp_codes code) 312 cmd->req_frame, SAM_STAT_GOOD, code); 321 enum fcp_resp_rsp_codes code) 323 ft_send_resp_code(cmd, code); 379 enum fcp_resp_rsp_codes code; local 265 ft_send_resp_status(struct fc_lport *lport, const struct fc_frame *rx_fp, u32 status, enum fcp_resp_rsp_codes code) argument 308 ft_send_resp_code(struct ft_cmd *cmd, enum fcp_resp_rsp_codes code) argument 320 ft_send_resp_code_and_free(struct ft_cmd *cmd, enum fcp_resp_rsp_codes code) argument [all...] |
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar-isp.c | 49 u32 code; member in struct:rcar_isp_format 56 .code = MEDIA_BUS_FMT_RGB888_1X24, 60 .code = MEDIA_BUS_FMT_Y10_1X10, 64 .code = MEDIA_BUS_FMT_UYVY8_1X16, 68 .code = MEDIA_BUS_FMT_YUYV8_1X16, 72 .code = MEDIA_BUS_FMT_UYVY8_2X8, 76 .code = MEDIA_BUS_FMT_YUYV10_2X10, 82 static const struct rcar_isp_format *risp_code_to_fmt(unsigned int code) argument 87 if (rcar_isp_formats[i].code == code) [all...] |
/linux-master/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-crossbar.c | 86 .code = MXC_ISI_DEF_MBUS_CODE_SINK, 215 struct v4l2_subdev_mbus_code_enum *code) 220 if (code->pad >= xbar->num_sinks) { 224 * The media bus code on source pads is identical to the 227 if (code->index > 0) 231 code->pad, 232 code->stream); 236 code->code = format->code; 213 mxc_isi_crossbar_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | imx8-isi-pipe.c | 194 mxc_isi_bus_format_by_code(u32 code, unsigned int pad) argument 202 if (info->mbus_code == code && info->pads & BIT(pad)) 271 sink_info = mxc_isi_bus_format_by_code(sink_fmt->code, 273 src_info = mxc_isi_bus_format_by_code(src_fmt->code, 360 fmt_sink->code = MXC_ISI_DEF_MBUS_CODE_SINK; 370 fmt_source->code = MXC_ISI_DEF_MBUS_CODE_SOURCE; 388 struct v4l2_subdev_mbus_code_enum *code) 399 if (code->pad == MXC_ISI_PIPE_PAD_SOURCE) { 404 info = mxc_isi_bus_format_by_code(format->code, 412 if (code 386 mxc_isi_pipe_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/net/netfilter/ |
H A D | nft_reject_netdev.c | 44 int hook, u8 code) 48 nskb = nf_reject_skb_v4_unreach(net, oldskb, dev, hook, code); 73 int hook, u8 code) 77 nskb = nf_reject_skb_v6_unreach(net, oldskb, dev, hook, code); 144 regs->verdict.code = NF_DROP; 41 nft_reject_netdev_send_v4_unreach(struct net *net, struct sk_buff *oldskb, const struct net_device *dev, int hook, u8 code) argument 70 nft_reject_netdev_send_v6_unreach(struct net *net, struct sk_buff *oldskb, const struct net_device *dev, int hook, u8 code) argument
|
/linux-master/drivers/parisc/ |
H A D | power.c | 34 /* assembly code to access special registers */ 36 #define DIAG_CODE(code) (0x14000000 + ((code)<<5)) 38 #define MFCPU_X(rDiagReg, t_ch, t_th, code) \ 39 (DIAG_CODE(code) + ((rDiagReg)<<21) + ((t_ch)<<16) + ((t_th)<<0) ) 142 static void powerfail_interrupt(int code, void *x)
|
/linux-master/drivers/md/dm-vdo/ |
H A D | admin-state.h | 76 * vdo_set_admin_state_code() - Set the current admin state code. 82 const struct admin_state_code *code) 84 WRITE_ONCE(state->current_state, code); 124 const struct admin_state_code *code = vdo_get_admin_state_code(state); local 126 return ((code == VDO_ADMIN_STATE_FORMATTING) || (code == VDO_ADMIN_STATE_LOADING)); 81 vdo_set_admin_state_code(struct admin_state *state, const struct admin_state_code *code) argument
|
/linux-master/arch/powerpc/lib/ |
H A D | test-code-patching.c | 9 #include <asm/code-patching.h> 27 pr_err("code-patching: test failed at line %d\n", __LINE__); \ 161 /* All condition code bits set & link */ 352 u32 code[32]; local 379 ppc_inst_write(code, inst64); 380 check(!patch_instructions((u32 *)(addr64 + 1), code, 24, true)); 392 for (int i = 0; i < ARRAY_SIZE(code); i++) 393 code[i] = i + 1; 395 check(!patch_instructions(addr32 + 1, code, sizeof(code), fals [all...] |
/linux-master/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) 389 switch (code) { 414 if (code & BPF_FETCH) { 556 * the generated code (0xffff). It is better fail to compile 640 u8 code = insn->code; local 646 switch (code) { 677 if (!valid_alu_i(BPF_OP(code), imm)) { 679 emit_alu_r(ctx, dst, MIPS_R_T4, BPF_OP(code)); 381 emit_atomic_r64(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 code) argument [all...] |
/linux-master/drivers/media/platform/ti/cal/ |
H A D | cal-video.c | 28 /* Print Four-character-code (FOURCC) */ 31 static char code[5]; local 33 code[0] = (unsigned char)(fmt & 0xff); 34 code[1] = (unsigned char)((fmt >> 8) & 0xff); 35 code[2] = (unsigned char)((fmt >> 16) & 0xff); 36 code[3] = (unsigned char)((fmt >> 24) & 0xff); 37 code[4] = '\0'; 39 return code; 87 u32 code) 94 if (fmtinfo->code 86 find_format_by_code(struct cal_ctx *ctx, u32 code) argument [all...] |
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsi2.c | 95 * Output should be CSI2 frame format code 170 switch (fmt->code) { 188 fmt->code); 593 if (csi2->formats[CSI2_PAD_SINK].code != 594 csi2->formats[CSI2_PAD_SOURCE].code) 857 if (fmt->code == csi2_input_fmts[i]) 863 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; 873 pixelcode = fmt->code; 882 info = omap3isp_video_format_info(fmt->code); 884 fmt->code 900 csi2_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_csi2.c | 113 * Output should be CSI2 frame format code 199 switch (fmt->code) { 224 fmt->code); 562 if (csi2->formats[CSI2_PAD_SINK].code != 563 csi2->formats[CSI2_PAD_SOURCE].code) 854 if (fmt->code == csi2_input_fmts[i]) 860 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; 870 pixelcode = fmt->code; 879 info = omap4iss_video_format_info(fmt->code); 881 fmt->code 897 csi2_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/include/acpi/ |
H A D | acexcep.h | 16 * Exception code classes 21 #define AE_CODE_AML 0x3000 /* From executing AML code */ 28 * Macros to insert the exception code classes 30 #define EXCEP_ENV(code) ((acpi_status) (code | AE_CODE_ENVIRONMENTAL)) 31 #define EXCEP_PGM(code) ((acpi_status) (code | AE_CODE_PROGRAMMER)) 32 #define EXCEP_TBL(code) ((acpi_status) (code | AE_CODE_ACPI_TABLES)) 33 #define EXCEP_AML(code) ((acpi_statu [all...] |
/linux-master/drivers/media/i2c/ |
H A D | adv7170.c | 254 struct v4l2_subdev_mbus_code_enum *code) 256 if (code->pad || code->index >= ARRAY_SIZE(adv7170_codes)) 259 code->code = adv7170_codes[code->index]; 274 mf->code = MEDIA_BUS_FMT_UYVY8_1X16; 276 mf->code = MEDIA_BUS_FMT_UYVY8_2X8; 296 switch (mf->code) { 307 "illegal v4l2_mbus_framefmt code 252 adv7170_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_sru.c | 110 struct v4l2_subdev_mbus_code_enum *code) 117 return vsp1_subdev_enum_mbus_code(subdev, sd_state, code, codes, 138 if (fse->index || fse->code != format->code) { 177 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && 178 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) 179 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; 189 fmt->code = format->code; 285 if (input->code 108 sru_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | vsp1_uds.c | 115 struct v4l2_subdev_mbus_code_enum *code) 122 return vsp1_subdev_enum_mbus_code(subdev, sd_state, code, codes, 143 if (fse->index || fse->code != format->code) { 176 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && 177 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) 178 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; 188 fmt->code = format->code; 113 uds_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe.c | 36 u32 code; member in struct:vfe_format 131 * @code: media bus format code 136 unsigned int nformats, u32 code) 141 if (code == formats[i].code) 149 static u32 vfe_find_code(u32 *code, unsigned int n_code, argument 159 if (req_code == code[i]) 163 return code[i]; 166 return code[ 135 vfe_get_bpp(const struct vfe_format *formats, unsigned int nformats, u32 code) argument 926 u32 code; local 1062 vfe_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-isp.c | 33 * There are many variables named with format/frame in below code, 222 sink_fmt = rkisp1_mbus_info_get_by_code(sink_frm->code); 223 src_fmt = rkisp1_mbus_info_get_by_code(src_frm->code); 458 src_info = rkisp1_mbus_info_get_by_code(src_fmt->code); 477 struct v4l2_subdev_mbus_code_enum *code) 482 if (code->pad == RKISP1_ISP_PAD_SINK_VIDEO) { 484 } else if (code->pad == RKISP1_ISP_PAD_SOURCE_VIDEO) { 487 if (code->index > 0) 489 code->code 475 rkisp1_isp_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/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) 63 u32 mbus_code = vimc_mbus_code_by_index(code->index); 68 code->code = mbus_code; 82 /* Only accept code in the pix map table */ 83 vpix = vimc_pix_map_by_code(fse->code); 112 vimc_pix_map_by_code(vsensor->mbus_format.code); 131 /* Only accept code in the pix map table */ 132 vpix = vimc_pix_map_by_code(fmt->code); 59 vimc_sensor_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nsp.c | 117 int code; member in struct:__anon1815 143 * @code: NFP SP Command Code 153 u16 code; member in struct:nfp_nsp_command_arg 224 if (ret_val == nsp_errors[i].code) 351 * positive value for NSP completion with a result code 383 FIELD_PREP(NSP_COMMAND_CODE, arg->code) | 393 nfp_err(cpp, "Error %d waiting for code 0x%04x to start\n", 394 err, arg->code); 402 nfp_err(cpp, "Error %d waiting for code 0x%04x to complete\n", 403 err, arg->code); 428 nfp_nsp_command(struct nfp_nsp *state, u16 code) argument [all...] |
/linux-master/drivers/regulator/ |
H A D | rt6245-regulator.c | 148 unsigned int code, bit_count; local 150 code = func_base[reg]; 151 code += val; 154 bit_count = hweight8(code & RT6245_CODE_MASK); 156 code |= RT6245_CHKSUM_MASK; 158 code &= ~RT6245_CHKSUM_MASK; 160 return i2c_smbus_write_byte(i2c, code);
|
/linux-master/arch/csky/kernel/ |
H A D | traps.c | 116 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr) argument 122 pr_info("%s[%d]: unhandled signal %d code 0x%x at 0x%08lx", 123 tsk->comm, task_pid_nr(tsk), signo, code, addr); 129 force_sig_fault(signo, code, (void __user *)addr); 132 static void do_trap_error(struct pt_regs *regs, int signo, int code, argument 138 do_trap(regs, signo, code, addr); 145 #define DO_ERROR_INFO(name, signo, code, str) \ 148 do_trap_error(regs, signo, code, regs->pc, "Oops - " str); \
|
/linux-master/tools/lib/subcmd/ |
H A D | run-command.c | 173 int status, code; local 190 code = WEXITSTATUS(status); 191 switch (code) { 197 return -code; 209 int code = start_command(cmd); local 210 if (code) 211 return code;
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_subdev.c | 60 /* no valid V4L2 MBUS code for metadata format, so leave it 0. */ 66 u32 code; member in struct:__anon1032 75 u32 atomisp_subdev_uncompressed_code(u32 code) argument 80 if (code == compressed_codes[i].compressed) 81 return compressed_codes[i].code; 83 return code; 86 bool atomisp_subdev_is_compressed(u32 code) argument 91 if (code == atomisp_in_fmt_conv[i].code) 98 const struct atomisp_in_fmt_conv *atomisp_find_in_fmt_conv(u32 code) argument 189 isp_subdev_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/pcmcia/ |
H A D | pxa2xx_base.c | 88 u_int code = pcmcia_cycle_ns * mem_clk_10khz; local 89 return (code / 300000) + ((code % 300000) ? 1 : 0) - 1; 95 u_int code = pcmcia_cycle_ns * mem_clk_10khz; local 96 return (code / 300000) + ((code % 300000) ? 1 : 0) + 1; 102 u_int code = pcmcia_cycle_ns * mem_clk_10khz; local 103 return (code / 100000) + ((code % 100000) ? 1 : 0) - 1;
|