Home
last modified time | relevance | path

Searched refs:esc (Results 1 – 25 of 236) sorted by relevance

12345678910

/freebsd-11-stable/sys/dev/esp/
HDesp_pci.c208 struct esp_pci_softc *esc; in esp_pci_attach() local
212 esc = device_get_softc(dev); in esp_pci_attach()
213 sc = &esc->sc_ncr53c9x; in esp_pci_attach()
217 esc->sc_dev = dev; in esp_pci_attach()
222 error = bus_alloc_resources(dev, esp_pci_res_spec, esc->sc_res); in esp_pci_attach()
225 bus_release_resources(dev, esp_pci_res_spec, esc->sc_res); in esp_pci_attach()
232 BUS_SPACE_MAXSIZE_32BIT, 0, NULL, NULL, &esc->sc_pdmat); in esp_pci_attach()
285 error = bus_dma_tag_create(esc->sc_pdmat, PAGE_SIZE, 0, in esp_pci_attach()
288 busdma_lock_mutex, &sc->sc_lock, &esc->sc_xferdmat); in esp_pci_attach()
293 error = bus_dmamap_create(esc->sc_xferdmat, 0, &esc->sc_xferdmam); in esp_pci_attach()
[all …]
HDesp_sbus.c164 static int espattach(struct esp_softc *esc,
166 static int espdetach(struct esp_softc *esc);
200 struct esp_softc *esc; in esp_sbus_attach() local
206 esc = device_get_softc(dev); in esp_sbus_attach()
207 sc = &esc->sc_ncr53c9x; in esp_sbus_attach()
210 esc->sc_dev = dev; in esp_sbus_attach()
224 esc->sc_dma = lsc; in esp_sbus_attach()
275 if ((esc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in esp_sbus_attach()
299 esc->sc_dma = (struct lsi64854_softc *) in esp_sbus_attach()
305 if (esc->sc_dma == NULL) { in esp_sbus_attach()
[all …]
/freebsd-11-stable/sys/arm/samsung/exynos/
HDexynos5_xhci.c153 dwc3_init(struct exynos_xhci_softc *esc) in dwc3_init() argument
159 rev = READ4(esc, GSNPSID); in dwc3_init()
166 WRITE4(esc, GCTL, GCTL_CORESOFTRESET); in dwc3_init()
167 WRITE4(esc, GUSB3PIPECTL(0), GUSB3PIPECTL_PHYSOFTRST); in dwc3_init()
168 WRITE4(esc, GUSB2PHYCFG(0), GUSB2PHYCFG_PHYSOFTRST); in dwc3_init()
172 reg = READ4(esc, GUSB3PIPECTL(0)); in dwc3_init()
174 WRITE4(esc, GUSB3PIPECTL(0), reg); in dwc3_init()
176 reg = READ4(esc, GUSB2PHYCFG(0)); in dwc3_init()
178 WRITE4(esc, GUSB2PHYCFG(0), reg); in dwc3_init()
180 reg = READ4(esc, GCTL); in dwc3_init()
[all …]
HDexynos5_ehci.c155 gpio_ctrl(struct exynos_ehci_softc *esc, int dir, int power) in gpio_ctrl() argument
162 device_printf(esc->dev, "cant find gpio_dev\n"); in gpio_ctrl()
180 reset_hsic_hub(struct exynos_ehci_softc *esc, phandle_t hub) in reset_hsic_hub() argument
191 device_printf(esc->dev, in reset_hsic_hub()
199 device_printf(esc->dev, "Cant find gpio device\n"); in reset_hsic_hub()
211 phy_init(struct exynos_ehci_softc *esc) in phy_init() argument
216 gpio_ctrl(esc, GPIO_INPUT, 1); in phy_init()
219 bus_space_write_4(esc->sysreg_bst, esc->sysreg_bsh, in phy_init()
225 reg = bus_space_read_4(esc->host_bst, esc->host_bsh, 0x0); in phy_init()
235 bus_space_write_4(esc->host_bst, esc->host_bsh, 0x0, reg); in phy_init()
[all …]
/freebsd-11-stable/sys/arm/nvidia/
HDtegra_ehci.c115 ehci_softc_t *esc; in tegra_ehci_detach() local
119 esc = &sc->ehci_softc; in tegra_ehci_detach()
122 if (esc->sc_bus.bdev != NULL) in tegra_ehci_detach()
123 device_delete_child(dev, esc->sc_bus.bdev); in tegra_ehci_detach()
124 if (esc->sc_flags & EHCI_SCFLG_DONEINIT) in tegra_ehci_detach()
125 ehci_detach(esc); in tegra_ehci_detach()
126 if (esc->sc_intr_hdl != NULL) in tegra_ehci_detach()
127 bus_teardown_intr(dev, esc->sc_irq_res, in tegra_ehci_detach()
128 esc->sc_intr_hdl); in tegra_ehci_detach()
136 usb_bus_mem_free_all(&esc->sc_bus, &ehci_iterate_hw_softc); in tegra_ehci_detach()
[all …]
/freebsd-11-stable/sys/arm/freescale/vybrid/
HDvf_ehci.c202 phy_init(struct vybrid_ehci_softc *esc) in phy_init() argument
208 reg = PHY_READ4(esc, USBPHY_CTRL); in phy_init()
210 PHY_WRITE4(esc, USBPHY_CTRL, reg); in phy_init()
216 PHY_WRITE4(esc, USBPHY_CTRL, reg); in phy_init()
219 PHY_WRITE4(esc, USBPHY_CTRL_SET, reg); in phy_init()
224 device_printf(esc->dev, "Error: failed to get the GPIO dev\n"); in phy_init()
233 PHY_WRITE4(esc, USBPHY_PWD, 0x00); in phy_init()
236 reg = PHY_READ4(esc, USBPHY_DEBUG); in phy_init()
238 PHY_WRITE4(esc, USBPHY_DEBUG, reg); in phy_init()
242 PHY_READ4(esc, USBPHY_CTRL)); in phy_init()
[all …]
/freebsd-11-stable/sys/dev/usb/controller/
HDehci_imx.c312 ehci_softc_t *esc; in imx_ehci_detach() local
317 esc = &sc->ehci_softc; in imx_ehci_detach()
323 if (esc->sc_flags & EHCI_SCFLG_DONEINIT) in imx_ehci_detach()
324 ehci_detach(esc); in imx_ehci_detach()
325 if (esc->sc_intr_hdl != NULL) in imx_ehci_detach()
326 bus_teardown_intr(dev, esc->sc_irq_res, in imx_ehci_detach()
327 esc->sc_intr_hdl); in imx_ehci_detach()
335 usb_bus_mem_free_all(&esc->sc_bus, &ehci_iterate_hw_softc); in imx_ehci_detach()
374 ehci_softc_t *esc; in imx_ehci_attach() local
379 esc = &sc->ehci_softc; in imx_ehci_attach()
[all …]
/freebsd-11-stable/lib/libutil/
HDfparseln.c50 isescaped(const char *sp, const char *p, int esc) in isescaped() argument
61 if (esc == '\0') in isescaped()
65 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) in isescaped()
87 char esc, con, nl, com; in fparseln() local
100 esc = str[0]; in fparseln()
120 if (*cp == com && !isescaped(ptr, cp, esc)) { in fparseln()
137 if (*cp == con && !isescaped(ptr, cp, esc)) { in fparseln()
163 if ((flags & FPARSELN_UNESCALL) != 0 && esc && buf != NULL && in fparseln()
164 strchr(buf, esc) != NULL) { in fparseln()
169 while (cp[0] != '\0' && cp[0] != esc) in fparseln()
[all …]
/freebsd-11-stable/contrib/blacklist/port/
HDfparseln.c59 isescaped(const char *sp, const char *p, int esc) in isescaped() argument
65 if (esc == '\0') in isescaped()
69 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) in isescaped()
91 char esc, con, nl, com; in fparseln() local
100 esc = str[0]; in fparseln()
122 if (*cp == com && !isescaped(ptr, cp, esc)) { in fparseln()
139 if (*cp == con && !isescaped(ptr, cp, esc)) { in fparseln()
168 if ((flags & FPARSELN_UNESCALL) != 0 && esc && buf != NULL && in fparseln()
169 strchr(buf, esc) != NULL) { in fparseln()
174 while (cp[0] != '\0' && cp[0] != esc) in fparseln()
[all …]
/freebsd-11-stable/share/vt/keymaps/
HDjp.pc98.kbd6 000 esc esc esc esc esc esc debug esc O
9 003 '3' '#' esc esc '3' '#' esc esc O
32 026 '@' '~' nul nul '[' '{' esc esc O
33 027 '[' '{' esc esc ']' '}' gs gs O
59 053 esc esc esc esc esc esc esc esc O
HDjp.pc98.iso.kbd6 000 esc esc esc esc esc esc debug esc O
9 003 '3' '#' esc esc '3' '#' esc esc O
32 026 '[' '{' esc esc '@' '~' nul nul O
33 027 ']' '}' gs gs '[' '{' esc esc O
59 053 esc esc esc esc esc esc esc esc O
HDjp.kbd7 001 esc esc esc esc esc esc debug esc O
33 027 '[' '{' esc esc '[' '{' esc esc O
47 041 esc esc esc esc esc esc debug esc O
HDjp.capsctrl.kbd9 001 esc esc esc esc esc esc debug esc O
35 027 '[' '{' esc esc '[' '{' esc esc O
49 041 esc esc esc esc esc esc debug esc O
HDch.kbd10 001 esc esc esc esc esc esc debug esc O
18 009 '8' '(' esc esc 0xde 0xde esc esc O
35 026 0xfc 0xe8 esc esc '[' 0xdc esc esc C
HDch-fr.kbd10 001 esc esc esc esc esc esc debug esc O
18 009 '8' '(' esc esc 0xa2 0xa2 esc esc O
35 026 0xe8 0xfc esc esc '[' 0xdc esc esc C
HDlatinamerican.kbd7 001 esc esc esc esc esc esc debug esc O
14 008 '7' '/' esc esc '7' '/' esc esc O
32 026 ''' '|' esc esc ''' '|' esc esc C
/freebsd-11-stable/share/syscons/keymaps/
HDjp.pc98.kbd6 000 esc esc esc esc esc esc debug esc O
9 003 '3' '#' esc esc '3' '#' esc esc O
32 026 '@' '~' nul nul '[' '{' esc esc O
33 027 '[' '{' esc esc ']' '}' gs gs O
59 053 esc esc esc esc esc esc esc esc O
HDjp.pc98.iso.kbd6 000 esc esc esc esc esc esc debug esc O
9 003 '3' '#' esc esc '3' '#' esc esc O
32 026 '[' '{' esc esc '@' '~' nul nul O
33 027 ']' '}' gs gs '[' '{' esc esc O
59 053 esc esc esc esc esc esc esc esc O
HDjp.106.kbd7 001 esc esc esc esc esc esc debug esc O
33 027 '[' '{' esc esc '[' '{' esc esc O
47 041 esc esc esc esc esc esc debug esc O
HDjp.106x.kbd9 001 esc esc esc esc esc esc debug esc O
35 027 '[' '{' esc esc '[' '{' esc esc O
49 041 esc esc esc esc esc esc debug esc O
HDswissgerman.iso.kbd10 001 esc esc esc esc esc esc debug esc O
18 009 '8' '(' esc esc 222 222 esc esc O
35 026 252 232 esc esc '[' 220 esc esc C
HDswissgerman.cp850.kbd11 001 esc esc esc esc esc esc debug esc O
19 009 '8' '(' esc esc 155 155 esc esc O
36 026 129 154 esc esc '[' 138 esc esc C
HDswissfrench.iso.kbd10 001 esc esc esc esc esc esc debug esc O
18 009 '8' '(' esc esc 222 222 esc esc O
35 026 232 252 esc esc '[' 220 esc esc C
HDlatinamerican.kbd7 001 esc esc esc esc esc esc debug esc O
14 008 '7' '/' esc esc '7' '/' esc esc O
32 026 ''' '|' esc esc ''' '|' esc esc C
HDswissgerman.iso.acc.kbd10 001 esc esc esc esc esc esc debug esc O
18 009 '8' '(' esc esc 222 222 esc esc O
35 026 252 232 esc esc '[' 220 esc esc C

12345678910