Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A 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()
/openbmc/linux/drivers/md/
H A 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()
H A 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()
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 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()
/openbmc/qemu/net/
H A Dl2tpv3.c399 int target_count, count; in net_l2tpv3_send() local
410 target_count = MAX_L2TPV3_MSGCNT - s->queue_depth; in net_l2tpv3_send()
416 if (s->queue_head + target_count > MAX_L2TPV3_MSGCNT) { in net_l2tpv3_send()
417 target_count = MAX_L2TPV3_MSGCNT - s->queue_head; in net_l2tpv3_send()
428 target_count = MAX_L2TPV3_MSGCNT; in net_l2tpv3_send()
432 if (target_count > 0) { in net_l2tpv3_send()
434 recvmmsg(s->fd, msgvec, target_count, MSG_DONTWAIT, NULL) in net_l2tpv3_send()
/openbmc/linux/tools/testing/cxl/test/
H A Dcxl.c649 int target_count; member
659 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()
/openbmc/linux/drivers/misc/altera-stapl/
H A 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()
/openbmc/linux/tools/testing/selftests/perf_events/
H A 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()
/openbmc/linux/include/uapi/linux/
H A Ddm-ioctl.h125 __u32 target_count; /* in/out */ member
/openbmc/linux/drivers/cxl/core/
H A Dhdm.c84 cxlhdm->target_count = in parse_hdm_decoder_caps()
1037 int rc, target_count = cxlhdm->target_count; in devm_cxl_enumerate_decoders() local
1054 cxlsd = cxl_switch_decoder_alloc(port, target_count); in devm_cxl_enumerate_decoders()
/openbmc/qemu/gdbstub/
H A Dgdbstub.c746 int target_count = 0; in gdb_handle_vcont() local
790 target_count++; in gdb_handle_vcont()
810 target_count++; in gdb_handle_vcont()
830 target_count++; in gdb_handle_vcont()
844 if (target_count > 0) { in gdb_handle_vcont()
/openbmc/linux/drivers/cxl/
H A Dcxlmem.h903 unsigned int target_count; member
/openbmc/qemu/linux-user/
H A Dsyscall.c5081 for (i = 0; i < host_dm->target_count; i++) { in do_ioctl_dm()
5158 for (i = 0; i < host_dm->target_count; i++) { in do_ioctl_dm()