/kernel/linux/linux-5.10/drivers/staging/most/dim2/ |
D | hal.c | 68 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 …]
|
D | dim2.c | 458 int const ch_addr = ch_idx * 2 + 2; in configure_channel() local 484 hal_ret = dim_init_control(&hdm_ch->ch, is_tx, ch_addr, in configure_channel() 498 hal_ret = dim_init_async(&hdm_ch->ch, is_tx, ch_addr, in configure_channel() 513 hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel() 527 hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ad7606_spi.c | 179 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()
|
D | ad7292.c | 208 unsigned int ch_addr; in ad7292_read_raw() local 213 ch_addr = AD7292_REG_ADC_CH(chan->channel); in ad7292_read_raw() 214 ret = ad7292_single_conversion(st, ch_addr); in ad7292_read_raw()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
D | orinoco_usb.c | 1153 u32 ch_addr; in ezusb_program() local 1162 ch_addr = addr; in ezusb_program() 1164 while (ch_addr < (addr + len)) { in ezusb_program() 1167 ch_len, ch_addr, &buf[ch_addr - addr]); in ezusb_program() 1169 err = ezusb_program_bytes(hw, &buf[ch_addr - addr], in ezusb_program() 1170 ch_addr, ch_len); in ezusb_program() 1174 ch_addr += ch_len; in ezusb_program() 1175 ch_len = ((addr + len - ch_addr) < MAX_DL_SIZE) ? in ezusb_program() 1176 (addr + len - ch_addr) : MAX_DL_SIZE; in ezusb_program()
|
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
D | coresight-stm.c | 412 void __iomem *ch_addr; in stm_generic_packet() local 423 ch_addr = stm_channel_addr(drvdata, channel); in stm_generic_packet() 437 ch_addr += stm_channel_off(STM_PKT_TYPE_FLAG, stm_flags); in stm_generic_packet() 444 stm_send(ch_addr, payload, 1, drvdata->write_bytes); in stm_generic_packet() 450 ch_addr += stm_channel_off(STM_PKT_TYPE_DATA, stm_flags); in stm_generic_packet() 451 stm_send(ch_addr, payload, size, in stm_generic_packet()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
D | espi.c | 61 int ch_addr, int reg_offset, u32 wr_data) in tricn_write() argument 67 V_CHANNEL_ADDR(ch_addr) | V_MODULE_ADDR(module_addr) | in tricn_write()
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | sb_edac.c | 1944 u64 ch_addr, offset, limit = 0, prv = 0; in get_memory_error_data() local 2188 ch_addr = addr - offset; in get_memory_error_data() 2189 ch_addr >>= (6 + shiftup); in get_memory_error_data() 2190 ch_addr /= sck_xch; in get_memory_error_data() 2191 ch_addr <<= (6 + shiftup); in get_memory_error_data() 2192 ch_addr |= addr & ((1 << (6 + shiftup)) - 1); in get_memory_error_data() 2210 if (ch_addr <= limit) in get_memory_error_data() 2215 ch_addr); in get_memory_error_data() 2221 idx = (ch_addr >> 6); in get_memory_error_data() 2223 idx = (ch_addr >> 13); /* FIXME: Datasheet says to shift by 15 */ in get_memory_error_data() [all …]
|