Searched refs:code (Results 76 - 100 of 1522) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dinput.h29 * @code: the value code
34 __u16 code; member in struct:input_value
49 * @uniq: unique identification code for the device (if device has it)
78 * @repeat_key: stores key code of the last key pressed; used to implement
188 int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
314 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
317 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
420 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
421 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, in
423 input_report_key(struct input_dev *dev, unsigned int code, int value) argument
428 input_report_rel(struct input_dev *dev, unsigned int code, int value) argument
433 input_report_abs(struct input_dev *dev, unsigned int code, int value) argument
438 input_report_ff_status(struct input_dev *dev, unsigned int code, int value) argument
443 input_report_switch(struct input_dev *dev, unsigned int code, int value) argument
[all...]
/linux-master/drivers/pcmcia/
H A Dmax1600.c19 unsigned int channel, unsigned int code)
36 if (code != MAX1600_CODE_LOW && code != MAX1600_CODE_HIGH)
44 m->code = code;
109 if (m->code == MAX1600_CODE_HIGH) {
18 max1600_init(struct device *dev, struct max1600 **ptr, unsigned int channel, unsigned int code) argument
/linux-master/drivers/input/misc/
H A Dmax77650-onkey.c22 unsigned int code; member in struct:max77650_onkey
29 input_report_key(onkey->input, onkey->code, 0);
39 input_report_key(onkey->input, onkey->code, 1);
64 error = device_property_read_u32(dev, "linux,code", &onkey->code);
66 onkey->code = KEY_POWER;
96 input_set_capability(onkey->input, type, onkey->code);
/linux-master/arch/arm/probes/kprobes/
H A Dtest-core.h152 ".code "TEST_ISA" \n\t" \
191 ".code "NORMAL_ISA" \n\t" \
210 * TEST_SUPPORTED and TEST_UNSUPPORTED don't cause the code to be executed,
214 #define TEST(code) \
215 TESTCASE_START(code) \
217 TEST_INSTRUCTION(code) \
220 #define TEST_UNSUPPORTED(code) \
221 TESTCASE_START(code) \
223 TEST_INSTRUCTION(code) \
226 #define TEST_SUPPORTED(code) \
[all...]
/linux-master/net/netfilter/
H A Dnft_reject.c6 * Development of this code funded by Astaro AG (http://www.astaro.com/)
104 int nft_reject_icmp_code(u8 code) argument
106 if (WARN_ON_ONCE(code > NFT_REJECT_ICMPX_MAX))
109 return icmp_code_v4[code];
122 int nft_reject_icmpv6_code(u8 code) argument
124 if (WARN_ON_ONCE(code > NFT_REJECT_ICMPX_MAX))
127 return icmp_code_v6[code];
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dfalcon.c106 vfree(falcon->code.data);
107 falcon->code.data = NULL;
149 falcon->code.limit = (caps & 0x000001ff) << 8;
154 nvkm_debug(subdev, "code limit: %d\n", falcon->code.limit);
192 if (!falcon->code.data) {
198 falcon->code.data = vmemdup(fw->data, fw->size);
199 falcon->code.size = fw->size;
208 /* next step is to try and load "static code/data segment" firmware
211 if (!falcon->code
[all...]
/linux-master/arch/parisc/mm/
H A Dfault.c54 parisc_acctyp(unsigned long code, unsigned int inst) argument
56 if (code == 6 || code == 16)
227 const char *trap_name(unsigned long code) argument
231 if (code < ARRAY_SIZE(trap_description))
232 t = trap_description[code];
242 show_signal_msg(struct pt_regs *regs, unsigned long code, argument
254 tsk->comm, code, address);
257 pr_cont("\ntrap #%lu: %s%c", code, trap_name(code),
267 do_page_fault(struct pt_regs *regs, unsigned long code, unsigned long address) argument
[all...]
/linux-master/tools/usb/usbip/src/
H A Dusbip_network.c136 op_common->code = usbip_net_pack_uint16_t(pack, op_common->code);
140 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status) argument
148 op_common.code = code;
162 int usbip_net_recv_op_common(int sockfd, uint16_t *code, int *status) argument
183 switch (*code) {
187 if (op_common.code != *code) {
188 dbg("unexpected pdu %#0x for %#0x", op_common.code,
[all...]
/linux-master/drivers/input/
H A Dsparse-keymap.c56 * @code: Scan code
62 unsigned int code)
67 if (code == key->code)
77 * @keycode: Key code
123 ke->len = sizeof(key->code);
124 memcpy(ke->scancode, &key->code, sizeof(key->code));
202 __set_bit(entry->sw.code, de
61 sparse_keymap_entry_from_scancode(struct input_dev *dev, unsigned int code) argument
273 sparse_keymap_report_event(struct input_dev *dev, unsigned int code, unsigned int value, bool autorelease) argument
[all...]
/linux-master/arch/powerpc/math-emu/
H A Dfcmpu.c16 int code[4] = { (1 << 3), (1 << 1), (1 << 2), (1 << 0) }; local
32 cmp = code[(cmp + 1) & 3];
/linux-master/arch/sparc/kernel/
H A Djump_label.c15 u32 *insn = (u32 *) (unsigned long) entry->code;
19 s32 off = (s32)entry->target - (s32)entry->code;
/linux-master/drivers/hid/
H A Dhid-xinmo.c28 switch (usage->code) {
35 usage->code, -1);
/linux-master/net/nfc/nci/
H A Dlib.c24 int nci_to_errno(__u8 code) argument
26 switch (code) {
/linux-master/include/net/netfilter/ipv4/
H A Dnf_reject.h10 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
24 int hook, u8 code);
/linux-master/include/net/netfilter/ipv6/
H A Dnf_reject.h8 void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
29 int hook, u8 code);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgf100.c46 .code.data = gf100_pmu_code,
47 .code.size = sizeof(gf100_pmu_code),
/linux-master/include/linux/mtd/
H A Dnand-ecc-sw-bch.h18 * @code_size: Number of bytes needed to store a code (one code per step)
38 const unsigned char *buf, unsigned char *code);
49 unsigned char *code)
47 nand_ecc_sw_bch_calculate(struct nand_device *nand, const unsigned char *buf, unsigned char *code) argument
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-common.sh24 local code=$1
31 if [ $code $cop 0 ]; then
/linux-master/tools/testing/selftests/filesystems/eventfd/
H A Deventfd_test.c17 int code; member in struct:error
21 static int error_set(struct error *err, int code, const char *fmt, ...) argument
26 if (code == 0 || !err || err->code != 0)
27 return code;
29 err->code = code;
35 return code;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_trace.h24 __field(u16, code)
32 __entry->code = le16_to_cpu(req->msg.code);
40 "%s %s vfid:%u code:%u data:%s",
42 __entry->code,
55 __field(u8, code)
64 __entry->code = req->msg.code;
73 "%s %s vfid:%u code:%u subcode:%u data:%s",
75 __entry->code, __entr
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_hw_chip.h15 * - Redistributions of source code must retain the above
54 #define CHELSIO_CHIP_VERSION(code) (((code) >> 12) & 0xf)
55 #define CHELSIO_CHIP_RELEASE(code) ((code) & 0xf)
/linux-master/arch/csky/kernel/probes/
H A Dsimulate-insn.h7 static __always_inline bool csky_insn_is_##name(probe_opcode_t code) \
10 return (code & (mask)) == (val); \
14 #define CSKY_INSN_SET_SIMULATE(name, code) \
16 if (csky_insn_is_##name(code)) { \
/linux-master/arch/csky/include/asm/
H A Dbug.h23 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
/linux-master/include/linux/input/
H A Dmt.h54 unsigned code, int value)
56 slot->abs[code - ABS_MT_FIRST] = value;
60 unsigned code)
62 return slot->abs[code - ABS_MT_FIRST];
53 input_mt_set_value(struct input_mt_slot *slot, unsigned code, int value) argument
59 input_mt_get_value(const struct input_mt_slot *slot, unsigned code) argument
/linux-master/arch/sparc/include/asm/
H A Djump_label.h46 jump_label_t code; member in struct:jump_entry

Completed in 241 milliseconds

1234567891011>>