/drivers/gpu/drm/nouveau/core/subdev/pwr/ |
H A D | priv.h | 35 } code; member in struct:nvkm_pwr_impl
|
/drivers/input/ |
H A D | evbug.c | 41 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument 44 dev_name(&handle->dev->dev), type, code, value);
|
H A D | apm-power.c | 36 unsigned int code, int value) 44 system_power_event(code); 35 apmpower_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument
|
H A D | input-compat.h | 20 /* Note to the author of this code: did it ever occur to 35 __u16 code; member in struct:input_event_compat
|
H A D | matrix-keymap.c | 37 unsigned short code = KEY_VAL(key); local 46 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; 47 __set_bit(code, input_dev->keybit); 130 * @keymap_data: keymap supplied by the platform code
|
/drivers/input/misc/ |
H A D | gpio_output.c | 23 unsigned int code, int value) 33 if (dev == oi->keymap[i].dev && code == oi->keymap[i].code) 57 "index %d >= %d for key code %d\n", 59 oi->keymap[i].code); 64 oi->keymap[i].code); 20 gpio_event_output_event( struct gpio_event_input_devs *input_devs, struct gpio_event_info *info, void **data, unsigned int dev, unsigned int type, unsigned int code, int value) argument
|
H A D | m68kspkr.c | 30 static int m68kspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument 37 switch (code) {
|
H A D | pcspkr.c | 28 static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument 36 switch (code) {
|
H A D | ixp4xx-beeper.c | 51 static int ixp4xx_spkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument 59 switch (code) {
|
H A D | atlas_btns.c | 39 /* button handling code */ 57 int code = address & 0x0f; local 60 input_event(input_dev, EV_MSC, MSC_SCAN, code); 61 input_report_key(input_dev, atlas_keymap[code], key_down);
|
H A D | gpio-beeper.c | 40 unsigned int code, int value) 44 if (type != EV_SND || code != SND_BELL) 39 gpio_beeper_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument
|
H A D | gpio_event.c | 30 struct input_dev *dev, unsigned int type, unsigned int code, int value) 51 devnr, type, code, value); 29 gpio_input_event( struct input_dev *dev, unsigned int type, unsigned int code, int value) argument
|
H A D | pwm-beeper.c | 33 unsigned int type, unsigned int code, int value) 42 switch (code) { 32 pwm_beeper_event(struct input_dev *input, unsigned int type, unsigned int code, int value) argument
|
/drivers/media/firewire/ |
H A D | firedtv-rc.c | 25 /* code from device: 0x4501...0x451f */ 59 /* code from device: 0x4540...0x4542 */ 69 /* code from device: 0x0300...0x031f */ 104 /* code from device: 0x0340...0x0354 */ 173 void fdtv_handle_rc(struct firedtv *fdtv, unsigned int code) argument 178 if (code >= 0x0300 && code <= 0x031f) 179 code = keycode[code - 0x0300]; 180 else if (code > [all...] |
/drivers/isdn/sc/ |
H A D | message.c | 61 "cnt:%d (type,class,code):(%d,%d,%d) " 71 rspmsg->code, 87 unsigned int code, 121 sndmsg.code = code; 153 "cnt:%d (type,class,code):(%d,%d,%d) " 162 sndmsg.code, 172 unsigned char code, 188 retval = sendmessage(card, procid, type, class, code, link, 210 (sc_adapter[card]->async_msg.code 83 sendmessage(int card, unsigned int procid, unsigned int type, unsigned int class, unsigned int code, unsigned int link, unsigned int data_len, unsigned int *data) argument 168 send_and_receive(int card, unsigned int procid, unsigned char type, unsigned char class, unsigned char code, unsigned char link, unsigned char data_len, unsigned char *data, RspMessage *mesgdata, int timeout) argument [all...] |
/drivers/media/platform/vsp1/ |
H A D | vsp1_rwpf.c | 29 struct v4l2_subdev_mbus_code_enum *code) 36 if (code->index >= ARRAY_SIZE(codes)) 39 code->code = codes[code->index]; 53 if (fse->index || fse->code != format->code) 106 if (fmt->format.code != V4L2_MBUS_FMT_ARGB8888_1X32 && 107 fmt->format.code != V4L2_MBUS_FMT_AYUV8_1X32) 108 fmt->format.code 27 vsp1_rwpf_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
H A D | vsp1_hsit.c | 64 struct v4l2_subdev_mbus_code_enum *code) 68 if (code->index > 0) 71 if ((code->pad == HSIT_PAD_SINK && !hsit->inverse) | 72 (code->pad == HSIT_PAD_SOURCE && hsit->inverse)) 73 code->code = V4L2_MBUS_FMT_ARGB8888_1X32; 75 code->code = V4L2_MBUS_FMT_AHSV8888_1X32; 88 if (fse->index || fse->code != format->code) 62 hsit_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/drivers/platform/x86/ |
H A D | pvpanic.c | 64 pvpanic_panic_notify(struct notifier_block *nb, unsigned long code, argument
|
/drivers/char/ |
H A D | snsc_event.c | 64 scdrv_parse_event(char *event, int *src, int *code, int *esp_code, char *desc) argument 70 event += 4; /* move on to event code */ 72 /* record the system controller's event code */ 73 *code = get_unaligned_be32(event); 82 /* parse out the ESP code */ 117 scdrv_event_severity(int code) argument 119 int ev_class = (code & EV_CLASS_MASK); 120 int ev_severity = (code & EV_SEVERITY_MASK); 188 int code, esp_code, src, class; local 192 if (scdrv_parse_event(event, &src, &code, [all...] |
/drivers/hid/ |
H A D | hid-holtek-kbd.c | 121 unsigned int code, 134 return boot_hid_input->input->event(boot_hid_input->input, type, code, 120 holtek_kbd_input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument
|
/drivers/iio/amplifiers/ |
H A D | ad8366.c | 60 unsigned code; local 65 code = st->ch[chan->channel]; 68 code = code * 253 + 4500; 69 *val = code / 1000; 70 *val2 = (code % 1000) * 1000; 89 unsigned code; local 96 code = (((u8)val * 1000) + ((u32)val2 / 1000)); 98 if (code > 20500 || code < 450 [all...] |
/drivers/input/keyboard/ |
H A D | maple_keyb.c | 99 int code, keycode; local 103 code = i + 224; 104 keycode = kbd->keycode[code]; 105 input_event(dev, EV_MSC, MSC_SCAN, code); 111 code = kbd->old[i]; 112 if (code > 3 && ptr == NULL) { 113 keycode = kbd->keycode[code]; 115 input_event(dev, EV_MSC, MSC_SCAN, code); 120 code); 123 code [all...] |
/drivers/leds/trigger/ |
H A D | ledtrig-heartbeat.c | 7 * CONFIG_HEARTBEAT code. 115 unsigned long code, void *unused) 122 unsigned long code, void *unused) 114 heartbeat_reboot_notifier(struct notifier_block *nb, unsigned long code, void *unused) argument 121 heartbeat_panic_notifier(struct notifier_block *nb, unsigned long code, void *unused) argument
|
/drivers/media/usb/uvc/ |
H A D | uvc_status.c | 63 static void uvc_input_report_key(struct uvc_device *dev, unsigned int code, argument 67 input_report_key(dev->input, code, value); 75 #define uvc_input_report_key(dev, code, value)
|
/drivers/misc/ibmasm/ |
H A D | remote.c | 148 dbg("remote keypress (code, flag, down):" 174 unsigned short code = input->data.keyboard.key_code; local 176 if (code & 0xff00) 177 key = xlate_high[code & 0xff]; 179 key = xlate[code];
|