Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/target/tcm_fc/
H A Dtfc_sess.c49 if (tport && tport->tpg) in ft_tport_get()
56 if (tport) { in ft_tport_get()
58 tpg->tport = tport; in ft_tport_get()
62 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in ft_tport_get()
63 if (!tport) in ft_tport_get()
68 tpg->tport = tport; in ft_tport_get()
73 return tport; in ft_tport_get()
121 if (tport) in ft_lport_del()
193 struct ft_tport *tport = sess->tport; in ft_sess_alloc_cb() local
227 sess->tport = tport; in ft_sess_create()
[all …]
H A Dtcm_fc.h33 struct ft_tport *tport; member
89 struct ft_tport *tport; /* active tport or NULL */ member
H A Dtfc_conf.c289 if (tpg->tport) { in ft_del_tpg()
290 tpg->tport->tpg = NULL; in ft_del_tpg()
291 tpg->tport = NULL; in ft_del_tpg()
/openbmc/linux/drivers/usb/serial/
H A Dti_usb_3410_5052.c601 struct ti_port *tport; in ti_port_probe() local
603 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in ti_port_probe()
604 if (!tport) in ti_port_probe()
637 kfree(tport); in ti_port_remove()
660 tport->tp_msr = 0; in ti_open()
740 urb->context = tport; in ti_open()
811 ti_send(tport); in ti_write()
1026 msr = tport->tp_msr; in ti_tiocmget()
1157 if (!tport) in ti_interrupt_callback()
1267 ti_send(tport); in ti_bulk_out_callback()
[all …]
H A Dusb-serial.c442 struct tty_port *tport = &port->port; in serial_get_serial() local
445 mutex_lock(&tport->mutex); in serial_get_serial()
448 closing_wait = tport->closing_wait; in serial_get_serial()
459 mutex_unlock(&tport->mutex); in serial_get_serial()
467 struct tty_port *tport = &port->port; in serial_set_serial() local
476 mutex_lock(&tport->mutex); in serial_set_serial()
479 if (close_delay != tport->close_delay || in serial_set_serial()
480 closing_wait != tport->closing_wait) { in serial_set_serial()
492 tport->close_delay = close_delay; in serial_set_serial()
493 tport->closing_wait = closing_wait; in serial_set_serial()
[all …]
/openbmc/linux/drivers/target/sbp/
H A Dsbp_target.c262 struct sbp_tport *tport = agent->tport; in sbp_management_request_login() local
493 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect() local
552 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout() local
1645 agent->tport = tport; in sbp_management_agent_register()
1679 struct sbp_tport *tport = tpg->tport; in sbp_get_fabric_wwn() local
1795 if (!tport->enable || !tport->tpg) in sbp_update_unit_directory()
1946 struct sbp_tport *tport = tpg->tport; in sbp_pre_unlink_lun() local
1981 tpg->tport = tport; in sbp_make_tpg()
2015 struct sbp_tport *tport = tpg->tport; in sbp_drop_tpg() local
2068 struct sbp_tport *tport = tpg->tport; in sbp_tpg_directory_id_show() local
[all …]
H A Dsbp_target.h159 struct sbp_tport *tport; member
226 struct sbp_tport *tport; member
/openbmc/linux/drivers/nvme/target/
H A Dfcloop.c409 spin_lock(&tport->lock); in fcloop_tport_lsrqst_work()
504 struct fcloop_tport *tport = tgt_rscn->tport; in fcloop_tgt_rscn_work() local
506 if (tport->remoteport) in fcloop_tgt_rscn_work()
1335 rport->targetport = (nport->tport) ? nport->tport->targetport : NULL; in fcloop_create_remote_port()
1336 if (nport->tport) { in fcloop_create_remote_port()
1438 tport->nport = nport; in fcloop_create_target_port()
1440 nport->tport = tport; in fcloop_create_target_port()
1452 struct fcloop_tport *tport = nport->tport; in __unlink_target_port() local
1456 nport->tport = NULL; in __unlink_target_port()
1458 return tport; in __unlink_target_port()
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_tproxy.c30 __be16 tport = 0; in nft_tproxy_eval_v4() local
59 tport = nft_reg_load_be16(&regs->data[priv->sreg_port]); in nft_tproxy_eval_v4()
60 if (!tport) in nft_tproxy_eval_v4()
61 tport = hp->dest; in nft_tproxy_eval_v4()
73 hp->source, tport, in nft_tproxy_eval_v4()
94 __be16 tport = 0; in nft_tproxy_eval_v6() local
127 tport = nft_reg_load_be16(&regs->data[priv->sreg_port]); in nft_tproxy_eval_v6()
128 if (!tport) in nft_tproxy_eval_v6()
129 tport = hp->dest; in nft_tproxy_eval_v6()
137 tport, in nft_tproxy_eval_v6()
[all …]
/openbmc/linux/drivers/tty/
H A Damiserial.c71 struct tty_port tport; member
243 do_SAK(info->tport.tty); in receive_chars()
293 tty_wakeup(info->tport.tty); in transmit_chars()
398 if (!info->tport.tty) in ser_rx_int()
417 if (!info->tport.tty) in ser_tx_int()
907 ss->flags = state->tport.flags; in get_serial_info()
1331 info->tport.count = 0; in rs_hangup()
1333 info->tport.tty = NULL; in rs_hangup()
1347 tport); in rs_open()
1465 tport); in amiga_dtr_rts()
[all …]
/openbmc/linux/drivers/xen/
H A Dxen-scsiback.c172 struct scsiback_tport *tport; member
1332 struct scsiback_tport *tport = tpg->tport; in scsiback_get_fabric_wwn() local
1334 return &tport->tport_name[0]; in scsiback_get_fabric_wwn()
1355 if (!tport) in scsiback_make_tport()
1358 tport->tport_wwpn = wwpn; in scsiback_make_tport()
1381 kfree(tport); in scsiback_make_tport()
1388 kfree(tport); in scsiback_make_tport()
1396 return &tport->tport_wwn; in scsiback_make_tport()
1405 scsiback_dump_proto_id(tport), tport->tport_name); in scsiback_drop_tport()
1407 kfree(tport); in scsiback_drop_tport()
[all …]
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c2209 struct scsi_info *vscsi = container_of(tport, struct scsi_info, tport); in ibmvscsis_make_nexus()
2281 } *iport, *tport; in ibmvscsis_srp_login() local
2642 tport = &vscsi->tport; in ibmvscsis_lookup_port()
2648 return tport; in ibmvscsis_lookup_port()
3846 if (tport) { in ibmvscsis_make_tport()
3847 vscsi = container_of(tport, struct scsi_info, tport); in ibmvscsis_make_tport()
3850 name, tport, tport->tport_proto_id); in ibmvscsis_make_tport()
3862 struct scsi_info *vscsi = container_of(tport, struct scsi_info, tport); in ibmvscsis_drop_tport()
3885 rc = core_tpg_register(&tport->tport_wwn, &tport->se_tpg, in ibmvscsis_make_tpg()
3890 return &tport->se_tpg; in ibmvscsis_make_tpg()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_netlink.c37 int err, tport; in scsi_nl_rcv_msg() local
80 tport = hdr->transport; in scsi_nl_rcv_msg()
81 if (tport == SCSI_NL_TRANSPORT) { in scsi_nl_rcv_msg()
/openbmc/linux/drivers/tty/serial/
H A Dsunhv.c186 struct tty_port *tport = NULL; in receive_chars() local
189 tport = &port->state->port; in receive_chars()
194 return tport; in receive_chars()
217 struct tty_port *tport; in sunhv_interrupt() local
221 tport = receive_chars(port); in sunhv_interrupt()
225 if (tport) in sunhv_interrupt()
226 tty_flip_buffer_push(tport); in sunhv_interrupt()
H A Dlpc32xx_hs.c253 struct tty_port *tport = &port->state->port; in __serial_lpc32xx_rx() local
268 tty_insert_flip_char(tport, 0, TTY_FRAME); in __serial_lpc32xx_rx()
271 tty_insert_flip_char(tport, (tmp & 0xFF), flag); in __serial_lpc32xx_rx()
276 tty_flip_buffer_push(tport); in __serial_lpc32xx_rx()
298 struct tty_port *tport = &port->state->port; in serial_lpc32xx_interrupt() local
322 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in serial_lpc32xx_interrupt()
323 tty_flip_buffer_push(tport); in serial_lpc32xx_interrupt()
H A Dmps2-uart.c171 struct tty_port *tport = &port->state->port; in mps2_uart_rx_chars() local
180 tty_flip_buffer_push(tport); in mps2_uart_rx_chars()
228 struct tty_port *tport = &port->state->port; in mps2_uart_oerrirq() local
232 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in mps2_uart_oerrirq()
233 tty_flip_buffer_push(tport); in mps2_uart_oerrirq()
H A Dmux.c208 struct tty_port *tport = &port->state->port; in mux_read() local
232 tty_insert_flip_char(tport, data & 0xFF, TTY_NORMAL); in mux_read()
236 tty_flip_buffer_push(tport); in mux_read()
H A Dmsm_serial.c546 struct tty_port *tport = &port->state->port; in msm_complete_rx_dma() local
564 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_complete_rx_dma()
602 tty_flip_buffer_push(tport); in msm_complete_rx_dma()
714 struct tty_port *tport = &port->state->port; in msm_handle_rx_dm() local
721 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_handle_rx_dm()
769 tty_insert_flip_char(tport, buf[i], flag); in msm_handle_rx_dm()
774 tty_flip_buffer_push(tport); in msm_handle_rx_dm()
788 struct tty_port *tport = &port->state->port; in msm_handle_rx() local
797 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_handle_rx()
831 tty_insert_flip_char(tport, c, flag); in msm_handle_rx()
[all …]
H A Dvt8500_serial.c154 struct tty_port *tport = &port->state->port; in handle_rx() local
161 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in handle_rx()
184 tty_insert_flip_char(tport, c, flag); in handle_rx()
187 tty_flip_buffer_push(tport); in handle_rx()
/openbmc/linux/drivers/vhost/
H A Dscsi.c306 struct vhost_scsi_tport *tport = tpg->tport; in vhost_scsi_get_fabric_wwn() local
1711 tv_tport = tpg->tport; in vhost_scsi_set_endpoint()
1832 tv_tport = tpg->tport; in vhost_scsi_clear_endpoint()
2459 tpg->tport = tport; in vhost_scsi_make_tpg()
2506 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in vhost_scsi_make_tport()
2507 if (!tport) { in vhost_scsi_make_tport()
2511 tport->tport_wwpn = wwpn; in vhost_scsi_make_tport()
2535 kfree(tport); in vhost_scsi_make_tport()
2543 kfree(tport); in vhost_scsi_make_tport()
2561 tport->tport_name); in vhost_scsi_drop_tport()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pci1xxxx.c219 struct tty_port *tport = &port->state->port; in pci1xxxx_port_suspend() local
224 mutex_lock(&tport->mutex); in pci1xxxx_port_suspend()
237 mutex_unlock(&tport->mutex); in pci1xxxx_port_suspend()
246 struct tty_port *tport = &port->state->port; in pci1xxxx_port_resume() local
249 mutex_lock(&tport->mutex); in pci1xxxx_port_resume()
259 mutex_unlock(&tport->mutex); in pci1xxxx_port_resume()
/openbmc/linux/drivers/mmc/core/
H A Dsdio_uart.c529 static bool uart_carrier_raised(struct tty_port *tport) in uart_carrier_raised() argument
532 container_of(tport, struct sdio_uart_port, port); in uart_carrier_raised()
551 static void uart_dtr_rts(struct tty_port *tport, bool active) in uart_dtr_rts() argument
554 container_of(tport, struct sdio_uart_port, port); in uart_dtr_rts()
580 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate() argument
583 container_of(tport, struct sdio_uart_port, port); in sdio_uart_activate()
663 static void sdio_uart_shutdown(struct tty_port *tport) in sdio_uart_shutdown() argument
666 container_of(tport, struct sdio_uart_port, port); in sdio_uart_shutdown()
695 static void sdio_uart_port_destroy(struct tty_port *tport) in sdio_uart_port_destroy() argument
698 container_of(tport, struct sdio_uart_port, port); in sdio_uart_port_destroy()
/openbmc/linux/drivers/char/
H A Dttyprintk.c141 static void tpk_port_shutdown(struct tty_port *tport) in tpk_port_shutdown() argument
144 container_of(tport, struct ttyprintk_port, port); in tpk_port_shutdown()
/openbmc/linux/drivers/pnp/
H A Dresource.c172 resource_size_t *port, *end, *tport, *tend; in pnp_check_port() local
200 tport = &tres->start; in pnp_check_port()
202 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port()
219 tport = &tres->start; in pnp_check_port()
221 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_tcm.c1260 struct usbg_tport *tport = tpg->tport; in usbg_get_fabric_wwn() local
1262 return &tport->tport_name[0]; in usbg_get_fabric_wwn()
1362 tpg->tport = tport; in usbg_make_tpg()
1435 struct usbg_tport *tport; in usbg_make_tport() local
1443 tport = kzalloc(sizeof(struct usbg_tport), GFP_KERNEL); in usbg_make_tport()
1444 if (!(tport)) in usbg_make_tport()
1447 tport->tport_wwpn = wwpn; in usbg_make_tport()
1448 snprintf(tport->tport_name, sizeof(tport->tport_name), "%s", wnn_name); in usbg_make_tport()
1449 return &tport->tport_wwn; in usbg_make_tport()
1454 struct usbg_tport *tport = container_of(wwn, in usbg_drop_tport() local
[all …]

123