Searched refs:interface (Results 226 - 250 of 536) sorted by relevance

1234567891011>>

/linux-master/drivers/hwmon/
H A Dibmpex.c75 int interface; member in struct:ibmpex_bmc_data
149 "Found BMC with sensor interface v%d.%d %d-%02d-%02d on interface %d\n",
155 data->interface);
253 if (p->interface == iface)
454 data->interface = iface;
457 /* Create IPMI messaging interface user */
458 err = ipmi_create_user(data->interface, &driver_data.ipmi_hndlrs,
462 "Unable to register user with IPMI interface %d\n",
463 data->interface);
[all...]
H A Dibmaem.c92 int interface; member in struct:aem_ipmi_data
269 data->interface = iface;
275 /* Create IPMI messaging interface user */
276 err = ipmi_create_user(data->interface, &driver_data.ipmi_hndlrs,
280 "Unable to register user with IPMI interface %d\n",
281 data->interface);
557 /* Set up IPMI interface */
558 res = aem_init_ipmi_data(&data->ipmi, probe->interface,
567 "Unable to register hwmon device for IPMI interface %d\n",
568 probe->interface);
[all...]
/linux-master/drivers/phy/freescale/
H A Dphy-fsl-lynx-28g.c124 phy_interface_t interface; member in struct:lynx_28g_lane
245 switch (lane->interface) {
275 /* Setup the protocol select and SerDes parallel interface width */
279 /* Switch to the PLL that works with this interface type */
311 /* Setup the protocol select and SerDes parallel interface width */
315 /* Switch to the PLL that works with this interface type */
392 if (lane->interface == PHY_INTERFACE_MODE_NA)
419 lane->interface = submode;
548 lane->interface = PHY_INTERFACE_MODE_SGMII;
551 lane->interface
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dksz9477.c1076 phy_interface_t interface; local
1084 interface = ksz_get_xmii(dev, port, gbit);
1086 return interface;
1209 phy_interface_t interface; local
1217 * interface. If set specifically in device tree
1220 interface = ksz9477_get_interface(dev, i);
1221 if (!p->interface) {
1227 p->interface = dev->compat_interface;
1229 p->interface = interface;
[all...]
/linux-master/drivers/mmc/host/
H A Dvub300.c277 static inline int interface_to_InterfaceNumber(struct usb_interface *interface) argument
279 if (!interface)
281 if (!interface->cur_altsetting)
283 return interface->cur_altsetting->desc.bInterfaceNumber;
298 struct usb_interface *interface; member in struct:vub300_mmc_host
681 if (!vub300->interface) {
712 if (!vub300->interface) {
745 if (!vub300->interface) {
1606 vub300->interface);
1744 if (!vub300->interface) {
2083 vub300_probe(struct usb_interface *interface, const struct usb_device_id *id) argument
2358 vub300_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/drivers/net/dsa/
H A Dmt7530.c416 /* Setup port 6 interface mode and TRGMII TX circuit */
418 mt7530_setup_port6(struct dsa_switch *ds, phy_interface_t interface) argument
426 if (interface == PHY_INTERFACE_MODE_RGMII) {
890 static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface) argument
924 if (phy_interface_mode_is_rgmii(interface)) {
932 (interface == PHY_INTERFACE_MODE_RGMII_TXID ||
933 interface == PHY_INTERFACE_MODE_RGMII_ID))
948 val, p5_intf_modes(priv->p5_intf_sel), phy_modes(interface));
2351 phy_interface_t interface; local
2515 ret = of_get_phy_mode(mac_np, &interface);
2794 mt7530_mac_config(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface) argument
2805 mt7531_rgmii_setup(struct mt7530_priv *priv, u32 port, phy_interface_t interface, struct phy_device *phydev) argument
2846 mt7531_mac_config(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface) argument
2861 mt753x_phylink_mac_select_pcs(struct dsa_switch *ds, int port, phy_interface_t interface) argument
2892 mt753x_phylink_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface) argument
2901 mt753x_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
3005 mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) argument
[all...]
H A Dbcm_sf2.c755 switch (state->interface) {
790 phy_interface_t interface, bool link)
796 if (!phy_interface_mode_is_rgmii(interface) &&
797 interface != PHY_INTERFACE_MODE_MII &&
798 interface != PHY_INTERFACE_MODE_REVMII)
803 /* If the link is down, just disable the interface to conserve power */
814 phy_interface_t interface)
827 bcm_sf2_sw_mac_link_set(ds, port, interface, false);
832 phy_interface_t interface,
842 bcm_sf2_sw_mac_link_set(ds, port, interface, tru
789 bcm_sf2_sw_mac_link_set(struct dsa_switch *ds, int port, phy_interface_t interface, bool link) argument
812 bcm_sf2_sw_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface) argument
830 bcm_sf2_sw_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
[all...]
/linux-master/drivers/usb/serial/
H A Dmxuport.c71 #define RQ_VENDOR_SET_INTERFACE 0x10 /* Set interface */
226 dev_err(&serial->interface->dev,
233 dev_err(&serial->interface->dev,
258 dev_err(&serial->interface->dev,
954 dev_warn(&serial->interface->dev,
1011 dev_dbg(&serial->interface->dev, "Starting firmware download...\n");
1068 dev_dbg(&serial->interface->dev, "Device firmware version v%x.%x.%x\n",
1075 err = request_firmware(&fw_p, buf, &serial->interface->dev);
1077 dev_warn(&serial->interface->dev, "Firmware %s not found\n",
1086 dev_dbg(&serial->interface
[all...]
H A Daircable.c90 /* Ignore the first interface, which has no bulk endpoints. */
92 dev_dbg(&serial->interface->dev,
93 "ignoring interface with no bulk-out endpoints\n");
/linux-master/drivers/gpu/drm/tiny/
H A Dgm12u320.c636 static int gm12u320_usb_probe(struct usb_interface *interface, argument
647 if (interface->cur_altsetting->desc.bInterfaceNumber != 0)
650 gm12u320 = devm_drm_dev_alloc(&interface->dev, &gm12u320_drm_driver,
697 usb_set_intfdata(interface, dev);
711 static void gm12u320_usb_disconnect(struct usb_interface *interface) argument
713 struct drm_device *dev = usb_get_intfdata(interface);
722 static int gm12u320_suspend(struct usb_interface *interface, argument
725 struct drm_device *dev = usb_get_intfdata(interface);
730 static int gm12u320_resume(struct usb_interface *interface) argument
732 struct drm_device *dev = usb_get_intfdata(interface);
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_uvc.c229 unsigned int interface = le16_to_cpu(ctrl->wIndex) & 0xff; local
252 /* check for the interface number, fixup the interface number in
258 if (interface == uvc->streaming_intf)
277 uvc_function_get_alt(struct usb_function *f, unsigned interface) argument
281 uvcg_info(f, "%s(%u)\n", __func__, interface);
283 if (interface == uvc->control_intf)
285 else if (interface != uvc->streaming_intf)
292 uvc_function_set_alt(struct usb_function *f, unsigned interface, unsigned alt) argument
300 uvcg_info(f, "%s(%u, %u)\n", __func__, interface, al
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c85 struct bnx2fc_interface *interface = port->priv; local
86 struct bnx2fc_hba *hba = interface->hba;
294 struct bnx2fc_interface *interface = port->priv; local
295 struct bnx2fc_hba *hba = interface->hba;
356 struct bnx2fc_interface *interface = port->priv; local
357 struct bnx2fc_hba *hba = interface->hba;
444 struct bnx2fc_interface *interface = port->priv; local
445 struct bnx2fc_hba *hba = interface->hba;
581 struct bnx2fc_interface *interface = port->priv; local
582 struct bnx2fc_hba *hba = interface
[all...]
/linux-master/drivers/media/rc/
H A Dimon.c52 static int imon_probe(struct usb_interface *interface,
54 static void imon_disconnect(struct usb_interface *interface);
100 bool dev_present_intf0; /* USB device presence, interface 0 */
101 bool dev_present_intf1; /* USB device presence, interface 1 */
514 struct usb_interface *interface; local
520 interface = usb_find_interface(&imon_driver, subminor);
521 if (!interface) {
522 pr_err("could not find interface for minor %d\n", subminor);
528 ictx = usb_get_intfdata(interface);
2176 dev_dbg(ictx->dev, "%s: device uses control endpoint, not interface OU
2403 imon_probe(struct usb_interface *interface, const struct usb_device_id *id) argument
2498 imon_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/tools/testing/selftests/net/
H A Dtimestamping.c50 printf("timestamping <interface> [bind_phc_index] [option]*\n\n"
241 printf("IP_PKTINFO interface index %u",
321 char *interface; local
340 interface = argv[1];
341 if_len = strlen(interface);
343 printf("interface name exceeds IFNAMSIZ\n");
388 memcpy(device.ifr_name, interface, if_len + 1);
390 bail("getting interface IP address");
393 memcpy(hwtstamp.ifr_name, interface, if_len + 1);
425 if (setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, interface, if_le
[all...]
/linux-master/drivers/usb/usbip/
H A Dstub_rx.c107 __u16 interface; local
112 interface = le16_to_cpu(req->wIndex);
115 interface, alternate);
117 ret = usb_set_interface(urb->dev, interface, alternate);
121 interface, alternate, ret);
125 interface, alternate);
/linux-master/drivers/net/wireless/atmel/
H A Dat76c50x-usb.c2233 struct usb_interface *interface)
2243 interface->cur_altsetting->desc.bNumEndpoints);
2247 iface_desc = interface->cur_altsetting;
2263 dev_err(&interface->dev, "bulk endpoints missing\n");
2273 dev_err(&interface->dev, "cannot allocate URB\n");
2320 struct usb_interface *interface)
2329 at76_dbg(DBG_DEVSTART, "USB interface: %d endpoints",
2330 interface->cur_altsetting->desc.bNumEndpoints);
2332 ret = at76_alloc_urbs(priv, interface);
2339 dev_err(&interface
2232 at76_alloc_urbs(struct at76_priv *priv, struct usb_interface *interface) argument
2319 at76_init_new_device(struct at76_priv *priv, struct usb_interface *interface) argument
2437 at76_probe(struct usb_interface *interface, const struct usb_device_id *id) argument
2548 at76_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-pip.h452 * @interface: Interface to configure (0 or 1)
459 static inline void cvmx_pip_config_crc(uint64_t interface, argument
470 cvmx_write_csr(CVMX_PIP_CRC_CTLX(interface), config.u64);
474 cvmx_write_csr(CVMX_PIP_CRC_IVX(interface), pip_crc_ivx.u64);
/linux-master/include/linux/usb/
H A Dcomposite.h12 * This framework is an optional layer on top of the USB Gadget interface,
79 * struct usb_os_desc - describes OS descriptors associated with one interface
85 * @group: Represents OS descriptors associated with an interface in configfs
100 * interface of a usb_function
103 * interface
105 * Each interface can have at most one "Extended Compatibility ID" and a
118 * @fs_descriptors: Table of full (or low) speed descriptors, using interface and
121 * @hs_descriptors: Table of high speed descriptors, using interface and
124 * @ss_descriptors: Table of super speed descriptors, using interface and
129 * interface an
335 struct usb_function *interface[MAX_CONFIG_INTERFACES]; member in struct:usb_configuration
[all...]
/linux-master/drivers/usb/core/
H A Ddriver.c455 * Terminate all URBs for this interface unless the driver
481 /* Reset other interface state.
521 * usb_driver_claim_interface - bind a driver to an interface
523 * @iface: the interface to which it will be bound; must be in the
525 * @data: driver data associated with that interface
528 * interface on a device when probing (audio and acm are current examples).
551 /* reject claim if interface is not authorized */
573 /* if interface was already added, bind now; else let
599 * usb_driver_release_interface - unbind a driver from an interface
601 * @iface: the interface fro
712 usb_match_one_id(struct usb_interface *interface, const struct usb_device_id *id) argument
805 usb_match_id(struct usb_interface *interface, const struct usb_device_id *id) argument
[all...]
/linux-master/tools/usb/ffs-aio-example/multibuff/host_app/
H A Dtest.c118 printf("cannot claim interface: %s\n",
165 iface = &conf->interface[0].altsetting[0];
/linux-master/tools/usb/ffs-aio-example/simple/host_app/
H A Dtest.c118 printf("cannot claim interface: %s\n",
165 iface = &conf->interface[0].altsetting[0];
/linux-master/drivers/usb/chipidea/
H A Dulpi.c8 #include <linux/ulpi/interface.h>
81 dev_err(ci->dev, "failed to register ULPI interface");
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-cards.c1549 struct usb_interface *interface,
1561 "Video PCB interface #%d doesn't exist\n", idx);
1565 uif = udev->actconfig->interface[idx];
1600 "VBI PCB interface #%d doesn't exist\n", idx);
1603 uif = udev->actconfig->interface[idx];
1644 "Sliced CC PCB interface #%d doesn't exist\n", idx);
1647 uif = udev->actconfig->interface[idx];
1687 static int cx231xx_usb_probe(struct usb_interface *interface, argument
1691 struct device *d = &interface->dev;
1701 ifnum = interface
1547 cx231xx_init_v4l2(struct cx231xx *dev, struct usb_device *udev, struct usb_interface *interface, int isoc_pipe) argument
1928 cx231xx_usb_disconnect(struct usb_interface *interface) argument
[all...]
/linux-master/include/xen/interface/
H A Devent_channel.h13 #include <xen/interface/xen.h>
/linux-master/include/linux/greybus/
H A Dgreybus_manifest.h107 * An interface descriptor describes information about an interface as a whole,
121 * @id: Uniquely identifies a bundle within a interface, its sole purpose is to
137 __u8 id; /* interface-relative id (0..) */
164 struct greybus_descriptor_interface interface; member in union:greybus_descriptor::__anon3460

Completed in 327 milliseconds

1234567891011>>