Searched refs:count (Results 126 - 150 of 7674) sorted by last modified time

1234567891011>>

/linux-master/drivers/gpu/drm/xe/
H A Dxe_gt_ccs_mode.c105 const char *buff, size_t count)
129 if (xe->clients.count) {
142 return count;
104 ccs_mode_store(struct device *kdev, struct device_attribute *attr, const char *buff, size_t count) argument
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.c116 enum amdgpu_mca_error_type type, struct mca_bank_entry *entry, uint32_t *count);
679 dpm_table->count = 2;
687 dpm_table->count = 1;
703 dpm_table->count = levels;
704 for (i = 0; i < dpm_table->count; ++i) {
772 if (gfx_table->count > SMU_13_0_6_UMD_PSTATE_GFXCLK_LEVEL &&
773 mem_table->count > SMU_13_0_6_UMD_PSTATE_MCLK_LEVEL &&
774 soc_table->count > SMU_13_0_6_UMD_PSTATE_SOCCLK_LEVEL) {
797 int i, count; local
799 count
2518 smu_v13_0_6_get_valid_mca_count(struct smu_context *smu, enum amdgpu_mca_error_type type, uint32_t *count) argument
2567 smu_v13_0_6_mca_dump_bank(struct smu_context *smu, enum amdgpu_mca_error_type type, int idx, int offset, uint32_t *val, int count) argument
2678 mca_umc_mca_get_err_count(const struct mca_ras_info *mca_ras, struct amdgpu_device *adev, enum amdgpu_mca_error_type type, struct mca_bank_entry *entry, uint32_t *count) argument
2702 mca_pcs_xgmi_mca_get_err_count(const struct mca_ras_info *mca_ras, struct amdgpu_device *adev, enum amdgpu_mca_error_type type, struct mca_bank_entry *entry, uint32_t *count) argument
2736 mca_gfx_mca_get_err_count(const struct mca_ras_info *mca_ras, struct amdgpu_device *adev, enum amdgpu_mca_error_type type, struct mca_bank_entry *entry, uint32_t *count) argument
2760 mca_smu_mca_get_err_count(const struct mca_ras_info *mca_ras, struct amdgpu_device *adev, enum amdgpu_mca_error_type type, struct mca_bank_entry *entry, uint32_t *count) argument
2875 mca_get_valid_mca_count(struct amdgpu_device *adev, enum amdgpu_mca_error_type type, uint32_t *count) argument
2954 mca_smu_parse_mca_error_count(struct amdgpu_device *adev, enum amdgpu_ras_block blk, enum amdgpu_mca_error_type type, struct mca_bank_entry *entry, uint32_t *count) argument
2980 mca_smu_get_valid_mca_count(struct amdgpu_device *adev, enum amdgpu_mca_error_type type, uint32_t *count) argument
3003 smu_v13_0_6_get_valid_aca_count(struct smu_context *smu, enum aca_error_type type, u32 *count) argument
3031 aca_smu_get_valid_aca_count(struct amdgpu_device *adev, enum aca_error_type type, u32 *count) argument
3071 smu_v13_0_6_aca_bank_dump(struct smu_context *smu, enum aca_error_type type, int idx, int offset, u32 *val, int count) argument
3113 int i, ret, count; local
[all...]
/linux-master/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c58 const char *buf, size_t count);
165 size_t count)
197 return count;
301 size_t count)
357 return count;
461 size_t count)
478 return count;
512 return count;
570 size_t count)
587 ret = amdgpu_dpm_set_pp_table(adev, buf, count);
162 amdgpu_set_power_dpm_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
298 amdgpu_set_power_dpm_force_performance_level(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
458 amdgpu_set_pp_force_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
567 amdgpu_set_pp_table(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
743 amdgpu_set_pp_od_clk_voltage(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
911 amdgpu_set_pp_features(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1055 amdgpu_read_mask(const char *buf, size_t count, uint32_t *mask) argument
1084 amdgpu_set_pp_dpm_clock(struct device *dev, enum pp_clock_type type, const char *buf, size_t count) argument
1127 amdgpu_set_pp_dpm_sclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1142 amdgpu_set_pp_dpm_mclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1157 amdgpu_set_pp_dpm_socclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1172 amdgpu_set_pp_dpm_fclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1187 amdgpu_set_pp_dpm_vclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1202 amdgpu_set_pp_dpm_vclk1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1217 amdgpu_set_pp_dpm_dclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1232 amdgpu_set_pp_dpm_dclk1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1247 amdgpu_set_pp_dpm_dcefclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1262 amdgpu_set_pp_dpm_pcie(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1298 amdgpu_set_pp_sclk_od(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1360 amdgpu_set_pp_mclk_od(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1445 amdgpu_set_pp_power_profile_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1687 amdgpu_set_thermal_throttling_logging(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1765 amdgpu_set_apu_thermal_cap(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1971 amdgpu_set_smartshift_bias(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2124 amdgpu_set_xgmi_plpd_policy(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2598 amdgpu_hwmon_set_pwm1_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2657 amdgpu_hwmon_set_pwm1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2827 amdgpu_hwmon_set_fan1_target(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2902 amdgpu_hwmon_set_fan1_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
3123 amdgpu_hwmon_set_power_cap(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
3608 parse_input_od_command_lines(const char *buf, size_t count, u32 *type, long *params, uint32_t *num_of_params) argument
3662 amdgpu_distribute_custom_od_settings(struct amdgpu_device *adev, enum PP_OD_DPM_TABLE_COMMAND cmd_type, const char *in_buf, size_t count) argument
3753 fan_curve_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
3811 acoustic_limit_threshold_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
3871 acoustic_target_threshold_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
3932 fan_target_temperature_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
3991 fan_minimum_pwm_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c3986 uint32_t count = 0; local
3999 count++;
4003 *num_svm_ranges = count;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dsdma_v5_2.c194 static void sdma_v5_2_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) argument
199 for (i = 0; i < count; i++)
202 SDMA_PKT_NOP_HEADER_COUNT(count - 1));
296 SDMA_PKT_POLL_REGMEM_DW5_INTERVAL(10)); /* retry count, poll interval */
978 * @count: number of page entries to update
984 unsigned count)
986 unsigned bytes = count * 8;
1005 * @count: number of page entries to update
1011 uint64_t value, unsigned count,
1014 unsigned ndw = count *
982 sdma_v5_2_vm_copy_pte(struct amdgpu_ib *ib, uint64_t pe, uint64_t src, unsigned count) argument
1010 sdma_v5_2_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe, uint64_t value, unsigned count, uint32_t incr) argument
1040 sdma_v5_2_vm_set_pte_pde(struct amdgpu_ib *ib, uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint64_t flags) argument
[all...]
H A Dsdma_v4_4_2.c289 static void sdma_v4_4_2_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) argument
294 for (i = 0; i < count; i++)
297 SDMA_PKT_NOP_HEADER_COUNT(count - 1));
355 SDMA_PKT_POLL_REGMEM_DW5_INTERVAL(inv)); /* retry count, poll interval */
1073 * @count: number of page entries to update
1079 unsigned count)
1081 unsigned bytes = count * 8;
1100 * @count: number of page entries to update
1106 uint64_t value, unsigned count,
1109 unsigned ndw = count *
1077 sdma_v4_4_2_vm_copy_pte(struct amdgpu_ib *ib, uint64_t pe, uint64_t src, unsigned count) argument
1105 sdma_v4_4_2_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe, uint64_t value, unsigned count, uint32_t incr) argument
1135 sdma_v4_4_2_vm_set_pte_pde(struct amdgpu_ib *ib, uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint64_t flags) argument
[all...]
H A Dgfx_v9_0.c1411 u32 count = 0; local
1416 count += 2;
1418 count += 3;
1423 count += 2 + ext->reg_count;
1430 count += 2;
1432 count += 2;
1434 return count;
1440 u32 count = 0, i; local
1449 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
1450 buffer[count
[all...]
H A Dgfx_v11_0.c612 u32 count = 0; local
617 count += 2;
619 count += 3;
624 count += 2 + ext->reg_count;
631 count += 3;
633 count += 2;
635 count += 2;
637 return count;
643 u32 count = 0, i; local
653 buffer[count
[all...]
H A Dgfx_v10_0.c4052 u32 count = 0; local
4057 count += 2;
4059 count += 3;
4064 count += 2 + ext->reg_count;
4071 count += 3;
4073 count += 2;
4075 count += 2;
4077 return count;
4083 u32 count = 0, i; local
4093 buffer[count
[all...]
H A Damdgpu_vpe.c445 static void vpe_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) argument
449 for (i = 0; i < count; i++)
452 VPE_CMD_NOP_HEADER_COUNT(count - 1));
/linux-master/drivers/firmware/qcom/
H A Dqcom_qseecom_uefisecapp.c257 #define __array_offs(type, count, offset) \
258 __field_impl(sizeof(type) * (count), __alignof__(type), offset)
260 #define __array_offs_aligned(type, count, align, offset) \
261 __field_impl(sizeof(type) * (count), align, offset)
266 #define __array(type, count) __array_offs(type, count, NULL)
/linux-master/drivers/cxl/core/
H A Dmbox.c1322 for (int i = 0; i < le16_to_cpu(po->count); i++)
1328 nr_records = nr_records + le16_to_cpu(po->count);
/linux-master/drivers/bluetooth/
H A Dhci_qca.c63 /* max retry count when init fails */
420 * sending IBS message doesn't count as TX ON.
764 * sending IBS message doesn't count as TX ON.
1257 static int qca_recv(struct hci_uart *hu, const void *data, int count) argument
1264 qca->rx_skb = h4_recv_buf(hu->hdev, qca->rx_skb, data, count,
1273 return count;
H A Dbtusb.c863 int (*recv_bulk)(struct btusb_data *data, void *buffer, int count);
1088 static int btusb_recv_intr(struct btusb_data *data, void *buffer, int count) argument
1097 while (count) {
1111 len = min_t(uint, hci_skb_expect(skb), count);
1114 count -= len;
1158 static int btusb_recv_bulk(struct btusb_data *data, void *buffer, int count) argument
1167 while (count) {
1181 len = min_t(uint, hci_skb_expect(skb), count);
1184 count -= len;
1244 static int btusb_recv_isoc(struct btusb_data *data, void *buffer, int count) argument
2500 btusb_recv_bulk_intel(struct btusb_data *data, void *buffer, int count) argument
3716 size_t count, size, sent = 0; local
4165 force_poll_sync_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
4177 force_poll_sync_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/acpi/x86/
H A Ds2idle.c117 for (i = 0; i < out_obj->package.count; i++) {
127 lpi_constraints_table = kcalloc(package->package.count,
137 for (j = 0; j < package->package.count; j++) {
145 for (k = 0; k < info_obj->package.count; k++) {
207 lpi_constraints_table = kcalloc(out_obj->package.count,
215 for (i = 0; i < out_obj->package.count; i++) {
225 for (j = 0; j < package->package.count; j++) {
237 package_count = element->package.count;
268 if (info_obj->package.count < 2)
/linux-master/drivers/acpi/
H A Dcppc_acpi.c57 unsigned int pcc_write_cnt; /* Running count of PCC write commands */
392 if (!psd || psd->package.count != 1) {
/linux-master/arch/loongarch/kernel/
H A Dperf_event.c352 local64_add(delta, &event->count);
/linux-master/arch/arc/kernel/
H A Dperf_event.c46 /* count cycles */
292 local64_add(delta, &event->count);
343 /* "exclude user" means "count only kernel" */
347 /* "exclude kernel" means "count only user" */
/linux-master/fs/btrfs/
H A Dinode.c694 * it won't count as data extent, free them directly here.
1018 * the page count read with the blocks on disk, compression must free at
1767 u64 count; local
1802 count = count_range_bits(io_tree, &range_start, end, range_bytes,
1804 if (count > 0 || is_space_ino || is_reloc_ino) {
1805 u64 bytes = count;
1816 if (count > 0)
3872 * dentry with the "bar" name but our inode foo has a link count of 1
4480 * cache when its usage count hits zero.
5175 * reference count
9937 btrfs_encoded_read_inline( struct kiocb *iocb, struct iov_iter *iter, u64 start, u64 lockend, struct extent_state **cached_state, u64 extent_start, size_t count, struct btrfs_ioctl_encoded_io_args *encoded, bool *unlocked) argument
10096 btrfs_encoded_read_regular(struct kiocb *iocb, struct iov_iter *iter, u64 start, u64 lockend, struct extent_state **cached_state, u64 disk_bytenr, u64 disk_io_size, size_t count, bool compressed, bool *unlocked) argument
10169 size_t count = iov_iter_count(iter); local
[all...]
H A Dbackref.c145 unsigned int count; member in struct:preftree
148 #define PREFTREE_INIT { .root = RB_ROOT_CACHED, .count = 0 }
160 * ref->count >0:
161 * - incremented when a ref->count transitions to >0
162 * - decremented when a ref->count transitions to <1
267 sc->self_ref_count += newref->count;
311 preftree->count);
313 * A delayed ref can have newref->count < 0.
314 * The ref->count is updated to follow any
317 update_share_count(sc, ref->count,
388 add_prelim_ref(const struct btrfs_fs_info *fs_info, struct preftree *preftree, u64 root_id, const struct btrfs_key *key, int level, u64 parent, u64 wanted_disk_byte, int count, struct share_check *sc, gfp_t gfp_mask) argument
419 add_direct_ref(const struct btrfs_fs_info *fs_info, struct preftrees *preftrees, int level, u64 parent, u64 wanted_disk_byte, int count, struct share_check *sc, gfp_t gfp_mask) argument
429 add_indirect_ref(const struct btrfs_fs_info *fs_info, struct preftrees *preftrees, u64 root_id, const struct btrfs_key *key, int level, u64 wanted_disk_byte, int count, struct share_check *sc, gfp_t gfp_mask) argument
483 u64 count = 0; local
895 int count; local
1085 int count; local
1101 int count; local
1188 int count; local
1207 int count; local
[all...]
/linux-master/drivers/hid/i2c-hid/
H A Di2c-hid-core.c624 u8 *buf, size_t count)
641 count--;
646 report_id, buf, count);
655 const u8 *buf, size_t count, bool do_set)
676 report_id, buf + 1, count - 1, do_set);
686 static int i2c_hid_output_report(struct hid_device *hid, u8 *buf, size_t count) argument
688 return i2c_hid_output_raw_report(hid, HID_OUTPUT_REPORT, buf, count,
622 i2c_hid_get_raw_report(struct hid_device *hid, u8 report_type, u8 report_id, u8 *buf, size_t count) argument
654 i2c_hid_output_raw_report(struct hid_device *hid, u8 report_type, const u8 *buf, size_t count, bool do_set) argument
/linux-master/drivers/hid/
H A Dhid-logitech-dj.c807 int count; local
825 count = kfifo_out(&djrcv_dev->notif_fifo, &workitem, sizeof(workitem));
827 if (count != sizeof(workitem)) {
1346 size_t count, unsigned char report_type,
1357 if (count < 2)
1362 if (count == 7 && !memcmp(buf, unifying_pairing_query,
1368 count, report_type, reqtype);
1374 if (djrcv_dev->type != recvr_type_dj && count >= 2) {
1380 return hid_hw_raw_request(djrcv_dev->keyboard, 0, buf, count,
1388 if (count > DJREPORT_SHORT_LENGT
1344 logi_dj_ll_raw_request(struct hid_device *hid, unsigned char reportnum, __u8 *buf, size_t count, unsigned char report_type, int reqtype) argument
[all...]
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dpmu_counters_test.c88 * one "hit, assert that its count is non-zero. If an event isn't supported or
90 * off regarding the count, i.e. no checks can be done.
92 * Sanity check that in all cases, the event doesn't count when it's disabled,
99 uint64_t count; local
101 count = _rdpmc(pmc);
107 GUEST_ASSERT_EQ(count, NUM_INSNS_RETIRED);
110 GUEST_ASSERT_EQ(count, NUM_BRANCHES);
120 GUEST_ASSERT_NE(count, 0);
123 GUEST_ASSERT(count >= NUM_INSNS_RETIRED);
131 GUEST_ASSERT_EQ(_rdpmc(pmc), count); local
[all...]
/linux-master/kernel/sched/
H A Dsched.h108 extern void call_trace_sched_update_nr_running(struct rq *rq, int count);
2512 static inline void add_nr_running(struct rq *rq, unsigned count) argument
2516 rq->nr_running = prev_nr + count;
2518 call_trace_sched_update_nr_running(rq, count);
2531 static inline void sub_nr_running(struct rq *rq, unsigned count) argument
2533 rq->nr_running -= count;
2535 call_trace_sched_update_nr_running(rq, -count);
/linux-master/fs/sysfs/
H A Dfile.c45 ssize_t count; local
52 count = seq_get_buf(sf, &buf);
53 if (count < PAGE_SIZE) {
59 count = ops->show(kobj, of->kn->priv, buf);
60 if (count < 0)
61 return count;
67 if (count >= (ssize_t)PAGE_SIZE) {
68 printk("fill_read_buffer: %pS returned bad count\n",
71 count = PAGE_SIZE - 1;
73 seq_commit(sf, count);
77 sysfs_kf_bin_read(struct kernfs_open_file *of, char *buf, size_t count, loff_t pos) argument
101 sysfs_kf_read(struct kernfs_open_file *of, char *buf, size_t count, loff_t pos) argument
127 sysfs_kf_write(struct kernfs_open_file *of, char *buf, size_t count, loff_t pos) argument
140 sysfs_kf_bin_write(struct kernfs_open_file *of, char *buf, size_t count, loff_t pos) argument
[all...]

Completed in 806 milliseconds

1234567891011>>