Home
last modified time | relevance | path

Searched refs:chnl (Results 1 – 8 of 8) sorted by relevance

/openbsd/sys/dev/ic/
H A Datwreg.h934 #define ATW_SR_TXPOWER(chnl) (0x54/2 + ((chnl) - 1)/2) argument
936 #define ATW_SR_LPF_CUTOFF(chnl) (0x62/2 + ((chnl) - 1)/2) argument
938 #define ATW_SR_LNA_GS_THRESH(chnl) (0x70/2 + ((chnl) - 1)/2) argument
/openbsd/sys/dev/pci/
H A Dif_iwmreg.h1361 if (chnl < 20) in IWM_SCD_QUEUE_WRPTR()
1362 return IWM_SCD_BASE + 0x18 + chnl * 4; in IWM_SCD_QUEUE_WRPTR()
1363 return IWM_SCD_BASE + 0x284 + (chnl - 20) * 4; in IWM_SCD_QUEUE_WRPTR()
1368 if (chnl < 20) in IWM_SCD_QUEUE_RDPTR()
1369 return IWM_SCD_BASE + 0x68 + chnl * 4; in IWM_SCD_QUEUE_RDPTR()
1370 return IWM_SCD_BASE + 0x2B4 + chnl * 4; in IWM_SCD_QUEUE_RDPTR()
1375 if (chnl < 20) in IWM_SCD_QUEUE_STATUS_BITS()
1376 return IWM_SCD_BASE + 0x10c + chnl * 4; in IWM_SCD_QUEUE_STATUS_BITS()
1377 return IWM_SCD_BASE + 0x334 + chnl * 4; in IWM_SCD_QUEUE_STATUS_BITS()
1441 if (chnl < 16) in IWM_FH_MEM_CBBC_QUEUE()
[all …]
H A Dif_wpi.c3088 int chnl, ntries, error; in wpi_hw_init() local
3157 for (chnl = 0; chnl < WPI_NDMACHNLS; chnl++) { in wpi_hw_init()
3158 WPI_WRITE(sc, WPI_FH_CBBC_CTRL(chnl), 0); in wpi_hw_init()
3159 WPI_WRITE(sc, WPI_FH_CBBC_BASE(chnl), 0); in wpi_hw_init()
3160 WPI_WRITE(sc, WPI_FH_TX_CONFIG(chnl), 0x80200008); in wpi_hw_init()
3195 int chnl, qid, ntries; in wpi_hw_stop() local
3214 for (chnl = 0; chnl < WPI_NDMACHNLS; chnl++) { in wpi_hw_stop()
3215 WPI_WRITE(sc, WPI_FH_TX_CONFIG(chnl), 0); in wpi_hw_stop()
3218 if ((tmp & WPI_FH_TX_STATUS_IDLE(chnl)) == in wpi_hw_stop()
3219 WPI_FH_TX_STATUS_IDLE(chnl)) in wpi_hw_stop()
H A Dif_iwn.c7006 int error, chnl, qid; in iwn_hw_init() local
7067 for (chnl = 0; chnl < sc->ndmachnls; chnl++) { in iwn_hw_init()
7068 IWN_WRITE(sc, IWN_FH_TX_CONFIG(chnl), in iwn_hw_init()
7109 int chnl, qid, ntries; in iwn_hw_stop() local
7127 for (chnl = 0; chnl < sc->ndmachnls; chnl++) { in iwn_hw_stop()
7128 IWN_WRITE(sc, IWN_FH_TX_CONFIG(chnl), 0); in iwn_hw_stop()
7131 IWN_FH_TX_STATUS_IDLE(chnl)) in iwn_hw_stop()
H A Dif_iwnreg.h299 #define IWN_FH_TX_STATUS_IDLE(chnl) (1 << ((chnl) + 16)) argument
H A Dif_iwm.c2068 int chnl, ntries; in iwm_stop_device() local
2079 for (chnl = 0; chnl < IWM_FH_TCSR_CHNL_NUM; chnl++) { in iwm_stop_device()
2081 IWM_FH_TCSR_CHNL_TX_CONFIG_REG(chnl), 0); in iwm_stop_device()
2087 chnl)) in iwm_stop_device()
2500 int err, chnl; in iwm_post_alive() local
2541 for (chnl = 0; chnl < IWM_FH_TCSR_CHNL_NUM; chnl++) { in iwm_post_alive()
2542 IWM_WRITE(sc, IWM_FH_TCSR_CHNL_TX_CONFIG_REG(chnl), in iwm_post_alive()
/openbsd/sys/dev/ata/
H A Dwd.c578 struct channel_softc *chnl; in wdrestart() local
583 chnl = (struct channel_softc *)(wd->drvp->chnl_softc); in wdrestart()
584 if (chnl->dying) in wdrestart()
613 struct channel_softc *chnl; in wdopen() local
623 chnl = (struct channel_softc *)(wd->drvp->chnl_softc); in wdopen()
624 if (chnl->dying) in wdopen()
/openbsd/sys/dev/acpi/
H A Dacpi.c124 int64_t chnl; member
1900 dev->dv_xname, b,d,f, ide->chnl); in acpiide_notify()
1904 &wsc->pciide_channels[ide->chnl].wdc_channel, 0); in acpiide_notify()
1907 &wsc->pciide_channels[ide->chnl].wdc_channel); in acpiide_notify()
1940 &ide->chnl); in acpi_foundide()
1945 &ide->chnl); in acpi_foundide()
1950 aml_nodename(node), ide->addr, ide->chnl); in acpi_foundide()