Home
last modified time | relevance | path

Searched refs:ch_id (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/sys/dev/iwm/
Dif_iwm_phy_db.c379 is_valid_channel(uint16_t ch_id) in is_valid_channel() argument
381 if (ch_id <= 14 || in is_valid_channel()
382 (36 <= ch_id && ch_id <= 64 && ch_id % 4 == 0) || in is_valid_channel()
383 (100 <= ch_id && ch_id <= 140 && ch_id % 4 == 0) || in is_valid_channel()
384 (145 <= ch_id && ch_id <= 165 && ch_id % 4 == 1)) in is_valid_channel()
390 ch_id_to_ch_index(uint16_t ch_id) in ch_id_to_ch_index() argument
392 if (!is_valid_channel(ch_id)) in ch_id_to_ch_index()
395 if (ch_id <= 14) in ch_id_to_ch_index()
396 return ch_id - 1; in ch_id_to_ch_index()
397 if (ch_id <= 64) in ch_id_to_ch_index()
[all …]
/freebsd-12-stable/sys/dev/hyperv/vmbus/
Dvmbus_chan.c235 uint32_t ch_id; in vmbus_chan_sysctl_create() local
260 ch_id = chan->ch_id; in vmbus_chan_sysctl_create()
262 ch_id = chan->ch_prichan->ch_id; in vmbus_chan_sysctl_create()
263 snprintf(name, sizeof(name), "%d", ch_id); in vmbus_chan_sysctl_create()
291 "chanid", CTLFLAG_RD, &chan->ch_id, 0, "channel id"); in vmbus_chan_sysctl_create()
350 "leak %d bytes memory\n", chan->ch_id, in vmbus_chan_open()
376 "invalid udata len %d for chan%u\n", udlen, chan->ch_id); in vmbus_chan_open_br()
397 panic("double-open chan%u", chan->ch_id); in vmbus_chan_open_br()
426 "failed to connect bufring GPADL to chan%u\n", chan->ch_id); in vmbus_chan_open_br()
443 chan->ch_id); in vmbus_chan_open_br()
[all …]
Dvmbus_chanvar.h104 uint32_t ch_id; /* channel id */ member
Dvmbus.c1029 chan->ch_id); in vmbus_add_child()
/freebsd-12-stable/sys/dev/hyperv/storvsc/
Dhv_storvsc_drv_freebsd.c1023 uint32_t ch_id; in storvsc_sysctl() local
1025 ch_id = vmbus_chan_id(sc->hs_sel_chan[i]); in storvsc_sysctl()
1026 snprintf(name, sizeof(name), "%d", ch_id); in storvsc_sysctl()