Searched defs:code (Results 251 - 275 of 390) sorted by relevance

<<111213141516

/drivers/staging/fwserial/
H A Dfwserial.h141 __be16 code; member in struct:fwserial_mgmt_pkt::__anon6330
177 void (*notify)(int code, void *data);
/drivers/staging/media/davinci_vpfe/
H A Ddm365_resizer.c88 if (format->code != V4L2_MBUS_FMT_UYVY8_2X8 &&
89 format->code != V4L2_MBUS_FMT_Y8_1X8 &&
90 format->code != V4L2_MBUS_FMT_UV8_1X8 &&
91 format->code != V4L2_MBUS_FMT_YDYUYDYV8_1X16 &&
92 format->code != V4L2_MBUS_FMT_SGRBG12_1X12) {
93 dev_err(dev, "Invalid Mbus format, %d\n", format->code);
100 resizer_calculate_line_length(format->code, format->width,
284 if (outformat->code == V4L2_MBUS_FMT_YDYUYDYV8_1X16) {
325 if (outformat->code == V4L2_MBUS_FMT_YDYUYDYV8_1X16)
329 resizer_calculate_line_length(outformat->code,
1512 resizer_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument
[all...]
/drivers/staging/media/lirc/
H A Dlirc_zilog.c324 __u16 code; local
442 code = (((__u16)rx->b[0] & 0x7f) << 6) | (rx->b[1] >> 2);
444 codes[0] = (code >> 8) & 0xff;
445 codes[1] = code & 0xff;
487 * This is ~113*2 + 24 + jitter (2*repeat gap + code length).
806 zilog_error("unsupported code set file version (%u, expected"
850 /* Filch out the position of each code set */
919 * to avoid losing scan code (in case when queue is awaken somewhere
983 static int send_code(struct IR_tx *tx, unsigned int code, unsigned int key) argument
990 ret = get_key_data(data_block, code, ke
[all...]
/drivers/staging/netlogic/
H A Dxlr_net.c15 * 1. Redistributions of source code must retain the above copyright
126 int code, struct nlm_fmn_msg *msg, void *arg)
125 xlr_net_fmn_handler(int bkt, int src_stnid, int size, int code, struct nlm_fmn_msg *msg, void *arg) argument
/drivers/tty/serial/
H A Dmsm_serial.c360 u8 code; member in struct:msm_baud_map
408 msm_write(port, entry->code, UART_CSR);
/drivers/tty/
H A Dsysrq.c655 unsigned int code, int value)
657 if (!test_bit(code, state->reset_keybit)) {
748 unsigned int code, int value)
753 switch (code) {
759 if (sysrq->active && code == sysrq->alt_use)
765 sysrq->alt = code;
797 __handle_sysrq(sysrq_xlate[code], true);
818 set_bit(code, sysrq->key_down);
820 clear_bit(code, sysrq->key_down);
826 sysrq_detect_reset_sequence(sysrq, code, valu
654 sysrq_detect_reset_sequence(struct sysrq_state *state, unsigned int code, int value) argument
747 sysrq_handle_keypress(struct sysrq_state *sysrq, unsigned int code, int value) argument
839 sysrq_filter(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument
[all...]
/drivers/usb/gadget/legacy/
H A Dprinter.c309 VDBG(dev, "rx shutdown, code %d\n", status);
745 printer_ioctl(struct file *fd, unsigned int code, unsigned long arg) argument
751 DBG(dev, "printer_ioctl: cmd=0x%4.4x, arg=%lu\n", code, arg);
757 switch (code) {
767 code);
/drivers/video/fbdev/
H A Darkfb.c322 typedef void (*dac_read_regs_t)(void *data, u8 *code, int count);
323 typedef void (*dac_write_regs_t)(void *data, u8 *code, int count);
336 u8 code[2] = {reg, 0}; local
337 info->dac_read_regs(info->data, code, 1);
338 return code[1];
341 static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) argument
343 info->dac_read_regs(info->data, code, count);
348 u8 code[2] = {reg, val}; local
349 info->dac_write_regs(info->data, code, 1);
352 static inline void dac_write_regs(struct dac_info *info, u8 *code, in argument
395 u8 code; local
433 u8 code[6] = {4, 3, 5, m-2, 5, (n-2) | (r << 5)}; local
473 ark_dac_read_regs(void *data, u8 *code, int count) argument
492 ark_dac_write_regs(void *data, u8 *code, int count) argument
[all...]
/drivers/watchdog/
H A Df71808e_wdt.c609 static int watchdog_notify_sys(struct notifier_block *this, unsigned long code, argument
612 if (code == SYS_DOWN || code == SYS_HALT)
H A Dit87_wdt.c577 static int wdt_notify_sys(struct notifier_block *this, unsigned long code, argument
580 if (code == SYS_DOWN || code == SYS_HALT)
/drivers/block/
H A Damiflop.c5 * Portions of this driver are based on code contributed by Brad Pepers
51 * - some code cleanup
128 /* code name tr he rdsz wrsz sm pc1 pc2 sd st st*/
928 my only works was to code this from manx to C....
972 /* look at the asm-code - what looks in C a bit strange is almost as good as handmade */
1353 if (unit[fdc_queue].type->code == FD_NODRIVE) {
1554 unsigned long code; local
1559 code = fd_get_drive_id(drive);
1563 if (drive_types[type].code == code)
[all...]
H A Dskd_s1120.h273 uint8_t code; /* 0C: Additional Sense Code */ member in struct:fit_comp_error_info
/drivers/char/ipmi/
H A Dipmi_watchdog.c1145 unsigned long code,
1154 if (code == SYS_POWER_OFF || code == SYS_HALT) {
1144 wdog_reboot_handler(struct notifier_block *this, unsigned long code, void *unused) argument
/drivers/char/
H A Drandom.c12 * 1. Redistributions of source code must retain the above copyright
129 * void add_input_randomness(unsigned int type, unsigned int code,
196 * scripts, such code fragments would be found in
824 void add_input_randomness(unsigned int type, unsigned int code, argument
835 (type << 4) ^ code ^ (code >> 4) ^ value);
/drivers/gpu/drm/nouveau/core/engine/disp/
H A Dnv50.c1140 /* The below segments of code copying values from one register to
1328 u32 code = (addr & 0x00ff0000) >> 16; local
1338 ec = nouveau_enum_find(nv50_disp_intr_error_code, code);
1340 snprintf(ecunk, sizeof(ecunk), "UNK%02X", code);
/drivers/hwmon/
H A Dw83793.c1480 static int watchdog_notify_sys(struct notifier_block *this, unsigned long code, argument
1485 if (code == SYS_DOWN || code == SYS_HALT) {
1533 /* Tell the watchdog code the client is gone */
/drivers/iio/frequency/
H A Dad9523.c622 unsigned code; local
641 code = (AD9523_CLK_DIST_DIV_PHASE_REV(ret) * 3141592) /
643 *val = code / 1000000;
644 *val2 = (code % 1000000) * 10;
659 int ret, tmp, code; local
689 code = val * 1000000 + val2 % 1000000;
690 tmp = (code * AD9523_CLK_DIST_DIV_REV(ret)) / 3141592;
/drivers/input/
H A Dinput.c53 static inline int is_event_supported(unsigned int code, argument
56 return code <= max && test_bit(code, bm);
75 static void input_start_autorepeat(struct input_dev *dev, int code) argument
80 dev->repeat_key = code;
105 handler->filter(handle, v->type, v->code, v->value))
120 handler->event(handle, v->type, v->code, v->value);
152 add_input_randomness(vals->type, vals->code, vals->value);
158 input_start_autorepeat(dev, v->code);
166 unsigned int type, unsigned int code, in
165 input_pass_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument
209 input_handle_abs_event(struct input_dev *dev, unsigned int code, int *pval) argument
259 input_get_disposition(struct input_dev *dev, unsigned int type, unsigned int code, int *pval) argument
365 input_handle_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument
423 input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument
448 input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument
671 int code; local
1903 input_set_capability(struct input_dev *dev, unsigned int type, unsigned int code) argument
[all...]
/drivers/input/keyboard/
H A Datkbd.c40 MODULE_PARM_DESC(set, "Select keyboard code set (2 = default, 3 = PS/2 native)");
315 static bool atkbd_need_xlate(unsigned long xl_bit, unsigned char code) argument
319 if (code == ATKBD_RET_EMUL0 || code == ATKBD_RET_EMUL1)
323 if (code == xl_table[i])
334 static void atkbd_calculate_xl_bit(struct atkbd *atkbd, unsigned char code) argument
339 if (!((code ^ xl_table[i]) & 0x7f)) {
340 if (code & 0x80)
353 static unsigned int atkbd_compat_scancode(struct atkbd *atkbd, unsigned int code) argument
357 code |
377 unsigned int code = data; local
637 atkbd_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument
985 atkbd_oqo_01plus_scancode_fixup(struct atkbd *atkbd, unsigned int code) argument
[all...]
/drivers/isdn/gigaset/
H A Dev-layer.c379 int code; member in struct:zsau_resp_t
553 event->parameter = zr->code;
1405 dev_warn(cs->dev, "cause code %04x in connection state %d.\n",
/drivers/isdn/hardware/eicon/
H A Ddebug.c584 unsigned short code; local
640 code = (unsigned short)va_arg(ap, unsigned int);
656 p[0] = (char)(code);
657 p[1] = (char)(code >> 8);
1815 if (TrcData->code == 24) {
1816 p = (char *)&TrcData->code;
/drivers/isdn/i4l/
H A Disdn_net.c61 * One problem of the isdn net device code is that is uses struct net_device
289 BEWARE! This chunk of code cannot be called from hardware
1676 u32 code; local
1686 code = be32_to_cpup((__be32 *)p);
1689 switch (code) {
1912 /* stick on a fake header to keep fragmentation code happy. */
2492 /* is there a better error code? */
H A Disdn_ppp.c47 unsigned char code, unsigned char id,
444 struct sock_filter *code = NULL; local
457 code = memdup_user(uprog.filter, len);
458 if (IS_ERR(code))
459 return PTR_ERR(code);
461 *p = code;
632 struct sock_filter *code; local
633 int err, len = get_filter(argp, &code);
639 fprog.filter = code;
649 kfree(code);
656 struct sock_filter *code; local
2218 isdn_ppp_ccp_xmit_reset(struct ippp_struct *is, int proto, unsigned char code, unsigned char id, unsigned char *data, int len) argument
[all...]
H A Disdn_tty.c340 /* Escape code */
1679 f->code = 0;
2370 isdn_tty_modem_result(int code, modem_info *info) argument
2379 switch (code) {
2432 } /* switch (code) */
2438 sprintf(s, "\r\n%d\r\n", code);
2441 if (code == RESULT_RING) {
2457 isdn_tty_at_cout(msg[code], info);
2458 switch (code) {
2527 if (code
[all...]
/drivers/media/i2c/
H A Dmt9p031.c8 * Based on the MT9V032 driver and Bastian Hecht's code.
478 struct v4l2_subdev_mbus_code_enum *code)
482 if (code->pad || code->index)
485 code->code = mt9p031->format.code;
495 if (fse->index >= 8 || fse->code != mt9p031->format.code)
953 format->code
476 mt9p031_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh, struct v4l2_subdev_mbus_code_enum *code) argument
[all...]

Completed in 630 milliseconds

<<111213141516