Searched defs:iface (Results 1 - 25 of 70) sorted by relevance

123

/drivers/usb/wusbcore/
H A Dwa-hc.c36 int wa_create(struct wahc *wa, struct usb_interface *iface) argument
39 struct device *dev = &iface->dev;
45 wa->dti_epd = &iface->cur_altsetting->endpoint[1].desc;
46 wa->dto_epd = &iface->cur_altsetting->endpoint[2].desc;
51 result = wa_nep_create(wa, iface);
H A Dwa-nep.c261 int wa_nep_create(struct wahc *wa, struct usb_interface *iface) argument
265 struct usb_device *usb_dev = interface_to_usbdev(iface);
266 struct device *dev = &iface->dev;
269 epd = &iface->cur_altsetting->endpoint[0].desc;
/drivers/of/
H A Dof_mdio.c136 * @iface: PHY data interface type
143 phy_interface_t iface)
150 return phy_connect_direct(dev, phy, hndlr, flags, iface) ? NULL : phy;
158 * @iface: PHY data interface type
166 phy_interface_t iface)
187 phy = phy_connect(dev, bus_id, hndlr, 0, iface);
140 of_phy_connect(struct net_device *dev, struct device_node *phy_np, void (*hndlr)(struct net_device *), u32 flags, phy_interface_t iface) argument
164 of_phy_connect_fixed_link(struct net_device *dev, void (*hndlr)(struct net_device *), phy_interface_t iface) argument
/drivers/net/wireless/hostap/
H A Dhostap_80211_tx.c62 struct hostap_interface *iface; local
75 iface = netdev_priv(dev);
76 local = iface->local;
179 else if (iface->type == HOSTAP_INTERFACE_WDS)
180 memcpy(&hdr.addr1, iface->u.wds.remote_addr,
216 iface->stats.tx_dropped++;
222 iface->stats.tx_dropped++;
230 iface->stats.tx_dropped++;
236 iface->stats.tx_dropped++;
248 iface
271 struct hostap_interface *iface; local
317 struct hostap_interface *iface; local
384 struct hostap_interface *iface; local
[all...]
H A Dhostap_proc.c110 struct hostap_interface *iface; local
119 iface = list_entry(ptr, struct hostap_interface, list);
120 if (iface->type != HOSTAP_INTERFACE_WDS)
123 iface->dev->name,
124 iface->u.wds.remote_addr);
H A Dhostap_cs.c49 struct hostap_interface *iface; local
53 iface = netdev_priv(dev);
54 local = iface->local;
63 struct hostap_interface *iface; local
68 iface = netdev_priv(dev);
69 local = iface->local;
79 struct hostap_interface *iface; local
83 iface = netdev_priv(dev);
84 local = iface->local;
93 struct hostap_interface *iface; local
110 struct hostap_interface *iface; local
125 struct hostap_interface *iface; local
263 struct hostap_interface *iface = netdev_priv(dev); local
459 struct hostap_interface *iface; local
480 struct hostap_interface *iface; local
563 struct hostap_interface *iface; local
578 struct hostap_interface *iface = NULL; local
601 struct hostap_interface *iface = NULL; local
[all...]
H A Dhostap_download.c6 struct hostap_interface *iface; local
9 iface = netdev_priv(dev);
10 local = iface->local;
H A Dhostap_pci.c58 struct hostap_interface *iface; local
63 iface = netdev_priv(dev);
64 local = iface->local;
75 struct hostap_interface *iface; local
81 iface = netdev_priv(dev);
82 local = iface->local;
94 struct hostap_interface *iface; local
99 iface = netdev_priv(dev);
100 local = iface->local;
111 struct hostap_interface *iface; local
139 struct hostap_interface *iface; local
148 struct hostap_interface *iface; local
157 struct hostap_interface *iface; local
166 struct hostap_interface *iface; local
299 struct hostap_interface *iface; local
380 struct hostap_interface *iface; local
[all...]
H A Dhostap_80211_rx.c65 struct hostap_interface *iface; local
72 iface = netdev_priv(dev);
73 local = iface->local;
536 struct hostap_interface *iface = NULL; local
541 iface = list_entry(ptr, struct hostap_interface, list);
542 if (iface->type == HOSTAP_INTERFACE_WDS &&
543 memcmp(iface->u.wds.remote_addr, addr, ETH_ALEN) == 0)
545 iface = NULL;
549 return iface ? iface
720 struct hostap_interface *iface; local
[all...]
H A Dhostap_plx.c111 struct hostap_interface *iface; local
115 iface = netdev_priv(dev);
116 local = iface->local;
126 struct hostap_interface *iface; local
131 iface = netdev_priv(dev);
132 local = iface->local;
143 struct hostap_interface *iface; local
147 iface = netdev_priv(dev);
148 local = iface->local;
158 struct hostap_interface *iface; local
176 struct hostap_interface *iface; local
192 struct hostap_interface *iface; local
443 struct hostap_interface *iface; local
588 struct hostap_interface *iface; local
[all...]
/drivers/uwb/i1480/dfu/
H A Dusb.c63 int i1480_usb_create(struct i1480_usb *i1480_usb, struct usb_interface *iface) argument
65 struct usb_device *usb_dev = interface_to_usbdev(iface);
69 i1480_usb->usb_iface = usb_get_intf(iface);
70 usb_set_intfdata(iface, i1480_usb); /* Bind the driver to iface0 */
77 usb_set_intfdata(iface, NULL);
78 usb_put_intf(iface);
342 int i1480_usb_probe(struct usb_interface *iface, const struct usb_device_id *id) argument
346 struct device *dev = &iface->dev;
350 if (iface->cur_altsetting->desc.bInterfaceNumber != 0) {
351 dev_dbg(dev, "not attaching to iface
[all...]
/drivers/hid/usbhid/
H A Dusbkbd.c274 static int usb_kbd_probe(struct usb_interface *iface, argument
277 struct usb_device *dev = interface_to_usbdev(iface);
285 interface = iface->cur_altsetting;
330 input_dev->dev.parent = &iface->dev;
370 usb_set_intfdata(iface, kbd);
/drivers/i2c/busses/
H A Di2c-bfin-twi.c58 static inline u16 read_##reg(struct bfin_twi_iface *iface) \
59 { return bfin_read16(iface->regs_base + (off)); } \
60 static inline void write_##reg(struct bfin_twi_iface *iface, u16 v) \
61 { bfin_write16(iface->regs_base + (off), v); }
85 static void bfin_twi_handle_interrupt(struct bfin_twi_iface *iface, argument
88 unsigned short mast_stat = read_MASTER_STAT(iface);
92 if (iface->writeNum > 0) {
94 write_XMT_DATA8(iface, *(iface->transPtr++));
95 iface
270 struct bfin_twi_iface *iface = dev_id; local
294 struct bfin_twi_iface *iface = adap->algo_data; local
395 struct bfin_twi_iface *iface = adap->algo_data; local
616 struct bfin_twi_iface *iface = platform_get_drvdata(pdev); local
631 struct bfin_twi_iface *iface = platform_get_drvdata(pdev); local
651 struct bfin_twi_iface *iface; local
757 struct bfin_twi_iface *iface = platform_get_drvdata(pdev); local
[all...]
H A Di2c-s6000.c65 static inline u16 i2c_rd16(struct s6i2c_if *iface, unsigned n) argument
67 return readw(iface->reg + (n));
70 static inline void i2c_wr16(struct s6i2c_if *iface, unsigned n, u16 v) argument
72 writew(v, iface->reg + (n));
75 static inline u32 i2c_rd32(struct s6i2c_if *iface, unsigned n) argument
77 return readl(iface->reg + (n));
80 static inline void i2c_wr32(struct s6i2c_if *iface, unsigned n, u32 v) argument
82 writel(v, iface->reg + (n));
87 static void s6i2c_handle_interrupt(struct s6i2c_if *iface) argument
89 if (i2c_rd16(iface, S6_I2C_INTRSTA
147 struct s6i2c_if *iface = dev_id; local
171 struct s6i2c_if *iface = (struct s6i2c_if *)data; local
189 struct s6i2c_if *iface = adap->algo_data; local
251 nanoseconds_on_clk(struct s6i2c_if *iface, u32 ns) argument
261 struct s6i2c_if *iface = &s6i2c_if; local
366 struct s6i2c_if *iface = platform_get_drvdata(pdev); local
[all...]
H A Dscx200_acb.c92 #define ACBSDA (iface->base + 0)
93 #define ACBST (iface->base + 1)
99 #define ACBCST (iface->base + 2)
101 #define ACBCTL1 (iface->base + 3)
107 #define ACBADDR (iface->base + 4)
108 #define ACBCTL2 (iface->base + 5)
113 static void scx200_acb_machine(struct scx200_acb_iface *iface, u8 status) argument
117 dev_dbg(&iface->adapter.dev, "state %s, status = 0x%02x\n",
118 scx200_acb_state_name[iface->state], status);
129 dev_dbg(&iface
229 scx200_acb_poll(struct scx200_acb_iface *iface) argument
259 scx200_acb_reset(struct scx200_acb_iface *iface) argument
285 struct scx200_acb_iface *iface = i2c_get_adapdata(adapter); local
392 scx200_acb_probe(struct scx200_acb_iface *iface) argument
431 struct scx200_acb_iface *iface; local
453 scx200_acb_create(struct scx200_acb_iface *iface) argument
487 struct scx200_acb_iface *iface; local
515 struct scx200_acb_iface *iface; local
535 scx200_cleanup_iface(struct scx200_acb_iface *iface) argument
544 struct scx200_acb_iface *iface; local
601 struct scx200_acb_iface *iface; local
[all...]
/drivers/media/video/tlg2300/
H A Dpd-main.c151 struct usb_interface *iface; local
156 iface = pd->interface;
159 rc = usb_lock_device_for_reset(udev, iface);
/drivers/net/wimax/i2400m/
H A Dusb.c448 * @iface: USB interface to link to
460 int i2400mu_probe(struct usb_interface *iface, argument
465 struct device *dev = &iface->dev;
468 struct usb_device *usb_dev = interface_to_usbdev(iface);
487 i2400mu->usb_iface = iface;
488 usb_set_intfdata(iface, i2400mu);
534 iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */
555 usb_set_intfdata(iface, NULL);
571 void i2400mu_disconnect(struct usb_interface *iface) argument
573 struct i2400mu *i2400mu = usb_get_intfdata(iface);
628 i2400mu_suspend(struct usb_interface *iface, pm_message_t pm_msg) argument
688 i2400mu_resume(struct usb_interface *iface) argument
713 i2400mu_reset_resume(struct usb_interface *iface) argument
736 i2400mu_pre_reset(struct usb_interface *iface) argument
751 i2400mu_post_reset(struct usb_interface *iface) argument
[all...]
/drivers/staging/keucr/
H A Dusb.c38 static int eucr_suspend(struct usb_interface *iface, pm_message_t message) argument
40 struct us_data *us = usb_get_intfdata(iface);
59 static int eucr_resume(struct usb_interface *iface) argument
63 struct us_data *us = usb_get_intfdata(iface);
83 static int eucr_reset_resume(struct usb_interface *iface) argument
86 struct us_data *us = usb_get_intfdata(iface);
114 static int eucr_pre_reset(struct usb_interface *iface) argument
116 struct us_data *us = usb_get_intfdata(iface);
126 static int eucr_post_reset(struct usb_interface *iface) argument
128 struct us_data *us = usb_get_intfdata(iface);
[all...]
/drivers/staging/rts5139/
H A Drts51x.c129 int rts51x_suspend(struct usb_interface *iface, pm_message_t message) argument
131 struct rts51x_chip *chip = usb_get_intfdata(iface);
157 int rts51x_resume(struct usb_interface *iface) argument
159 struct rts51x_chip *chip = usb_get_intfdata(iface);
185 int rts51x_reset_resume(struct usb_interface *iface) argument
187 struct rts51x_chip *chip = usb_get_intfdata(iface);
225 int rts51x_pre_reset(struct usb_interface *iface) argument
227 struct rts51x_chip *chip = usb_get_intfdata(iface);
236 int rts51x_post_reset(struct usb_interface *iface) argument
238 struct rts51x_chip *chip = usb_get_intfdata(iface);
[all...]
/drivers/usb/misc/
H A Dappledisplay.c203 static int appledisplay_probe(struct usb_interface *iface, argument
208 struct usb_device *udev = interface_to_usbdev(iface);
217 iface_desc = iface->cur_altsetting;
227 dev_err(&iface->dev, "Could not find int-in endpoint\n");
235 dev_err(&iface->dev, "Out of memory\n");
248 dev_err(&iface->dev,
257 dev_err(&iface->dev, "Allocating URB failed\n");
266 dev_err(&iface->dev, "Allocating URB buffer failed\n");
277 dev_err(&iface->dev, "Submitting URB failed\n");
290 dev_err(&iface
333 appledisplay_disconnect(struct usb_interface *iface) argument
[all...]
/drivers/acpi/
H A Dacpi_ipmi.c107 static void ipmi_register_bmc(int iface, struct device *dev);
108 static void ipmi_bmc_gone(int iface);
279 static void ipmi_register_bmc(int iface, struct device *dev) argument
288 err = ipmi_get_smi_info(iface, &smi_data);
319 err = ipmi_create_user(iface, &driver_data.ipmi_hndlrs,
328 ipmi_device->ipmi_ifnum = iface;
339 static void ipmi_bmc_gone(int iface) argument
346 if (ipmi_device->ipmi_ifnum != iface)
/drivers/input/misc/
H A Dkeyspan_remote.c421 static struct usb_endpoint_descriptor *keyspan_get_in_endpoint(struct usb_host_interface *iface) argument
427 for (i = 0; i < iface->desc.bNumEndpoints; ++i) {
428 endpoint = &iface->endpoint[i].desc;
/drivers/input/mouse/
H A Dsynaptics_usb.c225 synusb_get_in_endpoint(struct usb_host_interface *iface) argument
231 for (i = 0; i < iface->desc.bNumEndpoints; ++i) {
232 endpoint = &iface->endpoint[i].desc;
/drivers/usb/core/
H A Dusb.c557 * @iface: interface bound to the driver making the request (optional)
560 * NOTATTACHED or SUSPENDED, or if iface is specified and the interface
569 const struct usb_interface *iface)
577 if (iface && (iface->condition == USB_INTERFACE_UNBINDING ||
578 iface->condition == USB_INTERFACE_UNBOUND))
593 if (iface && (iface->condition == USB_INTERFACE_UNBINDING ||
594 iface->condition == USB_INTERFACE_UNBOUND))
568 usb_lock_device_for_reset(struct usb_device *udev, const struct usb_interface *iface) argument
/drivers/usb/host/
H A Dhwa-hc.c677 static int hwahc_create(struct hwahc *hwahc, struct usb_interface *iface) argument
680 struct device *dev = &iface->dev;
683 struct usb_device *usb_dev = interface_to_usbdev(iface);
686 wa->usb_iface = usb_get_intf(iface);
688 wusbhc->uwb_rc = uwb_rc_get_by_grandpa(iface->dev.parent);
725 result = wa_create(&hwahc->wa, iface);
738 usb_put_intf(iface);

Completed in 513 milliseconds

123