Searched refs:isp1301 (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/usb/phy/
H A Dphy-isp1301.c17 #include <linux/usb/isp1301.h>
19 #define DRV_NAME "isp1301"
21 struct isp1301 { struct
28 #define phy_to_isp(p) (container_of((p), struct isp1301, phy))
31 { "isp1301", 0 },
38 static int __isp1301_write(struct isp1301 *isp, u8 reg, u8 value, u8 clear) __isp1301_write()
43 static int isp1301_write(struct isp1301 *isp, u8 reg, u8 value) isp1301_write()
48 static int isp1301_clear(struct isp1301 *isp, u8 reg, u8 value) isp1301_clear()
55 struct isp1301 *isp = phy_to_isp(phy); isp1301_phy_init()
82 struct isp1301 *isp = phy_to_isp(phy); isp1301_phy_set_vbus()
95 struct isp1301 *isp; isp1301_probe()
122 struct isp1301 *isp = i2c_get_clientdata(client); isp1301_remove()
H A Dphy-isp1301-omap.c52 struct isp1301 { struct
111 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA) enable_vbus_draw()
120 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA) enable_vbus_draw()
130 static void enable_vbus_source(struct isp1301 *isp) enable_vbus_source()
139 static inline void notresponding(struct isp1301 *isp) notresponding()
152 isp1301_get_u8(struct isp1301 *isp, u8 reg) isp1301_get_u8()
158 isp1301_get_u16(struct isp1301 *isp, u8 reg) isp1301_get_u16()
164 isp1301_set_bits(struct isp1301 *isp, u8 reg, u8 bits) isp1301_set_bits()
170 isp1301_clear_bits(struct isp1301 *isp, u8 reg, u8 bits) isp1301_clear_bits()
235 static inline const char *state_name(struct isp1301 *isp) state_name()
250 static void power_down(struct isp1301 *isp) power_down()
261 static void power_up(struct isp1301 *isp) power_up()
274 static int host_suspend(struct isp1301 *isp) host_suspend()
292 static int host_resume(struct isp1301 *isp) host_resume()
307 static int gadget_suspend(struct isp1301 *isp) gadget_suspend()
324 static void isp1301_defer_work(struct isp1301 *isp, int work) isp1301_defer_work()
338 static void a_idle(struct isp1301 *isp, const char *tag) a_idle()
362 static void b_idle(struct isp1301 *isp, const char *tag) b_idle()
386 dump_regs(struct isp1301 *isp, const char *label) dump_regs()
405 * We translate isp1301 outputs (mostly voltage comparator status) into
407 * flags into isp1301 inputs ... and infer state transitions.
412 static void check_state(struct isp1301 *isp, const char *tag) check_state()
486 static inline void check_state(struct isp1301 *isp, const char *tag) { } check_state()
491 static void update_otg1(struct isp1301 *isp, u8 int_src) update_otg1()
526 static void update_otg2(struct isp1301 *isp, u8 otg_status) update_otg2()
541 static void otg_update_isp(struct isp1301 *isp) otg_update_isp()
650 dump_regs(isp, "otg->isp1301"); otg_update_isp()
658 struct isp1301 *isp = _isp; omap_otg_irq()
823 static int isp1301_otg_init(struct isp1301 *isp) isp1301_otg_init()
885 static int otg_bind(struct isp1301 *isp) otg_bind()
907 static void otg_unbind(struct isp1301 *isp) otg_unbind()
922 static void b_peripheral(struct isp1301 *isp) b_peripheral()
945 static void isp_update_otg(struct isp1301 *isp, u8 stat) isp_update_otg()
1078 /* update the OTG controller state to match the isp1301; may isp_update_otg()
1079 * trigger OPRT_CHG irqs for changes going to the isp1301. isp_update_otg()
1086 dump_regs(isp, "isp1301->otg"); isp_update_otg()
1091 static u8 isp1301_clear_latch(struct isp1301 *isp) isp1301_clear_latch()
1101 struct isp1301 *isp = container_of(work, struct isp1301, work); isp1301_work()
1110 /* transfer state from otg engine to isp1301 */ isp1301_work()
1116 /* transfer state from isp1301 to otg engine */ isp1301_work()
1195 struct isp1301 *isp; isp1301_release()
1208 static struct isp1301 *the_transceiver;
1212 struct isp1301 *isp; isp1301_remove()
1245 * As a rule, you won't have an isp1301 chip unless it's there to
1253 static int isp1301_otg_enable(struct isp1301 *isp) isp1301_otg_enable()
1277 struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); isp1301_set_host()
1333 struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); isp1301_set_peripheral()
1413 struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); isp1301_start_srp()
1440 struct isp1301 *isp = container_of(otg->usb_phy, struct isp1301, phy); isp1301_start_hnp()
1494 struct isp1301 *isp; isp1301_probe()
1525 dev_dbg(&i2c->dev, "not isp1301, %d\n", status); isp1301_probe()
1568 if (gpio_request(2, "isp1301") == 0) isp1301_probe()
/linux-4.4.14/drivers/usb/host/
H A Dohci-nxp.c29 #include <linux/usb/isp1301.h>
/linux-4.4.14/arch/arm/mach-omap1/
H A Dboard-h2.c346 /* usb1 has a Mini-AB port and external isp1301 transceiver */
H A Dboard-h3.c366 /* usb1 has a Mini-AB port and external isp1301 transceiver */
H A Dboard-innovator.c312 /* usb1 has a Mini-AB port and external isp1301 transceiver */
/linux-4.4.14/drivers/usb/gadget/udc/
H A Domap_udc.c1776 /* FIXME tell isp1301 to suspend/resume (?) */ devstate_irq()
3011 * may involve talking to an external transceiver (e.g. isp1301).
H A Dlpc32xx_udc.c52 #include <linux/usb/isp1301.h>

Completed in 180 milliseconds