Searched refs:interface (Results 1 - 25 of 330) sorted by relevance

1234567891011>>

/drivers/staging/line6/
H A Dpodhd.h26 extern void line6_podhd_disconnect(struct usb_interface *interface);
27 extern int line6_podhd_init(struct usb_interface *interface,
H A Dpodhd.c80 static void podhd_destruct(struct usb_interface *interface) argument
82 struct usb_line6_podhd *podhd = usb_get_intfdata(interface);
92 static int podhd_try_init(struct usb_interface *interface, argument
98 if ((interface == NULL) || (podhd == NULL))
124 int line6_podhd_init(struct usb_interface *interface, argument
127 int err = podhd_try_init(interface, podhd);
130 podhd_destruct(interface);
138 void line6_podhd_disconnect(struct usb_interface *interface) argument
142 if (interface == NULL)
144 podhd = usb_get_intfdata(interface);
[all...]
H A Dtoneport.h47 extern void line6_toneport_disconnect(struct usb_interface *interface);
48 extern int line6_toneport_init(struct usb_interface *interface,
H A Ddriver.c92 Code to request version of POD, Variax interface
464 "PODxt Live interface %d not supported\n",
691 struct usb_interface *interface = to_usb_interface(dev); local
692 struct usb_line6 *line6 = usb_get_intfdata(interface);
701 static void line6_destruct(struct usb_interface *interface) argument
705 if (interface == NULL)
707 line6 = usb_get_intfdata(interface);
719 usb_set_intfdata(interface, NULL);
721 /* free interface data: */
728 static int line6_probe(struct usb_interface *interface, argument
1132 line6_disconnect(struct usb_interface *interface) argument
1227 line6_suspend(struct usb_interface *interface, pm_message_t message) argument
1249 line6_resume(struct usb_interface *interface) argument
1263 line6_reset_resume(struct usb_interface *interface) argument
[all...]
/drivers/net/xen-netback/
H A DMakefile3 xen-netback-y := netback.o xenbus.o interface.o
/drivers/staging/octeon/
H A Dethernet-rgmii.c81 int interface = INTERFACE(priv->port); local
86 (index, interface));
103 (index, interface));
106 (index, interface),
119 (index, interface),
143 int interface = INTERFACE(priv->port); local
148 cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface));
150 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface),
158 cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, interface));
159 cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, interface),
211 int interface = 0; local
253 int interface = 1; local
298 int interface = INTERFACE(priv->port); local
319 int interface = INTERFACE(priv->port); local
369 int interface = INTERFACE(priv->port); local
407 int interface = INTERFACE(priv->port); local
[all...]
H A Dethernet-spi.c65 pr_err("SPI1: SRX Spi4 interface down\n");
145 pr_err("SPI0: SRX Spi4 interface down\n");
218 static void cvm_oct_spi_enable_error_reporting(int interface) argument
223 spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface));
234 cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64);
236 stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface));
245 cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64);
252 int interface; local
254 for (interface = 0; interface <
313 int interface; local
[all...]
H A Dethernet.c283 int interface = INTERFACE(priv->port); local
303 if ((interface < 2)
304 && (cvmx_helper_interface_get_mode(interface) !=
312 cvmx_write_csr(CVMX_GMXX_RXX_FRM_MAX(index, interface),
323 cvmx_write_csr(CVMX_PIP_FRM_LEN_CHKX(interface),
331 cvmx_write_csr(CVMX_GMXX_RXX_JABBER(index, interface),
345 int interface = INTERFACE(priv->port); local
348 if ((interface < 2)
349 && (cvmx_helper_interface_get_mode(interface) !=
374 cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface));
403 int interface = INTERFACE(priv->port); local
601 int interface; local
[all...]
H A Dethernet-sgmii.c46 int interface = INTERFACE(priv->port); local
50 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface));
52 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64);
67 int interface = INTERFACE(priv->port); local
70 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface));
72 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64);
H A Dethernet-xaui.c46 int interface = INTERFACE(priv->port); local
50 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface));
52 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64);
66 int interface = INTERFACE(priv->port); local
69 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface));
71 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64);
/drivers/staging/usbip/
H A Dstub_dev.c236 ret = usb_lock_device_for_reset(udev, sdev->interface);
269 * @interface: usb_interface of a new device
274 struct usb_interface *interface)
277 int busnum = interface_to_busnum(interface);
278 int devnum = interface_to_devnum(interface);
280 dev_dbg(&interface->dev, "allocating stub device");
285 dev_err(&interface->dev, "no memory for stub_device\n");
289 sdev->interface = usb_get_intf(interface);
318 dev_dbg(&interface
273 stub_device_alloc(struct usb_device *udev, struct usb_interface *interface) argument
344 stub_probe(struct usb_interface *interface, const struct usb_device_id *id) argument
457 stub_disconnect(struct usb_interface *interface) argument
526 stub_pre_reset(struct usb_interface *interface) argument
532 stub_post_reset(struct usb_interface *interface) argument
[all...]
/drivers/usb/misc/
H A Dtrancevibrator.c91 static int tv_probe(struct usb_interface *interface, argument
94 struct usb_device *udev = interface_to_usbdev(interface);
100 dev_err(&interface->dev, "Out of memory\n");
106 usb_set_intfdata(interface, dev);
107 retval = device_create_file(&interface->dev, &dev_attr_speed);
115 usb_set_intfdata(interface, NULL);
121 static void tv_disconnect(struct usb_interface *interface) argument
125 dev = usb_get_intfdata (interface);
126 device_remove_file(&interface->dev, &dev_attr_speed);
127 usb_set_intfdata(interface, NUL
[all...]
H A Dusbled.c142 static int led_probe(struct usb_interface *interface, argument
145 struct usb_device *udev = interface_to_usbdev(interface);
151 dev_err(&interface->dev, "out of memory\n");
158 usb_set_intfdata(interface, dev);
160 retval = device_create_file(&interface->dev, &dev_attr_blue);
163 retval = device_create_file(&interface->dev, &dev_attr_red);
166 retval = device_create_file(&interface->dev, &dev_attr_green);
175 dev_err(&interface->dev, "out of memory\n");
195 dev_info(&interface->dev, "USB LED device now attached\n");
199 device_remove_file(&interface
209 led_disconnect(struct usb_interface *interface) argument
[all...]
H A Dusblcd.c44 struct usb_interface *interface; /* the interface for member in struct:usb_lcd
81 struct usb_interface *interface; local
87 interface = usb_find_interface(&lcd_driver, subminor);
88 if (!interface) {
96 dev = usb_get_intfdata(interface);
108 r = usb_autopm_get_interface(interface);
131 usb_autopm_put_interface(dev->interface);
312 static int lcd_probe(struct usb_interface *interface, argument
332 dev->udev = usb_get_dev(interface_to_usbdev(interface));
424 lcd_disconnect(struct usb_interface *interface) argument
[all...]
H A Didmouse.c75 struct usb_interface *interface; /* the interface for this device */ member in struct:usb_idmouse
95 static int idmouse_probe(struct usb_interface *interface,
98 static void idmouse_disconnect(struct usb_interface *interface);
227 struct usb_interface *interface; local
230 /* get the interface from minor number and driver information */
231 interface = usb_find_interface (&idmouse_driver, iminor (inode));
232 if (!interface)
236 /* get the device information block from the interface */
237 dev = usb_get_intfdata(interface);
335 idmouse_probe(struct usb_interface *interface, const struct usb_device_id *id) argument
400 idmouse_disconnect(struct usb_interface *interface) argument
[all...]
H A Dcypress_cy7c63.c204 static int cypress_probe(struct usb_interface *interface, argument
213 dev_err(&interface->dev, "Out of memory!\n");
217 dev->udev = usb_get_dev(interface_to_usbdev(interface));
219 /* save our data pointer in this interface device */
220 usb_set_intfdata(interface, dev);
223 retval = device_create_file(&interface->dev, &dev_attr_port0);
226 retval = device_create_file(&interface->dev, &dev_attr_port1);
231 dev_info(&interface->dev,
236 device_remove_file(&interface->dev, &dev_attr_port0);
237 device_remove_file(&interface
246 cypress_disconnect(struct usb_interface *interface) argument
[all...]
H A Dcytherm.c40 struct usb_interface *interface; /* the interface for this device */ member in struct:usb_cytherm
46 static int cytherm_probe(struct usb_interface *interface,
48 static void cytherm_disconnect(struct usb_interface *interface);
347 static int cytherm_probe(struct usb_interface *interface, argument
350 struct usb_device *udev = interface_to_usbdev(interface);
356 dev_err (&interface->dev, "Out of memory\n");
362 usb_set_intfdata (interface, dev);
366 retval = device_create_file(&interface->dev, &dev_attr_brightness);
369 retval = device_create_file(&interface
398 cytherm_disconnect(struct usb_interface *interface) argument
[all...]
H A Dyurex.c58 struct usb_interface *interface; member in struct:usb_yurex
187 static int yurex_probe(struct usb_interface *interface, const struct usb_device_id *id) argument
207 dev->udev = usb_get_dev(interface_to_usbdev(interface));
208 dev->interface = interface;
211 iface_desc = interface->cur_altsetting;
292 /* save our data pointer in this interface device */
293 usb_set_intfdata(interface, dev);
296 retval = usb_register_dev(interface, &yurex_class);
299 usb_set_intfdata(interface, NUL
318 yurex_disconnect(struct usb_interface *interface) argument
363 struct usb_interface *interface; local
[all...]
/drivers/hsi/
H A DKconfig8 synchronous serial interface used mainly to connect
/drivers/xen/
H A Dfeatures.c14 #include <xen/interface/xen.h>
15 #include <xen/interface/version.h>
/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c59 static void __bnx2fc_destroy(struct bnx2fc_interface *interface);
66 static void bnx2fc_start_disc(struct bnx2fc_interface *interface);
74 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
81 static inline void bnx2fc_interface_put(struct bnx2fc_interface *interface);
88 static void bnx2fc_stop(struct bnx2fc_interface *interface);
168 struct bnx2fc_interface *interface = port->priv; local
169 struct bnx2fc_hba *hba = interface->hba;
246 struct bnx2fc_interface *interface; local
258 interface = port->priv;
259 hba = interface
405 struct bnx2fc_interface *interface; local
630 struct bnx2fc_interface *interface = port->priv; local
668 struct bnx2fc_interface *interface = port->priv; local
699 struct bnx2fc_interface *interface = port->priv; local
728 struct bnx2fc_interface *interface = port->priv; local
760 struct bnx2fc_interface *interface; local
826 struct bnx2fc_interface *interface, *tmp; local
997 struct bnx2fc_interface *interface; local
1051 struct bnx2fc_interface *interface = port->priv; local
1114 struct bnx2fc_interface *interface = port->priv; local
1154 bnx2fc_interface_setup(struct bnx2fc_interface *interface) argument
1227 struct bnx2fc_interface *interface; local
1245 bnx2fc_interface_get(struct bnx2fc_interface *interface) argument
1250 bnx2fc_interface_put(struct bnx2fc_interface *interface) argument
1332 struct bnx2fc_interface *interface; local
1373 bnx2fc_if_create(struct bnx2fc_interface *interface, struct device *parent, int npiv) argument
1472 bnx2fc_net_cleanup(struct bnx2fc_interface *interface) argument
1480 bnx2fc_interface_cleanup(struct bnx2fc_interface *interface) argument
1520 __bnx2fc_destroy(struct bnx2fc_interface *interface) argument
1544 struct bnx2fc_interface *interface = NULL; local
1648 struct bnx2fc_interface *interface; local
1678 bnx2fc_stop(struct bnx2fc_interface *interface) argument
1779 struct bnx2fc_interface *interface; local
1805 bnx2fc_start_disc(struct bnx2fc_interface *interface) argument
1891 struct bnx2fc_interface *interface; local
1915 struct bnx2fc_interface *interface; local
1947 struct bnx2fc_interface *interface; local
2097 struct bnx2fc_interface *interface; local
2129 struct bnx2fc_interface *interface, *tmp; local
[all...]
/drivers/media/video/usbvision/
H A Dusbvision-cards.c36 .interface = -1,
50 .interface = -1,
66 .interface = -1,
80 .interface = -1,
96 .interface = 0,
112 .interface = -1,
126 .interface = -1,
142 .interface = -1,
156 .interface = -1,
172 .interface
[all...]
/drivers/staging/mei/
H A DMakefile8 mei-objs += interface.o
/drivers/isdn/sc/
H A Dinit.c50 isdn_if *interface; local
270 interface = kzalloc(sizeof(isdn_if), GFP_KERNEL);
271 if (interface == NULL) {
278 interface->owner = THIS_MODULE;
279 interface->hl_hdrlen = 0;
280 interface->channels = channels;
281 interface->maxbufsize = BUFFER_SIZE;
282 interface->features = features;
283 interface->writebuf_skb = sndpkt;
284 interface
[all...]
/drivers/i2c/busses/
H A Di2c-tiny-usb.c22 /* include interface to i2c layer */
139 * Initially the usb i2c interface uses a vid/pid pair donated by
154 struct usb_interface *interface; /* the interface for this device */ member in struct:i2c_tiny_usb
186 static int i2c_tiny_usb_probe(struct usb_interface *interface, argument
193 dev_dbg(&interface->dev, "probing usb device\n");
198 dev_err(&interface->dev, "Out of memory\n");
202 dev->usb_dev = usb_get_dev(interface_to_usbdev(interface));
203 dev->interface = interface;
247 i2c_tiny_usb_disconnect(struct usb_interface *interface) argument
[all...]

Completed in 1465 milliseconds

1234567891011>>