Home
last modified time | relevance | path

Searched refs:cmd_cnt (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c274 int i, cmd_cnt, cmd_sum = 0; in am65_cpsw_est_calc_cmd_num() local
286 cmd_cnt = DIV_ROUND_UP(fetch_cnt, AM65_CPSW_FETCH_CNT_MAX); in am65_cpsw_est_calc_cmd_num()
287 if (!cmd_cnt) in am65_cpsw_est_calc_cmd_num()
288 cmd_cnt++; in am65_cpsw_est_calc_cmd_num()
290 cmd_sum += cmd_cnt; in am65_cpsw_est_calc_cmd_num()
/Linux-v5.10/drivers/nfc/nfcmrvl/
Dfw_dnld.c115 atomic_set(&priv->ndev->cmd_cnt, 0); in fw_dnld_over()
481 atomic_set(&priv->ndev->cmd_cnt, 1); in nfcmrvl_fw_dnld_recv_frame()
550 atomic_set(&priv->ndev->cmd_cnt, 1); in nfcmrvl_fw_dnld_start()
/Linux-v5.10/include/uapi/linux/
Dtarget_core_user.h150 __u32 cmd_cnt; member
/Linux-v5.10/net/nfc/nci/
Dcore.c483 atomic_set(&ndev->cmd_cnt, 1); in nci_open_device()
555 atomic_set(&ndev->cmd_cnt, 1); in nci_close_device()
586 atomic_set(&ndev->cmd_cnt, 1); in nci_cmd_timer()
1513 pr_debug("cmd_cnt %d\n", atomic_read(&ndev->cmd_cnt)); in nci_cmd_work()
1516 if (atomic_read(&ndev->cmd_cnt)) { in nci_cmd_work()
1521 atomic_dec(&ndev->cmd_cnt); in nci_cmd_work()
Drsp.c366 atomic_set(&ndev->cmd_cnt, 1); in nci_rsp_packet()
/Linux-v5.10/drivers/scsi/
Dwd33c93.h255 unsigned long cmd_cnt[8]; /* # of commands issued per target */ member
Dgdth.c991 cmd_no = ha->cmd_cnt; in gdth_copy_command()
994 ++ha->cmd_cnt; in gdth_copy_command()
1142 ha->cmd_cnt = 0; in gdth_internal_cmd()
1589 ha->cmd_cnt = ha->cmd_offs_dpmem = 0; in gdth_next()
1811 if (ha->cmd_cnt > 0) { in gdth_next()
1818 if (gdth_polling && ha->cmd_cnt > 0) { in gdth_next()
1999 if (ha->cmd_cnt == 0) in gdth_fill_cache_cmd()
2123 if (ha->cmd_cnt > 0) { in gdth_fill_cache_cmd()
2162 if (ha->cmd_cnt == 0) in gdth_fill_raw_cmd()
2280 if (ha->cmd_cnt > 0) { in gdth_fill_raw_cmd()
[all …]
Dwd33c93.c518 hostdata->cmd_cnt[cmd->device->id]++; in DEF_SCSI_QCMD()
1955 hostdata->cmd_cnt[i] = 0; in wd33c93_init()
2151 seq_printf(m, "\t%ld", hd->cmd_cnt[x]); in wd33c93_show_info()
Dgdth.h891 u16 cmd_cnt; /* command count in DPRAM */ member
/Linux-v5.10/drivers/target/
Dtarget_core_user.c1162 entry->cmd_cnt = tmr->tmr_cmd_cnt; in queue_tmr_ring()
1232 int i = 0, cmd_cnt = 0; in tcmu_tmr_notify() local
1250 cmd_cnt++; in tcmu_tmr_notify()
1268 tcmu_tmr_type(tmf), udev->name, i, cmd_cnt); in tcmu_tmr_notify()
1270 tmr = kmalloc(sizeof(*tmr) + cmd_cnt * sizeof(*cmd_ids), GFP_KERNEL); in tcmu_tmr_notify()
1275 tmr->tmr_cmd_cnt = cmd_cnt; in tcmu_tmr_notify()
1277 if (cmd_cnt != 0) { in tcmu_tmr_notify()
1278 cmd_cnt = 0; in tcmu_tmr_notify()
1284 tmr->tmr_cmd_ids[cmd_cnt++] = cmd->cmd_id; in tcmu_tmr_notify()
/Linux-v5.10/drivers/mmc/host/
Dcavium.h103 unsigned int cmd_cnt; /* sample delay */ member
Dcavium.c291 emm_sample = FIELD_PREP(MIO_EMM_SAMPLE_CMD_CNT, slot->cmd_cnt) | in cvm_mmc_switch_to()
1005 slot->cmd_cnt = (cmd_skew + clock_period / 2) / clock_period; in cvm_mmc_of_parse()
/Linux-v5.10/drivers/media/radio/wl128x/
Dfmdrv_common.c1236 int ret, fw_len, cmd_cnt; in fm_download_firmware() local
1238 cmd_cnt = 0; in fm_download_firmware()
1274 cmd_cnt++; in fm_download_firmware()
1286 fmdbg("Firmware commands(%d) loaded to chip\n", cmd_cnt); in fm_download_firmware()
/Linux-v5.10/include/net/nfc/
Dnci_core.h206 atomic_t cmd_cnt; member
/Linux-v5.10/net/bluetooth/
Dhci_core.c1481 atomic_set(&hdev->cmd_cnt, 1); in hci_dev_do_open()
1784 atomic_set(&hdev->cmd_cnt, 1); in hci_dev_do_close()
1883 atomic_set(&hdev->cmd_cnt, 1); in hci_dev_do_reset()
2760 atomic_set(&hdev->cmd_cnt, 1); in hci_cmd_timeout()
4952 atomic_read(&hdev->cmd_cnt), skb_queue_len(&hdev->cmd_q)); in hci_cmd_work()
4955 if (atomic_read(&hdev->cmd_cnt)) { in hci_cmd_work()
4966 atomic_dec(&hdev->cmd_cnt); in hci_cmd_work()
Dhci_event.c3593 atomic_set(&hdev->cmd_cnt, 1); in hci_cmd_complete_evt()
3604 if (atomic_read(&hdev->cmd_cnt) && !skb_queue_empty(&hdev->cmd_q)) in hci_cmd_complete_evt()
3698 atomic_set(&hdev->cmd_cnt, 1); in hci_cmd_status_evt()
3717 if (atomic_read(&hdev->cmd_cnt) && !skb_queue_empty(&hdev->cmd_q)) in hci_cmd_status_evt()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_target.h772 uint8_t cmd_cnt; member
/Linux-v5.10/drivers/block/mtip32xx/
Dmtip32xx.c515 unsigned int cmd_cnt = 0; in mtip_handle_tfe() local
556 cmd_cnt++; in mtip_handle_tfe()
560 print_tags(dd, "completed (TFE)", tagaccum, cmd_cnt); in mtip_handle_tfe()
652 print_tags(dd, "reissued (TFE)", tagaccum, cmd_cnt); in mtip_handle_tfe()
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1265 p_ramrod->filter_cmd_hdr.cmd_cnt = 2; break; in qed_filter_ucast_common()
1267 p_ramrod->filter_cmd_hdr.cmd_cnt = 1; break; in qed_filter_ucast_common()
1396 p_ramrod->filter_cmd_hdr.cmd_cnt, in qed_sp_eth_filter_ucast()
Dqed_hsi.h5453 u8 cmd_cnt; member
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h1077 uint64_t cmd_cnt:10; member
1083 uint64_t cmd_cnt:10;
/Linux-v5.10/include/net/bluetooth/
Dhci_core.h409 atomic_t cmd_cnt; member