/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/ |
D | ethsw.c | 46 static bool dpaa2_switch_port_is_up(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_is_up() argument 48 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_is_up() 52 err = dpsw_if_get_link_state(port_priv->ethsw_data->mc_io, 0, in dpaa2_switch_port_is_up() 53 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_is_up() 54 port_priv->idx, &state); in dpaa2_switch_port_is_up() 65 static int dpaa2_switch_port_set_pvid(struct ethsw_port_priv *port_priv, u16 pvid) in dpaa2_switch_port_set_pvid() argument 67 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_pvid() 68 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_set_pvid() 74 port_priv->idx, &tci_cfg); in dpaa2_switch_port_set_pvid() 83 up = dpaa2_switch_port_is_up(port_priv); in dpaa2_switch_port_set_pvid() [all …]
|
D | ethsw-ethtool.c | 35 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_get_drvinfo() local 41 err = dpsw_get_api_version(port_priv->ethsw_data->mc_io, 0, in dpaa2_switch_get_drvinfo() 59 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_get_link_ksettings() local 63 err = dpsw_if_get_link_state(port_priv->ethsw_data->mc_io, 0, in dpaa2_switch_get_link_ksettings() 64 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_get_link_ksettings() 65 port_priv->idx, in dpaa2_switch_get_link_ksettings() 90 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_set_link_ksettings() local 91 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_set_link_ksettings() 101 port_priv->idx); in dpaa2_switch_set_link_ksettings() 118 err = dpsw_if_set_link_cfg(port_priv->ethsw_data->mc_io, 0, in dpaa2_switch_set_link_ksettings() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | agent.c | 85 struct ib_agent_port_private *port_priv; in agent_send_response() local 92 port_priv = ib_get_agent_port(device, 0); in agent_send_response() 94 port_priv = ib_get_agent_port(device, port_num); in agent_send_response() 96 if (!port_priv) { in agent_send_response() 101 agent = port_priv->agent[qpn]; in agent_send_response() 152 struct ib_agent_port_private *port_priv; in ib_agent_port_open() local 157 port_priv = kzalloc(sizeof *port_priv, GFP_KERNEL); in ib_agent_port_open() 158 if (!port_priv) { in ib_agent_port_open() 165 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open() 169 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open() [all …]
|
D | mad.c | 63 struct ib_device *dev = qp_info->port_priv->device; in create_mad_addr_info() 64 u8 pnum = qp_info->port_priv->port_num; in create_mad_addr_info() 100 struct ib_mad_port_private *port_priv, 112 static bool ib_mad_send_error(struct ib_mad_port_private *port_priv, 234 struct ib_mad_port_private *port_priv; in ib_register_mad_agent() local 353 port_priv = ib_get_mad_port(device, port_num); in ib_register_mad_agent() 354 if (!port_priv) { in ib_register_mad_agent() 364 if (!port_priv->qp_info[qpn].qp) { in ib_register_mad_agent() 387 mad_agent_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_agent() 394 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent() [all …]
|
D | mad_rmpp.c | 99 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs() 431 bool opa = rdma_cap_opa_mad(rmpp_recv->agent->qp_info->port_priv->device, in get_mad_len() 432 rmpp_recv->agent->qp_info->port_priv->port_num); in get_mad_len() 463 queue_delayed_work(rmpp_recv->agent->qp_info->port_priv->wq, in complete_rmpp() 556 queue_delayed_work(agent->qp_info->port_priv->wq, in start_rmpp()
|
D | mad_priv.h | 188 struct ib_mad_port_private *port_priv; member
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
D | quatech2.c | 215 static inline int update_mctrl(struct qt2_port_private *port_priv, in update_mctrl() argument 218 struct usb_serial_port *port = port_priv->port; in update_mctrl() 236 status = qt2_setregister(dev, port_priv->device_port, UART_MCR, in update_mctrl() 268 struct qt2_port_private *port_priv; in qt2_set_termios() local 275 port_priv = usb_get_serial_port_data(port); in qt2_set_termios() 304 status = qt2_set_port_config(dev, port_priv->device_port, baud, in qt2_set_termios() 313 port_priv->device_port); in qt2_set_termios() 316 0, port_priv->device_port); in qt2_set_termios() 325 x, port_priv->device_port); in qt2_set_termios() 328 0, port_priv->device_port); in qt2_set_termios() [all …]
|
D | f81534.c | 331 struct f81534_port_private *port_priv = usb_get_serial_port_data(port); in f81534_set_port_register() local 334 reg + port_priv->phy_num * F81534_UART_OFFSET, data); in f81534_set_port_register() 340 struct f81534_port_private *port_priv = usb_get_serial_port_data(port); in f81534_get_port_register() local 343 reg + port_priv->phy_num * F81534_UART_OFFSET, data); in f81534_get_port_register() 475 struct f81534_port_private *port_priv = usb_get_serial_port_data(port); in f81534_prepare_write_buffer() local 476 int phy_num = port_priv->phy_num; in f81534_prepare_write_buffer() 504 struct f81534_port_private *port_priv = usb_get_serial_port_data(port); in f81534_submit_writer() local 520 if (!test_and_clear_bit(F81534_TX_EMPTY_BIT, &port_priv->tx_empty)) in f81534_submit_writer() 529 set_bit(F81534_TX_EMPTY_BIT, &port_priv->tx_empty); in f81534_submit_writer() 561 struct f81534_port_private *port_priv = usb_get_serial_port_data(port); in f81534_set_port_config() local [all …]
|
D | cp210x.c | 579 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_read_reg_block() local 595 port_priv->bInterfaceNumber, dmabuf, bufsize, in cp210x_read_reg_block() 707 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_write_u16_reg() local 712 port_priv->bInterfaceNumber, NULL, 0, in cp210x_write_u16_reg() 730 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_write_reg_block() local 740 port_priv->bInterfaceNumber, dmabuf, bufsize, in cp210x_write_reg_block() 813 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_detect_swapped_line_ctl() local 831 port_priv->has_swapped_line_ctl = true; in cp210x_detect_swapped_line_ctl() 844 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_get_line_ctl() local 852 if (port_priv->has_swapped_line_ctl) in cp210x_get_line_ctl() [all …]
|
D | f81232.c | 707 struct f81232_private *port_priv = usb_get_serial_port_data(port); in f81232_tiocmget() local 713 mutex_lock(&port_priv->lock); in f81232_tiocmget() 714 mcr = port_priv->modem_control; in f81232_tiocmget() 715 msr = port_priv->modem_status; in f81232_tiocmget() 716 mutex_unlock(&port_priv->lock); in f81232_tiocmget() 784 struct f81232_private *port_priv = usb_get_serial_port_data(port); in f81232_close() local 789 flush_work(&port_priv->interrupt_work); in f81232_close() 790 flush_work(&port_priv->lsr_work); in f81232_close() 988 struct f81232_private *port_priv = usb_get_serial_port_data(port); in f81232_suspend() local 996 if (port_priv) { in f81232_suspend() [all …]
|
D | digi_acceleport.c | 509 struct digi_port *port_priv = usb_get_serial_port_data(port); in digi_set_modem_signals() local 518 port_priv->dp_port_num, modem_signals); in digi_set_modem_signals() 521 spin_lock(&port_priv->dp_port_lock); in digi_set_modem_signals() 524 spin_unlock(&port_priv->dp_port_lock); in digi_set_modem_signals() 531 spin_lock(&port_priv->dp_port_lock); in digi_set_modem_signals() 534 data[1] = port_priv->dp_port_num; in digi_set_modem_signals() 539 data[5] = port_priv->dp_port_num; in digi_set_modem_signals() 549 port_priv->dp_modem_signals &= ~(TIOCM_DTR | TIOCM_RTS); in digi_set_modem_signals() 550 port_priv->dp_modem_signals |= in digi_set_modem_signals() 553 spin_unlock(&port_priv->dp_port_lock); in digi_set_modem_signals()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
D | cimax2.c | 383 state = port->port_priv; in netup_ci_slot_status() 390 state = port->port_priv; in netup_ci_slot_status() 461 port->port_priv = state; in netup_ci_init() 524 state = (struct netup_ci_state *)port->port_priv; in netup_ci_exit()
|
D | cx23885.h | 300 void *port_priv; member
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | ib_mad.h | 211 __entry->dev_index = qp_info->port_priv->device->index; 212 __entry->port_num = qp_info->port_priv->port_num; 227 ib_query_pkey(qp_info->port_priv->device, 228 qp_info->port_priv->port_num,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.h | 291 return port_priv(port); in port_wl()
|
D | ps3_gelic_net.h | 343 static inline void *port_priv(struct gelic_port *port) in port_priv() function
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0036_linux_drivers_staging.patch | 226 @@ -199,10 +199,28 @@ static int dpaa2_switch_port_set_flood(struct ethsw_port_priv *port_priv, boo… 248 static int dpaa2_switch_port_set_stp_state(struct ethsw_port_priv *port_priv, u8 state) 262 if (!port_priv->ethsw_data->vlans[vid]) 268 + if (port_priv->vlans[vid] & ETHSW_VLAN_MEMBER) 2253 + struct evb_port_priv *port_priv = netdev_priv(netdev); 2257 + err = dpdmux_if_get_link_state(port_priv->evb_priv->mc_io, 0, 2258 + port_priv->evb_priv->mux_handle, 2259 + port_priv->port_index, &state); 2268 + netif_carrier_on(port_priv->netdev); 2270 + netif_carrier_off(port_priv->netdev); [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
D | cx231xx.h | 557 void *port_priv; member
|