/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 57 struct ft_tport *tport; local 60 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP], 62 if (tport && tport->tpg) 63 return tport; 69 if (tport) { 70 tport->tpg = tpg; 71 tpg->tport = tport; 72 return tport; 93 ft_tport_delete(struct ft_tport *tport) argument 128 struct ft_tport *tport; local 171 struct ft_tport *tport; local 199 ft_sess_create(struct ft_tport *tport, u32 port_id, struct ft_node_acl *acl) argument 241 struct ft_tport *tport = sess->tport; local 254 ft_sess_delete(struct ft_tport *tport, u32 port_id) argument 273 ft_sess_delete_all(struct ft_tport *tport) argument 350 struct ft_tport *tport; local 453 struct ft_tport *tport; local [all...] |
H A D | tcm_fc.h | 42 struct ft_tport *tport; member in struct:ft_sess 65 struct ft_tpg *tpg; /* NULL if TPG deleted before tport */ 98 struct ft_tport *tport; /* active tport or NULL */ member in struct:ft_tpg
|
/drivers/usb/serial/ |
H A D | ti_usb_3410_5052.c | 116 static void ti_send(struct ti_port *tport); 117 static int ti_set_mcr(struct ti_port *tport, unsigned int mcr); 118 static int ti_get_lsr(struct ti_port *tport, u8 *lsr); 119 static int ti_get_serial_info(struct ti_port *tport, 121 static int ti_set_serial_info(struct tty_struct *tty, struct ti_port *tport, 123 static void ti_handle_new_msr(struct ti_port *tport, __u8 msr); 125 static void ti_stop_read(struct ti_port *tport, struct tty_struct *tty); 126 static int ti_restart_read(struct ti_port *tport, struct tty_struct *tty); 358 struct ti_port *tport; local 360 tport 383 struct ti_port *tport; local 393 struct ti_port *tport = usb_get_serial_port_data(port); local 533 struct ti_port *tport; local 579 struct ti_port *tport = usb_get_serial_port_data(port); local 600 struct ti_port *tport = usb_get_serial_port_data(port); local 619 struct ti_port *tport = usb_get_serial_port_data(port); local 636 struct ti_port *tport = usb_get_serial_port_data(port); local 650 struct ti_port *tport = usb_get_serial_port_data(port); local 664 struct ti_port *tport = usb_get_serial_port_data(port); local 682 struct ti_port *tport = usb_get_serial_port_data(port); local 704 struct ti_port *tport = usb_get_serial_port_data(port); local 838 struct ti_port *tport = usb_get_serial_port_data(port); local 870 struct ti_port *tport = usb_get_serial_port_data(port); local 902 struct ti_port *tport = usb_get_serial_port_data(port); local 924 struct ti_port *tport; local 1005 struct ti_port *tport = urb->context; local 1065 struct ti_port *tport = urb->context; local 1111 ti_send(struct ti_port *tport) argument 1164 ti_set_mcr(struct ti_port *tport, unsigned int mcr) argument 1182 ti_get_lsr(struct ti_port *tport, u8 *lsr) argument 1214 ti_get_serial_info(struct ti_port *tport, struct serial_struct __user *ret_arg) argument 1245 ti_set_serial_info(struct tty_struct *tty, struct ti_port *tport, struct serial_struct __user *new_arg) argument 1265 ti_handle_new_msr(struct ti_port *tport, __u8 msr) argument 1300 ti_stop_read(struct ti_port *tport, struct tty_struct *tty) argument 1313 ti_restart_read(struct ti_port *tport, struct tty_struct *tty) argument [all...] |
/drivers/target/sbp/ |
H A D | sbp_target.c | 297 struct sbp_tport *tport = agent->tport; local 298 struct sbp_tpg *tpg = tport->tpg; 389 tport->max_logins_per_lun) { 429 tport->max_reconnect_timeout) - 1; 529 struct sbp_tport *tport = agent->tport; local 530 struct sbp_tpg *tpg = tport->tpg; 588 struct sbp_tport *tport = agent->tport; local 1645 sbp_management_agent_register( struct sbp_tport *tport) argument 1700 struct sbp_tport *tport = tpg->tport; local 1960 sbp_update_unit_directory(struct sbp_tport *tport) argument 2162 struct sbp_tport *tport = tpg->tport; local 2178 struct sbp_tport *tport = local 2237 struct sbp_tport *tport = tpg->tport; local 2250 struct sbp_tport *tport; local 2270 struct sbp_tport *tport = local 2295 struct sbp_tport *tport = tpg->tport; local 2309 struct sbp_tport *tport = tpg->tport; local 2336 struct sbp_tport *tport = tpg->tport; local 2346 struct sbp_tport *tport = tpg->tport; local 2398 struct sbp_tport *tport = tpg->tport; local 2408 struct sbp_tport *tport = tpg->tport; local 2434 struct sbp_tport *tport = tpg->tport; local 2444 struct sbp_tport *tport = tpg->tport; local 2470 struct sbp_tport *tport = tpg->tport; local 2480 struct sbp_tport *tport = tpg->tport; local [all...] |
H A D | sbp_target.h | 167 struct sbp_tport *tport; member in struct:sbp_tpg 234 struct sbp_tport *tport; member in struct:sbp_management_agent
|
/drivers/scsi/ |
H A D | scsi_netlink.c | 51 int err, tport; local 94 tport = hdr->transport; 95 if (tport == SCSI_NL_TRANSPORT) {
|
/drivers/xen/ |
H A D | xen-scsiback.c | 155 /* SCSI protocol the tport is providing */ 179 struct scsiback_tport *tport; member in struct:scsiback_tpg 274 tpg->tport->tport_name, pending_req->v2p->lun, 895 if (!strcmp(phy, tpg_entry->tport->tport_name) || 1241 static char *scsiback_dump_proto_id(struct scsiback_tport *tport) argument 1243 switch (tport->tport_proto_id) { 1261 struct scsiback_tport *tport = tpg->tport; local 1263 switch (tport->tport_proto_id) { 1272 tport 1283 struct scsiback_tport *tport = tpg->tport; local 1309 struct scsiback_tport *tport = tpg->tport; local 1339 struct scsiback_tport *tport = tpg->tport; local 1369 struct scsiback_tport *tport = tpg->tport; local 1396 struct scsiback_tport *tport; local 1448 struct scsiback_tport *tport = container_of(wwn, local 1884 struct scsiback_tport *tport = container_of(wwn, local [all...] |
/drivers/tty/serial/ |
H A D | 68328serial.c | 109 struct tty_port tport; member in struct:m68k_serial 303 tty_insert_flip_char(&info->tport, ch, flag); 308 tty_schedule_flip(&info->tport); 350 struct tty_struct *tty = tty_port_tty_get(&info->tport); 378 if (info->tport.flags & ASYNC_INITIALIZED) 418 info->tport.flags |= ASYNC_INITIALIZED; 433 if (!(info->tport.flags & ASYNC_INITIALIZED)) 446 info->tport.flags &= ~ASYNC_INITIALIZED; 817 tmp.flags = info->tport.flags; 819 tmp.close_delay = info->tport [all...] |
H A D | msm_smd_tty.c | 91 static int smd_tty_port_activate(struct tty_port *tport, struct tty_struct *tty) argument 93 struct smd_tty_info *info = container_of(tport, struct smd_tty_info, 118 static void smd_tty_port_shutdown(struct tty_port *tport) argument 120 struct smd_tty_info *info = container_of(tport, struct smd_tty_info,
|
H A D | sunhv.c | 186 struct tty_port *tport = NULL; local 189 tport = &port->state->port; 194 return tport; 217 struct tty_port *tport; local 221 tport = receive_chars(port); 225 if (tport) 226 tty_flip_buffer_push(tport);
|
H A D | lpc32xx_hs.c | 260 struct tty_port *tport = &port->state->port; local 275 tty_insert_flip_char(tport, 0, TTY_FRAME); 278 tty_insert_flip_char(tport, (tmp & 0xFF), flag); 284 tty_flip_buffer_push(tport); 328 struct tty_port *tport = &port->state->port; local 352 tty_insert_flip_char(tport, 0, TTY_OVERRUN); 353 tty_schedule_flip(tport);
|
H A D | sn_console.c | 450 struct tty_port *tport = NULL; local 465 tport = &port->sc_port.state->port; 505 if (tport) { 506 if (tty_insert_flip_char(tport, ch, TTY_NORMAL) == 0) 512 if (tport) 513 tty_flip_buffer_push(tport);
|
H A D | mux.c | 235 struct tty_port *tport = &port->state->port; local 259 tty_insert_flip_char(tport, data & 0xFF, TTY_NORMAL); 263 tty_flip_buffer_push(tport);
|
H A D | msm_serial.c | 103 struct tty_port *tport = &port->state->port; local 110 tty_insert_flip_char(tport, 0, TTY_OVERRUN); 144 tty_insert_flip_string(tport, buf, min(count, 4)); 149 tty_flip_buffer_push(tport); 160 struct tty_port *tport = &port->state->port; local 169 tty_insert_flip_char(tport, 0, TTY_OVERRUN); 199 tty_insert_flip_char(tport, c, flag); 203 tty_flip_buffer_push(tport);
|
H A D | lantiq.c | 160 struct tty_port *tport = &port->state->port; local 169 tty_flip_buffer_push(tport); 201 tty_insert_flip_char(tport, ch, flag); 209 tty_insert_flip_char(tport, 0, TTY_OVERRUN); 213 tty_flip_buffer_push(tport);
|
H A D | mrst_max3110.c | 346 struct tty_port *tport; local 354 tport = &port->state->port; 373 usable = tty_buffer_request_room(tport, w); 375 tty_insert_flip_string(tport, buf + r, usable); 379 tty_flip_buffer_push(tport);
|
H A D | sh-sci.c | 660 struct tty_port *tport = &port->state->port; local 671 count = tty_buffer_request_room(tport, sci_rxfill(port)); 683 tty_insert_flip_char(tport, c, TTY_NORMAL); 725 tty_insert_flip_char(tport, c, flag); 738 tty_flip_buffer_push(tport); 780 struct tty_port *tport = &port->state->port; local 788 if (tty_insert_flip_char(tport, 0, TTY_OVERRUN)) 811 if (tty_insert_flip_char(tport, 0, TTY_BREAK)) 819 if (tty_insert_flip_char(tport, 0, TTY_FRAME)) 830 if (tty_insert_flip_char(tport, 844 struct tty_port *tport = &port->state->port; local 872 struct tty_port *tport = &port->state->port; local 1258 struct tty_port *tport = &port->state->port; local [all...] |
H A D | timbuart.c | 94 struct tty_port *tport = &port->state->port; local 99 tty_insert_flip_char(tport, ch, TTY_NORMAL); 103 tty_flip_buffer_push(tport);
|
/drivers/tty/ |
H A D | amiserial.c | 48 tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s) 95 struct tty_port tport; member in struct:serial_state 315 if (info->tport.flags & ASYNC_SAK) 316 do_SAK(info->tport.tty); 330 tty_insert_flip_char(&info->tport, ch, flag); 332 tty_insert_flip_char(&info->tport, 0, TTY_OVERRUN); 333 tty_flip_buffer_push(&info->tport); 350 || info->tport.tty->stopped 351 || info->tport.tty->hw_stopped) { 366 tty_wakeup(info->tport [all...] |
H A D | isicom.c | 811 static int isicom_activate(struct tty_port *tport, struct tty_struct *tty) argument 813 struct isi_port *port = container_of(tport, struct isi_port, port); 817 if (tty_port_alloc_xmit_buf(tport) < 0) 871 struct tty_port *tport; local 873 tport = isicom_find_port(tty); 874 if (tport == NULL) 876 port = container_of(tport, struct isi_port, port); 879 return tty_port_open(tport, tty, filp); 1614 struct tty_port *tport = &board->ports[index].port; local 1615 tty_port_init(tport); [all...] |
/drivers/vhost/ |
H A D | scsi.c | 140 struct tcm_vhost_tport *tport; member in struct:tcm_vhost_tpg 148 /* SCSI protocol the tport is providing */ 300 struct tcm_vhost_tport *tport = tpg->tport; local 302 switch (tport->tport_proto_id) { 311 " SAS emulation\n", tport->tport_proto_id); 322 struct tcm_vhost_tport *tport = tpg->tport; local 324 return &tport->tport_name[0]; 348 struct tcm_vhost_tport *tport local 378 struct tcm_vhost_tport *tport = tpg->tport; local 408 struct tcm_vhost_tport *tport = tpg->tport; local 1695 tcm_vhost_dump_proto_id(struct tcm_vhost_tport *tport) argument 2103 struct tcm_vhost_tport *tport = container_of(wwn, local 2162 struct tcm_vhost_tport *tport; local 2220 struct tcm_vhost_tport *tport = container_of(wwn, local [all...] |
/drivers/usb/gadget/legacy/ |
H A D | tcm_usb_gadget.c | 1281 struct usbg_tport *tport = tpg->tport; local 1284 switch (tport->tport_proto_id) { 1298 struct usbg_tport *tport = tpg->tport; local 1300 return &tport->tport_name[0]; 1324 struct usbg_tport *tport = tpg->tport; local 1327 switch (tport->tport_proto_id) { 1346 struct usbg_tport *tport local 1368 struct usbg_tport *tport = tpg->tport; local 1545 struct usbg_tport *tport = container_of(wwn, struct usbg_tport, local 1603 struct usbg_tport *tport; local 1621 struct usbg_tport *tport = container_of(wwn, local [all...] |
H A D | tcm_usb_gadget.h | 46 struct usbg_tport *tport; member in struct:usbg_tpg 56 /* SCSI protocol the tport is providing */
|
/drivers/mmc/card/ |
H A D | sdio_uart.c | 548 static int uart_carrier_raised(struct tty_port *tport) argument 551 container_of(tport, struct sdio_uart_port, port); 564 * @tport: tty port to be updated 571 static void uart_dtr_rts(struct tty_port *tport, int onoff) argument 574 container_of(tport, struct sdio_uart_port, port); 587 * @tport: tty port to activate 600 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) argument 603 container_of(tport, struct sdio_uart_port, port); 675 * @tport: tty port to shut down 683 static void sdio_uart_shutdown(struct tty_port *tport) argument 715 sdio_uart_port_destroy(struct tty_port *tport) argument [all...] |
/drivers/pnp/ |
H A D | resource.c | 170 resource_size_t *port, *end, *tport, *tend; local 197 tport = &tres->start; 199 if (ranged_conflict(port, end, tport, tend)) 216 tport = &tres->start; 218 if (ranged_conflict(port, end, tport, tend))
|