/linux-master/drivers/hid/ |
H A D | hid-gyration.c | 64 input_event(input, usage->type, usage->code, 1); 66 input_event(input, usage->type, usage->code, 0);
|
H A D | hid-apple.c | 390 __u8 type, __u16 code, unsigned int hid, __s32 value) 393 (!test_bit(code, input->key)) == value) 395 input_event(input, type, code, value); 404 u16 code = usage->code; local 414 trans = apple_find_translation(swapped_fn_leftctrl_keys, code); 417 code = trans->to; 422 trans = apple_find_translation(apple_iso_keyboard, code); 425 code = trans->to; 430 trans = apple_find_translation(swapped_option_cmd_left_keys, code); 389 input_event_with_scancode(struct input_dev *input, __u8 type, __u16 code, unsigned int hid, __s32 value) argument [all...] |
/linux-master/drivers/input/ |
H A D | apm-power.c | 32 unsigned int code, int value) 40 system_power_event(code); 31 apmpower_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument
|
H A D | evbug.c | 22 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument 25 dev_name(&handle->dev->dev), type, code, value);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vf_error.c | 43 adev->virt.vf_errors.code [index] = error_code; 62 TODO: Enable these code when pv2vf_info is merged 77 data1 = AMDGIM_ERROR_CODE_FLAGS_TO_MAILBOX(adev->virt.vf_errors.code[index],
|
/linux-master/drivers/pcmcia/ |
H A D | pcmcia_cis.c | 5 * The initial developer of the original code is David A. Hinds 30 * @code: which CIS code shall we look for? 36 cisdata_t code, void *parse) 47 tuple.DesiredTuple = code; 71 * @code: which CIS code shall we look for? 83 cisdata_t code, cisparse_t *parse, void *priv_data, 101 tuple.DesiredTuple = code; 310 * @code 35 pccard_read_tuple(struct pcmcia_socket *s, unsigned int function, cisdata_t code, void *parse) argument 82 pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function, cisdata_t code, cisparse_t *parse, void *priv_data, int (*loop_tuple) (tuple_t *tuple, cisparse_t *parse, void *priv_data)) argument 319 pcmcia_loop_tuple(struct pcmcia_device *p_dev, cisdata_t code, int (*loop_tuple) (struct pcmcia_device *p_dev, tuple_t *tuple, void *priv_data), void *priv_data) argument 374 pcmcia_get_tuple(struct pcmcia_device *p_dev, cisdata_t code, unsigned char **buf) argument [all...] |
/linux-master/arch/mips/kernel/ |
H A D | jump_label.c | 45 insn_p = (union mips_instruction *)msk_isa16_mode(e->code); 70 ((e->code + 4) & ~J_RANGE_MASK));
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gp108.c | 44 const u64 code = base + lsfw->app_resident_code_offset; local 48 .code_dma_base = code,
|
/linux-master/lib/zstd/common/ |
H A D | entropy_common.c | 9 * This source code is licensed under both the BSD-style license (found in the 31 unsigned FSE_isError(size_t code) { return ERR_isError(code); } argument 32 const char* FSE_getErrorName(size_t code) { return ERR_getErrorName(code); } argument 34 unsigned HUF_isError(size_t code) { return ERR_isError(code); } argument 35 const char* HUF_getErrorName(size_t code) { return ERR_getErrorName(code); } argument 101 * 2-bit repeat code i [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_mbx.c | 90 "VF could not match resp code(code0=%u,code1=%u), %d\n", 140 status = hclgevf_get_mbx_resp(hdev, send_msg->code, 211 le16_to_cpu(req->msg.code)); 230 u16 code; local 245 code = le16_to_cpu(req->msg.code); 248 "dropped invalid mailbox message, code = %u\n", 249 code); 265 switch (code) { 279 code); [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | traps_32.c | 205 int code; local 280 code = FPE_FLTUNK; 283 code = FPE_FLTINV; 285 code = FPE_FLTOVF; 287 code = FPE_FLTUND; 289 code = FPE_FLTDIV; 291 code = FPE_FLTRES; 293 send_sig_fault(SIGFPE, code, (void __user *)pc, fpt);
|
/linux-master/drivers/platform/x86/dell/ |
H A D | dell-wmi-privacy.c | 95 bool dell_privacy_process_event(int type, int code, int status) argument 108 key = sparse_keymap_entry_from_scancode(priv->input_dev, (type << 16) | code); 110 dev_warn(&priv->wdev->dev, "Unknown key with type 0x%04x and code 0x%04x pressed\n", 111 type, code); 114 dev_dbg(&priv->wdev->dev, "Key with type 0x%04x and code 0x%04x pressed\n", type, code); 116 switch (code) { 128 dev_dbg(&priv->wdev->dev, "unknown event type 0x%04x 0x%04x\n", type, code); 322 /* remap the keymap code with Dell privacy key type 0x12 as prefix 332 dell_wmi_keymap_type_0012[i].sw.code [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | mshyperv.h | 168 static inline u64 hv_do_fast_hypercall8(u16 code, u64 input1) argument 170 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT; 175 static inline u64 hv_do_fast_nested_hypercall8(u16 code, u64 input1) argument 177 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT | HV_HYPERCALL_NESTED; 226 static inline u64 hv_do_fast_hypercall16(u16 code, u64 input1, u64 input2) argument 228 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT; 233 static inline u64 hv_do_fast_nested_hypercall16(u16 code, u64 input1, u64 input2) argument 235 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT | HV_HYPERCALL_NESTED;
|
/linux-master/net/ipv4/ |
H A D | icmp.c | 21 * code. 278 static bool icmpv4_mask_allow(struct net *net, int type, int code) argument 284 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) 294 static bool icmpv4_global_allow(struct net *net, int type, int code) argument 296 if (icmpv4_mask_allow(net, type, code)) 311 struct flowi4 *fl4, int type, int code) 318 if (icmpv4_mask_allow(net, type, code)) 411 int code = icmp_param->data.icmph.code; local 420 if (!icmpv4_global_allow(net, type, code)) 310 icmpv4_xrlim_allow(struct net *net, struct rtable *rt, struct flowi4 *fl4, int type, int code) argument 479 icmp_route_lookup(struct net *net, struct flowi4 *fl4, struct sk_buff *skb_in, const struct iphdr *iph, __be32 saddr, u8 tos, u32 mark, int type, int code, struct icmp_bxm *param) argument 592 __icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info, const struct ip_options *opt) argument 790 icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info) argument 1371 int code = icmp_hdr(skb)->code; local [all...] |
/linux-master/net/ipv6/ |
H A D | fou6.c | 76 u8 type, u8 code, int offset, __be32 info) 82 if (!ipprot->err_handler(skb, opt, type, code, offset, info)) 90 u8 type, u8 code, int offset, __be32 info) 113 type, code, offset, info); 117 type, code, offset, info); 150 opt, type, code, offset, info); 74 gue6_err_proto_handler(int proto, struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument 89 gue6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
|
H A D | tunnel6.c | 204 u8 type, u8 code, int offset, __be32 info) 209 if (!handler->err_handler(skb, opt, type, code, offset, info)) 216 u8 type, u8 code, int offset, __be32 info) 221 if (!handler->err_handler(skb, opt, type, code, offset, info)) 228 u8 type, u8 code, int offset, __be32 info) 233 if (!handler->err_handler(skb, opt, type, code, offset, info)) 203 tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument 215 tunnel46_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument 227 tunnelmpls6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
|
/linux-master/drivers/input/joystick/ |
H A D | adc-joystick.c | 17 u32 code; member in struct:adc_joystick_axis 41 input_report_abs(input, joy->axes[i].code, val); 89 input_report_abs(joy->input, joy->axes[i].code, val); 157 error = fwnode_property_read_u32(child, "linux,code", 158 &axes[i].code); 160 dev_err(dev, "linux,code invalid or missing\n"); 174 input_set_abs_params(joy->input, axes[i].code, 177 input_set_capability(joy->input, EV_ABS, axes[i].code);
|
/linux-master/drivers/media/i2c/ |
H A D | ak881x.c | 107 mf->code = MEDIA_BUS_FMT_YUYV8_2X8; 115 struct v4l2_subdev_mbus_code_enum *code) 117 if (code->pad || code->index) 120 code->code = MEDIA_BUS_FMT_YUYV8_2X8; 113 ak881x_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument
|
H A D | ov9282.c | 166 * @code: Mbus code currently selected 188 u32 code; member in struct:ov9282 454 * Return: 0 if successful, error code otherwise. 497 * Return: 0 if successful, error code otherwise. 521 * Return: 0 if successful, error code otherwise. 544 * Return: 0 if successful, error code otherwise. 558 pixel_rate = (fmt->format.code == MEDIA_BUS_FMT_Y10_1X10) ? 582 * Return: 0 if successful, error code otherwise. 651 * Return: 0 if successful, error code otherwis 730 ov9282_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument 783 ov9282_fill_pad_format(struct ov9282 *ov9282, const struct ov9282_mode *mode, u32 code, struct v4l2_subdev_format *fmt) argument 843 u32 code; local [all...] |
/linux-master/drivers/scsi/ |
H A D | raid_class.c | 174 #define raid_attr_show_internal(attr, fmt, var, code) \ 180 code \ 184 #define raid_attr_ro_states(attr, states, code) \ 187 code \ 193 #define raid_attr_ro_internal(attr, code) \ 194 raid_attr_show_internal(attr, %d, rd->attr, code) \
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispccp2.c | 346 * Return 0 on success or a negative error code 378 ccp2->if_cfg.format = format->code; 438 u32 sink_pixcode = ccp2->formats[CCP2_PAD_SINK].code; 439 u32 source_pixcode = ccp2->formats[CCP2_PAD_SOURCE].code; 651 if (fmt->code != MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8) 652 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; 672 /* Source format - copy sink format and change pixel code 680 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; 692 * @code : pointer to v4l2_subdev_mbus_code_enum structure 697 struct v4l2_subdev_mbus_code_enum *code) 695 ccp2_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/net/netfilter/ |
H A D | nft_socket.c | 33 regs->verdict.code = NFT_BREAK; 100 regs->verdict.code = NFT_BREAK; 112 regs->verdict.code = NFT_BREAK; 118 regs->verdict.code = NFT_BREAK; 126 regs->verdict.code = NFT_BREAK; 133 regs->verdict.code = NFT_BREAK;
|
/linux-master/arch/x86/kvm/ |
H A D | hyperv.h | 229 u16 code; local 234 code = is_64_bit_hypercall(vcpu) ? kvm_rcx_read(vcpu) : 237 return (code == HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE || 238 code == HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST || 239 code == HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE_EX || 240 code == HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST_EX);
|
/linux-master/drivers/input/keyboard/ |
H A D | cros_ec_keyb.c | 73 * @code: A linux keycode 80 unsigned int code; member in struct:cros_ec_bs_map 90 .code = KEY_POWER, 95 .code = KEY_VOLUMEUP, 100 .code = KEY_VOLUMEDOWN, 105 .code = KEY_BRIGHTNESSUP, 110 .code = KEY_BRIGHTNESSDOWN, 115 .code = KEY_SCREENLOCK, 122 .code = SW_LID, 128 .code 317 unsigned short code; local [all...] |
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_entity.c | 204 * @code: Media bus code enumeration 215 struct v4l2_subdev_mbus_code_enum *code, 220 if (code->pad == 0) { 221 if (code->index >= ncodes) 224 code->code = codes[code->index]; 233 if (code->index) 236 state = vsp1_entity_get_state(entity, sd_state, code 213 vsp1_subdev_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code, const unsigned int *codes, unsigned int ncodes) argument [all...] |