Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/most/dim2/
Dhal.c68 u8 ch_addr; member
214 static void dim2_configure_cat(u8 cat_base, u8 ch_addr, u8 ch_type, in dim2_configure_cat() argument
222 (ch_addr << CAT_CL_SHIFT) | in dim2_configure_cat()
227 u8 const ctr_addr = cat_base + ch_addr / 8; in dim2_configure_cat()
228 u8 const idx = (ch_addr % 8) / 2; in dim2_configure_cat()
229 u8 const shift = (ch_addr % 2) * 16; in dim2_configure_cat()
238 static void dim2_clear_cat(u8 cat_base, u8 ch_addr) in dim2_clear_cat() argument
240 u8 const ctr_addr = cat_base + ch_addr / 8; in dim2_clear_cat()
241 u8 const idx = (ch_addr % 8) / 2; in dim2_clear_cat()
242 u8 const shift = (ch_addr % 2) * 16; in dim2_clear_cat()
[all …]
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()
/linux-6.6.21/drivers/iio/adc/
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()
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()
/linux-6.6.21/drivers/hwtracing/coresight/
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()
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/
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()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
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()
/linux-6.6.21/drivers/edac/
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()
2330 idx = (ch_addr >> 13); /* FIXME: Datasheet says to shift by 15 */ in get_memory_error_data()
[all …]