Searched refs:interface (Results 26 - 50 of 536) sorted by relevance

1234567891011>>

/linux-master/drivers/platform/x86/dell/dell-wmi-sysman/
H A DMakefile7 biosattr-interface.o \
8 passwordattr-interface.o
/linux-master/include/linux/pcs/
H A Dpcs-xpcs.h35 phy_interface_t interface; member in struct:dw_xpcs
39 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface);
41 phy_interface_t interface, int speed, int duplex);
42 int xpcs_do_config(struct dw_xpcs *xpcs, phy_interface_t interface,
48 phy_interface_t interface);
/linux-master/drivers/media/usb/go7007/
H A Dgo7007-loader.c34 static int go7007_loader_probe(struct usb_interface *interface, argument
44 usbdev = usb_get_dev(interface_to_usbdev(interface));
49 dev_err(&interface->dev, "can't handle multiple config\n");
68 dev_info(&interface->dev, "loading firmware %s\n", fw1);
71 dev_err(&interface->dev,
78 dev_err(&interface->dev, "loader download failed\n");
86 dev_err(&interface->dev,
93 dev_err(&interface->dev, "firmware download failed\n");
100 dev_err(&interface->dev, "probe failed\n");
104 static void go7007_loader_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/drivers/gpu/drm/udl/
H A Dudl_drv.c20 static int udl_usb_suspend(struct usb_interface *interface, argument
23 struct drm_device *dev = usb_get_intfdata(interface);
34 static int udl_usb_resume(struct usb_interface *interface) argument
36 struct drm_device *dev = usb_get_intfdata(interface);
41 static int udl_usb_reset_resume(struct usb_interface *interface) argument
43 struct drm_device *dev = usb_get_intfdata(interface);
85 static struct udl_device *udl_driver_create(struct usb_interface *interface) argument
90 udl = devm_drm_dev_alloc(&interface->dev, &driver,
99 usb_set_intfdata(interface, udl);
104 static int udl_usb_probe(struct usb_interface *interface, argument
125 udl_usb_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/drivers/net/xen-netback/
H A DMakefile4 xen-netback-y := netback.o xenbus.o interface.o hash.o rx.o
/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-npi.c41 * Probe a NPI interface and determine the number of ports
42 * connected to it. The NPI interface should still be down
45 * @interface: Interface to probe
47 * Returns Number of ports on the interface. Zero to disable.
49 int __cvmx_helper_npi_probe(int interface) argument
67 * Bringup and enable a NPI interface. After this call packet
71 * @interface: Interface to bring up
75 int __cvmx_helper_npi_enable(int interface) argument
84 int num_ports = cvmx_helper_ports_on_interface(interface);
89 cvmx_helper_get_ipd_port(interface, por
[all...]
H A Dcvmx-helper-util.c49 * Convert a interface mode into a human readable string
137 int interface; local
144 for (interface = 0; interface < 2; interface++) {
145 for (port = cvmx_helper_get_first_ipd_port(interface);
146 port < cvmx_helper_get_last_ipd_port(interface); port++)
175 * @interface: Interface to configure
176 * @num_ports: Number of ports on the interface
180 int __cvmx_helper_setup_gmx(int interface, in argument
288 cvmx_helper_get_ipd_port(int interface, int port) argument
[all...]
H A Dcvmx-helper-loop.c40 * Probe a LOOP interface and determine the number of ports
41 * connected to it. The LOOP interface should still be down
44 * @interface: Interface to probe
46 * Returns Number of ports on the interface. Zero to disable.
48 int __cvmx_helper_loop_probe(int interface) argument
58 int ipd_port = cvmx_helper_get_ipd_port(interface, port);
73 * Bringup and enable a LOOP interface. After this call packet
77 * @interface: Interface to bring up
81 int __cvmx_helper_loop_enable(int interface) argument
/linux-master/drivers/mfd/
H A Dviperboard.c47 static int vprbrd_probe(struct usb_interface *interface, argument
62 vb->usb_dev = usb_get_dev(interface_to_usbdev(interface));
64 /* save our data pointer in this interface device */
65 usb_set_intfdata(interface, vb);
84 dev_info(&interface->dev,
89 ret = mfd_add_hotplug_devices(&interface->dev, vprbrd_devs,
92 dev_err(&interface->dev, "Failed to add mfd devices to core.");
107 static void vprbrd_disconnect(struct usb_interface *interface) argument
109 struct vprbrd *vb = usb_get_intfdata(interface);
111 mfd_remove_devices(&interface
[all...]
/linux-master/arch/x86/xen/
H A Dtrace.c3 #include <xen/interface/xen.h>
4 #include <xen/interface/xen-mca.h>
H A Dirq.c6 #include <xen/interface/xen.h>
7 #include <xen/interface/sched.h>
8 #include <xen/interface/vcpu.h>
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c48 /* General interface statistics */
159 struct fm10k_intfc *interface = netdev_priv(dev); local
168 if (interface->hw.mac.type != fm10k_mac_vf)
171 for (i = 0; i < interface->hw.mac.max_queues; i++) {
200 struct fm10k_intfc *interface = netdev_priv(dev); local
201 struct fm10k_hw *hw = &interface->hw;
265 struct fm10k_intfc *interface = netdev_priv(netdev); local
269 fm10k_update_stats(interface);
273 fm10k_add_ethtool_stats(&data, interface, fm10k_gstrings_global_stats);
275 fm10k_add_ethtool_stats(&data, &interface
355 struct fm10k_intfc *interface = netdev_priv(netdev); local
433 struct fm10k_intfc *interface = netdev_priv(netdev); local
449 struct fm10k_intfc *interface = netdev_priv(dev); local
460 struct fm10k_intfc *interface = netdev_priv(dev); local
472 struct fm10k_intfc *interface = netdev_priv(dev); local
492 struct fm10k_intfc *interface = netdev_priv(netdev); local
499 struct fm10k_intfc *interface = netdev_priv(netdev); local
509 struct fm10k_intfc *interface = netdev_priv(netdev); local
526 struct fm10k_intfc *interface = netdev_priv(netdev); local
643 struct fm10k_intfc *interface = netdev_priv(dev); local
659 struct fm10k_intfc *interface = netdev_priv(dev); local
694 fm10k_get_rss_hash_opts(struct fm10k_intfc *interface, struct ethtool_rxnfc *cmd) argument
738 struct fm10k_intfc *interface = netdev_priv(dev); local
756 fm10k_set_rss_hash_opt(struct fm10k_intfc *interface, struct ethtool_rxnfc *nfc) argument
876 struct fm10k_intfc *interface = netdev_priv(dev); local
890 fm10k_mbx_test(struct fm10k_intfc *interface, u64 *data) argument
944 struct fm10k_intfc *interface = netdev_priv(dev); local
978 fm10k_write_reta(struct fm10k_intfc *interface, const u32 *indir) argument
1015 struct fm10k_intfc *interface = netdev_priv(netdev); local
1035 struct fm10k_intfc *interface = netdev_priv(netdev); local
1063 struct fm10k_intfc *interface = netdev_priv(netdev); local
1083 struct fm10k_intfc *interface = netdev_priv(netdev); local
1111 struct fm10k_intfc *interface = netdev_priv(dev); local
1125 struct fm10k_intfc *interface = netdev_priv(dev); local
1141 struct fm10k_intfc *interface = netdev_priv(dev); local
[all...]
H A Dfm10k_main.c181 * Synchronizes page for reuse by the interface
249 * true if the buffer can be reused by the interface.
637 struct fm10k_intfc *interface = netdev_priv(skb->dev); local
639 if (interface->vxlan_port != udp_hdr(skb)->dest)
1115 struct fm10k_intfc *interface = ring->q_vector->interface; local
1116 struct fm10k_hw *hw = &interface->hw;
1161 * @interface: driver private struct
1163 void fm10k_tx_timeout_reset(struct fm10k_intfc *interface) argument
1166 if (!test_bit(__FM10K_DOWN, interface
1182 struct fm10k_intfc *interface = q_vector->interface; local
1478 fm10k_set_qos_queues(struct fm10k_intfc *interface) argument
1524 fm10k_set_rss_queues(struct fm10k_intfc *interface) argument
1553 fm10k_set_num_queues(struct fm10k_intfc *interface) argument
1570 fm10k_reset_num_queues(struct fm10k_intfc *interface) argument
1589 fm10k_alloc_q_vector(struct fm10k_intfc *interface, unsigned int v_count, unsigned int v_idx, unsigned int txr_count, unsigned int txr_idx, unsigned int rxr_count, unsigned int rxr_idx) argument
1690 fm10k_free_q_vector(struct fm10k_intfc *interface, int v_idx) argument
1715 fm10k_alloc_q_vectors(struct fm10k_intfc *interface) argument
1773 fm10k_free_q_vectors(struct fm10k_intfc *interface) argument
1789 fm10k_reset_msix_capability(struct fm10k_intfc *interface) argument
1803 fm10k_init_msix_capability(struct fm10k_intfc *interface) argument
1861 fm10k_cache_ring_qos(struct fm10k_intfc *interface) argument
1894 fm10k_cache_ring_rss(struct fm10k_intfc *interface) argument
1913 fm10k_assign_rings(struct fm10k_intfc *interface) argument
1921 fm10k_init_reta(struct fm10k_intfc *interface) argument
1960 fm10k_init_queueing_scheme(struct fm10k_intfc *interface) argument
2005 fm10k_clear_queueing_scheme(struct fm10k_intfc *interface) argument
[all...]
H A Dfm10k_iov.c12 struct fm10k_intfc *interface = hw->back; local
13 struct pci_dev *pdev = interface->pdev;
37 struct fm10k_intfc *interface = hw->back; local
45 /* we shouldn't be updating rules on a disabled interface */
111 err = fm10k_queue_mac_request(interface, vf_info->glort,
137 err = fm10k_queue_mac_request(interface, vf_info->glort,
152 s32 fm10k_iov_event(struct fm10k_intfc *interface) argument
154 struct fm10k_hw *hw = &interface->hw;
160 if (!READ_ONCE(interface->iov_data))
165 iov_data = interface
197 fm10k_iov_mbx(struct fm10k_intfc *interface) argument
284 struct fm10k_intfc *interface = pci_get_drvdata(pdev); local
328 struct fm10k_intfc *interface = pci_get_drvdata(pdev); local
383 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid) argument
410 struct fm10k_intfc *interface = pci_get_drvdata(pdev); local
425 struct fm10k_intfc *interface = pci_get_drvdata(pdev); local
531 fm10k_iov_update_stats(struct fm10k_intfc *interface) argument
544 fm10k_reset_vf_info(struct fm10k_intfc *interface, struct fm10k_vf_info *vf_info) argument
569 struct fm10k_intfc *interface = netdev_priv(netdev); local
593 struct fm10k_intfc *interface = netdev_priv(netdev); local
630 struct fm10k_intfc *interface = netdev_priv(netdev); local
655 struct fm10k_intfc *interface = netdev_priv(netdev); local
678 struct fm10k_intfc *interface = netdev_priv(netdev); local
[all...]
H A Dfm10k.h186 struct fm10k_intfc *interface; member in struct:fm10k_q_vector
188 u16 v_idx; /* index of q_vector within interface array */
261 * interface->flags and must be the last value in this
393 static inline void fm10k_mbx_lock(struct fm10k_intfc *interface) argument
395 spin_lock(&interface->mbx_lock);
398 static inline void fm10k_mbx_unlock(struct fm10k_intfc *interface) argument
400 spin_unlock(&interface->mbx_lock);
403 static inline int fm10k_mbx_trylock(struct fm10k_intfc *interface) argument
405 return spin_trylock(&interface->mbx_lock);
473 int fm10k_init_queueing_scheme(struct fm10k_intfc *interface);
553 fm10k_dbg_intfc_init(struct fm10k_intfc *interface) argument
554 fm10k_dbg_intfc_exit(struct fm10k_intfc *interface) argument
[all...]
/linux-master/drivers/staging/octeon/
H A Dethernet-spi.c23 pr_err("SPI%d: SRX Spi4 interface down\n", index);
122 static void cvm_oct_spi_enable_error_reporting(int interface) argument
127 spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface));
138 cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64);
140 stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface));
149 cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64);
156 int interface; local
158 for (interface = 0; interface < 2; interface
215 int interface; local
[all...]
/linux-master/drivers/usb/misc/
H A Dyurex.c55 struct usb_interface *interface; member in struct:usb_yurex
96 dev_dbg(&dev->interface->dev, "%s\n", __func__);
111 usb_put_intf(dev->interface);
139 dev_err(&dev->interface->dev,
151 dev_err(&dev->interface->dev,
168 dev_dbg(&dev->interface->dev, "%s count: %lld\n",
175 dev_dbg(&dev->interface->dev,
179 dev_dbg(&dev->interface->dev, "%s ack: %c\n",
187 dev_err(&dev->interface->dev, "%s - usb_submit_urb failed: %d\n",
192 static int yurex_probe(struct usb_interface *interface, cons argument
309 yurex_disconnect(struct usb_interface *interface) argument
356 struct usb_interface *interface; local
[all...]
H A Dusblcd.c41 struct usb_interface *interface; /* the interface for member in struct:usb_lcd
80 struct usb_interface *interface; local
85 interface = usb_find_interface(&lcd_driver, subminor);
86 if (!interface) {
92 dev = usb_get_intfdata(interface);
98 r = usb_autopm_get_interface(interface);
119 usb_autopm_put_interface(dev->interface);
207 dev_dbg(&dev->interface->dev,
317 static int lcd_probe(struct usb_interface *interface, argument
416 lcd_disconnect(struct usb_interface *interface) argument
[all...]
H A Didmouse.c68 struct usb_interface *interface; /* the interface for this device */ member in struct:usb_idmouse
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",
221 struct usb_interface *interface; local
224 /* get the interface from minor number and driver information */
225 interface = usb_find_interface(&idmouse_driver, iminor(inode));
226 if (!interface)
229 /* get the device information block from the interface */
315 idmouse_probe(struct usb_interface *interface, const struct usb_device_id *id) argument
377 idmouse_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_mutex.c22 static u32 nfp_mutex_locked(u16 interface) argument
24 return (u32)interface << 16 | 0x000f;
27 static u32 nfp_mutex_unlocked(u16 interface) argument
29 return (u32)interface << 16 | 0x0000;
51 nfp_cpp_mutex_validate(u16 interface, int *target, unsigned long long address) argument
54 if (NFP_CPP_INTERFACE_TYPE_of(interface) ==
90 u16 interface = nfp_cpp_interface(cpp); local
93 err = nfp_cpp_mutex_validate(interface, &target, address);
101 err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_locked(interface));
127 u16 interface local
223 u16 interface; local
346 u16 interface = nfp_cpp_interface(cpp); local
[all...]
/linux-master/include/linux/
H A Dphylink.h106 * @interface: link &typedef phy_interface_t mode
113 * interface mode (@interface) are different.
120 phy_interface_t interface; member in struct:phylink_link_state
164 * @mac_get_caps: Get MAC capabilities for interface mode.
165 * @mac_select_pcs: Select a PCS for the interface mode.
166 * @mac_prepare: prepare for a major reconfiguration of the interface.
168 * @mac_finish: finish a major reconfiguration of the interface.
176 phy_interface_t interface);
178 phy_interface_t interface);
608 phylink_get_link_timer_ns(phy_interface_t interface) argument
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-robotfuzz-osif.c31 struct usb_interface *interface; member in struct:osif_priv
128 static int osif_probe(struct usb_interface *interface, argument
135 priv = devm_kzalloc(&interface->dev, sizeof(*priv), GFP_KERNEL);
139 priv->usb_dev = usb_get_dev(interface_to_usbdev(interface));
140 priv->interface = interface;
142 usb_set_intfdata(interface, priv);
159 dev_err(&interface->dev, "failure sending bit rate");
167 dev_info(&interface->dev,
175 static void osif_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/drivers/staging/wlan-ng/
H A Dprism2usb.c59 static int prism2sta_probe_usb(struct usb_interface *interface, argument
64 struct usb_host_interface *iface_desc = interface->cur_altsetting;
73 dev = interface_to_usbdev(interface);
76 dev_err(&interface->dev, "Memory allocation failure.\n");
82 if (wlan_setup(wlandev, &interface->dev) != 0) {
83 dev_err(&interface->dev, "wlan_setup() failed.\n");
97 SET_NETDEV_DEV(wlandev->netdev, &interface->dev);
106 dev_err(&interface->dev,
121 dev_err(&interface->dev, "register_wlandev() failed.\n");
138 usb_set_intfdata(interface, wlande
142 prism2sta_disconnect_usb(struct usb_interface *interface) argument
226 prism2sta_suspend(struct usb_interface *interface, pm_message_t message) argument
249 prism2sta_resume(struct usb_interface *interface) argument
[all...]
/linux-master/drivers/usb/
H A Dusb-skeleton.c49 struct usb_interface *interface; /* the interface for this device */ member in struct:usb_skel
77 usb_put_intf(dev->interface);
86 struct usb_interface *interface; local
92 interface = usb_find_interface(&skel_driver, subminor);
93 if (!interface) {
100 dev = usb_get_intfdata(interface);
106 retval = usb_autopm_get_interface(interface);
129 usb_autopm_put_interface(dev->interface);
173 dev_err(&dev->interface
488 skel_probe(struct usb_interface *interface, const struct usb_device_id *id) argument
561 skel_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c64 static void __bnx2fc_destroy(struct bnx2fc_interface *interface);
69 /* fcoe_syfs control interface handlers */
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; local
193 struct bnx2fc_hba *hba = interface->hba;
270 struct bnx2fc_interface *interface; local
282 interface
428 struct bnx2fc_interface *interface; local
517 struct bnx2fc_interface *interface; local
681 struct bnx2fc_interface *interface = port->priv; local
731 struct bnx2fc_interface *interface = port->priv; local
764 struct bnx2fc_interface *interface = port->priv; local
796 struct bnx2fc_interface *interface; local
865 struct bnx2fc_interface *interface, *tmp; local
1053 struct bnx2fc_interface *interface; local
1122 struct bnx2fc_interface *interface = port->priv; local
1188 struct bnx2fc_interface *interface = port->priv; local
1228 bnx2fc_interface_setup(struct bnx2fc_interface *interface) argument
1303 struct bnx2fc_interface *interface; local
1324 bnx2fc_interface_get(struct bnx2fc_interface *interface) argument
1329 bnx2fc_interface_put(struct bnx2fc_interface *interface) argument
1435 struct bnx2fc_interface *interface; local
1483 bnx2fc_if_create(struct bnx2fc_interface *interface, struct device *parent, int npiv) argument
1586 bnx2fc_net_cleanup(struct bnx2fc_interface *interface) argument
1594 bnx2fc_interface_cleanup(struct bnx2fc_interface *interface) argument
1635 __bnx2fc_destroy(struct bnx2fc_interface *interface) argument
1659 struct bnx2fc_interface *interface = NULL; local
1825 struct bnx2fc_interface *interface; local
1857 bnx2fc_stop(struct bnx2fc_interface *interface) argument
1958 struct bnx2fc_interface *interface; local
1984 bnx2fc_start_disc(struct bnx2fc_interface *interface) argument
2074 struct bnx2fc_interface *interface = fcoe_ctlr_priv(ctlr); local
2094 struct bnx2fc_interface *interface; local
2169 struct bnx2fc_interface *interface = fcoe_ctlr_priv(ctlr); local
2222 struct bnx2fc_interface *interface; local
2294 struct bnx2fc_interface *interface; local
2484 struct bnx2fc_interface *interface; local
2516 struct bnx2fc_interface *interface, *tmp; local
2906 struct bnx2fc_interface *interface = port->priv; local
2919 struct bnx2fc_interface *interface = port->priv; local
[all...]

Completed in 260 milliseconds

1234567891011>>