Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 25 of 92) sorted by relevance

1234

/linux-2.4.37.9/arch/ppc64/kernel/
Dviopath.c387 int vio_setHandler(int subtype, vio_event_handler_t * beh) in vio_setHandler() argument
389 subtype = subtype >> VIOMAJOR_SUBTYPE_SHIFT; in vio_setHandler()
391 if ((subtype < 0) || (subtype >= VIO_MAX_SUBTYPES)) in vio_setHandler()
394 if (vio_handler[subtype] != NULL) in vio_setHandler()
397 vio_handler[subtype] = beh; in vio_setHandler()
401 int vio_clearHandler(int subtype) in vio_clearHandler() argument
403 subtype = subtype >> VIOMAJOR_SUBTYPE_SHIFT; in vio_clearHandler()
405 if ((subtype < 0) || (subtype >= VIO_MAX_SUBTYPES)) in vio_clearHandler()
408 if (vio_handler[subtype] == NULL) in vio_clearHandler()
411 vio_handler[subtype] = NULL; in vio_clearHandler()
[all …]
/linux-2.4.37.9/include/asm-ppc64/iSeries/
Dvio.h59 int viopath_open(HvLpIndex remoteLp, int subtype, int numReq);
60 int viopath_close(HvLpIndex remoteLp, int subtype, int numReq);
61 int vio_setHandler(int subtype, vio_event_handler_t * beh);
62 int vio_clearHandler(int subtype);
67 void *vio_get_event_buffer(int subtype);
68 void vio_free_event_buffer(int subtype, void *buffer);
DHvCallEvent.h150 u16 subtype, in HvCallEvent_signalLpEventFast() argument
175 packed.parms.xSubtype = subtype; in HvCallEvent_signalLpEventFast()
/linux-2.4.37.9/fs/proc/
Dproc_tty.c49 if (p->subtype == SYSTEM_TYPE_TTY) in tty_drivers_read_proc()
51 else if (p->subtype == SYSTEM_TYPE_SYSCONS) in tty_drivers_read_proc()
53 else if (p->subtype == SYSTEM_TYPE_CONSOLE) in tty_drivers_read_proc()
62 if (p->subtype == 2) in tty_drivers_read_proc()
68 if (p->subtype == PTY_TYPE_MASTER) in tty_drivers_read_proc()
70 else if (p->subtype == PTY_TYPE_SLAVE) in tty_drivers_read_proc()
76 sprintf(deftype, "type:%d.%d", p->type, p->subtype); in tty_drivers_read_proc()
/linux-2.4.37.9/arch/alpha/kernel/
Dgct.c27 wanted && (wanted->type | wanted->subtype); in gct6_find_nodes()
31 if (node->subtype != wanted->subtype) in gct6_find_nodes()
/linux-2.4.37.9/net/sctp/
Dprimitive.c62 sctp_event_t event_type; sctp_subtype_t subtype; \
67 subtype = SCTP_ST_PRIMITIVE(SCTP_PRIMITIVE_ ## name); \
71 error = sctp_do_sm(event_type, subtype, state, ep, asoc, \
Dsm_sideeffect.c59 sctp_subtype_t subtype,
67 static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype,
462 sctp_subtype_t subtype, in sctp_cmd_assoc_failed() argument
815 (*debug_fn)(subtype), asoc, \
835 int sctp_do_sm(sctp_event_t event_type, sctp_subtype_t subtype, in sctp_do_sm() argument
856 state_fn = sctp_sm_lookup_event(event_type, state, subtype); in sctp_do_sm()
861 status = (*state_fn->fn)(ep, asoc, subtype, event_arg, &commands); in sctp_do_sm()
864 error = sctp_side_effects(event_type, subtype, state, in sctp_do_sm()
878 static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, in sctp_side_effects() argument
895 if (0 != (error = sctp_cmd_interpreter(event_type, subtype, state, in sctp_side_effects()
[all …]
Dendpointola.c336 sctp_subtype_t subtype; in sctp_endpoint_bh_rcv() local
348 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
377 error = sctp_do_sm(SCTP_EVENT_T_CHUNK, subtype, state, in sctp_endpoint_bh_rcv()
Dassociola.c861 sctp_subtype_t subtype; in sctp_assoc_bh_rcv() local
871 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_assoc_bh_rcv()
885 error = sctp_do_sm(SCTP_EVENT_T_CHUNK, subtype, in sctp_assoc_bh_rcv()
/linux-2.4.37.9/include/asm-alpha/
Dgct.h9 u8 subtype; member
35 u8 subtype; member
/linux-2.4.37.9/drivers/char/
Dpty.c75 if (tty->driver.subtype == PTY_TYPE_MASTER) { in pty_close()
91 if (tty->driver.subtype == PTY_TYPE_MASTER) { in pty_close()
231 if (tty->driver.subtype == PTY_TYPE_SLAVE) return count; in pty_chars_in_buffer()
380 pty_driver.subtype = PTY_TYPE_MASTER; in pty_init()
411 pty_slave_driver.subtype = PTY_TYPE_SLAVE; in pty_init()
Ddigi1.h94 unsigned char subtype; /* For future XEM, XR, etc ... */ member
Dtty_io.c249 tty->driver.subtype == PTY_TYPE_SLAVE && in check_tty_count()
1263 if (driver->subtype == PTY_TYPE_MASTER) in init_dev()
1322 driver->subtype == PTY_TYPE_MASTER) { in init_dev()
1430 tty->driver.subtype == PTY_TYPE_MASTER); in release_dev()
1767 tty->driver.subtype == PTY_TYPE_MASTER) in tty_open()
1811 (tty->driver.subtype == SERIAL_TYPE_CALLOUT) && in tty_open()
2107 tty->driver.subtype == PTY_TYPE_MASTER) in tty_ioctl()
2768 dev_tty_driver.subtype = SYSTEM_TYPE_TTY; in tty_init()
2779 dev_syscons_driver.subtype = SYSTEM_TYPE_SYSCONS; in tty_init()
2798 dev_ptmx_driver.subtype = SYSTEM_TYPE_SYSPTMX; in tty_init()
[all …]
Dserial_21285.c307 rs285_driver.subtype = SERIAL_TYPE_NORMAL; in rs285_init()
334 callout_driver.subtype = SERIAL_TYPE_CALLOUT; in rs285_init()
Dserial_tx3912.c450 if (tty->driver.subtype == SERIAL_TYPE_NORMAL) in rs_open()
643 rs_driver.subtype = SERIAL_TYPE_NORMAL; in tx3912_rs_init()
668 rs_callout_driver.subtype = SERIAL_TYPE_CALLOUT; in tx3912_rs_init()
Dser_a2232.c487 if (tty->driver.subtype == A2232_TTY_SUBTYPE_NORMAL) in a2232_open()
720 a2232_driver.subtype = A2232_TTY_SUBTYPE_NORMAL; in a2232_init_drivers()
749 a2232_callout_driver.subtype = A2232_TTY_SUBTYPE_CALLOUT; in a2232_init_drivers()
Depca.c514 if (tty->driver.subtype == SERIAL_TYPE_INFO) in pc_close()
741 if (tty->driver.subtype == SERIAL_TYPE_INFO) in pc_write()
1249 if (tty->driver.subtype == SERIAL_TYPE_CALLOUT) in block_til_ready()
1379 if (tty->driver.subtype == SERIAL_TYPE_INFO) in pc_open()
1466 if (tty->driver.subtype == SERIAL_TYPE_NORMAL) in pc_open()
1722 pc_driver.subtype = SERIAL_TYPE_NORMAL; in pc_init()
1764 pc_callout.subtype = SERIAL_TYPE_CALLOUT; in pc_init()
1772 pc_info.subtype = SERIAL_TYPE_INFO; in pc_init()
2717 if ((ts->c_cflag & CLOCAL) || (tty->driver.subtype == SERIAL_TYPE_CALLOUT)) in epcaparam()
2965 if (tty->driver.subtype == SERIAL_TYPE_INFO) in pc_ioctl()
Ddz.c1169 if (tty->driver.subtype == SERIAL_TYPE_CALLOUT) { in block_til_ready()
1283 if (tty->driver.subtype == SERIAL_TYPE_NORMAL) in dz_open()
1322 serial_driver.subtype = SERIAL_TYPE_NORMAL; in dz_init()
1360 callout_driver.subtype = SERIAL_TYPE_CALLOUT; in dz_init()
Dvme_scc.c143 scc_driver.subtype = SERIAL_TYPE_NORMAL; in scc_init_drivers()
177 scc_callout_driver.subtype = SERIAL_TYPE_CALLOUT; in scc_init_drivers()
958 if (tty->driver.subtype == SERIAL_TYPE_NORMAL) in scc_open()
/linux-2.4.37.9/drivers/net/bonding/
Dbond_3ad.h129 u8 subtype; // = LACP(= 0x01) member
165 u8 subtype; // = 0x02 (marker PDU) member
/linux-2.4.37.9/drivers/block/
Dsx8.c328 u8 subtype; member
345 u8 subtype; member
355 u8 subtype; member
364 u8 subtype; member
728 ioc->subtype = CARM_ARRAY_INFO; in carm_array_info()
770 crq->msg_subtype = ioc->subtype; in carm_send_special()
791 st->subtype = MISC_SET_TIME; in carm_fill_sync_time()
805 ab->subtype = MISC_ALLOC_MEM; in carm_fill_alloc_buf()
832 ioc->subtype = CARM_IOC_SCAN_CHAN; in carm_fill_scan_channels()
851 ioc->subtype = MISC_GET_FW_VER; in carm_fill_get_fw_ver()
/linux-2.4.37.9/include/linux/
Dtty_driver.h129 short subtype; /* subtype of tty driver */ member
D802_11.h156 u8 subtype; member
/linux-2.4.37.9/fs/udf/
Dmisc.c182 udf_get_extendedattr(struct inode * inode, uint32_t type, uint8_t subtype, in udf_get_extendedattr() argument
234 if (le32_to_cpu(gaf->attrType) == type && gaf->attrSubtype == subtype) in udf_get_extendedattr()
/linux-2.4.37.9/arch/ia64/drivers/
Dsimserial.c925 if (tty->driver.subtype == SERIAL_TYPE_NORMAL) in rs_open()
1025 serial_driver.subtype = SERIAL_TYPE_NORMAL; in simrs_init()
1079 callout_driver.subtype = SERIAL_TYPE_CALLOUT; in simrs_init()

1234