/freebsd/sys/dev/pst/ |
H A D | pst-raid.c | 67 struct pst_softc *psc; /* pointer to softc */ member 90 struct pst_softc *psc; in pst_add_raid() local 95 if (!(psc = malloc(sizeof(struct pst_softc), in pst_add_raid() 100 psc->iop = sc; in pst_add_raid() 101 psc->lct = lct; in pst_add_raid() 102 device_set_softc(child, psc); in pst_add_raid() 116 struct pst_softc *psc = device_get_softc(dev); in pst_attach() local 122 if (!(reply = iop_get_util_params(psc->iop, psc->lct->local_tid, in pst_attach() 127 if (!(psc in pst_attach() 182 struct pst_softc *psc = device_get_softc(dev); pst_shutdown_post_sync() local 208 struct pst_softc *psc = bp->bio_disk->d_drv1; pststrategy() local 217 pst_start(struct pst_softc * psc) pst_start() argument 255 struct pst_softc *psc = request->psc; pst_done() local [all...] |
/freebsd/sys/contrib/device-tree/src/powerpc/ |
H A D | pdm360ng.dts | 136 psc@11000 { 137 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 140 psc@11100 { 141 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 144 psc@11200 { 145 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 148 psc@11300 { 149 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 152 psc@11400 { 153 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; [all …]
|
H A D | cm5200.dts | 26 psc@2000 { // PSC1 27 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 30 psc@2200 { // PSC2 31 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 34 psc@2400 { // PSC3 35 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 38 psc@2600 { // PSC4 42 psc@2800 { // PSC5 46 psc@2c00 { // PSC6 47 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
|
H A D | o2d.dtsi | 32 psc@2000 { // PSC1 33 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; 39 psc@2200 { // PSC2 43 psc@2400 { // PSC3 47 psc@2600 { // PSC4 48 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 51 psc@2800 { // PSC5 52 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 55 psc@2c00 { // PSC6
|
H A D | a4m072.dts | 42 psc@2000 { 43 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 48 psc@2200 { 49 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 54 psc@2400 { 55 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 60 psc@2600 { 64 psc@2800 { 68 psc@2c00 { 69 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
|
H A D | pcm030.dts | 26 audioplatform: psc@2000 { /* PSC1 in ac97 mode */ 27 compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97"; 32 psc@2200 { 36 psc@2400 { /* PSC3 in UART mode */ 37 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 41 psc@2600 { 46 psc@2800 { 50 psc@2c00 { /* PSC6 in UART mode */ 51 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
|
H A D | motionpro.dts | 31 psc@2000 { // PSC1 32 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 36 psc@2200 { // PSC2 37 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; 41 psc@2400 { // PSC3 45 psc@2600 { // PSC4 49 psc@2800 { // PSC5 50 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 53 psc@2c00 { // PSC6
|
H A D | uc101.dts | 46 psc@2000 { // PSC1 47 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 50 psc@2200 { // PSC2 51 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 54 psc@2400 { // PSC3 58 psc@2600 { // PSC4 62 psc@2800 { // PSC5 66 psc@2c00 { // PSC6 67 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
|
H A D | lite5200b.dts | 39 psc@2000 { // PSC1 40 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 44 psc@2200 { // PSC2 48 psc@2400 { // PSC3 52 psc@2600 { // PSC4 56 psc@2800 { // PSC5 60 psc@2c00 { // PSC6 66 // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; 72 // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible 78 // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
|
H A D | mpc5121.dtsi | 346 /* 512x PSCs are not 52xx PSC compatible */ 349 psc@11000 { 350 compatible = "fsl,mpc5121-psc"; 361 psc@11100 { 362 compatible = "fsl,mpc5121-psc"; 373 psc@11200 { 374 compatible = "fsl,mpc5121-psc"; 385 psc@11300 { 386 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; [all...] |
H A D | pcm032.dts | 28 psc@2000 { /* PSC1 is ac97 */ 29 compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97"; 34 psc@2200 { 38 psc@2400 { /* PSC3 in UART mode */ 39 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 43 psc@2600 { 48 psc@2800 { 52 psc@2c00 { /* PSC6 in UART mode */ 53 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
|
H A D | a3m071.dts | 39 psc@2000 { 40 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 45 psc@2200 { 49 psc@2400 { 53 psc@2600 { 57 psc@2800 { 61 psc@2c00 { // PSC6 62 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
|
H A D | mpc5200b.dtsi | 182 psc1: psc@2000 { // PSC1 183 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 188 psc2: psc@2200 { // PSC2 189 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 194 psc3: psc@2400 { // PSC3 195 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 200 psc4: psc@2600 { // PSC4 201 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; 206 psc5: psc@2800 { // PSC5 207 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc"; [all …]
|
H A D | digsy_mtc.dts | 28 psc@2000 { // PSC1 32 psc@2200 { // PSC2 36 psc@2400 { // PSC3 40 psc@2600 { // PSC4 41 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 44 psc@2800 { // PSC5 45 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 48 psc@2c00 { // PSC6
|
H A D | mucmc52.dts | 49 psc@2000 { // PSC1 50 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 53 psc@2200 { // PSC2 54 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 57 psc@2400 { // PSC3 61 psc@2600 { // PSC4 65 psc@2800 { // PSC5 69 psc@2c00 { // PSC6 70 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
|
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/ |
H A D | mpc5121-psc.txt | 1 MPC5121 PSC Device Tree Bindings 3 PSC in UART mode 6 For PSC in UART mode the needed PSC serial devices 7 are specified by fsl,mpc5121-psc-uart nodes in the 8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO 9 Controller node fsl,mpc5121-psc-fifo is required there: 11 fsl,mpc512x-psc-uart nodes 15 - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc" 17 - reg : Offset and length of the register set for the PSC device 19 PSC FIFO Controller and b is a field that represents an [all …]
|
H A D | mpc5200.txt | 38 end of the compatible field. ie. A PSC in i2s mode would specify 39 "fsl,mpc5200-psc-i2s", not "fsl,mpc5200-i2s". This convention is chosen to 40 avoid naming conflicts with non-psc devices providing the same 41 function. For example, "fsl,mpc5200-spi" and "fsl,mpc5200-psc-spi" describe 42 the mpc5200 simple spi device and a PSC spi mode respectively. 90 serial@<addr> fsl,mpc5200-psc-uart PSC in serial mode 91 i2s@<addr> fsl,mpc5200-psc-i2s PSC in i2s mode 92 ac97@<addr> fsl,mpc5200-psc-ac97 PSC in ac97 mode 93 spi@<addr> fsl,mpc5200-psc-spi PSC in spi mode 94 irda@<addr> fsl,mpc5200-psc-irda PSC in IrDA mode [all …]
|
/freebsd/sys/dev/malo/ |
H A D | if_malo_pci.c | 153 struct malo_pci_softc *psc = device_get_softc(dev); in malo_pci_attach() local 154 struct malo_softc *sc = &psc->malo_sc; in malo_pci_attach() 163 psc->malo_mem_spec = malo_res_spec_mem; in malo_pci_attach() 164 error = bus_alloc_resources(dev, psc->malo_mem_spec, psc->malo_res_mem); in malo_pci_attach() 182 psc->malo_irq_spec = malo_res_spec_legacy; in malo_pci_attach() 188 psc->malo_irq_spec = malo_res_spec_msi; in malo_pci_attach() 189 psc->malo_msi = 1; in malo_pci_attach() 195 error = bus_alloc_resources(dev, psc->malo_irq_spec, psc->malo_res_irq); in malo_pci_attach() 201 if (psc->malo_msi == 0) in malo_pci_attach() 202 error = bus_setup_intr(dev, psc->malo_res_irq[0], in malo_pci_attach() [all …]
|
/freebsd/sys/kern/ |
H A D | tty_pts.c | 115 struct pts_softc *psc = tty_softc(tp); in ptsdev_read() local 130 if (psc->pts_flags & PTS_PKT && psc->pts_pkt) { in ptsdev_read() 131 pkt = psc->pts_pkt; in ptsdev_read() 132 psc->pts_pkt = 0; in ptsdev_read() 148 if (psc->pts_flags & PTS_PKT) { in ptsdev_read() 166 if (psc->pts_flags & PTS_FINISHED) in ptsdev_read() 174 error = cv_wait_sig(&psc->pts_outwait, tp->t_mtx); in ptsdev_read() 189 struct pts_softc *psc = tty_softc(tp); in ptsdev_write() local 223 if (psc->pts_flags & PTS_FINISHED) { in ptsdev_write() 236 error = cv_wait_sig(&psc->pts_inwait, tp->t_mtx); in ptsdev_write() [all …]
|
/freebsd/sys/dev/ral/ |
H A D | if_ral_pci.c | 199 struct ral_pci_softc *psc = device_get_softc(dev); in ral_pci_attach() local 200 struct rt2560_softc *sc = &psc->u.sc_rt2560; in ral_pci_attach() 207 psc->sc_opns = &ral_rt2560_opns; in ral_pci_attach() 212 psc->sc_opns = &ral_rt2661_opns; in ral_pci_attach() 215 psc->sc_opns = &ral_rt2860_opns; in ral_pci_attach() 220 psc->mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ral_pci_attach() 222 if (psc->mem == NULL) { in ral_pci_attach() 227 sc->sc_st = rman_get_bustag(psc->mem); in ral_pci_attach() 228 sc->sc_sh = rman_get_bushandle(psc->mem); in ral_pci_attach() 237 psc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE | in ral_pci_attach() [all …]
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwl_pci.c | 126 struct mwl_pci_softc *psc = device_get_softc(dev); in mwl_pci_attach() local 127 struct mwl_softc *sc = &psc->sc_sc; in mwl_pci_attach() 138 psc->sc_sr0 = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in mwl_pci_attach() 140 if (psc->sc_sr0 == NULL) { in mwl_pci_attach() 145 psc->sc_sr1 = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in mwl_pci_attach() 147 if (psc->sc_sr1 == NULL) { in mwl_pci_attach() 157 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, in mwl_pci_attach() 159 if (psc->sc_irq == NULL) { in mwl_pci_attach() 163 if (bus_setup_intr(dev, psc->sc_irq, in mwl_pci_attach() 165 NULL, mwl_intr, sc, &psc->sc_ih)) { in mwl_pci_attach() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/keystone/ |
H A D | keystone-k2hk-clocks.dtsi | 55 compatible = "ti,keystone,psc-clock"; 65 compatible = "ti,keystone,psc-clock"; 75 compatible = "ti,keystone,psc-clock"; 85 compatible = "ti,keystone,psc-clock"; 95 compatible = "ti,keystone,psc-clock"; 105 compatible = "ti,keystone,psc-clock"; 115 compatible = "ti,keystone,psc-clock"; 125 compatible = "ti,keystone,psc-clock"; 135 compatible = "ti,keystone,psc-clock"; 145 compatible = "ti,keystone,psc-clock"; [all …]
|
H A D | keystone-k2l-clocks.dtsi | 46 compatible = "ti,keystone,psc-clock"; 56 compatible = "ti,keystone,psc-clock"; 66 compatible = "ti,keystone,psc-clock"; 76 compatible = "ti,keystone,psc-clock"; 86 compatible = "ti,keystone,psc-clock"; 96 compatible = "ti,keystone,psc-clock"; 106 compatible = "ti,keystone,psc-clock"; 116 compatible = "ti,keystone,psc-clock"; 126 compatible = "ti,keystone,psc-clock"; 136 compatible = "ti,keystone,psc-clock"; [all …]
|
H A D | keystone-clocks.dtsi | 162 compatible = "ti,keystone,psc-clock"; 173 compatible = "ti,keystone,psc-clock"; 183 compatible = "ti,keystone,psc-clock"; 194 compatible = "ti,keystone,psc-clock"; 204 compatible = "ti,keystone,psc-clock"; 214 compatible = "ti,keystone,psc-clock"; 224 compatible = "ti,keystone,psc-clock"; 234 compatible = "ti,keystone,psc-clock"; 244 compatible = "ti,keystone,psc-clock"; 254 compatible = "ti,keystone,psc-clock"; [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_pci.c | 164 struct ath_pci_softc *psc = device_get_softc(dev); in ath_pci_attach() local 165 struct ath_softc *sc = &psc->sc_sc; in ath_pci_attach() 195 psc->sc_sr = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ath_pci_attach() 197 if (psc->sc_sr == NULL) { in ath_pci_attach() 201 sc->sc_st = (HAL_BUS_TAG) rman_get_bustag(psc->sc_sr); in ath_pci_attach() 202 sc->sc_sh = (HAL_BUS_HANDLE) rman_get_bushandle(psc->sc_sr); in ath_pci_attach() 219 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, in ath_pci_attach() 221 if (psc->sc_irq == NULL) { in ath_pci_attach() 225 if (bus_setup_intr(dev, psc->sc_irq, in ath_pci_attach() 227 NULL, ath_intr, sc, &psc->sc_ih)) { in ath_pci_attach() [all …]
|