Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/md/
Ddm-init.c71 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()
Ddm-ioctl.c852 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()
1332 param->target_count = num_targets; in retrieve_status()
1443 if (!param->target_count) { in populate_table()
1448 for (i = 0; i < param->target_count; i++) { in populate_table()
1508 r = dm_table_create(&t, get_mode(param), param->target_count, md); in table_load()
2257 if (!dmi->target_count) in dm_early_create()
2278 r = dm_table_create(&t, get_mode(dmi), dmi->target_count, md); in dm_early_create()
2283 for (i = 0; i < dmi->target_count; i++) { in dm_early_create()
Ddm-cache-policy-smq.c267 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-6.6.21/tools/testing/cxl/test/
Dcxl.c645 int target_count; member
655 if (ctx->index > ctx->target_count) { in map_targets()
849 int target_count, i; in mock_cxl_enumerate_decoders() local
852 target_count = 0; in mock_cxl_enumerate_decoders()
854 target_count = NR_CXL_ROOT_PORTS; in mock_cxl_enumerate_decoders()
856 target_count = NR_CXL_SWITCH_PORTS; in mock_cxl_enumerate_decoders()
862 .target_count = target_count, in mock_cxl_enumerate_decoders()
867 if (target_count) { in mock_cxl_enumerate_decoders()
870 cxlsd = cxl_switch_decoder_alloc(port, target_count); in mock_cxl_enumerate_decoders()
892 if (target_count) { in mock_cxl_enumerate_decoders()
/linux-6.6.21/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.6.21/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.6.21/include/uapi/linux/
Ddm-ioctl.h125 __u32 target_count; /* in/out */ member
/linux-6.6.21/drivers/cxl/core/
Dhdm.c76 cxlhdm->target_count = in parse_hdm_decoder_caps()
990 int rc, target_count = cxlhdm->target_count; in devm_cxl_enumerate_decoders() local
1007 cxlsd = cxl_switch_decoder_alloc(port, target_count); in devm_cxl_enumerate_decoders()
/linux-6.6.21/drivers/cxl/
Dcxlmem.h894 unsigned int target_count; member