/linux-4.4.14/drivers/target/tcm_fc/ |
D | tfc_sess.c | 51 struct ft_tport *tport; in ft_tport_get() local 54 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP], in ft_tport_get() 56 if (tport && tport->tpg) in ft_tport_get() 57 return tport; in ft_tport_get() 63 if (tport) { in ft_tport_get() 64 tport->tpg = tpg; in ft_tport_get() 65 tpg->tport = tport; in ft_tport_get() 66 return tport; in ft_tport_get() 69 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in ft_tport_get() 70 if (!tport) in ft_tport_get() [all …]
|
D | tcm_fc.h | 42 struct ft_tport *tport; member 98 struct ft_tport *tport; /* active tport or NULL */ member
|
D | tfc_conf.c | 303 if (tpg->tport) { in ft_del_tpg() 304 tpg->tport->tpg = NULL; in ft_del_tpg() 305 tpg->tport = NULL; in ft_del_tpg()
|
D | tfc_cmd.c | 334 ft_send_resp_status(cmd->sess->tport->lport, in ft_send_resp_code() 440 struct fc_lport *lport = sess->tport->lport; in ft_recv_cmd() 461 queue_work(sess->tport->tpg->workqueue, &cmd->work); in ft_recv_cmd()
|
D | tfc_io.c | 332 queue_work(cmd->sess->tport->tpg->workqueue, &cmd->work); in ft_recv_write_data()
|
/linux-4.4.14/drivers/usb/serial/ |
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); 360 struct ti_port *tport; in ti_port_probe() local 362 tport = kzalloc(sizeof(*tport), GFP_KERNEL); in ti_port_probe() [all …]
|
D | usb-serial.c | 222 static int serial_port_activate(struct tty_port *tport, struct tty_struct *tty) in serial_port_activate() argument 225 container_of(tport, struct usb_serial_port, port); in serial_port_activate() 261 static void serial_port_shutdown(struct tty_port *tport) in serial_port_shutdown() argument 264 container_of(tport, struct usb_serial_port, port); in serial_port_shutdown()
|
D | mos7840.c | 772 struct tty_port *tport = &mos7840_port->port->port; in mos7840_bulk_in_callback() local 773 tty_insert_flip_string(tport, data, urb->actual_length); in mos7840_bulk_in_callback() 774 tty_flip_buffer_push(tport); in mos7840_bulk_in_callback()
|
/linux-4.4.14/drivers/target/sbp/ |
D | sbp_target.c | 293 struct sbp_tport *tport = agent->tport; in sbp_management_request_login() local 294 struct sbp_tpg *tpg = tport->tpg; in sbp_management_request_login() 384 tport->max_logins_per_lun) { in sbp_management_request_login() 424 tport->max_reconnect_timeout) - 1; in sbp_management_request_login() 524 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect() local 525 struct sbp_tpg *tpg = tport->tpg; in sbp_management_request_reconnect() 583 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout() local 584 struct sbp_tpg *tpg = tport->tpg; in sbp_management_request_logout() 1594 if (!agent->tport->enable) in sbp_mgt_agent_rw() 1643 struct sbp_tport *tport) in sbp_management_agent_register() argument [all …]
|
D | sbp_target.h | 158 struct sbp_tport *tport; member 225 struct sbp_tport *tport; member
|
/linux-4.4.14/drivers/tty/serial/ |
D | 68328serial.c | 109 struct tty_port tport; member 303 tty_insert_flip_char(&info->tport, ch, flag); in receive_chars() 308 tty_schedule_flip(&info->tport); in receive_chars() 350 struct tty_struct *tty = tty_port_tty_get(&info->tport); in rs_interrupt() 378 if (info->tport.flags & ASYNC_INITIALIZED) in startup() 418 info->tport.flags |= ASYNC_INITIALIZED; in startup() 433 if (!(info->tport.flags & ASYNC_INITIALIZED)) in shutdown() 446 info->tport.flags &= ~ASYNC_INITIALIZED; in shutdown() 818 tmp.flags = info->tport.flags; 820 tmp.close_delay = info->tport.close_delay; [all …]
|
D | sunhv.c | 187 struct tty_port *tport = NULL; in receive_chars() local 190 tport = &port->state->port; in receive_chars() 195 return tport; in receive_chars() 218 struct tty_port *tport; in sunhv_interrupt() local 222 tport = receive_chars(port); in sunhv_interrupt() 226 if (tport) in sunhv_interrupt() 227 tty_flip_buffer_push(tport); in sunhv_interrupt()
|
D | sn_console.c | 450 struct tty_port *tport = NULL; in sn_receive_chars() local 465 tport = &port->sc_port.state->port; in sn_receive_chars() 505 if (tport) { in sn_receive_chars() 506 if (tty_insert_flip_char(tport, ch, TTY_NORMAL) == 0) in sn_receive_chars() 512 if (tport) in sn_receive_chars() 513 tty_flip_buffer_push(tport); in sn_receive_chars()
|
D | lpc32xx_hs.c | 260 struct tty_port *tport = &port->state->port; in __serial_lpc32xx_rx() local 275 tty_insert_flip_char(tport, 0, TTY_FRAME); in __serial_lpc32xx_rx() 278 tty_insert_flip_char(tport, (tmp & 0xFF), flag); in __serial_lpc32xx_rx() 284 tty_flip_buffer_push(tport); in __serial_lpc32xx_rx() 328 struct tty_port *tport = &port->state->port; in serial_lpc32xx_interrupt() local 352 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in serial_lpc32xx_interrupt() 353 tty_schedule_flip(tport); in serial_lpc32xx_interrupt()
|
D | sh-sci.c | 771 struct tty_port *tport = &port->state->port; in sci_receive_chars() local 782 count = tty_buffer_request_room(tport, sci_rxfill(port)); in sci_receive_chars() 794 tty_insert_flip_char(tport, c, TTY_NORMAL); in sci_receive_chars() 836 tty_insert_flip_char(tport, c, flag); in sci_receive_chars() 849 tty_flip_buffer_push(tport); in sci_receive_chars() 891 struct tty_port *tport = &port->state->port; in sci_handle_errors() local 899 if (tty_insert_flip_char(tport, 0, TTY_OVERRUN)) in sci_handle_errors() 922 if (tty_insert_flip_char(tport, 0, TTY_BREAK)) in sci_handle_errors() 930 if (tty_insert_flip_char(tport, 0, TTY_FRAME)) in sci_handle_errors() 941 if (tty_insert_flip_char(tport, 0, TTY_PARITY)) in sci_handle_errors() [all …]
|
D | msm_serial.c | 375 struct tty_port *tport = &port->state->port; in msm_complete_rx_dma() local 397 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_complete_rx_dma() 427 tty_insert_flip_char(tport, dma->virt[i], flag); in msm_complete_rx_dma() 435 tty_flip_buffer_push(tport); in msm_complete_rx_dma() 527 struct tty_port *tport = &port->state->port; in msm_handle_rx_dm() local 534 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_handle_rx_dm() 582 tty_insert_flip_char(tport, buf[i], flag); in msm_handle_rx_dm() 588 tty_flip_buffer_push(tport); in msm_handle_rx_dm() 602 struct tty_port *tport = &port->state->port; in msm_handle_rx() local 611 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in msm_handle_rx() [all …]
|
D | mux.c | 235 struct tty_port *tport = &port->state->port; in mux_read() local 259 tty_insert_flip_char(tport, data & 0xFF, TTY_NORMAL); in mux_read() 263 tty_flip_buffer_push(tport); in mux_read()
|
D | lantiq.c | 159 struct tty_port *tport = &port->state->port; in lqasc_rx_chars() local 168 tty_flip_buffer_push(tport); in lqasc_rx_chars() 200 tty_insert_flip_char(tport, ch, flag); in lqasc_rx_chars() 208 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in lqasc_rx_chars() 212 tty_flip_buffer_push(tport); in lqasc_rx_chars()
|
D | uartlite.c | 117 struct tty_port *tport = &port->state->port; in ulite_receive() local 154 tty_insert_flip_char(tport, ch, flag); in ulite_receive() 157 tty_insert_flip_char(tport, 0, TTY_FRAME); in ulite_receive() 160 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in ulite_receive()
|
D | meson_uart.c | 174 struct tty_port *tport = &port->state->port; in meson_receive_chars() local 210 tty_insert_flip_char(tport, ch, flag); in meson_receive_chars() 213 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in meson_receive_chars() 218 tty_flip_buffer_push(tport); in meson_receive_chars()
|
D | vt8500_serial.c | 167 struct tty_port *tport = &port->state->port; in handle_rx() local 174 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in handle_rx() 197 tty_insert_flip_char(tport, c, flag); in handle_rx() 201 tty_flip_buffer_push(tport); in handle_rx()
|
D | timbuart.c | 94 struct tty_port *tport = &port->state->port; in timbuart_rx_chars() local 99 tty_insert_flip_char(tport, ch, TTY_NORMAL); in timbuart_rx_chars() 103 tty_flip_buffer_push(tport); in timbuart_rx_chars()
|
D | men_z135_uart.c | 249 struct tty_port *tport = &port->state->port; in men_z135_handle_rx() local 265 room = tty_buffer_request_room(tport, size); in men_z135_handle_rx() 279 copied = tty_insert_flip_string(tport, uart->rxbuf, room); in men_z135_handle_rx() 287 tty_flip_buffer_push(tport); in men_z135_handle_rx()
|
D | stm32-usart.c | 153 struct tty_port *tport = &port->state->port; in stm32_receive_chars() local 159 pm_wakeup_event(tport->tty->dev, 0); in stm32_receive_chars() 196 tty_flip_buffer_push(tport); in stm32_receive_chars()
|
D | ucc_uart.c | 464 struct tty_port *tport = &port->state->port; in qe_uart_int_rx() local 486 if (tty_buffer_request_room(tport, i) < i) { in qe_uart_int_rx() 507 tty_insert_flip_char(tport, ch, flg); in qe_uart_int_rx() 525 tty_flip_buffer_push(tport); in qe_uart_int_rx() 555 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in qe_uart_int_rx()
|
D | st-asc.c | 289 struct tty_port *tport = &port->state->port; in asc_receive_chars() local 295 pm_wakeup_event(tport->tty->dev, 0); in asc_receive_chars() 343 tty_flip_buffer_push(tport); in asc_receive_chars()
|
D | efm32-uart.c | 247 struct tty_port *tport = &port->state->port; in efm32_uart_rxirq() local 261 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in efm32_uart_rxirq() 268 tty_flip_buffer_push(tport); in efm32_uart_rxirq()
|
D | pch_uart.c | 646 struct tty_port *tport = &port->state->port; in push_rx() local 648 tty_insert_flip_string(tport, buf, size); in push_rx() 649 tty_flip_buffer_push(tport); in push_rx() 674 struct tty_port *tport = &port->state->port; in dma_push_rx() local 676 room = tty_buffer_request_room(tport, size); in dma_push_rx() 684 tty_insert_flip_string(tport, sg_virt(&priv->sg_rx), size); in dma_push_rx()
|
D | atmel_serial.c | 1007 struct tty_port *tport = &port->state->port; in atmel_rx_from_dma() local 1058 tty_insert_flip_string(tport, ring->buf + ring->tail, count); in atmel_rx_from_dma() 1067 tty_insert_flip_string(tport, ring->buf + ring->tail, count); in atmel_rx_from_dma() 1086 tty_flip_buffer_push(tport); in atmel_rx_from_dma() 1490 struct tty_port *tport = &port->state->port; in atmel_rx_from_pdc() local 1529 tty_insert_flip_string(tport, pdc->buf + pdc->ofs, in atmel_rx_from_pdc() 1558 tty_flip_buffer_push(tport); in atmel_rx_from_pdc()
|
D | serial_core.c | 2291 struct tty_port *tport = &state->port; in uart_poll_init() local 2294 mutex_lock(&tport->mutex); in uart_poll_init() 2299 if (!test_bit(ASYNCB_INITIALIZED, &tport->flags)) in uart_poll_init() 2301 mutex_unlock(&tport->mutex); in uart_poll_init() 2925 struct tty_port *tport = &port->state->port; in uart_insert_char() local 2928 if (tty_insert_flip_char(tport, ch, flag) == 0) in uart_insert_char() 2936 if (tty_insert_flip_char(tport, 0, TTY_OVERRUN) == 0) in uart_insert_char()
|
D | mpc52xx_uart.c | 1378 struct tty_port *tport = &port->state->port; in mpc52xx_uart_int_rx_chars() local 1423 tty_insert_flip_char(tport, ch, flag); in mpc52xx_uart_int_rx_chars() 1430 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in mpc52xx_uart_int_rx_chars() 1436 tty_flip_buffer_push(tport); in mpc52xx_uart_int_rx_chars()
|
/linux-4.4.14/drivers/tty/ |
D | amiserial.c | 48 tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s) 95 struct tty_port tport; member 315 if (info->tport.flags & ASYNC_SAK) in receive_chars() 316 do_SAK(info->tport.tty); in receive_chars() 330 tty_insert_flip_char(&info->tport, ch, flag); in receive_chars() 332 tty_insert_flip_char(&info->tport, 0, TTY_OVERRUN); in receive_chars() 333 tty_flip_buffer_push(&info->tport); in receive_chars() 350 || info->tport.tty->stopped in transmit_chars() 351 || info->tport.tty->hw_stopped) { in transmit_chars() 366 tty_wakeup(info->tport.tty); in transmit_chars() [all …]
|
D | isicom.c | 811 static int isicom_activate(struct tty_port *tport, struct tty_struct *tty) in isicom_activate() argument 813 struct isi_port *port = container_of(tport, struct isi_port, port); in isicom_activate() 817 if (tty_port_alloc_xmit_buf(tport) < 0) in isicom_activate() 871 struct tty_port *tport; in isicom_open() local 873 tport = isicom_find_port(tty); in isicom_open() 874 if (tport == NULL) in isicom_open() 876 port = container_of(tport, struct isi_port, port); in isicom_open() 879 return tty_port_open(tport, tty, filp); in isicom_open() 1614 struct tty_port *tport = &board->ports[index].port; in isicom_probe() local 1615 tty_port_init(tport); in isicom_probe() [all …]
|
D | nozomi.c | 1606 static int ntty_activate(struct tty_port *tport, struct tty_struct *tty) in ntty_activate() argument 1608 struct port *port = container_of(tport, struct port, port); in ntty_activate() 1618 printk("noz: activated %d: %p\n", tty->index, tport); in ntty_activate() 1628 static void ntty_shutdown(struct tty_port *tport) in ntty_shutdown() argument 1630 struct port *port = container_of(tport, struct port, port); in ntty_shutdown() 1640 printk("noz: shutdown %p\n", tport); in ntty_shutdown()
|
/linux-4.4.14/drivers/xen/ |
D | xen-scsiback.c | 174 struct scsiback_tport *tport; member 266 tpg->tport->tport_name, pending_req->v2p->lun, in scsiback_print_status() 883 if (!strcmp(phy, tpg_entry->tport->tport_name) || in scsiback_add_translation_entry() 1239 static char *scsiback_dump_proto_id(struct scsiback_tport *tport) in scsiback_dump_proto_id() argument 1241 switch (tport->tport_proto_id) { in scsiback_dump_proto_id() 1259 struct scsiback_tport *tport = tpg->tport; in scsiback_get_fabric_wwn() local 1261 return &tport->tport_name[0]; in scsiback_get_fabric_wwn() 1276 struct scsiback_tport *tport; in scsiback_make_tport() local 1281 tport = kzalloc(sizeof(struct scsiback_tport), GFP_KERNEL); in scsiback_make_tport() 1282 if (!tport) in scsiback_make_tport() [all …]
|
/linux-4.4.14/drivers/vhost/ |
D | scsi.c | 133 struct vhost_scsi_tport *tport; member 291 struct vhost_scsi_tport *tport = tpg->tport; in vhost_scsi_get_fabric_wwn() local 293 return &tport->tport_name[0]; in vhost_scsi_get_fabric_wwn() 1238 tv_tport = tpg->tport; in vhost_scsi_set_endpoint() 1333 tv_tport = tpg->tport; in vhost_scsi_clear_endpoint() 1577 static char *vhost_scsi_dump_proto_id(struct vhost_scsi_tport *tport) in vhost_scsi_dump_proto_id() argument 1579 switch (tport->tport_proto_id) { in vhost_scsi_dump_proto_id() 1853 " %s Initiator Port: %s\n", vhost_scsi_dump_proto_id(tpg->tport), in vhost_scsi_drop_nexus() 1895 struct vhost_scsi_tport *tport_wwn = tpg->tport; in vhost_scsi_tpg_nexus_store() 1979 struct vhost_scsi_tport *tport = container_of(wwn, in vhost_scsi_make_tpg() local [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_netlink.c | 51 int err, tport; in scsi_nl_rcv_msg() local 94 tport = hdr->transport; in scsi_nl_rcv_msg() 95 if (tport == SCSI_NL_TRANSPORT) { in scsi_nl_rcv_msg()
|
/linux-4.4.14/drivers/mmc/card/ |
D | sdio_uart.c | 548 static int uart_carrier_raised(struct tty_port *tport) in uart_carrier_raised() argument 551 container_of(tport, struct sdio_uart_port, port); in uart_carrier_raised() 571 static void uart_dtr_rts(struct tty_port *tport, int onoff) in uart_dtr_rts() argument 574 container_of(tport, struct sdio_uart_port, port); in uart_dtr_rts() 600 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate() argument 603 container_of(tport, struct sdio_uart_port, port); in sdio_uart_activate() 683 static void sdio_uart_shutdown(struct tty_port *tport) in sdio_uart_shutdown() argument 686 container_of(tport, struct sdio_uart_port, port); in sdio_uart_shutdown() 715 static void sdio_uart_port_destroy(struct tty_port *tport) in sdio_uart_port_destroy() argument 718 container_of(tport, struct sdio_uart_port, port); in sdio_uart_port_destroy()
|
/linux-4.4.14/drivers/pnp/ |
D | resource.c | 170 resource_size_t *port, *end, *tport, *tend; in pnp_check_port() local 198 tport = &tres->start; in pnp_check_port() 200 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port() 217 tport = &tres->start; in pnp_check_port() 219 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | mn10300-serial.c | 527 struct tty_port *tport = &port->uart.state->port; in mn10300_serial_receive_interrupt() local 537 count = tty_buffer_request_room(tport, count); in mn10300_serial_receive_interrupt() 539 if (!tport->low_latency) in mn10300_serial_receive_interrupt() 540 tty_flip_buffer_push(tport); in mn10300_serial_receive_interrupt() 548 if (push && !tport->low_latency) in mn10300_serial_receive_interrupt() 549 tty_flip_buffer_push(tport); in mn10300_serial_receive_interrupt() 669 tty_insert_flip_char(tport, ch, flag); in mn10300_serial_receive_interrupt() 676 tty_insert_flip_char(tport, 0, TTY_OVERRUN); in mn10300_serial_receive_interrupt() 680 if (!tport->low_latency) in mn10300_serial_receive_interrupt() 681 tty_flip_buffer_push(tport); in mn10300_serial_receive_interrupt()
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
D | tcm_usb_gadget.c | 1277 struct usbg_tport *tport = tpg->tport; in usbg_get_fabric_wwn() local 1279 return &tport->tport_name[0]; in usbg_get_fabric_wwn() 1382 struct usbg_tport *tport = container_of(wwn, struct usbg_tport, in usbg_make_tpg() local 1409 tpg->tport = tport; in usbg_make_tpg() 1442 struct usbg_tport *tport; in usbg_make_tport() local 1450 tport = kzalloc(sizeof(struct usbg_tport), GFP_KERNEL); in usbg_make_tport() 1451 if (!(tport)) in usbg_make_tport() 1453 tport->tport_wwpn = wwpn; in usbg_make_tport() 1454 snprintf(tport->tport_name, sizeof(tport->tport_name), "%s", wnn_name); in usbg_make_tport() 1455 return &tport->tport_wwn; in usbg_make_tport() [all …]
|
D | tcm_usb_gadget.h | 36 struct usbg_tport *tport; member
|
/linux-4.4.14/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 249 struct tty_port *tport = &port->state->port; in cpm_uart_int_rx() local 281 if (tty_buffer_request_room(tport, i) < i) { in cpm_uart_int_rx() 307 tty_insert_flip_char(tport, ch, flg); in cpm_uart_int_rx() 327 tty_flip_buffer_push(tport); in cpm_uart_int_rx()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.h | 502 estats->s = le32_to_cpu(tport->s) + fwstats->s; \
|
D | bnx2x_stats.c | 918 struct tstorm_per_port_stats *tport = in bnx2x_storm_stats_update() local
|