/kernel/linux/linux-5.10/include/clocksource/ |
H A D | timer-ti-dm.h | 55 /* posted mode types */ 70 * errata prevents us from using posted mode on these devices, unless the 112 unsigned posted:1; member 256 int posted) in __omap_dm_timer_read() 258 if (posted) in __omap_dm_timer_read() 266 u32 reg, u32 val, int posted) in __omap_dm_timer_write() 268 if (posted) in __omap_dm_timer_write() 301 * __omap_dm_timer_enable_posted - enables write posted mode 304 * Enables the write posted mode for the timer. When posted mod 255 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg, int posted) __omap_dm_timer_read() argument 265 __omap_dm_timer_write(struct omap_dm_timer *timer, u32 reg, u32 val, int posted) __omap_dm_timer_write() argument 343 __omap_dm_timer_stop(struct omap_dm_timer *timer, int posted, unsigned long rate) __omap_dm_timer_stop() argument 367 __omap_dm_timer_load_start(struct omap_dm_timer *timer, u32 ctrl, unsigned int load, int posted) __omap_dm_timer_load_start() argument 383 __omap_dm_timer_read_counter(struct omap_dm_timer *timer, int posted) __omap_dm_timer_read_counter() argument [all...] |
/kernel/linux/linux-5.10/net/rds/ |
H A D | ib_send.c | 321 * - posted credits: this tells us how many WRs we recently 322 * posted to the receive queue. This value is transferred 332 * until we've posted new buffers and are ready to transmit these 341 * and the counter of posted buffers atomically - when we use the 343 * and grab the posted credits counter. Hence, we have to use a 359 unsigned int avail, posted, got = 0, advertise; in rds_ib_send_grab_credits() local 369 posted = IB_GET_POST_CREDITS(oldval); in rds_ib_send_grab_credits() 372 rdsdebug("wanted=%u credits=%u posted=%u\n", in rds_ib_send_grab_credits() 373 wanted, avail, posted); in rds_ib_send_grab_credits() 376 if (avail && !posted) in rds_ib_send_grab_credits() 430 rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted) rds_ib_advertise_credits() argument 499 u32 posted; rds_ib_xmit() local [all...] |
H A D | ib_recv.c | 386 unsigned int posted = 0; in rds_ib_recv_refill() local 428 posted++; in rds_ib_recv_refill() 430 if ((posted > 128 && need_resched()) || posted > 8192) { in rds_ib_recv_refill() 437 if (ic->i_flowctl && posted) in rds_ib_recv_refill() 438 rds_ib_advertise_credits(conn, posted); in rds_ib_recv_refill() 776 * It's kind of lame that we're copying from the posted receive pages into 777 * long-lived bitmaps. We could have posted the bitmaps and rdma written into
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | ib_send.c | 320 * - posted credits: this tells us how many WRs we recently 321 * posted to the receive queue. This value is transferred 331 * until we've posted new buffers and are ready to transmit these 340 * and the counter of posted buffers atomically - when we use the 342 * and grab the posted credits counter. Hence, we have to use a 358 unsigned int avail, posted, got = 0, advertise; in rds_ib_send_grab_credits() local 368 posted = IB_GET_POST_CREDITS(oldval); in rds_ib_send_grab_credits() 371 rdsdebug("wanted=%u credits=%u posted=%u\n", in rds_ib_send_grab_credits() 372 wanted, avail, posted); in rds_ib_send_grab_credits() 375 if (avail && !posted) in rds_ib_send_grab_credits() 429 rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted) rds_ib_advertise_credits() argument 498 u32 posted; rds_ib_xmit() local [all...] |
H A D | ib_recv.c | 387 unsigned int posted = 0; in rds_ib_recv_refill() local 429 posted++; in rds_ib_recv_refill() 431 if ((posted > 128 && need_resched()) || posted > 8192) { in rds_ib_recv_refill() 438 if (ic->i_flowctl && posted) in rds_ib_recv_refill() 439 rds_ib_advertise_credits(conn, posted); in rds_ib_recv_refill() 777 * It's kind of lame that we're copying from the posted receive pages into 778 * long-lived bitmaps. We could have posted the bitmaps and rdma written into
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A D | vnic_dev.c | 269 u32 posted; in _svnic_dev_cmd2() local 280 posted = ioread32(&dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2() 282 if (posted == 0xFFFFFFFF) { /* check for hardware gone */ in _svnic_dev_cmd2() 287 new_posted = (posted + 1) % DEVCMD2_RING_SIZE; in _svnic_dev_cmd2() 289 pr_err("%s: wq is full while issuing devcmd2 command %d, fetch index: %u, posted index: %u\n", in _svnic_dev_cmd2() 290 pci_name(vdev->pdev), _CMD_N(cmd), fetch_idx, posted); in _svnic_dev_cmd2() 295 dc2c->cmd_ring[posted].cmd = cmd; in _svnic_dev_cmd2() 296 dc2c->cmd_ring[posted].flags = 0; in _svnic_dev_cmd2() 299 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _svnic_dev_cmd2() 303 dc2c->cmd_ring[posted] in _svnic_dev_cmd2() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/snic/ |
H A D | vnic_dev.c | 255 u32 posted; in _svnic_dev_cmd2() local 266 posted = ioread32(&dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2() 268 if (posted == 0xFFFFFFFF) { /* check for hardware gone */ in _svnic_dev_cmd2() 273 new_posted = (posted + 1) % DEVCMD2_RING_SIZE; in _svnic_dev_cmd2() 275 pr_err("%s: wq is full while issuing devcmd2 command %d, fetch index: %u, posted index: %u\n", in _svnic_dev_cmd2() 276 pci_name(vdev->pdev), _CMD_N(cmd), fetch_idx, posted); in _svnic_dev_cmd2() 281 dc2c->cmd_ring[posted].cmd = cmd; in _svnic_dev_cmd2() 282 dc2c->cmd_ring[posted].flags = 0; in _svnic_dev_cmd2() 285 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _svnic_dev_cmd2() 289 dc2c->cmd_ring[posted] in _svnic_dev_cmd2() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 329 u32 posted; in vnic_dev_cmd2() local 332 posted = ioread32(&dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2() 335 if (posted == 0xFFFFFFFF || fetch_index == 0xFFFFFFFF) { in vnic_dev_cmd2() 337 pr_err("%s: devcmd2 invalid posted or fetch index on cmd %d\n", in vnic_dev_cmd2() 339 pr_err("%s: fetch index: %u, posted index: %u\n", in vnic_dev_cmd2() 340 pci_name(vdev->pdev), fetch_index, posted); in vnic_dev_cmd2() 346 new_posted = (posted + 1) % DEVCMD2_RING_SIZE; in vnic_dev_cmd2() 351 pr_err("%s: fetch index: %u, posted index: %u\n", in vnic_dev_cmd2() 352 pci_name(vdev->pdev), fetch_index, posted); in vnic_dev_cmd2() 356 dc2c->cmd_ring[posted] in vnic_dev_cmd2() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 317 u32 posted; in vnic_dev_cmd2() local 320 posted = ioread32(&dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2() 323 if (posted == 0xFFFFFFFF || fetch_index == 0xFFFFFFFF) { in vnic_dev_cmd2() 325 pr_err("%s: devcmd2 invalid posted or fetch index on cmd %d\n", in vnic_dev_cmd2() 327 pr_err("%s: fetch index: %u, posted index: %u\n", in vnic_dev_cmd2() 328 pci_name(vdev->pdev), fetch_index, posted); in vnic_dev_cmd2() 334 new_posted = (posted + 1) % DEVCMD2_RING_SIZE; in vnic_dev_cmd2() 339 pr_err("%s: fetch index: %u, posted index: %u\n", in vnic_dev_cmd2() 340 pci_name(vdev->pdev), fetch_index, posted); in vnic_dev_cmd2() 344 dc2c->cmd_ring[posted] in vnic_dev_cmd2() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A D | ccm_mbox.c | 44 * @posted: the message was posted and nobody waits for the reply 51 bool posted; member 70 cb->posted = false; in nfp_ccm_mbox_msg_init() 106 return cb->posted; in nfp_ccm_mbox_is_posted() 113 cb->posted = true; in nfp_ccm_mbox_mark_posted() 139 if (cb->posted) in nfp_ccm_mbox_mark_next_runner() 298 if (!cb->posted) { in nfp_ccm_mbox_copy_out() 341 if (cb->posted) { in nfp_ccm_mbox_copy_out() 344 "mailbox posted ms in nfp_ccm_mbox_copy_out() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | ccm_mbox.c | 44 * @posted: the message was posted and nobody waits for the reply 51 bool posted; member 70 cb->posted = false; in nfp_ccm_mbox_msg_init() 106 return cb->posted; in nfp_ccm_mbox_is_posted() 113 cb->posted = true; in nfp_ccm_mbox_mark_posted() 139 if (cb->posted) in nfp_ccm_mbox_mark_next_runner() 298 if (!cb->posted) { in nfp_ccm_mbox_copy_out() 341 if (cb->posted) { in nfp_ccm_mbox_copy_out() 344 "mailbox posted ms in nfp_ccm_mbox_copy_out() [all...] |
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | virt-pci.c | 86 bool posted; in um_pci_send_cmd() local 95 /* in PCI, writes are posted, so don't wait */ in um_pci_send_cmd() 96 posted = !out; in um_pci_send_cmd() 97 WARN_ON(!posted); in um_pci_send_cmd() 100 posted = false; in um_pci_send_cmd() 108 if (posted) { in um_pci_send_cmd() 121 posted = false; in um_pci_send_cmd() 138 posted ? cmd : HANDLE_NO_FREE(cmd), in um_pci_send_cmd() 141 if (posted) in um_pci_send_cmd() 146 if (posted) { in um_pci_send_cmd() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_dev.c | 306 u32 posted = dc2c->posted; in _vnic_dev_cmd2() local 313 new_posted = (posted + 1) % DEVCMD2_RING_SIZE; in _vnic_dev_cmd2() 316 vdev_neterr(vdev, "devcmd2 %d: wq is full. fetch index: %u, posted index: %u\n", in _vnic_dev_cmd2() 317 _CMD_N(cmd), fetch_index, posted); in _vnic_dev_cmd2() 320 dc2c->cmd_ring[posted].cmd = cmd; in _vnic_dev_cmd2() 321 dc2c->cmd_ring[posted].flags = 0; in _vnic_dev_cmd2() 324 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _vnic_dev_cmd2() 327 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _vnic_dev_cmd2() 335 dc2c->posted in _vnic_dev_cmd2() [all...] |
H A D | vnic_wq.h | 100 u32 posted; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_dev.c | 293 u32 posted = dc2c->posted; in _vnic_dev_cmd2() local 300 new_posted = (posted + 1) % DEVCMD2_RING_SIZE; in _vnic_dev_cmd2() 303 vdev_neterr(vdev, "devcmd2 %d: wq is full. fetch index: %u, posted index: %u\n", in _vnic_dev_cmd2() 304 _CMD_N(cmd), fetch_index, posted); in _vnic_dev_cmd2() 307 dc2c->cmd_ring[posted].cmd = cmd; in _vnic_dev_cmd2() 308 dc2c->cmd_ring[posted].flags = 0; in _vnic_dev_cmd2() 311 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _vnic_dev_cmd2() 314 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _vnic_dev_cmd2() 322 dc2c->posted in _vnic_dev_cmd2() [all...] |
H A D | vnic_wq.h | 87 u32 posted; member
|
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | timer-ti-dm.c | 39 * errata prevents us from using posted mode on these devices, unless the 45 /* posted mode types */ 134 unsigned posted:1; member 159 * dmtimer_read - read timer registers in posted and non-posted mode 163 * The posted mode bit is encoded in reg. Note that in posted mode, write 174 /* Wait for a possible write pending bit in posted mode */ in dmtimer_read() 175 if (wp && timer->posted) in dmtimer_read() 183 * dmtimer_write - write timer registers in posted an [all...] |
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | timer-ti-dm.c | 48 * omap_dm_timer_read_reg - read timer registers in posted and non-posted mode 52 * The posted mode bit is encoded in reg. Note that in posted mode write 59 return __omap_dm_timer_read(timer, reg, timer->posted); in omap_dm_timer_read_reg() 63 * omap_dm_timer_write_reg - write timer registers in posted and non-posted mode 68 * The posted mode bit is encoded in reg. Note that in posted mode the write 76 __omap_dm_timer_write(timer, reg, value, timer->posted); in omap_dm_timer_write_reg() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_debugfs.c | 42 (u64)atomic64_read(&ndev->stats.posted)); in stats_show()
|
H A D | nitrox_dev.h | 94 atomic64_t posted; member
|
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_debugfs.c | 43 (u64)atomic64_read(&ndev->stats.posted)); in stats_show()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_arm.h | 173 #define NFP_ARM_GCSR_EXPL1_CSR(posted, signal_ref, data_master, data_ref) \ 174 (((posted) ? NFP_ARM_GCSR_EXPL1_BAR_POSTED : 0) | \
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_arm.h | 173 #define NFP_ARM_GCSR_EXPL1_CSR(posted, signal_ref, data_master, data_ref) \ 174 (((posted) ? NFP_ARM_GCSR_EXPL1_BAR_POSTED : 0) | \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_msgq.c | 232 int posted = 0; in bfa_msgq_cmdq_ci_update() local 236 /* Walk through pending list to see if the command can be posted */ in bfa_msgq_cmdq_ci_update() 244 posted = 1; in bfa_msgq_cmdq_ci_update() 251 if (posted) in bfa_msgq_cmdq_ci_update()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_msgq.c | 230 int posted = 0; in bfa_msgq_cmdq_ci_update() local 234 /* Walk through pending list to see if the command can be posted */ in bfa_msgq_cmdq_ci_update() 242 posted = 1; in bfa_msgq_cmdq_ci_update() 249 if (posted) in bfa_msgq_cmdq_ci_update()
|