Searched refs:channel (Results 1 - 25 of 467) sorted by relevance

1234567891011>>

/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7996/
H A Deeprom.h52 mt7996_get_channel_group_5g(int channel) argument
54 if (channel <= 64)
56 if (channel <= 96)
58 if (channel <= 128)
60 if (channel <= 144)
66 mt7996_get_channel_group_6g(int channel) argument
68 if (channel <= 29)
71 return DIV_ROUND_UP(channel - 29, 32);
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/
H A Deeprom.h103 mt7915_get_channel_group_5g(int channel, bool is_7976) argument
106 if (channel <= 64)
108 if (channel <= 96)
110 if (channel <= 128)
112 if (channel <= 144)
117 if (channel >= 184 && channel <= 196)
119 if (channel <= 48)
121 if (channel <= 64)
123 if (channel <
135 mt7915_get_channel_group_6g(int channel) argument
[all...]
/freebsd-current/sys/dev/pwm/
H A Dpwm_backlight.c63 pwm_channel_t channel; member in struct:pwm_backlight_softc
103 rv = pwm_get_by_ofw_propidx(dev, node, "pwms", 0, &sc->channel);
105 device_printf(dev, "Cannot map pwm channel %d\n", rv);
133 sc->channel->duty = sc->channel->period * sc->levels[sc->default_level] / 100;
138 device_printf(dev, "Configured period time: %ju\n", (uintmax_t)sc->channel->period);
139 device_printf(dev, "Default duty cycle: %ju\n", (uintmax_t)sc->channel->duty);
143 PWMBUS_CHANNEL_GET_CONFIG(sc->channel->dev,
144 sc->channel->channel,
[all...]
H A Dofw_pwm.c45 struct pwm_channel channel; local
53 channel.dev = OF_device_from_xref(xref);
54 if (channel.dev == NULL) {
59 channel.channel = cells[0];
60 channel.period = cells[1];
63 channel.flags = cells[2];
66 **out_channel = channel;
H A Dofw_pwm.h35 u_int channel; member in struct:pwm_channel
44 const char *prop_name, int idx, pwm_channel_t *channel);
/freebsd-current/sys/cam/ctl/
H A Dctl_ha.h59 * Communication channel IDs for various system components. This is to
74 * CTL_HA_EVT_LINK_CHANGE: Communication channel status changed.
118 typedef void (*ctl_evt_handler)(ctl_ha_channel channel, ctl_ha_event event,
120 void ctl_ha_register_evthandler(ctl_ha_channel channel,
123 ctl_ha_status ctl_ha_msg_register(ctl_ha_channel channel,
125 ctl_ha_status ctl_ha_msg_recv(ctl_ha_channel channel, void *addr,
127 ctl_ha_status ctl_ha_msg_send(ctl_ha_channel channel, const void *addr,
129 ctl_ha_status ctl_ha_msg_send2(ctl_ha_channel channel, const void *addr,
131 ctl_ha_status ctl_ha_msg_abort(ctl_ha_channel channel);
132 ctl_ha_status ctl_ha_msg_deregister(ctl_ha_channel channel);
[all...]
/freebsd-current/sys/dev/axgbe/
H A Dxgbe-desc.c122 struct xgbe_channel *channel; local
133 channel = pdata->channel[i];
135 ring = channel->tx_ring;
156 hw_if->tx_desc_init(channel);
166 struct xgbe_channel *channel; local
177 channel = pdata->channel[i];
179 ring = channel->rx_ring;
199 hw_if->rx_desc_init(channel);
[all...]
/freebsd-current/contrib/ntp/libntp/lib/isc/
H A Dlog.c62 * This is the structure that holds each named channel. A simple linked
63 * list chains all of the channels together, so an individual channel is
93 isc_logchannel_t * channel; member in struct:isc_logchannellist
162 * Used when ISC_LOG_PRINTLEVEL is enabled for a channel.
214 * because its channel member is pointed to a channel that is created
229 const isc_logmodule_t *module, isc_logchannel_t *channel);
235 greatest_version(isc_logchannel_t *channel, int *greatest);
238 roll_log(isc_logchannel_t *channel);
252 #define FACILITY(channel) (channe
506 isc_logchannel_t *channel; local
708 isc_logchannel_t *channel; local
793 isc_logchannel_t *channel; local
955 isc_logchannel_t *channel; local
1034 isc_logchannel_t *channel; local
1056 assignchannel(isc_logconfig_t *lcfg, unsigned int category_id, const isc_logmodule_t *module, isc_logchannel_t *channel) argument
1144 greatest_version(isc_logchannel_t *channel, int *greatestp) argument
1215 roll_log(isc_logchannel_t *channel) argument
1319 isc_log_open(isc_logchannel_t *channel) argument
1420 isc_logchannel_t *channel; local
[all...]
/freebsd-current/sys/arm64/iommu/
H A Diommu.h41 struct iommu_ctx * iommu_get_ctx_ofw(device_t dev, int channel);
/freebsd-current/crypto/openssl/crypto/
H A Dtrace.c32 * BIO sink object, also called the trace channel. Instead of a BIO object,
34 * internal trace channel is attached, which simply calls the registered
40 static long trace_ctrl(BIO *channel, int cmd, long argl, void *argp);
64 static int trace_write(BIO *channel, argument
67 struct trace_data_st *ctx = BIO_get_data(channel);
75 static int trace_puts(BIO *channel, const char *str) argument
79 if (trace_write(channel, str, strlen(str), &written))
85 static long trace_ctrl(BIO *channel, int cmd, long argl, void *argp) argument
87 struct trace_data_st *ctx = BIO_get_data(channel);
101 static int trace_free(BIO *channel) argument
242 set_trace_data(int category, int type, BIO **channel, const char **prefix, const char **suffix, int (*attach_cb)(int, int, const void *), int (*detach_cb)(int, int, const void *)) argument
339 BIO *channel = NULL; local
357 OSSL_trace_set_channel(int category, BIO *channel) argument
394 BIO *channel = NULL; local
471 BIO *channel = NULL; local
503 OSSL_trace_end(int category, BIO * channel) argument
[all...]
/freebsd-current/sys/amd64/vmm/io/
H A Dvatpit.c79 struct channel { struct
101 struct channel channel[3]; member in struct:vatpit
107 vatpit_delta_ticks(struct vatpit *vatpit, struct channel *c)
122 vatpit_get_out(struct vatpit *vatpit, int channel) argument
124 struct channel *c;
128 c = &vatpit->channel[channel];
149 struct channel *c;
152 c = &vatpit->channel[ar
247 pit_readback1(struct vatpit *vatpit, int channel, uint8_t cmd) argument
481 struct channel *channel; local
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7615/
H A Deeprom.h88 mt7615_get_channel_group(int channel) argument
90 if (channel >= 184 && channel <= 196)
92 if (channel <= 48)
94 if (channel <= 64)
96 if (channel <= 114)
98 if (channel <= 144)
100 if (channel <= 161)
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver_macsec_qca.c520 u32 *channel)
527 *channel = i;
538 u32 channel)
540 os_memcpy(&map[channel].sci, sci, sizeof(struct ieee802_1x_mka_sci));
546 u32 *channel)
549 channel);
555 u32 channel)
558 channel);
564 u32 *channel)
567 channel);
518 macsec_qca_lookup_channel(struct channel_map *map, struct ieee802_1x_mka_sci *sci, u32 *channel) argument
536 macsec_qca_register_channel(struct channel_map *map, struct ieee802_1x_mka_sci *sci, u32 channel) argument
544 macsec_qca_lookup_receive_channel(struct macsec_qca_data *drv, struct receive_sc *sc, u32 *channel) argument
553 macsec_qca_register_receive_channel(struct macsec_qca_data *drv, struct receive_sc *sc, u32 channel) argument
562 macsec_qca_lookup_transmit_channel(struct macsec_qca_data *drv, struct transmit_sc *sc, u32 *channel) argument
571 macsec_qca_register_transmit_channel(struct macsec_qca_data *drv, struct transmit_sc *sc, u32 channel) argument
587 u32 channel; local
615 u32 channel; local
634 u32 channel; local
649 macsec_qca_get_available_receive_sc(void *priv, u32 *channel) argument
685 u32 channel; local
737 u32 channel; local
761 u32 channel; local
809 u32 channel; local
829 u32 channel; local
845 macsec_qca_get_available_transmit_sc(void *priv, u32 *channel) argument
877 u32 channel; local
916 u32 channel; local
941 u32 channel; local
1003 u32 channel; local
1023 u32 channel; local
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dmcu.c15 int mt76x2_mcu_set_channel(struct mt76x02_dev *dev, u8 channel, u8 bw, argument
29 .idx = channel,
35 /* first set the channel without the extension channel info */
48 u8 channel)
60 .ch = channel,
69 /* first set the channel without the extension channel info */
75 int mt76x2_mcu_init_gain(struct mt76x02_dev *dev, u8 channel, u32 gain, argument
79 __le32 channel; member in struct:__anon281
47 mt76x2_mcu_load_cr(struct mt76x02_dev *dev, u8 type, u8 temp_level, u8 channel) argument
[all...]
H A Deeprom.c211 mt76x2_get_cal_channel_group(int channel) argument
213 if (channel >= 184 && channel <= 196)
215 if (channel <= 48)
217 if (channel <= 64)
219 if (channel <= 114)
221 if (channel <= 144)
227 mt76x2_get_5g_rx_gain(struct mt76x02_dev *dev, u8 channel) argument
231 group = mt76x2_get_cal_channel_group(channel);
257 int channel local
340 int channel = chan->hw_value; local
370 int channel = chan->hw_value; local
[all...]
/freebsd-current/share/examples/sound/
H A Dmidi.c48 event.channel = raw & CHANNEL_MASK;
66 printf("Channel %d, note %d, velocity %d\n", event.channel, event.note, event.velocity);
69 printf("Channel %d, controller %d, value %d\n", event.channel, event.controller, event.value);
/freebsd-current/tools/tools/net80211/scripts/mesh/
H A Dcommon11 ifconfig $WLAN meshid $MESHID channel $CHANNEL mtu 1500
/freebsd-current/contrib/wpa/src/common/
H A Docv.c26 oci->freq = ieee80211_chan_to_freq(NULL, oci->op_class, oci->channel);
29 "Error interpreting OCI: unrecognized opclass/channel pair (%d/%d)",
30 oci->op_class, oci->channel);
49 oci->sec_channel = (((oci->channel - 1) / 4) % 2) ? -1 : 1;
57 u8 op_class, channel; local
62 &op_class, &channel) < 0) {
64 "Cannot determine operating class and channel for OCI element");
69 *pos++ = channel;
122 oci.channel = oci_ie[1];
133 "primary channel mismatc
[all...]
/freebsd-current/contrib/opencsd/decoder/include/opencsd/stm/
H A Dtrc_pkt_elem_stm.h69 void setChannel(const uint16_t channel, const bool b8Bit);
122 channel = 0; // M8 forces current channel to 0.
125 inline void StmTrcPacket::setChannel(const uint16_t channel, const bool b8Bit) argument
128 this->channel = (this->channel & 0xFF00) | (channel & 0xFF);
130 this->channel = channel;
137 channel
[all...]
/freebsd-current/sys/powerpc/powermac/
H A Ddbdma.c51 dbdma_channel_t *channel = (dbdma_channel_t *)(chan); local
53 channel->sc_slots_pa = segs[0].ds_addr;
54 dbdma_write_reg(channel, CHAN_CMDPTR, channel->sc_slots_pa);
62 dbdma_channel_t *channel; local
64 channel = *chan = malloc(sizeof(struct dbdma_channel), M_DBDMA,
67 channel->sc_regs = dbdma_regs;
68 channel->sc_off = offset;
69 dbdma_stop(channel);
71 channel
[all...]
/freebsd-current/contrib/wpa/src/ap/
H A Ddfs.c60 * channel for CSA, unless they are available for immediate use.
80 * The tables contain first valid channel number based on channel width.
81 * We will also choose this first channel as the control one.
155 /* hostapd DFS implementation assumes the first channel as primary.
156 * If it's not allowed to use the first channel as primary, decline the
157 * whole channel range. */
167 wpa_printf(MSG_DEBUG, "DFS: no channel data for %d",
172 /* HT 40 MHz secondary channel availability checked only for
173 * primary channel */
405 struct hostapd_channel_data *channel; local
425 struct hostapd_channel_data *channel; local
454 struct hostapd_channel_data *channel; local
731 struct hostapd_channel_data *channel; local
758 struct hostapd_channel_data *channel; local
945 struct hostapd_channel_data *channel; local
980 struct hostapd_channel_data *channel; local
1027 struct hostapd_channel_data *channel; local
[all...]
H A Dap_list.c37 iface->conf->channel != ap->channel)
202 ap->channel = elems->ds_params[0];
204 ap->channel = elems->ht_operation[0];
206 ap->channel = fi->channel;
226 " (channel %d) - enable protection",
227 MAC2STR(ap->addr), ap->channel);
232 (ap->channel == 0 ||
233 ap->channel
[all...]
/freebsd-current/sys/dev/sound/macio/
H A Daoa.c59 dbdma_channel_t *channel; /* DBDMA channel */ member in struct:aoa_dma
61 struct pcm_channel *pcm; /* PCM channel */
82 dbdma_insert_command(dma->channel,
98 dbdma_insert_branch(dma->channel, dma->slots, 0);
101 dbdma_insert_stop(dma->channel, dma->slots + 1);
104 dbdma_set_branch_selector(dma->channel, 1 << 0, 1 << 0);
105 dbdma_set_device_status(dma->channel, 1 << 0, 0);
107 dbdma_sync_commands(dma->channel, BUS_DMASYNC_PREWRITE);
177 err = dbdma_resize_channel(dma->channel,
[all...]
/freebsd-current/sys/netgraph/
H A Dng_sample.c123 int channel; /* The channel representing this DLCI */ member in struct:XXX_hookinfo
129 struct XXX_hookinfo channel[XXX_NUM_DLCIS]; member in struct:XXX
157 privdata->channel[i].dlci = -2;
158 privdata->channel[i].channel = i;
173 * an array of structs, called 'channel' in the private info,
174 * one for each active channel. The private
177 * (a dlci is a frame relay channel)
195 * hooks start with 'dlci' and have a decimal trailing channel
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dop_classes.c50 static int get_center_80mhz(struct hostapd_hw_modes *mode, u8 channel, argument
61 * so the center channel is 6 channels away from the start/end.
63 if (channel >= center_channels[i] - 6 &&
64 channel <= center_channels[i] + 6)
73 u8 op_class, u8 channel)
92 center_chan = get_center_80mhz(mode, channel, center_channels,
123 static int get_center_160mhz(struct hostapd_hw_modes *mode, u8 channel, argument
134 * so the center channel is 14 channels away from the start/end.
136 if (channel >= center_channels[i] - 14 &&
137 channel <
72 verify_80mhz(struct hostapd_hw_modes *mode, u8 op_class, u8 channel) argument
145 verify_160mhz(struct hostapd_hw_modes *mode, u8 op_class, u8 channel) argument
199 verify_channel(struct hostapd_hw_modes *mode, u8 op_class, u8 channel, u8 bw) argument
440 wpas_sta_secondary_channel_offset(struct wpa_bss *bss, u8 *current, u8 *channel) argument
[all...]

Completed in 569 milliseconds

1234567891011>>