Searched refs:target_count (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/drivers/hwmon/ |
D | max31790.c | 67 u16 target_count[NR_CHANNEL]; member 119 data->target_count[i] = rv; in max31790_update_device() 185 rpm = RPM_FROM_REG(data->target_count[channel], sr); in max31790_read_fan() 201 data->target_count[channel % NR_CHANNEL] >> 8); in max31790_read_fan() 215 int target_count; in max31790_write_fan() local 237 target_count = RPM_TO_REG(val, sr); in max31790_write_fan() 238 target_count = clamp_val(target_count, 0x1, 0x7FF); in max31790_write_fan() 240 data->target_count[channel] = target_count << 5; in max31790_write_fan() 244 data->target_count[channel]); in max31790_write_fan()
|
/linux-5.19.10/tools/testing/cxl/test/ |
D | cxl.c | 414 int target_count; member 424 if (ctx->index > ctx->target_count) { in map_targets() 436 int target_count, i; in mock_cxl_enumerate_decoders() local 439 target_count = 0; in mock_cxl_enumerate_decoders() 441 target_count = NR_CXL_ROOT_PORTS; in mock_cxl_enumerate_decoders() 443 target_count = NR_CXL_SWITCH_PORTS; in mock_cxl_enumerate_decoders() 449 .target_count = target_count, in mock_cxl_enumerate_decoders() 454 if (target_count) in mock_cxl_enumerate_decoders() 455 cxld = cxl_switch_decoder_alloc(port, target_count); in mock_cxl_enumerate_decoders() 469 cxld->interleave_ways = min_not_zero(target_count, 1); in mock_cxl_enumerate_decoders() [all …]
|
/linux-5.19.10/drivers/md/ |
D | dm-init.c | 66 for (i = 0; i < dev->dmi.target_count; i++) { in dm_setup_cleanup() 108 const unsigned int n = dev->dmi.target_count - 1; in dm_parse_table_entry() 163 if (++dev->dmi.target_count > DM_MAX_TARGETS) { in dm_parse_table() 165 dev->dmi.target_count, DM_MAX_TARGETS); in dm_parse_table()
|
D | dm-ioctl.c | 828 param->target_count = 0; in __dev_status() 835 param->target_count = dm_table_get_num_targets(table); in __dev_status() 848 param->target_count = dm_table_get_num_targets(table); in __dev_status() 1301 param->target_count = num_targets; in retrieve_status() 1389 if (!param->target_count) { in populate_table() 1394 for (i = 0; i < param->target_count; i++) { in populate_table() 1438 r = dm_table_create(&t, get_mode(param), param->target_count, md); in table_load() 2174 if (!dmi->target_count) in dm_early_create() 2195 r = dm_table_create(&t, get_mode(dmi), dmi->target_count, md); in dm_early_create() 2200 for (i = 0; i < dmi->target_count; i++) { in dm_early_create()
|
D | dm-cache-policy-smq.c | 266 unsigned target_count[MAX_LEVELS]; member 279 q->target_count[i] = 0u; in q_init() 397 q->target_count[level] = in q_set_targets_subrange_() 437 target = q->target_count[level]; in q_redistribute()
|
/linux-5.19.10/drivers/cxl/core/ |
D | hdm.c | 72 cxlhdm->target_count = in parse_hdm_decoder_caps() 241 int rc, target_count = cxlhdm->target_count; in devm_cxl_enumerate_decoders() local 247 cxld = cxl_switch_decoder_alloc(port, target_count); in devm_cxl_enumerate_decoders()
|
/linux-5.19.10/drivers/misc/altera-stapl/ |
D | altera-jtag.c | 395 u32 target_count, in altera_concatenate_data() argument 414 k = preamble_count + target_count; in altera_concatenate_data() 424 k = preamble_count + target_count + postamble_count; in altera_concatenate_data() 562 u32 target_count) in altera_extract_target_data() argument 573 k = start_index + target_count; in altera_extract_target_data()
|
/linux-5.19.10/include/uapi/linux/ |
D | dm-ioctl.h | 125 __u32 target_count; /* in/out */ member
|
/linux-5.19.10/drivers/cxl/ |
D | cxlmem.h | 369 unsigned int target_count; member
|