Home
last modified time | relevance | path

Searched refs:tx_cpu (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_lb.c49 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
133 uint32 tx_cpu = 0; /* cpu selected for tx processing job */ in dhd_select_cpu_candidacy() local
175 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
176 if (tx_cpu >= nr_cpu_ids) in dhd_select_cpu_candidacy()
177 tx_cpu = 0; in dhd_select_cpu_candidacy()
181 __FUNCTION__, napi_cpu, tx_cpu)); in dhd_select_cpu_candidacy()
195 tx_cpu = 0; in dhd_select_cpu_candidacy()
199 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
200 } else if (tx_cpu == 0) { in dhd_select_cpu_candidacy()
201 tx_cpu = cpumask_first(dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
[all …]
H A Ddhd_linux_priv.h324 atomic_t tx_cpu; member
H A Ddhd_linux_exportfs.c2805 ret = scnprintf(buf, PAGE_SIZE - 1, "%d\n", atomic_read(&dev->tx_cpu)); in show_tx_cpu()
2828 atomic_set(&dev->tx_cpu, val); in set_tx_cpu()
2829 DHD_ERROR(("%s: tx_cpu = %d\n", __FUNCTION__, atomic_read(&dev->tx_cpu))); in set_tx_cpu()
2834 __ATTR(tx_cpu, 0660, show_tx_cpu, set_tx_cpu);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_lb.c49 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
133 uint32 tx_cpu = 0; /* cpu selected for tx processing job */ in dhd_select_cpu_candidacy() local
175 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
176 if (tx_cpu >= nr_cpu_ids) in dhd_select_cpu_candidacy()
177 tx_cpu = 0; in dhd_select_cpu_candidacy()
181 __FUNCTION__, napi_cpu, tx_cpu)); in dhd_select_cpu_candidacy()
195 tx_cpu = 0; in dhd_select_cpu_candidacy()
199 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
200 } else if (tx_cpu == 0) { in dhd_select_cpu_candidacy()
201 tx_cpu = cpumask_first(dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
[all …]
H A Ddhd_linux_priv.h326 atomic_t tx_cpu; member
H A Ddhd_linux_exportfs.c2803 ret = scnprintf(buf, PAGE_SIZE - 1, "%d\n", atomic_read(&dev->tx_cpu)); in show_tx_cpu()
2826 atomic_set(&dev->tx_cpu, val); in set_tx_cpu()
2827 DHD_ERROR(("%s: tx_cpu = %d\n", __FUNCTION__, atomic_read(&dev->tx_cpu))); in set_tx_cpu()
2832 __ATTR(tx_cpu, 0660, show_tx_cpu, set_tx_cpu);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_linux_lb.c46 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
137 uint32 tx_cpu = 0; /* cpu selected for tx processing job */ in dhd_select_cpu_candidacy() local
161 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
162 if (tx_cpu >= nr_cpu_ids) in dhd_select_cpu_candidacy()
163 tx_cpu = 0; in dhd_select_cpu_candidacy()
166 compl_cpu = cpumask_next(tx_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
168 compl_cpu = tx_cpu; in dhd_select_cpu_candidacy()
172 __FUNCTION__, napi_cpu, compl_cpu, tx_cpu)); in dhd_select_cpu_candidacy()
186 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
187 compl_cpu = cpumask_next(tx_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
[all …]
H A Ddhd_linux_priv.h297 atomic_t tx_cpu; member
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_linux_lb.c46 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
137 uint32 tx_cpu = 0; /* cpu selected for tx processing job */ in dhd_select_cpu_candidacy() local
161 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
162 if (tx_cpu >= nr_cpu_ids) in dhd_select_cpu_candidacy()
163 tx_cpu = 0; in dhd_select_cpu_candidacy()
166 compl_cpu = cpumask_next(tx_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
168 compl_cpu = tx_cpu; in dhd_select_cpu_candidacy()
172 __FUNCTION__, napi_cpu, compl_cpu, tx_cpu)); in dhd_select_cpu_candidacy()
186 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
187 compl_cpu = cpumask_next(tx_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
[all …]
H A Ddhd_linux_priv.h297 atomic_t tx_cpu; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_linux_lb.c46 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
137 uint32 tx_cpu = 0; /* cpu selected for tx processing job */ in dhd_select_cpu_candidacy() local
161 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
162 if (tx_cpu >= nr_cpu_ids) in dhd_select_cpu_candidacy()
163 tx_cpu = 0; in dhd_select_cpu_candidacy()
166 compl_cpu = cpumask_next(tx_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
168 compl_cpu = tx_cpu; in dhd_select_cpu_candidacy()
172 __FUNCTION__, napi_cpu, compl_cpu, tx_cpu)); in dhd_select_cpu_candidacy()
186 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
187 compl_cpu = cpumask_next(tx_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
[all …]
H A Ddhd_linux_priv.h297 atomic_t tx_cpu; member
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/siw/
H A Dsiw_main.c190 int i, num_cpus, cpu, min_use, node = sdev->numa_node, tx_cpu = -1; in siw_get_tx_cpu() local
218 tx_cpu = cpu; in siw_get_tx_cpu()
223 "tx cpu %d, node %d, %d qp's\n", tx_cpu, node, min_use); in siw_get_tx_cpu()
226 if (tx_cpu >= 0) in siw_get_tx_cpu()
227 atomic_inc(&per_cpu(siw_use_cnt, tx_cpu)); in siw_get_tx_cpu()
231 return tx_cpu; in siw_get_tx_cpu()
H A Dsiw_qp_tx.c1263 if (unlikely(!cpu_online(qp->tx_cpu))) { in siw_sq_start()
1264 siw_put_tx_cpu(qp->tx_cpu); in siw_sq_start()
1265 qp->tx_cpu = siw_get_tx_cpu(qp->sdev); in siw_sq_start()
1266 if (qp->tx_cpu < 0) { in siw_sq_start()
1274 llist_add(&qp->tx_list, &per_cpu(siw_tx_task_g, qp->tx_cpu).active); in siw_sq_start()
1276 wake_up(&per_cpu(siw_tx_task_g, qp->tx_cpu).waiting); in siw_sq_start()
H A Dsiw.h422 int tx_cpu; member
H A Dsiw_verbs.c472 qp->tx_cpu = siw_get_tx_cpu(sdev); in siw_create_qp()
473 if (qp->tx_cpu < 0) { in siw_create_qp()
H A Dsiw_qp.c1344 siw_put_tx_cpu(qp->tx_cpu); in siw_free_qp()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_linux.c860 atomic_t tx_cpu; member
1200 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
1291 uint32 tx_cpu = 0; /* cpu selected for tx processing job */ in dhd_select_cpu_candidacy() local
1315 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
1316 if (tx_cpu >= nr_cpu_ids) in dhd_select_cpu_candidacy()
1317 tx_cpu = 0; in dhd_select_cpu_candidacy()
1320 compl_cpu = cpumask_next(tx_cpu, dhd->cpumask_primary_new); in dhd_select_cpu_candidacy()
1322 compl_cpu = tx_cpu; in dhd_select_cpu_candidacy()
1326 __FUNCTION__, napi_cpu, compl_cpu, tx_cpu)); in dhd_select_cpu_candidacy()
1340 tx_cpu = cpumask_next(napi_cpu, dhd->cpumask_secondary_new); in dhd_select_cpu_candidacy()
[all …]