/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vf_error.c | 42 index = adev->virt.vf_errors.write_count % AMDGPU_VF_ERROR_ENTRY_SIZE; in amdgpu_vf_error_put() 46 adev->virt.vf_errors.write_count ++; in amdgpu_vf_error_put() 71 …if (adev->virt.vf_errors.write_count - adev->virt.vf_errors.read_count > AMDGPU_VF_ERROR_ENTRY_SIZ… in amdgpu_vf_error_trans_all() 72 adev->virt.vf_errors.read_count = adev->virt.vf_errors.write_count - AMDGPU_VF_ERROR_ENTRY_SIZE; in amdgpu_vf_error_trans_all() 75 while (adev->virt.vf_errors.read_count < adev->virt.vf_errors.write_count) { in amdgpu_vf_error_trans_all()
|
D | amdgpu_virt.h | 72 int write_count; member
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | nic_common.h | 68 static inline bool efx_nic_tx_is_empty(struct efx_tx_queue *tx_queue, unsigned int write_count) in efx_nic_tx_is_empty() argument 75 return ((empty_read_count ^ write_count) & ~EFX_EMPTY_COUNT_VALID) == 0; in efx_nic_tx_is_empty() 87 unsigned int write_count) in efx_nic_may_push_tx_desc() argument 89 bool was_empty = efx_nic_tx_is_empty(tx_queue, write_count); in efx_nic_may_push_tx_desc() 92 return was_empty && tx_queue->write_count - write_count == 1; in efx_nic_may_push_tx_desc()
|
D | tx_common.c | 76 tx_queue->write_count = 0; in efx_siena_init_tx_queue() 180 while (tx_queue->read_count != tx_queue->write_count) { in efx_siena_fini_tx_queue() 229 tx_queue->old_write_count = READ_ONCE(tx_queue->write_count); in efx_siena_xmit_done_check_empty()
|
D | farch.c | 288 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_notify_tx_desc() 304 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_push_tx_desc() 322 unsigned old_write_count = tx_queue->write_count; in efx_farch_tx_write() 325 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in efx_farch_tx_write() 329 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_tx_write() 332 ++tx_queue->write_count; in efx_farch_tx_write() 344 } while (tx_queue->write_count != tx_queue->insert_count); in efx_farch_tx_write()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | nic_common.h | 68 static inline bool efx_nic_tx_is_empty(struct efx_tx_queue *tx_queue, unsigned int write_count) in efx_nic_tx_is_empty() argument 75 return ((empty_read_count ^ write_count) & ~EFX_EMPTY_COUNT_VALID) == 0; in efx_nic_tx_is_empty() 90 unsigned int write_count) in efx_nic_may_push_tx_desc() argument 92 bool was_empty = efx_nic_tx_is_empty(tx_queue, write_count); in efx_nic_may_push_tx_desc() 95 return was_empty && tx_queue->write_count - write_count == 1; in efx_nic_may_push_tx_desc()
|
D | ef100_tx.c | 117 if (unlikely(tx_queue->notify_count == tx_queue->write_count)) in ef100_notify_tx_desc() 120 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in ef100_notify_tx_desc() 125 tx_queue->notify_count = tx_queue->write_count; in ef100_notify_tx_desc() 260 unsigned int old_write_count = tx_queue->write_count; in ef100_tx_make_descriptors() 332 tx_queue->write_count = new_write_count; in ef100_tx_make_descriptors() 485 tx_queue->write_count - tx_queue->notify_count > 255) in __ef100_enqueue_skb()
|
D | tx_common.c | 76 tx_queue->write_count = 0; in efx_init_tx_queue() 110 while (tx_queue->read_count != tx_queue->write_count) { in efx_fini_tx_queue() 242 tx_queue->old_write_count = READ_ONCE(tx_queue->write_count); in efx_xmit_done_check_empty()
|
D | ef10.c | 2207 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_push_tx_desc() 2385 tx_queue->write_count = 1; in efx_ef10_tx_init() 2406 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_notify_tx_desc() 2433 unsigned int old_write_count = tx_queue->write_count; in efx_ef10_tx_write() 2439 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in efx_ef10_tx_write() 2443 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_tx_write() 2446 ++tx_queue->write_count; in efx_ef10_tx_write() 2453 tx_queue->packet_write_count = tx_queue->write_count; in efx_ef10_tx_write() 2455 tx_queue->packet_write_count = tx_queue->write_count; in efx_ef10_tx_write() 2464 } while (tx_queue->write_count != tx_queue->insert_count); in efx_ef10_tx_write() [all …]
|
D | tx_tso.c | 378 EFX_WARN_ON_ONCE_PARANOID(tx_queue->write_count != tx_queue->insert_count); in efx_enqueue_skb_tso()
|
/linux-6.1.9/samples/bpf/ |
D | ibumad_kern.c | 31 } write_count SEC(".maps"); 125 val = bpf_map_lookup_elem(&write_count, &class); in on_ib_umad_write() 127 bpf_map_update_elem(&write_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_write() 128 val = bpf_map_lookup_elem(&write_count, &class); in on_ib_umad_write()
|
/linux-6.1.9/drivers/char/ipmi/ |
D | ipmi_kcs_sm.c | 113 int write_count; member 131 kcs->write_count = 0; in init_kcs_data() 184 (kcs->write_count)--; in write_next_byte() 254 kcs->write_count = kcs->orig_write_count; in restart_kcs_transaction() 286 kcs->write_count = size; in start_kcs_transaction() 378 if (kcs->write_count == 1) { in kcs_event() 394 if (kcs->write_count == 1) { in kcs_event()
|
D | ipmi_smic_sm.c | 95 int write_count; member 110 smic->write_count = 0; in init_smic_data() 145 smic->write_count = size; in start_smic_transaction() 223 smic->write_count = smic->orig_write_count; in start_error_recovery() 235 (smic->write_count)--; in write_next_byte() 398 if (smic->write_count == 1) { in smic_event() 421 if (smic->write_count == 1) { in smic_event()
|
D | ipmi_bt_sm.c | 81 int write_count; member 232 bt->write_count = size + 2; in bt_start_transaction() 323 bt->write_count, bt->seq); in write_all_bytes() 324 for (i = 0; i < bt->write_count; i++) in write_all_bytes() 328 for (i = 0; i < bt->write_count; i++) in write_all_bytes()
|
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/ |
D | nic.h | 81 unsigned int write_count) in __ef4_nic_tx_is_empty() argument 88 return ((empty_read_count ^ write_count) & ~EF4_EMPTY_COUNT_VALID) == 0; in __ef4_nic_tx_is_empty() 100 unsigned int write_count) in ef4_nic_may_push_tx_desc() argument 102 bool was_empty = __ef4_nic_tx_is_empty(tx_queue, write_count); in ef4_nic_may_push_tx_desc() 105 return was_empty && tx_queue->write_count - write_count == 1; in ef4_nic_may_push_tx_desc()
|
D | tx.c | 274 while (tx_queue->insert_count != tx_queue->write_count) { in ef4_enqueue_unwind() 525 tx_queue->old_write_count = READ_ONCE(tx_queue->write_count); in ef4_xmit_done() 591 tx_queue->write_count = 0; in ef4_init_tx_queue() 618 while (tx_queue->read_count != tx_queue->write_count) { in ef4_fini_tx_queue()
|
D | farch.c | 277 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in ef4_farch_notify_tx_desc() 293 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in ef4_farch_push_tx_desc() 311 unsigned old_write_count = tx_queue->write_count; in ef4_farch_tx_write() 314 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in ef4_farch_tx_write() 318 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in ef4_farch_tx_write() 321 ++tx_queue->write_count; in ef4_farch_tx_write() 333 } while (tx_queue->write_count != tx_queue->insert_count); in ef4_farch_tx_write()
|
D | net_driver.h | 237 unsigned int write_count; member
|
/linux-6.1.9/drivers/clocksource/ |
D | sh_cmt.c | 88 void (*write_count)(void __iomem *base, unsigned long offs, u32 value); member 189 .write_count = sh_cmt_write16, 199 .write_count = sh_cmt_write32, 210 .write_count = sh_cmt_write32, 221 .write_count = sh_cmt_write32, 232 .write_count = sh_cmt_write32, 299 ch->cmt->info->write_count(ch->ioctrl, CMCNT, value); in sh_cmt_write_cmcnt() 309 ch->cmt->info->write_count(ch->ioctrl, CMCOR, value); in sh_cmt_write_cmcor()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_services.c | 49 ctx->perf_trace->write_count, in dm_perf_trace_timestamp()
|
D | amdgpu_dm_trace.h | 72 TP_PROTO(unsigned long read_count, unsigned long write_count, 75 TP_ARGS(read_count, write_count, last_read, last_write, func, line), 86 __entry->writes = write_count; 88 __entry->write_delta = write_count - *last_write; 92 *last_write = write_count;
|
/linux-6.1.9/fs/hfsplus/ |
D | hfsplus_raw.h | 128 __be32 write_count; member
|
D | super.c | 547 be32_add_cpu(&vhdr->write_count, 1); in hfsplus_fill_super()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 80 unsigned long write_count; member
|
/linux-6.1.9/drivers/media/common/siano/ |
D | smscoreapi.h | 1047 u32 write_count; /* number of bytes to write */ member
|