/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pci.c | 35 struct fm10k_intfc *interface = hw->back; in fm10k_read_pci_cfg_word() local 41 pci_read_config_word(interface->pdev, reg, &value); in fm10k_read_pci_cfg_word() 58 struct fm10k_intfc *interface = hw->back; in fm10k_read_reg() local 59 struct net_device *netdev = interface->netdev; in fm10k_read_reg() 69 static int fm10k_hw_ready(struct fm10k_intfc *interface) in fm10k_hw_ready() argument 71 struct fm10k_hw *hw = &interface->hw; in fm10k_hw_ready() 85 void fm10k_macvlan_schedule(struct fm10k_intfc *interface) in fm10k_macvlan_schedule() argument 90 if (!test_bit(__FM10K_MACVLAN_DISABLE, interface->state) && in fm10k_macvlan_schedule() 91 !test_and_set_bit(__FM10K_MACVLAN_SCHED, interface->state)) { in fm10k_macvlan_schedule() 92 clear_bit(__FM10K_MACVLAN_REQUEST, interface->state); in fm10k_macvlan_schedule() [all …]
|
H A D | fm10k_netdev.c | 55 static int fm10k_setup_all_tx_resources(struct fm10k_intfc *interface) in fm10k_setup_all_tx_resources() argument 59 for (i = 0; i < interface->num_tx_queues; i++) { in fm10k_setup_all_tx_resources() 60 err = fm10k_setup_tx_resources(interface->tx_ring[i]); in fm10k_setup_all_tx_resources() 64 netif_err(interface, probe, interface->netdev, in fm10k_setup_all_tx_resources() 73 fm10k_free_tx_resources(interface->tx_ring[i]); in fm10k_setup_all_tx_resources() 122 static int fm10k_setup_all_rx_resources(struct fm10k_intfc *interface) in fm10k_setup_all_rx_resources() argument 126 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_setup_all_rx_resources() 127 err = fm10k_setup_rx_resources(interface->rx_ring[i]); in fm10k_setup_all_rx_resources() 131 netif_err(interface, probe, interface->netdev, in fm10k_setup_all_rx_resources() 140 fm10k_free_rx_resources(interface->rx_ring[i]); in fm10k_setup_all_rx_resources() [all …]
|
H A D | fm10k_ethtool.c | 159 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_get_stat_strings() local 168 if (interface->hw.mac.type != fm10k_mac_vf) in fm10k_get_stat_strings() 171 for (i = 0; i < interface->hw.mac.max_queues; i++) { in fm10k_get_stat_strings() 200 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_get_sset_count() local 201 struct fm10k_hw *hw = &interface->hw; in fm10k_get_sset_count() 265 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_get_ethtool_stats() local 269 fm10k_update_stats(interface); in fm10k_get_ethtool_stats() 273 fm10k_add_ethtool_stats(&data, interface, fm10k_gstrings_global_stats); in fm10k_get_ethtool_stats() 275 fm10k_add_ethtool_stats(&data, &interface->hw.mbx, in fm10k_get_ethtool_stats() 278 if (interface->hw.mac.type != fm10k_mac_vf) { in fm10k_get_ethtool_stats() [all …]
|
H A D | fm10k_main.c | 636 struct fm10k_intfc *interface = netdev_priv(skb->dev); in fm10k_port_is_vxlan() local 638 if (interface->vxlan_port != udp_hdr(skb)->dest) in fm10k_port_is_vxlan() 1114 struct fm10k_intfc *interface = ring->q_vector->interface; in fm10k_get_tx_pending() local 1115 struct fm10k_hw *hw = &interface->hw; in fm10k_get_tx_pending() 1162 void fm10k_tx_timeout_reset(struct fm10k_intfc *interface) in fm10k_tx_timeout_reset() argument 1165 if (!test_bit(__FM10K_DOWN, interface->state)) { in fm10k_tx_timeout_reset() 1166 interface->tx_timeout_count++; in fm10k_tx_timeout_reset() 1167 set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); in fm10k_tx_timeout_reset() 1168 fm10k_service_event_schedule(interface); in fm10k_tx_timeout_reset() 1181 struct fm10k_intfc *interface = q_vector->interface; in fm10k_clean_tx_irq() local [all …]
|
H A D | fm10k_iov.c | 12 struct fm10k_intfc *interface = hw->back; in fm10k_iov_msg_error() local 13 struct pci_dev *pdev = interface->pdev; in fm10k_iov_msg_error() 37 struct fm10k_intfc *interface = hw->back; in fm10k_iov_msg_queue_mac_vlan() local 111 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan() 137 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan() 152 s32 fm10k_iov_event(struct fm10k_intfc *interface) in fm10k_iov_event() argument 154 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_event() 160 if (!READ_ONCE(interface->iov_data)) in fm10k_iov_event() 165 iov_data = interface->iov_data; in fm10k_iov_event() 197 s32 fm10k_iov_mbx(struct fm10k_intfc *interface) in fm10k_iov_mbx() argument [all …]
|
H A D | fm10k.h | 186 struct fm10k_intfc *interface; member 393 static inline void fm10k_mbx_lock(struct fm10k_intfc *interface) in fm10k_mbx_lock() argument 395 spin_lock(&interface->mbx_lock); in fm10k_mbx_lock() 398 static inline void fm10k_mbx_unlock(struct fm10k_intfc *interface) in fm10k_mbx_unlock() argument 400 spin_unlock(&interface->mbx_lock); in fm10k_mbx_unlock() 403 static inline int fm10k_mbx_trylock(struct fm10k_intfc *interface) in fm10k_mbx_trylock() argument 405 return spin_trylock(&interface->mbx_lock); in fm10k_mbx_trylock() 473 int fm10k_init_queueing_scheme(struct fm10k_intfc *interface); 474 void fm10k_clear_queueing_scheme(struct fm10k_intfc *interface); 478 void fm10k_tx_timeout_reset(struct fm10k_intfc *interface); [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-xaui.c | 45 int __cvmx_helper_xaui_enumerate(int interface) in __cvmx_helper_xaui_enumerate() argument 50 gmx_hg2_control.u64 = cvmx_read_csr(CVMX_GMXX_HG2_CONTROL(interface)); in __cvmx_helper_xaui_enumerate() 66 int __cvmx_helper_xaui_probe(int interface) in __cvmx_helper_xaui_probe() argument 76 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_helper_xaui_probe() 78 cvmx_write_csr(CVMX_GMXX_INF_MODE(interface), mode.u64); in __cvmx_helper_xaui_probe() 80 __cvmx_helper_setup_gmx(interface, 1); in __cvmx_helper_xaui_probe() 98 pko_mem_port_ptrs.s.eid = interface * 4; in __cvmx_helper_xaui_probe() 99 pko_mem_port_ptrs.s.pid = interface * 16 + i; in __cvmx_helper_xaui_probe() 102 return __cvmx_helper_xaui_enumerate(interface); in __cvmx_helper_xaui_probe() 114 int __cvmx_helper_xaui_enable(int interface) in __cvmx_helper_xaui_enable() argument [all …]
|
H A D | cvmx-helper-sgmii.c | 52 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) in __cvmx_helper_sgmii_hardware_init_one_time() argument 60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time() 70 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 72 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 82 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 98 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 103 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 108 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 114 (index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() [all …]
|
H A D | cvmx-helper.c | 88 int cvmx_helper_ports_on_interface(int interface) in cvmx_helper_ports_on_interface() argument 90 return interface_port_count[interface]; in cvmx_helper_ports_on_interface() 98 static cvmx_helper_interface_mode_t __cvmx_get_mode_cn68xx(int interface) in __cvmx_get_mode_cn68xx() argument 101 switch (interface) { in __cvmx_get_mode_cn68xx() 117 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(interface)); in __cvmx_get_mode_cn68xx() 150 static cvmx_helper_interface_mode_t __cvmx_get_mode_octeon2(int interface) in __cvmx_get_mode_octeon2() argument 155 return __cvmx_get_mode_cn68xx(interface); in __cvmx_get_mode_octeon2() 157 if (interface == 2) in __cvmx_get_mode_octeon2() 160 if (interface == 3) in __cvmx_get_mode_octeon2() 165 (interface == 4 || interface == 5)) || in __cvmx_get_mode_octeon2() [all …]
|
H A D | cvmx-helper-rgmii.c | 52 int __cvmx_helper_rgmii_probe(int interface) in __cvmx_helper_rgmii_probe() argument 56 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_helper_rgmii_probe() 100 int interface = (port >> 4) & 1; in cvmx_helper_rgmii_internal_loopback() local 109 cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); in cvmx_helper_rgmii_internal_loopback() 110 cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); in cvmx_helper_rgmii_internal_loopback() 111 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); in cvmx_helper_rgmii_internal_loopback() 112 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback() 113 tmp = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); in cvmx_helper_rgmii_internal_loopback() 114 cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), (1 << index) | tmp); in cvmx_helper_rgmii_internal_loopback() 115 tmp = cvmx_read_csr(CVMX_ASXX_TX_PRT_EN(interface)); in cvmx_helper_rgmii_internal_loopback() [all …]
|
H A D | cvmx-spi.c | 105 int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, in cvmx_spi_start_interface() argument 114 INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode); in cvmx_spi_start_interface() 117 INVOKE_CB(cvmx_spi_callbacks.calendar_setup_cb, interface, mode, in cvmx_spi_start_interface() 121 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout); in cvmx_spi_start_interface() 124 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout); in cvmx_spi_start_interface() 127 INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, in cvmx_spi_start_interface() 131 INVOKE_CB(cvmx_spi_callbacks.interface_up_cb, interface, mode); in cvmx_spi_start_interface() 150 int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout) in cvmx_spi_restart_interface() argument 157 cvmx_dprintf("SPI%d: Restart %s\n", interface, modes[mode]); in cvmx_spi_restart_interface() 160 INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode); in cvmx_spi_restart_interface() [all …]
|
H A D | cvmx-helper-spi.c | 52 int __cvmx_helper_spi_enumerate(int interface) in __cvmx_helper_spi_enumerate() argument 55 cvmx_spi4000_is_present(interface)) { in __cvmx_helper_spi_enumerate() 71 int __cvmx_helper_spi_probe(int interface) in __cvmx_helper_spi_probe() argument 76 cvmx_spi4000_is_present(interface)) { in __cvmx_helper_spi_probe() 88 enable.s.enable |= 0xffff << (interface * 16); in __cvmx_helper_spi_probe() 91 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_spi_probe() 104 int __cvmx_helper_spi_enable(int interface) in __cvmx_helper_spi_enable() argument 111 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_spi_enable() 113 for (ipd_port = interface * 16; ipd_port < interface * 16 + num_ports; in __cvmx_helper_spi_enable() 122 cvmx_spi_start_interface(interface, CVMX_SPI_MODE_DUPLEX, in __cvmx_helper_spi_enable() [all …]
|
H A D | cvmx-helper-util.c | 137 int interface; in cvmx_helper_setup_red() local 144 for (interface = 0; interface < 2; interface++) { in cvmx_helper_setup_red() 145 for (port = cvmx_helper_get_first_ipd_port(interface); in cvmx_helper_setup_red() 146 port < cvmx_helper_get_last_ipd_port(interface); port++) in cvmx_helper_setup_red() 180 int __cvmx_helper_setup_gmx(int interface, int num_ports) in __cvmx_helper_setup_gmx() argument 189 gmx_tx_prts.u64 = cvmx_read_csr(CVMX_GMXX_TX_PRTS(interface)); in __cvmx_helper_setup_gmx() 191 cvmx_write_csr(CVMX_GMXX_TX_PRTS(interface), gmx_tx_prts.u64); in __cvmx_helper_setup_gmx() 195 if (cvmx_helper_interface_get_mode(interface) == in __cvmx_helper_setup_gmx() 197 || cvmx_helper_interface_get_mode(interface) == in __cvmx_helper_setup_gmx() 199 || cvmx_helper_interface_get_mode(interface) == in __cvmx_helper_setup_gmx() [all …]
|
/linux/drivers/gpu/drm/logicvc/ |
H A D | logicvc_interface.c | 34 struct logicvc_interface *interface = in logicvc_encoder_enable() local 41 if (interface->drm_panel) { in logicvc_encoder_enable() 42 drm_panel_prepare(interface->drm_panel); in logicvc_encoder_enable() 43 drm_panel_enable(interface->drm_panel); in logicvc_encoder_enable() 49 struct logicvc_interface *interface = in logicvc_encoder_disable() local 52 if (interface->drm_panel) { in logicvc_encoder_disable() 53 drm_panel_disable(interface->drm_panel); in logicvc_encoder_disable() 54 drm_panel_unprepare(interface->drm_panel); in logicvc_encoder_disable() 69 struct logicvc_interface *interface = in logicvc_connector_get_modes() local 72 if (interface->drm_panel) in logicvc_connector_get_modes() [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-spi.h | 49 int (*reset_cb) (int interface, cvmx_spi_mode_t mode); 52 int (*calendar_setup_cb) (int interface, cvmx_spi_mode_t mode, 56 int (*clock_detect_cb) (int interface, cvmx_spi_mode_t mode, 60 int (*training_cb) (int interface, cvmx_spi_mode_t mode, int timeout); 63 int (*calendar_sync_cb) (int interface, cvmx_spi_mode_t mode, 67 int (*interface_up_cb) (int interface, cvmx_spi_mode_t mode); 77 static inline int cvmx_spi_is_spi_interface(int interface) in cvmx_spi_is_spi_interface() argument 79 uint64_t gmxState = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in cvmx_spi_is_spi_interface() 97 extern int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, 113 extern int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, [all …]
|
/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 64 static void __bnx2fc_destroy(struct bnx2fc_interface *interface); 75 static void bnx2fc_start_disc(struct bnx2fc_interface *interface); 83 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, 90 static inline void bnx2fc_interface_put(struct bnx2fc_interface *interface); 97 static void bnx2fc_stop(struct bnx2fc_interface *interface); 192 struct bnx2fc_interface *interface = port->priv; in bnx2fc_cleanup() local 193 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_cleanup() 270 struct bnx2fc_interface *interface; in bnx2fc_xmit() local 282 interface = port->priv; in bnx2fc_xmit() 283 ctlr = bnx2fc_to_ctlr(interface); in bnx2fc_xmit() [all …]
|
/linux/drivers/staging/octeon/ |
H A D | ethernet-spi.c | 122 static void cvm_oct_spi_enable_error_reporting(int interface) in cvm_oct_spi_enable_error_reporting() argument 127 spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting() 138 cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64); in cvm_oct_spi_enable_error_reporting() 140 stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting() 149 cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64); in cvm_oct_spi_enable_error_reporting() 156 int interface; in cvm_oct_spi_poll() local 158 for (interface = 0; interface < 2; interface++) { in cvm_oct_spi_poll() 159 if ((priv->port == interface * 16) && need_retrain[interface]) { in cvm_oct_spi_poll() 161 (interface, CVMX_SPI_MODE_DUPLEX, 10) == 0) { in cvm_oct_spi_poll() 162 need_retrain[interface] = 0; in cvm_oct_spi_poll() [all …]
|
/linux/drivers/usb/misc/ |
H A D | yurex.c | 53 struct usb_interface *interface; member 94 dev_dbg(&dev->interface->dev, "%s\n", __func__); in yurex_delete() 109 usb_put_intf(dev->interface); in yurex_delete() 137 dev_err(&dev->interface->dev, in yurex_interrupt() 149 dev_err(&dev->interface->dev, in yurex_interrupt() 166 dev_dbg(&dev->interface->dev, "%s count: %lld\n", in yurex_interrupt() 173 dev_dbg(&dev->interface->dev, in yurex_interrupt() 177 dev_dbg(&dev->interface->dev, "%s ack: %c\n", in yurex_interrupt() 185 dev_err(&dev->interface->dev, "%s - usb_submit_urb failed: %d\n", in yurex_interrupt() 190 static int yurex_probe(struct usb_interface *interface, const struct usb_device_id *id) in yurex_probe() argument [all …]
|
H A D | idmouse.c | 68 struct usb_interface *interface; /* the interface for this device */ member 88 static int idmouse_probe(struct usb_interface *interface, 91 static void idmouse_disconnect(struct usb_interface *interface); 196 dev_dbg(&dev->interface->dev, "read %d bytes fingerprint data\n", in idmouse_create_image() 221 struct usb_interface *interface; in idmouse_open() local 225 interface = usb_find_interface(&idmouse_driver, iminor(inode)); in idmouse_open() 226 if (!interface) in idmouse_open() 230 dev = usb_get_intfdata(interface); in idmouse_open() 246 result = usb_autopm_get_interface(interface); in idmouse_open() 250 usb_autopm_put_interface(interface); in idmouse_open() [all …]
|
H A D | usblcd.c | 41 struct usb_interface *interface; /* the interface for member 80 struct usb_interface *interface; in lcd_open() local 85 interface = usb_find_interface(&lcd_driver, subminor); in lcd_open() 86 if (!interface) { in lcd_open() 92 dev = usb_get_intfdata(interface); in lcd_open() 98 r = usb_autopm_get_interface(interface); in lcd_open() 119 usb_autopm_put_interface(dev->interface); in lcd_release() 207 dev_dbg(&dev->interface->dev, in lcd_write_bulk_callback() 317 static int lcd_probe(struct usb_interface *interface, in lcd_probe() argument 335 dev->udev = usb_get_dev(interface_to_usbdev(interface)); in lcd_probe() [all …]
|
/linux/drivers/media/usb/go7007/ |
H A D | go7007-loader.c | 34 static int go7007_loader_probe(struct usb_interface *interface, in go7007_loader_probe() argument 44 usbdev = usb_get_dev(interface_to_usbdev(interface)); in go7007_loader_probe() 49 dev_err(&interface->dev, "can't handle multiple config\n"); in go7007_loader_probe() 68 dev_info(&interface->dev, "loading firmware %s\n", fw1); in go7007_loader_probe() 71 dev_err(&interface->dev, in go7007_loader_probe() 78 dev_err(&interface->dev, "loader download failed\n"); in go7007_loader_probe() 86 dev_err(&interface->dev, in go7007_loader_probe() 93 dev_err(&interface->dev, "firmware download failed\n"); in go7007_loader_probe() 100 dev_err(&interface->dev, "probe failed\n"); in go7007_loader_probe() 104 static void go7007_loader_disconnect(struct usb_interface *interface) in go7007_loader_disconnect() argument [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_mutex.c | 22 static u32 nfp_mutex_locked(u16 interface) in nfp_mutex_locked() argument 24 return (u32)interface << 16 | 0x000f; in nfp_mutex_locked() 27 static u32 nfp_mutex_unlocked(u16 interface) in nfp_mutex_unlocked() argument 29 return (u32)interface << 16 | 0x0000; in nfp_mutex_unlocked() 51 nfp_cpp_mutex_validate(u16 interface, int *target, unsigned long long address) in nfp_cpp_mutex_validate() argument 54 if (NFP_CPP_INTERFACE_TYPE_of(interface) == in nfp_cpp_mutex_validate() 90 u16 interface = nfp_cpp_interface(cpp); in nfp_cpp_mutex_init() local 93 err = nfp_cpp_mutex_validate(interface, &target, address); in nfp_cpp_mutex_init() 101 err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_locked(interface)); in nfp_cpp_mutex_init() 127 u16 interface = nfp_cpp_interface(cpp); in nfp_cpp_mutex_alloc() local [all …]
|
/linux/drivers/mfd/ |
H A D | viperboard.c | 47 static int vprbrd_probe(struct usb_interface *interface, in vprbrd_probe() argument 62 vb->usb_dev = usb_get_dev(interface_to_usbdev(interface)); in vprbrd_probe() 65 usb_set_intfdata(interface, vb); in vprbrd_probe() 84 dev_info(&interface->dev, in vprbrd_probe() 89 ret = mfd_add_hotplug_devices(&interface->dev, vprbrd_devs, in vprbrd_probe() 92 dev_err(&interface->dev, "Failed to add mfd devices to core."); in vprbrd_probe() 107 static void vprbrd_disconnect(struct usb_interface *interface) in vprbrd_disconnect() argument 109 struct vprbrd *vb = usb_get_intfdata(interface); in vprbrd_disconnect() 111 mfd_remove_devices(&interface->dev); in vprbrd_disconnect() 112 usb_set_intfdata(interface, NULL); in vprbrd_disconnect() [all …]
|
/linux/drivers/usb/ |
H A D | usb-skeleton.c | 49 struct usb_interface *interface; /* the interface for this device */ member 77 usb_put_intf(dev->interface); in skel_delete() 86 struct usb_interface *interface; in skel_open() local 92 interface = usb_find_interface(&skel_driver, subminor); in skel_open() 93 if (!interface) { in skel_open() 100 dev = usb_get_intfdata(interface); in skel_open() 106 retval = usb_autopm_get_interface(interface); in skel_open() 129 usb_autopm_put_interface(dev->interface); in skel_release() 173 dev_err(&dev->interface->dev, in skel_read_bulk_callback() 212 dev_err(&dev->interface->dev, in skel_do_read_io() [all …]
|
/linux/include/linux/ |
H A D | phylink.h | 120 phy_interface_t interface; member 181 phy_interface_t interface); 183 phy_interface_t interface); 191 phy_interface_t interface); 194 phy_interface_t interface, int speed, int duplex, 210 phy_interface_t interface); 225 phy_interface_t interface); 357 phy_interface_t interface); 388 unsigned int mode, phy_interface_t interface, 440 phy_interface_t interface); [all …]
|