Searched refs:fetch_idx (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/scsi/snic/ |
| H A D | vnic_dev.c | 270 u32 fetch_idx; in _svnic_dev_cmd2() local 274 fetch_idx = ioread32(&dc2c->wq_ctrl->fetch_index); in _svnic_dev_cmd2() 275 if (fetch_idx == 0xFFFFFFFF) { /* check for hardware gone */ in _svnic_dev_cmd2() 288 if (new_posted == fetch_idx) { in _svnic_dev_cmd2() 290 pci_name(vdev->pdev), _CMD_N(cmd), fetch_idx, posted); in _svnic_dev_cmd2() 358 unsigned int fetch_idx; in svnic_dev_init_devcmd2() local 385 fetch_idx = ioread32(&dc2c->wq.ctrl->fetch_index); in svnic_dev_init_devcmd2() 386 if (fetch_idx == 0xFFFFFFFF) { /* check for hardware gone */ in svnic_dev_init_devcmd2() 388 fetch_idx = 0; in svnic_dev_init_devcmd2() 396 vnic_wq_init_start(&dc2c->wq, 0, fetch_idx, fetch_idx, 0, 0); in svnic_dev_init_devcmd2()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_kinstr_prfcnt.c | 199 atomic_t fetch_idx; member 255 if (atomic_read(&cli->write_idx) != atomic_read(&cli->fetch_idx)) in kbasep_kinstr_prfcnt_hwcnt_reader_poll() 796 if (atomic_read(&cli->fetch_idx) != atomic_read(&cli->read_idx)) { in kbasep_kinstr_prfcnt_client_discard() 797 atomic_set(&cli->fetch_idx, write_idx); in kbasep_kinstr_prfcnt_client_discard() 799 atomic_set(&cli->fetch_idx, write_idx); in kbasep_kinstr_prfcnt_client_discard() 847 unsigned int fetch_idx; in kbasep_kinstr_prfcnt_get_sample() local 872 fetch_idx = atomic_read(&cli->fetch_idx); in kbasep_kinstr_prfcnt_get_sample() 873 if (read_idx != fetch_idx) { in kbasep_kinstr_prfcnt_get_sample() 886 atomic_inc(&cli->fetch_idx); in kbasep_kinstr_prfcnt_get_sample() 899 unsigned int fetch_idx; in kbasep_kinstr_prfcnt_put_sample() local [all …]
|