Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-phy-db.c252 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.1.27/drivers/isdn/hardware/eicon/
Dmaintidi.c862 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.1.27/drivers/rapidio/devices/
Dtsi721.h687 int ch_id; /* BDMA channel number */ member
Dtsi721.c111 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()