Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 262) sorted by relevance

1234567891011

/linux-4.19.296/include/uapi/linux/
Dbpf_common.h6 #define BPF_CLASS(code) ((code) & 0x07) argument
17 #define BPF_SIZE(code) ((code) & 0x18) argument
22 #define BPF_MODE(code) ((code) & 0xe0) argument
31 #define BPF_OP(code) ((code) & 0xf0) argument
49 #define BPF_SRC(code) ((code) & 0x08) argument
Dfilter.h25 __u16 code; /* Actual filter code */ member
37 #define BPF_RVAL(code) ((code) & 0x18) argument
41 #define BPF_MISCOP(code) ((code) & 0xf8) argument
49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument
52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
/linux-4.19.296/include/linux/
Dicmpv6.h18 typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info,
21 void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info,
25 static inline void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, in __icmpv6_send() argument
28 icmp6_send(skb, type, code, info, NULL, parm); in __icmpv6_send()
41 extern void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info,
47 static inline void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) in icmpv6_send() argument
49 __icmpv6_send(skb, type, code, info, IP6CB(skb)); in icmpv6_send()
56 void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info);
58 static inline void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info) in icmpv6_ndo_send() argument
61 __icmpv6_send(skb_in, type, code, info, &parm); in icmpv6_ndo_send()
[all …]
Dinput.h35 __u16 code; member
170 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
292 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
295 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
388 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
389 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu…
391 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument
393 input_event(dev, EV_KEY, code, !!value); in input_report_key()
396 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument
398 input_event(dev, EV_REL, code, value); in input_report_rel()
[all …]
Dfilter.h87 .code = CLASS | BPF_OP(OP) | BPF_X, \
95 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
103 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
113 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
121 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
131 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
141 .code = CLASS | BPF_MOV | BPF_X, \
149 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
157 .code = BPF_ALU | BPF_MOV | BPF_X, \
167 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
[all …]
/linux-4.19.296/drivers/iio/amplifiers/
Dad8366.c60 unsigned code; in ad8366_read_raw() local
65 code = st->ch[chan->channel]; in ad8366_read_raw()
68 code = code * 253 + 4500; in ad8366_read_raw()
69 *val = code / 1000; in ad8366_read_raw()
70 *val2 = (code % 1000) * 1000; in ad8366_read_raw()
89 unsigned code; in ad8366_write_raw() local
96 code = (((u8)val * 1000) + ((u32)val2 / 1000)); in ad8366_write_raw()
98 if (code > 20500 || code < 4500) in ad8366_write_raw()
101 code = (code - 4500) / 253; in ad8366_write_raw()
106 st->ch[chan->channel] = code; in ad8366_write_raw()
/linux-4.19.296/drivers/char/
Dsnsc_event.c64 scdrv_parse_event(char *event, int *src, int *code, int *esp_code, char *desc) in scdrv_parse_event() argument
73 *code = get_unaligned_be32(event); in scdrv_parse_event()
117 scdrv_event_severity(int code) in scdrv_event_severity() argument
119 int ev_class = (code & EV_CLASS_MASK); in scdrv_event_severity()
120 int ev_severity = (code & EV_SEVERITY_MASK); in scdrv_event_severity()
188 int code, esp_code, src, class; in scdrv_dispatch_event() local
192 if (scdrv_parse_event(event, &src, &code, &esp_code, desc) < 0) { in scdrv_dispatch_event()
198 severity = scdrv_event_severity(code); in scdrv_dispatch_event()
200 class = (code & EV_CLASS_MASK); in scdrv_dispatch_event()
202 if (class == EV_CLASS_PWRD_NOTIFY || code == ENV_PWRDN_PEND) { in scdrv_dispatch_event()
[all …]
/linux-4.19.296/lib/zstd/
Derror_private.h44 ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); } in ERR_isError() argument
46 ERR_STATIC ERR_enum ERR_getErrorCode(size_t code) in ERR_getErrorCode() argument
48 if (!ERR_isError(code)) in ERR_getErrorCode()
50 return (ERR_enum)(0 - code); in ERR_getErrorCode()
/linux-4.19.296/include/linux/input/
Dsparse-keymap.h37 u32 code; member
41 u8 code; member
48 unsigned int code);
50 unsigned int code);
58 bool sparse_keymap_report_event(struct input_dev *dev, unsigned int code,
Dmt.h57 unsigned code, int value) in input_mt_set_value() argument
59 slot->abs[code - ABS_MT_FIRST] = value; in input_mt_set_value()
63 unsigned code) in input_mt_get_value() argument
65 return slot->abs[code - ABS_MT_FIRST]; in input_mt_get_value()
/linux-4.19.296/include/net/
Dicmp.h43 void __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info,
45 static inline void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) in icmp_send() argument
47 __icmp_send(skb_in, type, code, info, &IPCB(skb_in)->opt); in icmp_send()
51 void icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info);
53 static inline void icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info) in icmp_ndo_send() argument
56 __icmp_send(skb_in, type, code, info, &opts); in icmp_ndo_send()
/linux-4.19.296/include/trace/events/
Dsignal.h17 __entry->code = SI_USER; \
20 __entry->code = SI_KERNEL; \
23 __entry->code = info->si_code; \
61 __field( int, code )
78 __entry->sig, __entry->errno, __entry->code,
106 __field( int, code )
119 __entry->sig, __entry->errno, __entry->code,
/linux-4.19.296/drivers/s390/cio/
Dchsc.c109 ssd_area->request.code = 0x0004; in chsc_get_ssd_info()
120 ret = chsc_error_from_response(ssd_area->response.code); in chsc_get_ssd_info()
124 ssd_area->response.code); in chsc_get_ssd_info()
164 ssqd->request.code = 0x0024; in chsc_ssqd()
172 return chsc_error_from_response(ssqd->response.code); in chsc_ssqd()
190 scssc->request.code = 0x0021; in chsc_sadc()
208 return chsc_error_from_response(scssc->response.code); in chsc_sadc()
647 sei->request.code = 0x000e; in chsc_process_event_information()
654 if (sei->response.code != 0x0001) { in chsc_process_event_information()
656 sei->response.code, sei->ntsm); in chsc_process_event_information()
[all …]
Dchsc_sch.c437 if (chsc_area->header.code & 0x4000) { in chsc_ioctl_start_sync()
489 scpcd_area->request.code = 0x0028; in chsc_ioctl_info_channel_path()
501 if (scpcd_area->response.code != 0x0001) { in chsc_ioctl_info_channel_path()
504 scpcd_area->response.code); in chsc_ioctl_info_channel_path()
551 scucd_area->request.code = 0x0026; in chsc_ioctl_info_cu()
563 if (scucd_area->response.code != 0x0001) { in chsc_ioctl_info_cu()
566 scucd_area->response.code); in chsc_ioctl_info_cu()
614 sscud_area->request.code = 0x0006; in chsc_ioctl_info_sch_cu()
627 if (sscud_area->response.code != 0x0001) { in chsc_ioctl_info_sch_cu()
630 sscud_area->response.code); in chsc_ioctl_info_sch_cu()
[all …]
/linux-4.19.296/drivers/hid/
Dhid-input.c85 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode()
153 usage->code : KEY_RESERVED; in hidinput_getkeycode()
174 usage->code : KEY_RESERVED; in hidinput_setkeycode()
175 usage->code = ke->keycode; in hidinput_setkeycode()
178 set_bit(usage->code, dev->keybit); in hidinput_setkeycode()
180 usage->code, usage->hid); in hidinput_setkeycode()
211 __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code) in hidinput_calc_abs_res() argument
228 switch (code) { in hidinput_calc_abs_res()
579 int max = 0, code; in hidinput_configure_usage() local
622 code = ((usage->hid - 1) & HID_USAGE); in hidinput_configure_usage()
[all …]
Dhid-apple.c188 u16 code = 0; in hidinput_apple_event() local
190 if (usage->code == KEY_FN) { in hidinput_apple_event()
192 input_event(input, usage->type, usage->code, value); in hidinput_apple_event()
205 trans = apple_find_translation (table, usage->code); in hidinput_apple_event()
209 code = trans->from; in hidinput_apple_event()
211 code = trans->to; in hidinput_apple_event()
213 if (!code) { in hidinput_apple_event()
230 code = do_translate ? trans->to : trans->from; in hidinput_apple_event()
233 input_event(input, usage->type, code, value); in hidinput_apple_event()
238 (test_bit(usage->code, asc->pressed_numlock) || in hidinput_apple_event()
[all …]
/linux-4.19.296/include/acpi/
Dacexcep.h30 #define EXCEP_ENV(code) ((acpi_status) (code | AE_CODE_ENVIRONMENTAL)) argument
31 #define EXCEP_PGM(code) ((acpi_status) (code | AE_CODE_PROGRAMMER)) argument
32 #define EXCEP_TBL(code) ((acpi_status) (code | AE_CODE_ACPI_TABLES)) argument
33 #define EXCEP_AML(code) ((acpi_status) (code | AE_CODE_AML)) argument
34 #define EXCEP_CTL(code) ((acpi_status) (code | AE_CODE_CONTROL)) argument
/linux-4.19.296/lib/zlib_deflate/
Ddeftree.c231 int code; /* code value */ in tr_static_init() local
240 for (code = 0; code < LENGTH_CODES-1; code++) { in tr_static_init()
241 base_length[code] = length; in tr_static_init()
242 for (n = 0; n < (1<<extra_lbits[code]); n++) { in tr_static_init()
243 length_code[length++] = (uch)code; in tr_static_init()
251 length_code[length-1] = (uch)code; in tr_static_init()
255 for (code = 0 ; code < 16; code++) { in tr_static_init()
256 base_dist[code] = dist; in tr_static_init()
257 for (n = 0; n < (1<<extra_dbits[code]); n++) { in tr_static_init()
258 dist_code[dist++] = (uch)code; in tr_static_init()
[all …]
/linux-4.19.296/lib/zlib_inflate/
Dinflate.h97 code const *lencode; /* starting table for length/literal codes */
98 code const *distcode; /* starting table for distance codes */
106 code *next; /* next available space in codes[] */
109 code codes[ENOUGH]; /* space for code tables */
Dinffixed.h10 static const code lenfix[512] = {
87 static const code distfix[32] = {
/linux-4.19.296/drivers/parisc/
Dpower.c61 #define DIAG_CODE(code) (0x14000000 + ((code)<<5)) argument
63 #define MFCPU_X(rDiagReg, t_ch, t_th, code) \ argument
64 (DIAG_CODE(code) + ((rDiagReg)<<21) + ((t_ch)<<16) + ((t_th)<<0) )
167 static void powerfail_interrupt(int code, void *x)
/linux-4.19.296/fs/reiserfs/
DREADME6 Source code files that contain the phrase "licensing governed by
11 other licenses. If you add your code to governed files, and don't
13 code so the poor blight and his customers can keep things straight.
15 Reiser, and by adding your code to it, widely distributing it to
19 to license code labeled as owned by you on your behalf other than
25 right to decline to allow him to license your code contribution other
59 utilities cannot be compiled without accessing the balancing code
60 which is in the kernel code, and relocating the utilities may require
61 you to specify where that code can be found.
81 To understand the code, after reading the website, start reading the
[all …]
/linux-4.19.296/drivers/media/rc/
Dtango-ir.c61 u32 v, code; in tango_ir_handle_nec() local
70 code = ir_nec_bytes_to_scancode(v, v >> 8, v >> 16, v >> 24, &proto); in tango_ir_handle_nec()
71 rc_keydown(ir->rc, proto, code, 0); in tango_ir_handle_nec()
76 u32 data, field, toggle, addr, cmd, code; in tango_ir_handle_rc5() local
87 code = RC_SCANCODE_RC5(addr, cmd); in tango_ir_handle_rc5()
88 rc_keydown(ir->rc, RC_PROTO_RC5, code, toggle); in tango_ir_handle_rc5()
93 u32 data0, data1, toggle, mode, addr, cmd, code; in tango_ir_handle_rc6() local
106 code = RC_SCANCODE_RC6_0(addr, cmd); in tango_ir_handle_rc6()
107 rc_keydown(ir->rc, RC_PROTO_RC6_0, code, toggle); in tango_ir_handle_rc6()
/linux-4.19.296/include/media/drv-intf/
Dsoc_mediabus.h94 u32 code; member
99 u32 code,
103 u32 code);
/linux-4.19.296/include/dt-bindings/input/
Dinput.h15 #define MATRIX_KEY(row, col, code) \ argument
16 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))

1234567891011