Searched refs:chan (Results 26 - 50 of 346) sorted by last modified time

1234567891011>>

/freebsd-11-stable/sys/dev/bwn/
H A Dif_bwn.c1796 int chan, error; local
1805 chan = ieee80211_chan2ieee(ic, ic->ic_curchan);
1806 if (chan != phy->chan)
1807 bwn_switch_channel(mac, chan);
3522 mac->mac_phy.chan = mac->mac_phy.get_default_chan(mac);
4339 bwn_switch_channel(struct bwn_mac *mac, int chan) argument
4347 if (chan == 0xffff)
4348 chan = phy->get_default_chan(mac);
4350 channelcookie = chan;
4621 bwn_switch_band(struct bwn_softc *sc, struct ieee80211_channel *chan) argument
[all...]
/freebsd-11-stable/sys/dev/rtwn/
H A Dif_rtwn.c2577 int ridx, chan, group; local
2580 chan = ieee80211_chan2ieee(ic, c); /* XXX center freq! */
2581 if (chan <= 3)
2583 else if (chan <= 9)
2774 u_int chan; local
2777 chan = ieee80211_chan2ieee(ic, c); /* XXX center freq! */
2778 if (chan == 0 || chan == IEEE80211_CHAN_ANY) {
2780 "%s: invalid channel %x\n", __func__, chan);
2789 RW(sc->rf_chnlbw[i], R92C_RF_CHNLBW_CHNL, chan));
[all...]
/freebsd-11-stable/sys/dev/sound/midi/
H A Dmidi.c162 * struct midi_chan *midi_init(MPU_CLASS cls, int unit, int chan,
1330 midisynth_alloc(void *n, uint8_t chan, uint8_t note) argument
1332 return chan;
/freebsd-11-stable/sys/dev/mrsas/
H A Dmrsas.h3279 void *chan; member in struct:mrsas_softc
H A Dmrsas.c3991 sc->chan = (void *)&cmd;
3995 tsleep((void *)&sc->chan, 0, "mrsas_sleep", hz);
4148 sc->chan = (void *)&cmd;
4149 wakeup_one((void *)&sc->chan);
4879 sc->chan = (void *)&cmd;
4882 tsleep((void *)&sc->chan, 0, "mrsas_sleep", hz);
4912 sc->chan = (void *)&cmd;
4913 wakeup_one((void *)&sc->chan);
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn.c2267 printf("chan lo=%d, chan hi=%d\n", band->lo, band->hi);
2386 uint8_t chan; local
2406 "skip chan %d flags 0x%x maxpwr %d\n",
2407 band->chan[i], channels[i].flags,
2412 chan = band->chan[i];
2415 chan, 0, channels[i].maxpwr, nflags, bands);
2421 sc->maxpwr[chan] = channels[i].maxpwr;
2424 "add chan
2438 uint8_t chan; local
2511 int band, chan, i, j; local
5523 uint8_t chan; local
6769 struct iwn_scan_chan *chan; local
[all...]
/freebsd-11-stable/sys/dev/iwi/
H A Dif_iwi.c1167 iwi_setcurchan(struct iwi_softc *sc, int chan) argument
1171 sc->curchan = chan;
1195 ("drop rx frame len=%u chan=%u rssi=%u rssi_dbm=%u\n",
1196 le16toh(frame->len), frame->chan, frame->rssi,
1201 DPRINTFN(5, ("received frame len=%u chan=%u rssi=%u rssi_dbm=%u\n",
1202 le16toh(frame->len), frame->chan, frame->rssi, frame->rssi_dbm));
1204 if (frame->chan != sc->curchan)
1205 iwi_setcurchan(sc, frame->chan);
1389 struct iwi_notif_scan_channel *chan; local
1397 chan
2649 scan_type(const struct ieee80211_scan_state *ss, const struct ieee80211_channel *chan) argument
2685 struct ieee80211_channel *chan; local
[all...]
/freebsd-11-stable/sys/dev/malo/
H A Dif_malo.c1712 "%s: chan %u MHz/flags 0x%x %s slot, (ic_flags 0x%x)\n",
1752 "capinfo 0x%04x chan %d associd 0x%x mode %d rate %d\n",
1865 malo_mapchan(struct malo_hal_channel *hc, const struct ieee80211_channel *chan) argument
1867 hc->channel = chan->ic_ieee;
1870 if (IEEE80211_IS_CHAN_2GHZ(chan))
1881 malo_chan_set(struct malo_softc *sc, struct ieee80211_channel *chan) argument
1886 DPRINTF(sc, MALO_DEBUG_RESET, "%s: chan %u MHz/flags 0x%x\n",
1887 __func__, chan->ic_freq, chan->ic_flags);
1893 malo_mapchan(&hchan, chan);
[all...]
/freebsd-11-stable/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c334 static void hv_storvsc_on_channel_callback(struct vmbus_channel *chan, void *xsc);
570 support_multichannel ? ", multi-chan capable" : "");
/freebsd-11-stable/sys/dev/ath/ath_hal/
H A Dah_internal.h408 HAL_CHANNEL_INTERNAL ah_channels[AH_MAXCHAN]; /* private chan state */
687 const struct ieee80211_channel *chan, u_int twiceGain);
1006 const HAL_CHANNEL_INTERNAL *ichan, const struct ieee80211_channel *chan)
1010 if (! chan) {
1011 ath_hal_printf(ah, "%s: called with chan=NULL!\n", __func__);
1014 return (chan->ic_maxpower);
1022 const struct ieee80211_channel *chan)
1025 if (! chan)
1028 return (chan->ic_maxantgain);
1005 ath_hal_get_twice_max_regpower(struct ath_hal_private *ahp, const HAL_CHANNEL_INTERNAL *ichan, const struct ieee80211_channel *chan) argument
1021 ath_hal_getantennaallowed(struct ath_hal *ah, const struct ieee80211_channel *chan) argument
/freebsd-11-stable/sys/dev/isp/
H A Dispvar.h605 #define SDPARAM(isp, chan) (&((sdparam *)(isp)->isp_param)[(chan)])
606 #define FCPARAM(isp, chan) (&((fcparam *)(isp)->isp_param)[(chan)])
608 #define ISP_SET_SENDMARKER(isp, chan, val) \
610 FCPARAM(isp, chan)->sendmarker = val; \
612 SDPARAM(isp, chan)->sendmarker = val; \
615 #define ISP_TST_SENDMARKER(isp, chan) \
617 FCPARAM(isp, chan)->sendmarker != 0 : \
618 SDPARAM(isp, chan)
[all...]
H A Dispmbox.h915 #define ISP_FCTAPE_ENABLED(isp, chan) \
916 (IS_24XX(isp)? (FCPARAM(isp, chan)->isp_xfwoptions & ICB2400_OPT2_FCTAPE) != 0 : (FCPARAM(isp, chan)->isp_xfwoptions & ICBXOPT_FCTAPE) != 0)
1213 #define ICB2400_VPINFO_PORT_OFF(chan) \
1215 sizeof (isp_icb_2400_vpinfo_t) + ((chan) * ICB2400_VPOPT_WRITE_SIZE))
H A Disp_pci.c478 isp_get_specific_options(device_t dev, int chan, ispsoftc_t *isp) argument
484 if (chan == 0)
487 snprintf(prefix, sizeof(prefix), "chan%d.", chan);
492 ISP_FC_PC(isp, chan)->default_id = 109 - chan;
495 ISP_SPI_PC(isp, chan)->iid = OF_getscsinitid(dev);
497 ISP_SPI_PC(isp, chan)->iid = 7;
502 ISP_FC_PC(isp, chan)->default_id = tval - chan;
[all...]
H A Disp_freebsd.c54 static void isp_loop_changed(ispsoftc_t *isp, int chan);
76 int chan = arg2; local
79 value = FCPARAM(isp, chan)->role;
89 old = FCPARAM(isp, chan)->role;
101 error = isp_control(isp, ISPCTL_CHANGE_ROLE, chan, value);
107 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) argument
123 if (xpt_bus_register(sim, isp->isp_dev, chan) != CAM_SUCCESS) {
147 struct isp_spi *spi = ISP_SPI_PC(isp, chan);
162 fcparam *fcp = FCPARAM(isp, chan);
163 struct isp_fc *fc = ISP_FC_PC(isp, chan);
252 isp_detach_chan(ispsoftc_t *isp, int chan) argument
284 int chan; local
331 int chan; local
349 isp_freeze_loopdown(ispsoftc_t *isp, int chan) argument
369 isp_unfreeze_loopdown(ispsoftc_t *isp, int chan) argument
389 int nr, chan, retval = ENOTTY; local
504 int chan = hba->fc_channel; local
857 isp_get_atpd(ispsoftc_t *isp, int chan, uint32_t tag) argument
875 isp_find_atpd(ispsoftc_t *isp, int chan, uint32_t tag) argument
889 isp_put_atpd(ispsoftc_t *isp, int chan, atio_private_data_t *atp) argument
903 isp_dump_atpd(ispsoftc_t *isp, int chan) argument
918 isp_get_ntpd(ispsoftc_t *isp, int chan) argument
931 isp_find_ntpd(ispsoftc_t *isp, int chan, uint32_t tag_id, uint32_t seq_id) argument
945 isp_put_ntpd(ispsoftc_t *isp, int chan, inot_private_data_t *ntp) argument
1781 uint16_t chan, nphdl = NIL_HANDLE; local
2444 isp_target_mark_aborted_early(ispsoftc_t *isp, int chan, tstate_t *tptr, uint32_t tag_id) argument
2594 isp_make_here(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) argument
2617 isp_make_gone(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) argument
2650 int chan = fc - isp->isp_osinfo.pc.fc; local
2707 isp_loop_changed(ispsoftc_t *isp, int chan) argument
2722 isp_loop_up(ispsoftc_t *isp, int chan) argument
2733 isp_loop_dead(ispsoftc_t *isp, int chan) argument
2815 int chan = fc - isp->isp_osinfo.pc.fc; local
4013 isp_default_wwn(ispsoftc_t * isp, int chan, int isactive, int iswwnn) argument
4165 isp_fc_scratch_acquire(ispsoftc_t *isp, int chan) argument
4231 isp_fcp_reset_crn(ispsoftc_t *isp, int chan, uint32_t tgt, int tgt_set) argument
4256 uint32_t chan, tgt; local
[all...]
H A Disp.c147 isp_change_fw_state(ispsoftc_t *isp, int chan, int state) argument
149 fcparam *fcp = FCPARAM(isp, chan);
154 "Chan %d Firmware state <%s->%s>", chan,
1521 isp_scsi_channel_init(ispsoftc_t *isp, int chan) argument
1527 sdp = SDPARAM(isp, chan);
1533 mbs.param[1] = (chan << 7) | sdp->isp_initiator_id;
1539 chan, sdp->isp_initiator_id);
1576 mbs.param[1] = (chan << 15) | (tgt << 8);
1586 chan, tgt, mbs.param[2], mbs.param[3] >> 8, mbs.param[3] & 0xff);
1591 mbs.param[1] = (tgt << 8) | (chan << 1
1968 int chan; local
2333 isp_fc_enable_vp(ispsoftc_t *isp, int chan) argument
2402 isp_fc_disable_vp(ispsoftc_t *isp, int chan) argument
2464 isp_fc_change_role(ispsoftc_t *isp, int chan, int new_role) argument
2494 isp_clear_portdb(ispsoftc_t *isp, int chan) argument
2522 isp_mark_portdb(ispsoftc_t *isp, int chan) argument
2544 isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags) argument
2759 isp_getpdb(ispsoftc_t *isp, int chan, uint16_t id, isp_pdb_t *pdb) argument
2821 isp_gethandles(ispsoftc_t *isp, int chan, uint16_t *handles, int *num, int loop) argument
2888 isp_dump_chip_portdb(ispsoftc_t *isp, int chan) argument
2912 isp_get_wwn(ispsoftc_t *isp, int chan, int nphdl, int nodename) argument
2965 isp_fclink_test(ispsoftc_t *isp, int chan, int usdelay) argument
3153 isp_pdb_sync(ispsoftc_t *isp, int chan) argument
3227 isp_pdb_add_update(ispsoftc_t *isp, int chan, isp_pdb_t *pdb) argument
3299 isp_fix_portids(ispsoftc_t *isp, int chan) argument
3339 isp_scan_loop(ispsoftc_t *isp, int chan) argument
3438 isp_ct_sns(ispsoftc_t *isp, int chan, uint32_t cmd_bcnt, uint32_t rsp_bcnt) argument
3469 isp_ct_passthru(ispsoftc_t *isp, int chan, uint32_t cmd_bcnt, uint32_t rsp_bcnt) argument
3558 isp_gid_pt(ispsoftc_t *isp, int chan) argument
3619 isp_gff_id(ispsoftc_t *isp, int chan, uint32_t portid) argument
3679 isp_gft_id(ispsoftc_t *isp, int chan, uint32_t portid) argument
3753 isp_scan_fabric(ispsoftc_t *isp, int chan) argument
3993 isp_login_device(ispsoftc_t *isp, int chan, uint32_t portid, isp_pdb_t *p, uint16_t *ohp) argument
4078 isp_send_change_request(ispsoftc_t *isp, int chan) argument
4096 isp_register_fc4_type(ispsoftc_t *isp, int chan) argument
4164 isp_register_fc4_features_24xx(ispsoftc_t *isp, int chan) argument
4222 isp_register_port_name_24xx(ispsoftc_t *isp, int chan) argument
4286 isp_register_node_name_24xx(ispsoftc_t *isp, int chan) argument
4345 int i, chan, wrap; local
4695 int chan, tgt; local
5440 uint16_t chan = 0; local
5605 uint16_t chan; local
5952 int chan, c; local
6113 int chan; local
6362 int chan = XS_CHANNEL(xs); local
7201 isp_fw_state(ispsoftc_t *isp, int chan) argument
7216 isp_spi_update(ispsoftc_t *isp, int chan) argument
7467 isp_setdfltfcparm(ispsoftc_t *isp, int chan) argument
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Drt2860.c208 uint8_t chan; member in struct:rfprog
2416 rt2860_set_chan(struct rt2860_softc *sc, u_int chan) argument
2424 for (i = 0; rfprog[i].chan != chan; i++);
2437 if (chan > 14) {
2471 rt3090_set_chan(struct rt2860_softc *sc, u_int chan) argument
2478 KASSERT(chan >= 1 && chan <= 14, ("chan %d not support", chan));
2536 rt5390_set_chan(struct rt2860_softc *sc, u_int chan) argument
3292 u_int chan = ieee80211_chan2ieee(ic, c); local
4241 u_int chan, group; local
[all...]
H A Drt2661.c190 uint8_t chan; member in struct:rfprog
1935 u_int i, chan; local
1937 chan = ieee80211_chan2ieee(ic, c);
1938 KASSERT(chan != 0 && chan != IEEE80211_CHAN_ANY, ("chan 0x%x", chan));
1944 for (i = 0; rfprog[i].chan != chan; i++);
2189 rt2661_rf5225_1[i * 2].chan, s
[all...]
H A Drt2560.c198 uint8_t chan; member in struct:__anon5202
2052 u_int i, chan; local
2054 chan = ieee80211_chan2ieee(ic, c);
2055 KASSERT(chan != 0 && chan != IEEE80211_CHAN_ANY, ("chan 0x%x", chan));
2058 power = min(sc->txpow[chan - 1], 31);
2065 DPRINTFN(sc, 2, "setting channel to %u, txpower to %u\n", chan, power);
2070 rt2560_rf_write(sc, RAL_RF2, rt2560_rf2522_r2[chan
[all...]
/freebsd-11-stable/sys/dev/urtwn/
H A Dif_urtwnreg.h1120 uint8_t chan; member in struct:r88e_rx_cck
/freebsd-11-stable/sys/dev/ipw/
H A Dif_ipw.c1098 ipw_setcurchan(struct ipw_softc *sc, struct ieee80211_channel *chan) argument
1102 ic->ic_curchan = chan;
2146 ipw_setchannel(struct ipw_softc *sc, struct ieee80211_channel *chan) argument
2152 data = htole32(ieee80211_chan2ieee(ic, chan));
2156 ipw_setcurchan(sc, chan);
/freebsd-11-stable/sys/dev/mwl/
H A Dif_mwl.c942 mwl_mapchan(MWL_HAL_CHANNEL *hc, const struct ieee80211_channel *chan) argument
944 hc->channel = chan->ic_ieee;
947 if (IEEE80211_IS_CHAN_2GHZ(chan))
949 else if (IEEE80211_IS_CHAN_5GHZ(chan))
951 if (IEEE80211_IS_CHAN_HT40(chan)) {
953 if (IEEE80211_IS_CHAN_HT40U(chan))
1820 "%s: chan %u MHz/flags 0x%x %s slot, (prot 0x%x ic_flags 0x%x)\n",
3748 mwl_getapmode(const struct ieee80211vap *vap, struct ieee80211_channel *chan) argument
3752 if (IEEE80211_IS_CHAN_HT(chan)) {
3755 else if (IEEE80211_IS_CHAN_5GHZ(chan))
3776 mwl_setapmode(struct ieee80211vap *vap, struct ieee80211_channel *chan) argument
3786 mwl_chan_set(struct mwl_softc *sc, struct ieee80211_channel *chan) argument
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs.h99 #define FCPORT(ocs, chan) (&((ocs_fcport *)(ocs)->fcports)[(chan)])
/freebsd-11-stable/sys/dev/otus/
H A Dif_otus.c787 uint8_t chan; local
796 chan = ar_chans[i];
797 ic->ic_channels[chan].ic_freq =
798 ieee80211_ieee2mhz(chan, IEEE80211_CHAN_2GHZ);
799 ic->ic_channels[chan].ic_flags =
806 chan = ar_chans[i];
807 ic->ic_channels[chan].ic_freq =
808 ieee80211_ieee2mhz(chan, IEEE80211_CHAN_5GHZ);
809 ic->ic_channels[chan].ic_flags = IEEE80211_CHAN_A;
2738 int error, chan, local
[all...]
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpivar.h110 uint8_t chan; member in struct:wpi_power_group
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_zyd.c978 zyd_rfmd_set_channel(struct zyd_rf *rf, uint8_t chan) argument
986 error = zyd_rfwrite(sc, rfprog[chan - 1].r1);
989 error = zyd_rfwrite(sc, rfprog[chan - 1].r2);
1156 zyd_al2230_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1167 error = zyd_rfwrite(sc, rfprog[chan - 1].r1);
1170 error = zyd_rfwrite(sc, rfprog[chan - 1].r2);
1173 error = zyd_rfwrite(sc, rfprog[chan - 1].r3);
1184 zyd_al2230_set_channel_b(struct zyd_rf *rf, uint8_t chan) argument
1196 error = zyd_rfwrite_cr(sc, rfprog[chan - 1].r1);
1199 error = zyd_rfwrite_cr(sc, rfprog[chan
1223 int chan = ieee80211_chan2ieee(ic, c); local
1288 zyd_al7230B_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1372 zyd_al2210_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1473 zyd_gct_set_channel_synth(struct zyd_rf *rf, int chan, int acal) argument
1514 zyd_gct_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1545 zyd_gct_txgain(struct zyd_rf *rf, uint8_t chan) argument
1599 zyd_maxim2_set_channel(struct zyd_rf *rf, uint8_t chan) argument
2049 int chan; local
[all...]

Completed in 678 milliseconds

1234567891011>>