Home
last modified time | relevance | path

Searched refs:target_count (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/hwmon/
Dmax31790.c67 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()
218 int target_count; in max31790_write_fan() local
240 target_count = RPM_TO_REG(val, sr); in max31790_write_fan()
241 target_count = clamp_val(target_count, 0x1, 0x7FF); in max31790_write_fan()
243 data->target_count[channel] = target_count << 5; in max31790_write_fan()
247 data->target_count[channel]); in max31790_write_fan()
/linux-6.1.9/drivers/md/
Ddm-init.c66 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()
Ddm-ioctl.c828 param->target_count = 0; in __dev_status()
835 param->target_count = table->num_targets; in __dev_status()
848 param->target_count = table->num_targets; 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()
Ddm-cache-policy-smq.c266 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-6.1.9/tools/testing/cxl/test/
Dcxl.c492 int target_count; member
502 if (ctx->index > ctx->target_count) { in map_targets()
558 int target_count, i; in mock_cxl_enumerate_decoders() local
561 target_count = 0; in mock_cxl_enumerate_decoders()
563 target_count = NR_CXL_ROOT_PORTS; in mock_cxl_enumerate_decoders()
565 target_count = NR_CXL_SWITCH_PORTS; in mock_cxl_enumerate_decoders()
571 .target_count = target_count, in mock_cxl_enumerate_decoders()
576 if (target_count) { in mock_cxl_enumerate_decoders()
579 cxlsd = cxl_switch_decoder_alloc(port, target_count); in mock_cxl_enumerate_decoders()
604 cxld->interleave_ways = min_not_zero(target_count, 1); in mock_cxl_enumerate_decoders()
[all …]
/linux-6.1.9/drivers/misc/altera-stapl/
Daltera-jtag.c395 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-6.1.9/tools/testing/selftests/perf_events/
Dsigtrap_threads.c219 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-6.1.9/include/uapi/linux/
Ddm-ioctl.h125 __u32 target_count; /* in/out */ member
/linux-6.1.9/drivers/cxl/core/
Dhdm.c77 cxlhdm->target_count = in parse_hdm_decoder_caps()
815 int rc, target_count = cxlhdm->target_count; in devm_cxl_enumerate_decoders() local
831 cxlsd = cxl_switch_decoder_alloc(port, target_count); in devm_cxl_enumerate_decoders()
/linux-6.1.9/drivers/cxl/
Dcxlmem.h399 unsigned int target_count; member