Searched refs:tport (Results 1 - 25 of 54) sorted by relevance

123

/linux-master/drivers/target/tcm_fc/
H A Dtfc_sess.c44 struct ft_tport *tport; local
47 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP],
49 if (tport && tport->tpg)
50 return tport;
56 if (tport) {
57 tport->tpg = tpg;
58 tpg->tport = tport;
59 return tport;
80 ft_tport_delete(struct ft_tport *tport) argument
117 struct ft_tport *tport; local
160 struct ft_tport *tport; local
193 struct ft_tport *tport = sess->tport; local
207 ft_sess_create(struct ft_tport *tport, u32 port_id, struct fc_rport_priv *rdata) argument
248 struct ft_tport *tport = sess->tport; local
261 ft_sess_delete(struct ft_tport *tport, u32 port_id) argument
287 ft_sess_delete_all(struct ft_tport *tport) argument
350 struct ft_tport *tport; local
453 struct ft_tport *tport; local
[all...]
H A Dtcm_fc.h33 struct ft_tport *tport; member in struct:ft_sess
56 struct ft_tpg *tpg; /* NULL if TPG deleted before tport */
89 struct ft_tport *tport; /* active tport or NULL */ member in struct:ft_tpg
H A Dtfc_cmd.c311 ft_send_resp_status(cmd->sess->tport->lport,
423 struct fc_lport *lport = sess->tport->lport;
445 queue_work(sess->tport->tpg->workqueue, &cmd->work);
H A Dtfc_conf.c289 if (tpg->tport) {
290 tpg->tport->tpg = NULL;
291 tpg->tport = NULL;
/linux-master/drivers/usb/serial/
H A Dti_usb_3410_5052.c329 static void ti_send(struct ti_port *tport);
330 static int ti_set_mcr(struct ti_port *tport, unsigned int mcr);
331 static int ti_get_lsr(struct ti_port *tport, u8 *lsr);
333 static void ti_handle_new_msr(struct ti_port *tport, u8 msr);
335 static void ti_stop_read(struct ti_port *tport, struct tty_struct *tty);
336 static int ti_restart_read(struct ti_port *tport, struct tty_struct *tty);
601 struct ti_port *tport; local
603 tport = kzalloc(sizeof(*tport), GFP_KERNEL);
604 if (!tport)
634 struct ti_port *tport; local
642 struct ti_port *tport = usb_get_serial_port_data(port); local
765 struct ti_port *tport; local
800 struct ti_port *tport = usb_get_serial_port_data(port); local
820 struct ti_port *tport = usb_get_serial_port_data(port); local
836 struct ti_port *tport = usb_get_serial_port_data(port); local
850 struct ti_port *tport = usb_get_serial_port_data(port); local
873 struct ti_port *tport = usb_get_serial_port_data(port); local
884 struct ti_port *tport = usb_get_serial_port_data(port); local
899 struct ti_port *tport = usb_get_serial_port_data(port); local
1019 struct ti_port *tport = usb_get_serial_port_data(port); local
1048 struct ti_port *tport = usb_get_serial_port_data(port); local
1077 struct ti_port *tport = usb_get_serial_port_data(port); local
1109 struct ti_port *tport; local
1188 struct ti_port *tport = urb->context; local
1247 struct ti_port *tport = urb->context; local
1291 ti_send(struct ti_port *tport) argument
1344 ti_set_mcr(struct ti_port *tport, unsigned int mcr) argument
1362 ti_get_lsr(struct ti_port *tport, u8 *lsr) argument
1394 struct ti_port *tport = usb_get_serial_port_data(port); local
1400 ti_handle_new_msr(struct ti_port *tport, u8 msr) argument
1435 ti_stop_read(struct ti_port *tport, struct tty_struct *tty) argument
1448 ti_restart_read(struct ti_port *tport, struct tty_struct *tty) argument
[all...]
H A Dusb-serial.c254 static int serial_port_activate(struct tty_port *tport, struct tty_struct *tty) argument
257 container_of(tport, struct usb_serial_port, port);
294 * @tport: tty port to shut down
297 * tport mutex and kept to matching open/close pairs
302 static void serial_port_shutdown(struct tty_port *tport) argument
305 container_of(tport, struct usb_serial_port, port);
442 struct tty_port *tport = &port->port; local
445 mutex_lock(&tport->mutex);
447 close_delay = jiffies_to_msecs(tport->close_delay) / 10;
448 closing_wait = tport
467 struct tty_port *tport = &port->port; local
[all...]
/linux-master/drivers/nvme/target/
H A Dfcloop.c239 struct fcloop_tport *tport; member in struct:fcloop_nport
258 struct fcloop_tport *tport; member in struct:fcloop_rscn
270 struct fcloop_tport *tport; member in struct:fcloop_fcpreq
381 struct fcloop_tport *tport = targetport->private; local
382 struct nvme_fc_remote_port *remoteport = tport->remoteport;
405 struct fcloop_tport *tport = local
409 spin_lock(&tport->lock);
411 tls_req = list_first_entry_or_null(&tport->ls_list,
417 spin_unlock(&tport->lock);
425 spin_lock(&tport
435 struct fcloop_tport *tport = targetport->private; local
471 struct fcloop_tport *tport; local
504 struct fcloop_tport *tport = tgt_rscn->tport; local
1036 struct fcloop_tport *tport = targetport->private; local
1410 struct fcloop_tport *tport; local
1449 struct fcloop_tport *tport = nport->tport; local
1459 __targetport_unreg(struct fcloop_nport *nport, struct fcloop_tport *tport) argument
1472 struct fcloop_tport *tport = NULL; local
1597 struct fcloop_tport *tport; local
[all...]
/linux-master/drivers/target/sbp/
H A Dsbp_target.c262 struct sbp_tport *tport = agent->tport; local
263 struct sbp_tpg *tpg = tport->tpg;
353 tport->max_logins_per_lun) {
393 tport->max_reconnect_timeout) - 1;
493 struct sbp_tport *tport = agent->tport; local
494 struct sbp_tpg *tpg = tport->tpg;
552 struct sbp_tport *tport = agent->tport; local
1634 sbp_management_agent_register( struct sbp_tport *tport) argument
1679 struct sbp_tport *tport = tpg->tport; local
1783 sbp_update_unit_directory(struct sbp_tport *tport) argument
1946 struct sbp_tport *tport = tpg->tport; local
1960 struct sbp_tport *tport = local
2015 struct sbp_tport *tport = tpg->tport; local
2028 struct sbp_tport *tport; local
2046 struct sbp_tport *tport = local
2068 struct sbp_tport *tport = tpg->tport; local
2081 struct sbp_tport *tport = tpg->tport; local
2106 struct sbp_tport *tport = tpg->tport; local
2147 struct sbp_tport *tport = tpg->tport; local
2156 struct sbp_tport *tport = tpg->tport; local
2182 struct sbp_tport *tport = tpg->tport; local
2191 struct sbp_tport *tport = tpg->tport; local
2217 struct sbp_tport *tport = tpg->tport; local
2226 struct sbp_tport *tport = tpg->tport; local
[all...]
H A Dsbp_target.h159 struct sbp_tport *tport; member in struct:sbp_tpg
226 struct sbp_tport *tport; member in struct:sbp_management_agent
/linux-master/drivers/scsi/
H A Dscsi_netlink.c37 int err, tport; local
80 tport = hdr->transport;
81 if (tport == SCSI_NL_TRANSPORT) {
/linux-master/net/netfilter/
H A Dnft_tproxy.c30 __be16 tport = 0; local
59 tport = nft_reg_load_be16(&regs->data[priv->sreg_port]);
60 if (!tport)
61 tport = hp->dest;
66 sk = nf_tproxy_handle_time_wait4(nft_net(pkt), skb, taddr, tport, sk);
73 hp->source, tport,
94 __be16 tport = 0; local
127 tport = nft_reg_load_be16(&regs->data[priv->sreg_port]);
128 if (!tport)
129 tport
[all...]
/linux-master/drivers/tty/
H A Damiserial.c71 struct tty_port tport; member in struct:serial_state
242 if (info->tport.flags & ASYNC_SAK)
243 do_SAK(info->tport.tty);
257 tty_insert_flip_char(&info->tport, ch, flag);
259 tty_insert_flip_char(&info->tport, 0, TTY_OVERRUN);
260 tty_flip_buffer_push(&info->tport);
275 || info->tport.tty->flow.stopped
276 || info->tport.tty->hw_stopped) {
291 tty_wakeup(info->tport.tty);
305 struct tty_port *port = &info->tport;
[all...]
/linux-master/drivers/xen/
H A Dxen-scsiback.c148 /* SCSI protocol the tport is providing */
172 struct scsiback_tport *tport; member in struct:scsiback_tpg
224 tpg->tport->tport_name, pending_req->v2p->lun,
949 if (!strcmp(phy, tpg_entry->tport->tport_name) ||
1312 static char *scsiback_dump_proto_id(struct scsiback_tport *tport) argument
1314 switch (tport->tport_proto_id) {
1332 struct scsiback_tport *tport = tpg->tport; local
1334 return &tport->tport_name[0];
1349 struct scsiback_tport *tport; local
1401 struct scsiback_tport *tport = container_of(wwn, local
1748 struct scsiback_tport *tport = container_of(wwn, local
[all...]
/linux-master/drivers/tty/serial/
H A Dsunhv.c186 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 Dlpc32xx_hs.c247 struct tty_port *tport = &port->state->port; local
262 tty_insert_flip_char(tport, 0, TTY_FRAME);
266 tty_insert_flip_char(tport, (tmp & 0xFF), flag);
271 tty_flip_buffer_push(tport);
293 struct tty_port *tport = &port->state->port; local
317 tty_insert_flip_char(tport, 0, TTY_OVERRUN);
318 tty_flip_buffer_push(tport);
H A Dmux.c208 struct tty_port *tport = &port->state->port; local
232 tty_insert_flip_char(tport, data & 0xFF, TTY_NORMAL);
236 tty_flip_buffer_push(tport);
H A Dmps2-uart.c171 struct tty_port *tport = &port->state->port; local
180 tty_flip_buffer_push(tport);
228 struct tty_port *tport = &port->state->port; local
232 tty_insert_flip_char(tport, 0, TTY_OVERRUN);
233 tty_flip_buffer_push(tport);
H A Dtimbuart.c82 struct tty_port *tport = &port->state->port; local
87 tty_insert_flip_char(tport, ch, TTY_NORMAL);
90 tty_flip_buffer_push(tport);
/linux-master/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c1344 if (vscsi->tport.enabled)
2205 static int ibmvscsis_make_nexus(struct ibmvscsis_tport *tport) argument
2207 char *name = tport->tport_name;
2209 struct scsi_info *vscsi = container_of(tport, struct scsi_info, tport);
2212 if (tport->ibmv_nexus) {
2213 dev_dbg(&vscsi->dev, "tport->ibmv_nexus already exists\n");
2223 nexus->se_sess = target_setup_session(&tport->se_tpg, 0, 0,
2231 tport->ibmv_nexus = nexus;
2240 static int ibmvscsis_drop_nexus(struct ibmvscsis_tport *tport) argument
2281 } *iport, *tport; local
2634 struct ibmvscsis_tport *tport = NULL; local
3677 struct ibmvscsis_tport *tport = local
3685 struct ibmvscsis_tport *tport = local
3842 struct ibmvscsis_tport *tport; local
3859 struct ibmvscsis_tport *tport = container_of(wwn, local
3871 struct ibmvscsis_tport *tport = local
3895 struct ibmvscsis_tport *tport = container_of(se_tpg, local
3927 struct ibmvscsis_tport *tport = container_of(se_tpg, local
[all...]
/linux-master/drivers/vhost/
H A Dscsi.c128 struct vhost_scsi_tport *tport; member in struct:vhost_scsi_tpg
136 /* SCSI protocol the tport is providing */
306 struct vhost_scsi_tport *tport = tpg->tport; local
308 return &tport->tport_name[0];
1701 tv_tport = tpg->tport;
1822 tv_tport = tpg->tport;
2111 static char *vhost_scsi_dump_proto_id(struct vhost_scsi_tport *tport) argument
2113 switch (tport->tport_proto_id) {
2307 " %s Initiator Port: %s\n", vhost_scsi_dump_proto_id(tpg->tport),
2430 struct vhost_scsi_tport *tport = container_of(wwn, local
2488 struct vhost_scsi_tport *tport; local
2546 struct vhost_scsi_tport *tport = container_of(wwn, local
[all...]
/linux-master/drivers/char/
H A Dttyprintk.c141 static void tpk_port_shutdown(struct tty_port *tport) argument
144 container_of(tport, struct ttyprintk_port, port);
/linux-master/drivers/usb/gadget/function/
H A Dtcm.h38 struct usbg_tport *tport; member in struct:usbg_tpg
/linux-master/drivers/mmc/core/
H A Dsdio_uart.c525 static bool uart_carrier_raised(struct tty_port *tport) argument
528 container_of(tport, struct sdio_uart_port, port);
540 * @tport: tty port to be updated
547 static void uart_dtr_rts(struct tty_port *tport, bool active) argument
550 container_of(tport, struct sdio_uart_port, port);
563 * @tport: tty port to activate
576 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) argument
579 container_of(tport, struct sdio_uart_port, port);
651 * @tport: tty port to shut down
659 static void sdio_uart_shutdown(struct tty_port *tport) argument
691 sdio_uart_port_destroy(struct tty_port *tport) argument
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_pci1xxxx.c510 struct tty_port *tport = &port->state->port; local
515 mutex_lock(&tport->mutex);
528 mutex_unlock(&tport->mutex);
537 struct tty_port *tport = &port->state->port; local
540 mutex_lock(&tport->mutex);
550 mutex_unlock(&tport->mutex);
/linux-master/drivers/pnp/
H A Dresource.c172 resource_size_t *port, *end, *tport, *tend; local
200 tport = &tres->start;
202 if (ranged_conflict(port, end, tport, tend))
219 tport = &tres->start;
221 if (ranged_conflict(port, end, tport, tend))

Completed in 296 milliseconds

123