Searched refs:ch_id (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-phy-db.c | 252 static int is_valid_channel(u16 ch_id) in is_valid_channel() argument 254 if (ch_id <= 14 || in is_valid_channel() 255 (36 <= ch_id && ch_id <= 64 && ch_id % 4 == 0) || in is_valid_channel() 256 (100 <= ch_id && ch_id <= 140 && ch_id % 4 == 0) || in is_valid_channel() 257 (145 <= ch_id && ch_id <= 165 && ch_id % 4 == 1)) in is_valid_channel() 262 static u8 ch_id_to_ch_index(u16 ch_id) in ch_id_to_ch_index() argument 264 if (WARN_ON(!is_valid_channel(ch_id))) in ch_id_to_ch_index() 267 if (ch_id <= 14) in ch_id_to_ch_index() 268 return ch_id - 1; in ch_id_to_ch_index() 269 if (ch_id <= 64) in ch_id_to_ch_index() [all …]
|
/linux-4.4.14/drivers/staging/most/aim-network/ |
D | networking.c | 63 int ch_id; member 194 if (most_start_channel(nd->iface, nd->rx.ch_id, &aim)) { in most_nd_open() 199 if (most_start_channel(nd->iface, nd->tx.ch_id, &aim)) { in most_nd_open() 201 most_stop_channel(nd->iface, nd->rx.ch_id, &aim); in most_nd_open() 211 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id); in most_nd_open() 227 most_stop_channel(nd->iface, nd->rx.ch_id, &aim); in most_nd_stop() 228 most_stop_channel(nd->iface, nd->tx.ch_id, &aim); in most_nd_stop() 244 mbo = most_get_mbo(nd->iface, nd->tx.ch_id, &aim); in most_nd_start_xmit() 357 ch->ch_id = channel_idx; in aim_probe_channel() 369 ch->ch_id = channel_idx; in aim_probe_channel() [all …]
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | maintidi.c | 862 dword ch_id; in process_idi_event() local 863 if (!diva_trace_read_variable(pVar, &ch_id)) { in process_idi_event() 869 } else if (ch_id && ch_id <= pLib->Channels) { in process_idi_event() 870 return (diva_line_event(pLib, (int)ch_id)); in process_idi_event() 878 dword ch_id; in process_idi_event() local 879 if (!diva_trace_read_variable(pVar, &ch_id)) { in process_idi_event() 885 } else if (ch_id && ch_id <= pLib->Channels) { in process_idi_event() 886 return (diva_fax_event(pLib, (int)ch_id)); in process_idi_event() 894 dword ch_id; in process_idi_event() local 895 if (!diva_trace_read_variable(pVar, &ch_id)) { in process_idi_event() [all …]
|
/linux-4.4.14/drivers/rapidio/devices/ |
D | tsi721.h | 687 int ch_id; /* BDMA channel number */ member
|
D | tsi721.c | 111 void __iomem *regs = priv->regs + TSI721_DMAC_BASE(priv->mdma.ch_id); in tsi721_maint_dma() 148 __func__, priv->mdma.ch_id, ch_stat); in tsi721_maint_dma() 1067 priv->mdma.ch_id = TSI721_DMACH_MAINT; in tsi721_bdma_maint_init() 1143 void __iomem *regs = priv->regs + TSI721_DMAC_BASE(mdma->ch_id); in tsi721_bdma_maint_free()
|