/linux-master/drivers/tty/ |
H A D | sysrq.c | 736 unsigned int code, int value) 738 if (!test_bit(code, state->reset_keybit)) { 831 unsigned int code, int value) 836 switch (code) { 842 if (sysrq->active && code == sysrq->alt_use) 848 sysrq->alt = code; 858 sysrq->shift = code; 867 /* either RESERVED (for released) or actual code */ 891 unsigned char c = sysrq_xlate[code]; 917 set_bit(code, sysr 735 sysrq_detect_reset_sequence(struct sysrq_state *state, unsigned int code, int value) argument 830 sysrq_handle_keypress(struct sysrq_state *sysrq, unsigned int code, int value) argument 938 sysrq_filter(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument [all...] |
/linux-master/drivers/input/ |
H A D | evdev.c | 77 unsigned int code) 93 if (!cnt || code >= cnt) 97 return mask && !test_bit(code, mask); 118 is_report = ev->type == EV_SYN && ev->code == SYN_REPORT; 152 ev.code = SYN_DROPPED; 231 .code = SYN_DROPPED, 238 if (event->type == EV_SYN && event->code == SYN_REPORT) { 264 if (__evdev_is_filtered(client, v->type, v->code)) 267 if (v->type == EV_SYN && v->code == SYN_REPORT) { 276 event.code 75 __evdev_is_filtered(struct evdev_client *client, unsigned int type, unsigned int code) argument 314 evdev_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument 924 unsigned int code; local [all...] |
/linux-master/drivers/media/i2c/ |
H A D | imx290.c | 567 u32 code[IMX290_VARIANT_MAX]; member in struct:imx290_format_info 575 .code = { 583 .code = { 594 imx290_format_info(const struct imx290 *imx290, u32 code) argument 601 if (info->code[imx290->model->colour_variant] == code) 661 unsigned int bpp = imx290_format_info(imx290, format->code)->bpp; 710 info = imx290_format_info(imx290, format->code); 1078 struct v4l2_subdev_mbus_code_enum *code) 1082 if (code 1076 imx290_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | ml86v7667.c | 192 struct v4l2_subdev_mbus_code_enum *code) 194 if (code->pad || code->index > 0) 197 code->code = MEDIA_BUS_FMT_YUYV8_2X8; 212 fmt->code = MEDIA_BUS_FMT_YUYV8_2X8; 190 ml86v7667_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument
|
H A D | imx334.c | 140 * @cur_code: current selected format code 531 * Return: 0 if successful, error code otherwise. 576 * Return: 0 if successful, error code otherwise. 600 * Return: 0 if successful, error code otherwise. 622 * Return: 0 if successful, error code otherwise. 657 * Return: 0 if successful, error code otherwise. 700 * Return: 0 if successful, error code otherwise. 780 static int imx334_get_format_code(struct imx334 *imx334, u32 code) argument 785 if (imx334_mbus_codes[i] == code) 796 * @code 800 imx334_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument 825 u32 code; local [all...] |
H A D | ov2659.c | 187 u32 code; member in struct:ov2659_pixfmt 803 .code = MEDIA_BUS_FMT_YUYV8_2X8, 806 .code = MEDIA_BUS_FMT_UYVY8_2X8, 809 .code = MEDIA_BUS_FMT_RGB565_2X8_BE, 812 .code = MEDIA_BUS_FMT_SBGGR8_1X8, 953 format->code = ov2659_formats[0].code; 984 struct v4l2_subdev_mbus_code_enum *code) 990 if (code->index >= ARRAY_SIZE(ov2659_formats)) 993 code 982 ov2659_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/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 43 static int bcm47xxnflash_ops_bcm4706_ctl_cmd(struct bcma_drv_cc *cc, u32 code) argument 47 bcma_cc_write32(cc, BCMA_CC_NFLASH_CTL, NCTL_START | code); 173 u32 code = 0; local 179 code = cmd | NCTL_CMD0; 183 code |= NCTL_CSA; 185 bcm47xxnflash_ops_bcm4706_ctl_cmd(b47n->cc, code);
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_sip.c | 1138 unsigned int cseq, unsigned int code) 1144 if ((code >= 100 && code <= 199) || 1145 (code >= 200 && code <= 299)) 1155 unsigned int cseq, unsigned int code) 1161 if ((code >= 100 && code <= 199) || 1162 (code >= 200 && code < 1135 process_invite_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument 1152 process_update_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument 1169 process_prack_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument 1322 process_register_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument 1415 unsigned int code, cseq, i; local [all...] |
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | icmps-accept.c | 179 static void icmp_interfere4(uint8_t type, uint8_t code, uint32_t rcv_nxt, argument 203 packet.icmph.code = code; 204 if (code == ICMP_FRAG_NEEDED) { 293 static void icmp6_interfere(int type, int code, uint32_t rcv_nxt, argument 319 packet.icmph.icmp6_code = code;
|
H A D | icmps-discard.c | 179 static void icmp_interfere4(uint8_t type, uint8_t code, uint32_t rcv_nxt, argument 203 packet.icmph.code = code; 204 if (code == ICMP_FRAG_NEEDED) { 293 static void icmp6_interfere(int type, int code, uint32_t rcv_nxt, argument 319 packet.icmph.icmp6_code = code;
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 8 * The code is based on the BPF JIT compiler for RV64G by Bj��rn T��pel and 95 * code. 957 bool is64 = BPF_CLASS(insn->code) == BPF_ALU64 || 958 BPF_CLASS(insn->code) == BPF_JMP; 960 u8 code = insn->code; local 969 switch (code) { 988 if (BPF_SRC(code) == BPF_K) { 992 emit_alu_r64(dst, src, ctx, BPF_OP(code)); 996 emit_alu_r64(dst, tmp2, ctx, BPF_OP(code)); [all...] |
/linux-master/sound/virtio/ |
H A D | virtio_kctl.c | 125 hdr->hdr.code = cpu_to_le32(VIRTIO_SND_R_CTL_READ); 195 hdr->hdr.code = cpu_to_le32(VIRTIO_SND_R_CTL_WRITE); 232 * @op_flag: Operation code (SNDRV_CTL_TLV_OP_XXX). 267 hdr->hdr.code = cpu_to_le32(VIRTIO_SND_R_CTL_TLV_READ); 279 hdr->hdr.code = cpu_to_le32(VIRTIO_SND_R_CTL_TLV_WRITE); 281 hdr->hdr.code = 343 hdr->hdr.code = cpu_to_le32(VIRTIO_SND_R_CTL_ENUM_ITEMS);
|
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 6 * The code based on code and ideas from: 180 /* Total stack size used in JITed code */ 1187 int cleanup_addr; /* Epilogue code offset */ 1197 * Emit prologue code for BPF program and check its size. 1244 /* Emit epilogue code for BPF program */ 1287 * Generate the following code: 1674 const bool is64 = BPF_CLASS(insn->code) == BPF_ALU64; 1677 const u8 code = insn->code; local [all...] |
H A D | bpf_jit_comp.c | 258 int cleanup_addr; /* Epilogue code offset */ 261 * Program specific offsets of labels in the code; these rely on the 407 * Emit x86-64 prologue code for BPF program. 593 * Generate the following code: 1242 if (insn->code == (BPF_JMP | BPF_TAIL_CALL)) 1307 u8 m = 2; /* escape code 0f38 */ 1386 switch (insn->code) { 1399 BPF_CLASS(insn->code) == BPF_ALU64); 1400 b2 = simple_alu_opcodes[BPF_OP(insn->code)]; 1451 BPF_CLASS(insn->code) [all...] |
/linux-master/tools/net/ynl/lib/ |
H A D | ynl.c | 31 _yse->code = _code; \ 150 yerr_msg(ys, "%s", strerror(ys->err.code)); 243 /* Implicitly depend on ys->err.code already set */ 246 ys->err.code ? "error" : "warning", 251 ys->err.code ? "error" : "warning", 254 yerr_msg(ys, "%s", strerror(ys->err.code)); 264 int code; local 266 code = err->error >= 0 ? err->error : -err->error; 267 yarg->ys->err.code = code; [all...] |
/linux-master/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 9 * Based on code and ideas from 715 u8 dst, u8 src, s16 off, u8 code) 728 if (code == BPF_XCHG) { 737 switch (code) { 777 if (code & BPF_FETCH) { 798 u8 dst, const u8 src[], s16 off, u8 code) 818 switch (code) { 858 if (code & BPF_FETCH) { 1382 * the generated code (0xffff). It is better fail to compile 1469 u8 code local 714 emit_atomic_r32(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 code) argument 797 emit_atomic_r64(struct jit_context *ctx, u8 dst, const u8 src[], s16 off, u8 code) argument [all...] |
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-capture.c | 564 u32 *code, u32 *fourcc, int pad) 576 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && 578 *code = ctx->s_frame.fmt->mbus_code; 586 ffmt = fimc_find_format(fourcc, code, mask, 0); 590 if (code) 591 *code = ffmt->mbus_code; 632 dbg("pad%d: code: 0x%x, %dx%d. dst fmt: %dx%d", 633 pad, code ? *code : 0, *width, *height, 785 ffmt = fimc_find_format(NULL, mf->code ! 562 fimc_capture_try_format(struct fimc_ctx *ctx, u32 *width, u32 *height, u32 *code, u32 *fourcc, int pad) argument 1459 fimc_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/media/firewire/ |
H A D | firedtv.h | 159 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code); 164 static inline void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) {} argument
|
/linux-master/include/pcmcia/ |
H A D | ds.h | 5 * The initial developer of the original code is David A. Hinds 167 /* get the very first CIS entry of type @code. Note that buf is pointer 169 size_t pcmcia_get_tuple(struct pcmcia_device *p_dev, cisdata_t code, 173 int pcmcia_loop_tuple(struct pcmcia_device *p_dev, cisdata_t code,
|
/linux-master/arch/alpha/kernel/ |
H A D | irq_alpha.c | 3 * Alpha specific irq code. 155 printk(KERN_CRIT "%s machine check: vector=0x%lx pc=0x%lx code=0x%x\n", 156 machine, vector, get_irq_regs()->pc, mchk_header->code); 158 switch (mchk_header->code) {
|
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_timer.c | 77 if (ev->t.code == EV_TIMING) { 97 } else if (ev->s.code == SEQ_WAIT) {
|
H A D | seq_oss_rw.c | 97 if (rec.s.code == SEQ_FULLSIZE) { 109 /* extended code */ 110 if (rec.s.code == SEQ_EXTENDED && 126 /* old-type code */
|
/linux-master/drivers/hid/ |
H A D | hid-cypress.c | 92 if (usage->type == EV_REL && usage->code == REL_WHEEL) 118 if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) {
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_dbg.c | 134 qedf_uevent_emit(struct Scsi_Host *shost, u32 code, char *msg) argument 140 switch (code) {
|
/linux-master/lib/zstd/compress/ |
H A D | hist.c | 10 * This source code is licensed under both the BSD-style license (found in the 24 unsigned HIST_isError(size_t code) { return ERR_isError(code); } argument 65 * or an error code (notably when histogram's alphabet is larger than *maxSymbolValuePtr) */
|