Home
last modified time | relevance | path

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

1234

/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
Dfsmap.h103 #define FMR_OWNER(type, code) (((__u64)type << 32) | \ argument
104 ((__u64)code & 0xFFFFFFFFULL))
Digmp.h33 __u8 code; /* For newer IGMP */ member
65 __u8 code; member
/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
189 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
321 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
324 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
439 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
440 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu…
442 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() argument
444 input_event(dev, EV_KEY, code, !!value); in input_report_key()
447 static inline void input_report_rel(struct input_dev *dev, unsigned int code, int value) in input_report_rel() argument
449 input_event(dev, EV_REL, code, value); in input_report_rel()
[all …]
Dfilter.h104 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
115 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
128 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
138 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
150 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
160 .code = BPF_ALU64 | BPF_END | BPF_SRC(BPF_TO_LE), \
170 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
178 .code = BPF_ALU | BPF_MOV | BPF_X, \
192 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
200 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && insn->off == BPF_ADDR_PERCPU; in insn_is_mov_percpu_addr()
[all …]
Dtca6416_keypad.h17 int code; /* input event code (KEY_*, SW_*) */ member
Dfpu.h7 #error FP code must be compiled separately. See Documentation/core-api/floating-point.rst.
Dgpio_keys.h27 unsigned int code; member
/include/uapi/linux/surface_aggregator/
Ddtx.h27 #define SDTX_STATUS(code) ((code) | SDTX_CATEGORY_STATUS) argument
28 #define SDTX_ERR_RT(code) ((code) | SDTX_CATEGORY_RUNTIME_ERROR) argument
29 #define SDTX_ERR_HW(code) ((code) | SDTX_CATEGORY_HARDWARE_ERROR) argument
30 #define SDTX_UNKNOWN(code) ((code) | SDTX_CATEGORY_UNKNOWN) argument
90 __u16 code; member
/include/linux/input/
Dsparse-keymap.h35 u32 code; member
39 u8 code; member
46 unsigned int code);
48 unsigned int code);
56 bool sparse_keymap_report_event(struct input_dev *dev, unsigned int code,
Dmt.h54 unsigned code, int value) in input_mt_set_value() argument
56 slot->abs[code - ABS_MT_FIRST] = value; in input_mt_set_value()
60 unsigned code) in input_mt_get_value() argument
62 return slot->abs[code - ABS_MT_FIRST]; in input_mt_get_value()
/include/net/
Dicmp.h39 void __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info,
41 static inline void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) in icmp_send() argument
43 __icmp_send(skb_in, type, code, info, &IPCB(skb_in)->opt); in icmp_send()
47 void icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info);
49 static inline void icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info) in icmp_ndo_send() argument
52 __icmp_send(skb_in, type, code, info, &opts); in icmp_ndo_send()
/include/trace/events/
Dicmp.h13 TP_PROTO(const struct sk_buff *skb, int type, int code),
15 TP_ARGS(skb, type, code),
20 __field(int, code)
36 __entry->code = code;
58 __entry->type, __entry->code,
Dsignal.h16 __entry->code = SI_USER; \
19 __entry->code = SI_KERNEL; \
22 __entry->code = info->si_code; \
60 __field( int, code )
77 __entry->sig, __entry->errno, __entry->code,
105 __field( int, code )
118 __entry->sig, __entry->errno, __entry->code,
/include/linux/mtd/
Dnand-ecc-sw-hamming.h37 unsigned char *code, bool sm_order);
40 unsigned char *code);
59 unsigned char *code, bool sm_order) in ecc_sw_hamming_calculate() argument
66 unsigned char *code) in nand_ecc_sw_hamming_calculate() argument
Dnand-ecc-sw-bch.h38 const unsigned char *buf, unsigned char *code);
49 unsigned char *code) in nand_ecc_sw_bch_calculate() argument
/include/dt-bindings/input/
Dinput.h15 #define MATRIX_KEY(row, col, code) \ argument
16 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/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
/include/net/netfilter/
Dnft_reject.h27 int nft_reject_icmp_code(u8 code);
28 int nft_reject_icmpv6_code(u8 code);
/include/net/netfilter/ipv4/
Dnf_reject.h10 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
24 int hook, u8 code);
/include/net/netfilter/ipv6/
Dnf_reject.h8 void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
29 int hook, u8 code);
/include/media/
Dv4l2-mediabus.h203 u32 code) in v4l2_fill_mbus_format() argument
212 mbus_fmt->code = code; in v4l2_fill_mbus_format()
/include/linux/soc/qcom/
Dsmem.h16 int qcom_smem_get_feature_code(u32 *code);

1234