Home
last modified time | relevance | path

Searched refs:ch_index (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dad7606_spi.c179 unsigned int ch_addr, mode, ch_index; in ad7616_write_scale_sw() local
189 ch_index = ch >> 1; in ad7616_write_scale_sw()
191 ch_addr = AD7616_RANGE_CH_ADDR(ch_index); in ad7616_write_scale_sw()
199 mode = AD7616_RANGE_CH_MODE(ch_index, ((val + 1) & 0b11)); in ad7616_write_scale_sw()
200 return st->bops->write_mask(st, ch_addr, AD7616_RANGE_CH_MSK(ch_index), in ad7616_write_scale_sw()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Ddram_sun6i.c51 static void mctl_dll_init(int ch_index, struct dram_sun6i_para *para) in mctl_dll_init() argument
55 if (ch_index == 0) in mctl_dll_init()
102 static void mctl_channel_init(int ch_index, struct dram_sun6i_para *para) in mctl_channel_init() argument
109 if (ch_index == 0) { in mctl_channel_init()
174 if (ch_index == 1 && !mctl_rank_detect(&mctl_phy->dx0gsr0, 0)) { in mctl_channel_init()
H A Ddram_sun9i.c355 static u32 mctl_channel_init(u32 ch_index, struct dram_sun9i_para *para) in mctl_channel_init() argument
451 if (ch_index == 0) { in mctl_channel_init()
793 debug("Channel %d unavailable!\n", ch_index); in mctl_channel_init()
797 debug("Channel %d OK!\n", ch_index); in mctl_channel_init()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-phy-db.c262 u8 ch_index = ch_id_to_ch_index(ch_id); in channel_id_to_txp() local
263 if (ch_index == 0xff) in channel_id_to_txp()
274 if (le16_to_cpu(txp_chg->max_channel_idx) >= ch_index) in channel_id_to_txp()
/openbmc/linux/include/sound/sof/
H A Dchannel_map.h38 uint32_t ch_index; member
/openbmc/ipmitool/lib/
H A Dipmi_ekanalyzer.c2233 int ch_index = 0; in ipmi_ek_create_amc_p2p_record() local
2236 for (ch_index = 0; ch_index < amc_record->ch_count; in ipmi_ek_create_amc_p2p_record()
2237 ch_index++) { in ipmi_ek_create_amc_p2p_record()
2246 &amc_record->ch_desc[ch_index]; in ipmi_ek_create_amc_p2p_record()