Searched refs:chan (Results 251 - 275 of 346) sorted by last modified time

<<11121314

/freebsd-11-stable/sys/dev/uart/
H A Duart_cpu_sparc64.c245 if ((di->bas.chan = uart_cpu_channel(dev)) == 0)
247 addr += uart_getrange(class) * (di->bas.chan - 1);
250 if ((di->bas.chan = uart_cpu_channel(dev)) == 0) {
257 di->bas.chan = 1;
263 addr += range - range * (di->bas.chan - 1);
269 di->bas.chan = 0;
272 di->bas.chan = 0;
H A Duart_cpu_x86.c90 di->bas.chan = 0;
H A Duart_dev_quicc.c95 quicc_write4(bas, QUICC_REG_BRG(bas->chan - 1),
120 quicc_write2(bas, QUICC_REG_SCC_PSMR(bas->chan - 1), psmr);
138 quicc_write2(bas, QUICC_REG_SCC_SCCE(bas->chan - 1), ~0);
139 quicc_write2(bas, QUICC_REG_SCC_SCCM(bas->chan - 1), 0x0027);
187 unit = bas->chan - 1;
200 rb = quicc_read2(bas, QUICC_PRAM_SCC_RBASE(bas->chan - 1));
213 rb = quicc_read2(bas, QUICC_PRAM_SCC_RBASE(bas->chan - 1));
302 rb = quicc_read2(bas, QUICC_PRAM_SCC_RBASE(bas->chan - 1));
360 brg = quicc_read4(bas, QUICC_REG_BRG(bas->chan - 1)) & 0x1fff;
384 scce = quicc_read2(bas, QUICC_REG_SCC_SCCE(bas->chan
[all...]
H A Duart_dev_sab82532.c220 switch (bas->chan) {
276 switch (bas->chan) {
472 switch (bas->chan) {
600 ch = sc->sc_bas.chan - 1 + 'A';
684 switch (bas->chan) {
H A Duart_dev_z8530.c166 switch (bas->chan) {
435 switch (bas->chan) {
523 ch = sc->sc_bas.chan - 1 + 'A';
/freebsd-11-stable/sys/dev/mn/
H A Dif_mn.c170 static void mn_create_channel(struct mn_softc *sc, int chan);
210 int chan; member in struct:schan
455 u_int32_t ts, chan; local
473 chan = ffs(ts) - 1;
475 chan = 1;
476 if (!sc->ch[chan])
477 mn_create_channel(sc, chan);
478 else if (sc->ch[chan]->state == UP)
480 sc->ch[chan]->ts = ts;
481 sc->ch[chan]
586 int chan, pitch, len; local
662 int i, nts, chan; local
757 int chan, i; local
814 mn_create_channel(struct mn_softc *sc, int chan) argument
1072 u_int32_t chan; local
1109 u_int32_t chan, err; local
[all...]
/freebsd-11-stable/sys/dev/iwi/
H A Dif_iwireg.h308 uint8_t chan; member in struct:iwi_frame
421 uint8_t chan; member in struct:iwi_txpower::__anon10526
425 } __packed chan[37]; member in struct:iwi_txpower
430 uint8_t chan; /* channel # */ member in struct:iwi_associate
/freebsd-11-stable/sys/dev/ce/
H A Dceddk.c374 ce_chan_t *c = b->chan + req->Io.ChannelNumber;
441 b->chan[0].config = TAU32_ais_on_loss;
444 b->chan[0].config |= TAU32_LineNormal;
445 b->chan[0].lloop = 0;
446 b->chan[0].rloop = 0;
450 b->chan[0].config |= (b->ddk.Interfaces == 2 ? TAU32_framed_cas_cross :
452 b->chan[0].unfram = 0;
453 b->chan[0].scrambler = 0;
454 b->chan[0].use16 = 0;
455 b->chan[
[all...]
H A Dceddk.h150 ce_chan_t chan[NCHAN]; member in struct:_ce_board_t
/freebsd-11-stable/sys/dev/cp/
H A Dcpddk.h239 cp_chan_t chan[NCHAN]; /* channel structures */ member in struct:_cp_board_t
/freebsd-11-stable/sys/dev/cx/
H A Dcsigma.c62 int cx_univ_mode = M_HDLC; /* univ. chan. mode: async or sync */
63 int cx_sync_mode = M_HDLC; /* sync. chan. mode: HDLC, Bisync or X.21 */
64 int cx_iftype = 0; /* univ. chan. interface: upper/lower */
486 b->chan[0].oscfreq = b->chan[1].oscfreq =
487 b->chan[2].oscfreq = b->chan[3].oscfreq =
488 b->chan[4].oscfreq = b->chan[5].oscfreq =
489 b->chan[
[all...]
H A Dcxddk.h370 cx_chan_t chan[NCHAN]; /* channel structures */ member in struct:_cx_board_t
/freebsd-11-stable/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.c327 unsigned int chan, device, lun = 0; local
336 for(chan = 0; chan <= AGTIAPI_MAX_CHANNEL_NUM; chan++) {
341 lh = MAP_TABLE_ENTRY(pCard, chan, device, lun);
345 i += careful_write(buf, i, PAGE_SIZE, " %u:%u:%u: %x %8x %8x %16lx %16lx %08x:%08x %1x\n", chan, device, lun, p->dekTable, p->dekIndex, p->kekIndex, p->lbaMin, p->lbaMax, p->keyTag[1], p->keyTag[0], p->keyTagCheck);
477 bit32 chan, device, lun; local
483 chan = dek_map->channel;
494 if (chan > AGTIAPI_MAX_CHANNEL_NUM) {
495 printf("%s: Bad channel %d.\n", __FUNCTION__, chan);
696 int chan, device, lun; local
[all...]
/freebsd-11-stable/sys/dev/bwi/
H A Dbwiphy.c440 u_int chan; local
454 chan = rf->rf_curchan;
455 if (chan == IEEE80211_CHAN_ANY)
456 chan = 6; /* Force to channel 6 */
457 bwi_rf_set_chan(mac, chan, 0);
H A Dbwirf.c80 #define BWI_RF_2GHZ_CHAN(chan) \
81 (ieee80211_ieee2mhz((chan), IEEE80211_CHAN_2GHZ) - 2400)
340 bwi_rf_set_chan(struct bwi_mac *mac, u_int chan, int work_around) argument
344 if (chan == IEEE80211_CHAN_ANY)
347 MOBJ_WRITE_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_CHAN, chan);
352 bwi_rf_work_around(mac, chan);
354 CSR_WRITE_2(sc, BWI_RF_CHAN, BWI_RF_2GHZ_CHAN(chan));
356 if (chan == 14) {
367 mac->mac_rf.rf_curchan = chan;
566 bwi_rf_work_around(struct bwi_mac *mac, u_int chan) argument
[all...]
/freebsd-11-stable/sys/dev/mwl/
H A Dmwlhal.c841 cvtChannelFlags(const MWL_HAL_CHANNEL *chan) argument
849 w = (chan->channelFlags.FreqBand == MWL_FREQ_BAND_2DOT4GHZ) ?
851 switch (chan->channelFlags.ChnlWidth) {
863 switch (chan->channelFlags.ExtChnlOffset) {
1068 int chan = c->channel, i; local
1071 i = chan - 1;
1084 chan -= 4;
1089 if (ci->channels[i].ieee == chan)
1352 mwl_hal_setchannel(struct mwl_hal *mh0, const MWL_HAL_CHANNEL *chan) argument
1361 pCmd->CurrentChannel = chan
2053 ieee2mhz(int chan) argument
[all...]
/freebsd-11-stable/sys/dev/ipw/
H A Dif_ipwreg.h290 uint8_t chan; member in struct:ipw_node
/freebsd-11-stable/sys/dev/isp/
H A Disp_ioctl.h115 chan : 6, member in struct:isp_fc_device
167 uint16_t chan; member in struct:isp_fc_tsk_mgmt
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwnreg.h606 uint8_t chan; member in struct:iwn_rxon
916 uint16_t chan; member in struct:iwn_scan_chan
983 uint8_t chan; member in struct:iwn4965_cmd_txpower
1233 uint8_t chan; member in struct:iwn_spectrum_cmd::__anon10557
1243 } __packed chan[10]; member in struct:iwn_spectrum_cmd
1430 uint16_t chan; member in struct:iwn_rx_stat
1497 uint8_t chan; member in struct:iwn_start_scan
1508 uint8_t chan; member in struct:iwn_stop_scan
1523 uint8_t chan; member in struct:iwn_spectrum_notif
1890 uint8_t chan; member in struct:iwn_eeprom_enhinfo
1978 uint8_t chan[IWN_MAX_CHAN_PER_BAND]; member in struct:iwn_chan_band
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dhdspe.h158 struct sc_chinfo chan[HDSPE_MAX_CHANS]; member in struct:sc_pcminfo
H A Dt4dwave.c313 int bank, chan;
316 chan = ch->index & 0x1f;
317 return tr_rd(tr, bank? TR_REG_ADDRINTB : TR_REG_ADDRINTA, 4) & (1 << chan);
325 int bank, chan; local
328 chan = ch->index & 0x1f;
329 tr_wr(tr, bank? TR_REG_ADDRINTB : TR_REG_ADDRINTA, 1 << chan, 4);
337 int bank, chan; local
341 chan = ch->index & 0x1f;
345 i &= ~(1 << chan);
346 i |= (enable? 1 : 0) << chan;
371 int bank, chan; local
382 int bank, chan; local
[all...]
H A Denvy24.c176 struct sc_chinfo chan[11]; member in struct:sc_info
1588 ch = &sc->chan[num];
1862 if (sc->chan[i].dir == ch->dir &&
1863 sc->chan[i].run == 1 &&
1864 sc->chan[i].blk < sc->blk[slot])
1865 sc->blk[slot] = sc->chan[i].blk;
2030 if (hwch > ENVY24_CHAN_PLAY_SPDIF || sc->chan[ch].run)
2092 ch = &sc->chan[i];
2095 device_printf(sc->dev, "envy24_intr(): chan[%d].blk = %d\n", i, ch->blk);
2115 ch = &sc->chan[
[all...]
H A Denvy24ht.c175 struct sc_chinfo chan[11]; member in struct:sc_info
1499 ch = &sc->chan[num];
1772 if (sc->chan[i].dir == ch->dir &&
1773 sc->chan[i].run == 1 &&
1774 sc->chan[i].blk < sc->blk[slot])
1775 sc->blk[slot] = sc->chan[i].blk;
1944 if (hwch > ENVY24HT_CHAN_PLAY_SPDIF || sc->chan[ch].run)
2006 ch = &sc->chan[i];
2009 device_printf(sc->dev, "envy24ht_intr(): chan[%d].blk = %d\n", i, ch->blk);
2029 ch = &sc->chan[
[all...]
H A Dhdspe-pcm.c152 ch = &scp->chan[i];
204 ch = &scp->chan[j];
321 ch = &scp->chan[num];
624 ch = &scp->chan[i];
/freebsd-11-stable/sys/dev/bwn/
H A Dif_bwn_phy_g.c530 channel = phy->chan;
807 uint8_t old = phy->chan;
997 old_channel = phy->chan;
1386 bwn_spu_workaround(mac, phy->chan);
1478 old_channel = phy->chan;
2503 sval.old_channel = phy->chan;
2869 bwn_spu_workaround(mac, phy->chan);

Completed in 239 milliseconds

<<11121314