Searched refs:target_count (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/hwmon/ |
H A D | max31790.c | 70 u16 target_count[NR_CHANNEL]; member 122 data->target_count[i] = rv; in max31790_update_device() 188 rpm = RPM_FROM_REG(data->target_count[channel], sr); in max31790_read_fan() 204 data->target_count[channel % NR_CHANNEL] >> 8); in max31790_read_fan() 221 int target_count; in max31790_write_fan() local 243 target_count = RPM_TO_REG(val, sr); in max31790_write_fan() 244 target_count = clamp_val(target_count, 0x1, 0x7FF); in max31790_write_fan() 246 data->target_count[channel] = target_count << 5; in max31790_write_fan() 250 data->target_count[channel]); in max31790_write_fan()
|
/linux/drivers/md/ |
H A D | dm-init.c | 71 for (i = 0; i < dev->dmi.target_count; i++) { in dm_setup_cleanup() 113 const unsigned int n = dev->dmi.target_count - 1; in dm_parse_table_entry() 168 if (++dev->dmi.target_count > DM_MAX_TARGETS) { in dm_parse_table() 170 dev->dmi.target_count, DM_MAX_TARGETS); in dm_parse_table()
|
H A D | dm-ioctl.c | 852 param->target_count = 0; in __dev_status() 859 param->target_count = table->num_targets; in __dev_status() 873 param->target_count = table->num_targets; in __dev_status() 1350 param->target_count = num_targets; in retrieve_status() 1461 if (!param->target_count) { in populate_table() 1466 for (i = 0; i < param->target_count; i++) { in populate_table() 1526 r = dm_table_create(&t, get_mode(param), param->target_count, md); in table_load() 2275 if (!dmi->target_count) in dm_early_create() 2296 r = dm_table_create(&t, get_mode(dmi), dmi->target_count, md); in dm_early_create() 2301 for (i = 0; i < dmi->target_count; i++) { in dm_early_create()
|
H A D | dm-cache-policy-smq.c | 267 unsigned int target_count[MAX_LEVELS]; member 280 q->target_count[i] = 0u; in q_init() 399 q->target_count[level] = in q_set_targets_subrange_() 439 target = q->target_count[level]; in q_redistribute()
|
/linux/tools/testing/cxl/test/ |
H A D | cxl.c | 655 int target_count; member 665 if (ctx->index > ctx->target_count) { in map_targets() 855 int target_count, i; in mock_cxl_enumerate_decoders() local 858 target_count = 0; in mock_cxl_enumerate_decoders() 860 target_count = NR_CXL_ROOT_PORTS; in mock_cxl_enumerate_decoders() 862 target_count = NR_CXL_SWITCH_PORTS; in mock_cxl_enumerate_decoders() 868 .target_count = target_count, in mock_cxl_enumerate_decoders() 873 if (target_count) { in mock_cxl_enumerate_decoders() 876 cxlsd = cxl_switch_decoder_alloc(port, target_count); in mock_cxl_enumerate_decoders() 898 if (target_count) { in mock_cxl_enumerate_decoders()
|
/linux/drivers/misc/altera-stapl/ |
H A 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/tools/testing/selftests/perf_events/ |
H A D | sigtrap_threads.c | 219 const int target_count = NUM_THREADS * 3000; in TEST_F() local 226 while (__atomic_load_n(&ctx.signal_count, __ATOMIC_RELAXED) < target_count) { in TEST_F()
|
/linux/include/uapi/linux/ |
H A D | dm-ioctl.h | 125 __u32 target_count; /* in/out */ member
|
/linux/drivers/cxl/core/ |
H A D | hdm.c | 84 cxlhdm->target_count = in parse_hdm_decoder_caps() 1030 int rc, target_count = cxlhdm->target_count; in devm_cxl_enumerate_decoders() local 1047 cxlsd = cxl_switch_decoder_alloc(port, target_count); in devm_cxl_enumerate_decoders()
|