Home
last modified time | relevance | path

Searched refs:ch_addr (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/staging/most/dim2/
H A Dhal.c68 u8 ch_addr; member
222 (ch_addr << CAT_CL_SHIFT) | in dim2_configure_cat()
264 static u16 dim2_rpc(u8 ch_addr) in dim2_rpc() argument
355 dim2_configure_adt(ch_addr); in dim2_configure_channel()
368 dim2_clear_adt(ch_addr); in dim2_clear_channel()
371 dim2_clear_cdt(ch_addr); in dim2_clear_channel()
404 if (ch->addr != dbr->ch_addr) in dim_dbr_space()
602 ch->addr = ch_addr; in isoc_init()
613 ch->addr = ch_addr; in sync_init()
624 ch->addr = ch_addr; in channel_init()
[all …]
H A Ddim2.c455 int const ch_addr = ch_idx * 2 + 2; in configure_channel() local
481 hal_ret = dim_init_control(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
495 hal_ret = dim_init_async(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
510 hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
524 hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
/openbmc/linux/drivers/iio/adc/
H A Dad7606_spi.c179 unsigned int ch_addr, mode, ch_index; in ad7616_write_scale_sw() local
191 ch_addr = AD7616_RANGE_CH_ADDR(ch_index); in ad7616_write_scale_sw()
194 ch_addr += AD7616_RANGE_CH_A_ADDR_OFF; in ad7616_write_scale_sw()
196 ch_addr += AD7616_RANGE_CH_B_ADDR_OFF; 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()
H A Dad7292.c209 unsigned int ch_addr; in ad7292_read_raw() local
214 ch_addr = AD7292_REG_ADC_CH(chan->channel); in ad7292_read_raw()
215 ret = ad7292_single_conversion(st, ch_addr); in ad7292_read_raw()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-stm.c406 void __iomem *ch_addr; in stm_generic_packet() local
417 ch_addr = stm_channel_addr(drvdata, channel); in stm_generic_packet()
431 ch_addr += stm_channel_off(STM_PKT_TYPE_FLAG, stm_flags); in stm_generic_packet()
438 stm_send(ch_addr, payload, 1, drvdata->write_bytes); in stm_generic_packet()
444 ch_addr += stm_channel_off(STM_PKT_TYPE_DATA, stm_flags); in stm_generic_packet()
445 stm_send(ch_addr, payload, size, in stm_generic_packet()
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dorinoco_usb.c1195 u32 ch_addr; in ezusb_program() local
1204 ch_addr = addr; in ezusb_program()
1206 while (ch_addr < (addr + len)) { in ezusb_program()
1209 ch_len, ch_addr, &buf[ch_addr - addr]); in ezusb_program()
1211 err = ezusb_program_bytes(hw, &buf[ch_addr - addr], in ezusb_program()
1212 ch_addr, ch_len); in ezusb_program()
1216 ch_addr += ch_len; in ezusb_program()
1217 ch_len = ((addr + len - ch_addr) < MAX_DL_SIZE) ? in ezusb_program()
1218 (addr + len - ch_addr) : MAX_DL_SIZE; in ezusb_program()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Despi.c52 int ch_addr, int reg_offset, u32 wr_data) in tricn_write() argument
58 V_CHANNEL_ADDR(ch_addr) | V_MODULE_ADDR(module_addr) | in tricn_write()
/openbmc/linux/drivers/edac/
H A Dsb_edac.c2050 u64 ch_addr, offset, limit = 0, prv = 0; in get_memory_error_data() local
2295 ch_addr = addr - offset; in get_memory_error_data()
2296 ch_addr >>= (6 + shiftup); in get_memory_error_data()
2297 ch_addr /= sck_xch; in get_memory_error_data()
2298 ch_addr <<= (6 + shiftup); in get_memory_error_data()
2299 ch_addr |= addr & ((1 << (6 + shiftup)) - 1); in get_memory_error_data()
2317 if (ch_addr <= limit) in get_memory_error_data()
2322 ch_addr); in get_memory_error_data()
2328 idx = (ch_addr >> 6); in get_memory_error_data()
2342 rank_addr = ch_addr >> shiftup; in get_memory_error_data()
[all …]