Searched refs:fsl_writel (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/usb/phy/ |
H A D | phy-fsl-usb.c | 103 #define fsl_writel(v, p) (*_fsl_writel)((v), (p)) macro 107 #define fsl_writel(val, addr) writel(val, addr) macro 115 fsl_writel(temp, &usb_dr_regs->ulpiview); write_ulpi() 137 fsl_writel(tmp, &usb_dr_regs->otgsc); fsl_otg_chrg_vbus() 155 fsl_writel(tmp, &usb_dr_regs->otgsc); fsl_otg_dischrg_vbus() 165 fsl_writel(tmp | PORTSC_PORT_POWER, &usb_dr_regs->portsc); fsl_otg_drv_vbus() 169 fsl_writel(tmp, &usb_dr_regs->portsc); fsl_otg_drv_vbus() 188 fsl_writel(tmp, &usb_dr_regs->otgsc); fsl_otg_loc_conn() 206 fsl_writel(tmp, &fsl_otg_dev->dr_mem_map->portsc); fsl_otg_loc_sof() 219 fsl_writel(tmp, &usb_dr_regs->otgsc); fsl_otg_start_pulse() 457 fsl_writel(command, &usb_dr_regs->usbcmd); otg_reset_controller() 733 fsl_writel(otg_sc, &usb_dr_regs->otgsc); fsl_otg_isr() 906 fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); usb_otg_start() 911 fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); usb_otg_start() 919 fsl_writel(temp, &p_otg->dr_mem_map->usbmode); usb_otg_start() 937 fsl_writel(temp, &p_otg->dr_mem_map->portsc); usb_otg_start() 950 fsl_writel(temp, &p_otg->dr_mem_map->otgsc); usb_otg_start() 971 fsl_writel(temp, &p_otg->dr_mem_map->otgsc); usb_otg_start()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
H A D | fsl_udc_core.c | 85 * must be made at run time. _fsl_readl and fsl_writel are pointers to the 86 * BE or LE readl() and writel() functions, and fsl_readl() and fsl_writel() 118 #define fsl_writel(v, p) (*_fsl_writel)((v), (p)) macro 148 #define fsl_writel(val32, addr) writel(val32, addr) fsl_set_accessors() macro 279 fsl_writel(portctrl, &dr_regs->portsc1); dr_controller_setup() 284 fsl_writel(tmp, &dr_regs->usbcmd); dr_controller_setup() 288 fsl_writel(tmp, &dr_regs->usbcmd); dr_controller_setup() 308 fsl_writel(tmp, &dr_regs->usbmode); dr_controller_setup() 311 fsl_writel(0, &dr_regs->usbsts); dr_controller_setup() 315 fsl_writel(tmp, &dr_regs->endpointlistaddr); dr_controller_setup() 327 fsl_writel(tmp, &dr_regs->endptctrl[ep_num]); dr_controller_setup() 364 fsl_writel(temp, &dr_regs->usbintr); dr_controller_run() 372 fsl_writel(temp, &dr_regs->usbmode); dr_controller_run() 377 fsl_writel(temp, &dr_regs->usbcmd); dr_controller_run() 398 fsl_writel(0, &dr_regs->usbintr); dr_controller_stop() 409 fsl_writel(tmp, &dr_regs->usbcmd); dr_controller_stop() 434 fsl_writel(tmp_epctrl, &dr_regs->endptctrl[ep_num]); dr_ep_setup() 460 fsl_writel(tmp_epctrl, &dr_regs->endptctrl[ep_num]); dr_ep_change_stall() 659 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]); fsl_ep_disable() 722 fsl_writel(ep_is_in(ep) ? (1 << (ep_index(ep) + 16)) fsl_prime_ep() 754 fsl_writel(temp | USB_CMD_ATDTW, &dr_regs->usbcmd); fsl_queue_td() 763 fsl_writel(temp & ~USB_CMD_ATDTW, &dr_regs->usbcmd); fsl_queue_td() 948 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]); fsl_ep_dequeue() 991 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]); fsl_ep_dequeue() 1108 fsl_writel(bits, &dr_regs->endptflush); fsl_ep_fifo_flush() 1167 fsl_writel(portsc, &dr_regs->portsc1); fsl_wakeup() 1188 fsl_writel((fsl_readl(&dr_regs->usbcmd) | USB_CMD_RUN_STOP), fsl_vbus_session() 1191 fsl_writel((fsl_readl(&dr_regs->usbcmd) & ~USB_CMD_RUN_STOP), fsl_vbus_session() 1228 fsl_writel((fsl_readl(&dr_regs->usbcmd) | USB_CMD_RUN_STOP), fsl_pullup() 1231 fsl_writel((fsl_readl(&dr_regs->usbcmd) & ~USB_CMD_RUN_STOP), fsl_pullup() 1261 fsl_writel(tmp, &dr_regs->endptctrl[0]); ep0stall() 1474 fsl_writel(tmp, &dr_regs->portsc1); 1525 fsl_writel(new_address << USB_DEVICE_ADDRESS_BIT_POS, ep0_req_complete() 1565 fsl_writel(temp | (1 << ep_num), &dr_regs->endptsetupstat); tripwire_handler() 1571 fsl_writel(temp | USB_CMD_SUTW, &dr_regs->usbcmd); tripwire_handler() 1588 fsl_writel(temp & ~USB_CMD_SUTW, &dr_regs->usbcmd); tripwire_handler() 1678 fsl_writel(bit_pos, &dr_regs->endptcomplete); dtd_complete_irq() 1800 fsl_writel(temp & ~USB_DEVICE_ADDRESS_MASK, &dr_regs->deviceaddr); reset_irq() 1815 fsl_writel(temp, &dr_regs->endptsetupstat); reset_irq() 1819 fsl_writel(temp, &dr_regs->endptcomplete); reset_irq() 1832 fsl_writel(0xffffffff, &dr_regs->endptflush); reset_irq() 1875 fsl_writel(irq_src, &dr_regs->usbsts); fsl_udc_irq() 2637 fsl_writel(usbcmd, &dr_regs->usbcmd); fsl_udc_otg_suspend()
|
Completed in 117 milliseconds