Home
last modified time | relevance | path

Searched refs:db_mask (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/ntb/hw/intel/
H A Dntb_hw_gen1.c238 ndev->db_mask |= db_bits; in ndev_db_set_mask()
239 ndev->reg->db_iowrite(ndev->db_mask, mmio); in ndev_db_set_mask()
259 ndev->db_mask &= ~db_bits; in ndev_db_clear_mask()
260 ndev->reg->db_iowrite(ndev->db_mask, mmio); in ndev_db_clear_mask()
375 ndev->db_mask = ndev->db_valid_mask; in ndev_init_isr()
376 ndev->reg->db_iowrite(ndev->db_mask, in ndev_init_isr()
378 ndev->self_reg->db_mask); in ndev_init_isr()
472 ndev->db_mask = ndev->db_valid_mask; in ndev_deinit_isr()
473 ndev->reg->db_iowrite(ndev->db_mask, in ndev_deinit_isr()
475 ndev->self_reg->db_mask); in ndev_deinit_isr()
[all...]
H A Dntb_hw_intel.h115 unsigned long db_mask; member
162 u64 db_mask; member
164 /* synchronize rmw access of db_mask and hw reg */
H A Dntb_hw_gen3.c76 .db_mask = GEN3_IM_INT_DISABLE_OFFSET,
83 .db_mask = GEN3_EM_INT_DISABLE_OFFSET,
221 ndev->self_reg->db_mask); in gen3_init_ntb()
318 "Doorbell Mask Cached -\t%#llx\n", ndev->db_mask); in ndev_ntb3_debugfs_read()
320 u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_mask); in ndev_ntb3_debugfs_read()
H A Dntb_hw_gen4.c34 .db_mask = GEN4_IM_INT_DISABLE_OFFSET,
154 ndev->self_reg->db_mask); in gen4_init_ntb()
280 "Doorbell Mask Cached -\t%#llx\n", ndev->db_mask); in ndev_ntb4_debugfs_read()
282 u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_mask); in ndev_ntb4_debugfs_read()
/kernel/linux/linux-6.6/drivers/ntb/hw/intel/
H A Dntb_hw_gen1.c238 ndev->db_mask |= db_bits; in ndev_db_set_mask()
239 ndev->reg->db_iowrite(ndev->db_mask, mmio); in ndev_db_set_mask()
259 ndev->db_mask &= ~db_bits; in ndev_db_clear_mask()
260 ndev->reg->db_iowrite(ndev->db_mask, mmio); in ndev_db_clear_mask()
375 ndev->db_mask = ndev->db_valid_mask; in ndev_init_isr()
376 ndev->reg->db_iowrite(ndev->db_mask, in ndev_init_isr()
378 ndev->self_reg->db_mask); in ndev_init_isr()
472 ndev->db_mask = ndev->db_valid_mask; in ndev_deinit_isr()
473 ndev->reg->db_iowrite(ndev->db_mask, in ndev_deinit_isr()
475 ndev->self_reg->db_mask); in ndev_deinit_isr()
[all...]
H A Dntb_hw_intel.h113 unsigned long db_mask; member
160 u64 db_mask; member
162 /* synchronize rmw access of db_mask and hw reg */
H A Dntb_hw_gen3.c76 .db_mask = GEN3_IM_INT_DISABLE_OFFSET,
83 .db_mask = GEN3_EM_INT_DISABLE_OFFSET,
221 ndev->self_reg->db_mask); in gen3_init_ntb()
318 "Doorbell Mask Cached -\t%#llx\n", ndev->db_mask); in ndev_ntb3_debugfs_read()
320 u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_mask); in ndev_ntb3_debugfs_read()
H A Dntb_hw_gen4.c34 .db_mask = GEN4_IM_INT_DISABLE_OFFSET,
154 ndev->self_reg->db_mask); in gen4_init_ntb()
282 "Doorbell Mask Cached -\t%#llx\n", ndev->db_mask); in ndev_ntb4_debugfs_read()
284 u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_mask); in ndev_ntb4_debugfs_read()
/kernel/linux/linux-5.10/drivers/ntb/test/
H A Dntb_pingpong.c315 u64 db_mask, msg_mask; in pp_mask_events() local
318 db_mask = ntb_db_valid_mask(pp->ntb); in pp_mask_events()
319 ret = ntb_db_set_mask(pp->ntb, db_mask); in pp_mask_events()
H A Dntb_tool.c70 * db_mask msg3 peer1/ peer_db spad1
116 * root@self# echo 's 1' > $DBG_DIR/db_mask
117 * root@self# echo 'c 1' > $DBG_DIR/db_mask
118 * root@self# cat $DBG_DIR/db_mask
307 u64 db_bits, db_mask; in tool_db_event() local
309 db_mask = ntb_db_vector_mask(tc->ntb, vec); in tool_db_event()
313 vec, db_mask, db_bits); in tool_db_event()
1513 debugfs_create_file("db_mask", 0600, tc->dbgfs_dir, in tool_setup_dbgfs()
/kernel/linux/linux-6.6/drivers/ntb/test/
H A Dntb_pingpong.c315 u64 db_mask, msg_mask; in pp_mask_events() local
318 db_mask = ntb_db_valid_mask(pp->ntb); in pp_mask_events()
319 ret = ntb_db_set_mask(pp->ntb, db_mask); in pp_mask_events()
H A Dntb_tool.c70 * db_mask msg3 peer1/ peer_db spad1
116 * root@self# echo 's 1' > $DBG_DIR/db_mask
117 * root@self# echo 'c 1' > $DBG_DIR/db_mask
118 * root@self# cat $DBG_DIR/db_mask
307 u64 db_bits, db_mask; in tool_db_event() local
309 db_mask = ntb_db_vector_mask(tc->ntb, vec); in tool_db_event()
313 vec, db_mask, db_bits); in tool_db_event()
1504 debugfs_create_file("db_mask", 0600, tc->dbgfs_dir, in tool_setup_dbgfs()
/kernel/linux/linux-5.10/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c448 ndev->db_mask |= db_bits; in amd_ntb_db_set_mask()
449 writew((u16)ndev->db_mask, mmio + AMD_DBMASK_OFFSET); in amd_ntb_db_set_mask()
465 ndev->db_mask &= ~db_bits; in amd_ntb_db_clear_mask()
466 writew((u16)ndev->db_mask, mmio + AMD_DBMASK_OFFSET); in amd_ntb_db_clear_mask()
719 ndev->db_mask = ndev->db_valid_mask; in ndev_init_isr()
819 ndev->db_mask = ndev->db_valid_mask; in ndev_deinit_isr()
820 writel(ndev->db_mask, mmio + AMD_DBMASK_OFFSET); in ndev_deinit_isr()
H A Dntb_hw_amd.h195 u64 db_mask; member
202 /* synchronize rmw access of db_mask and hw reg */
/kernel/linux/linux-6.6/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c448 ndev->db_mask |= db_bits; in amd_ntb_db_set_mask()
449 writew((u16)ndev->db_mask, mmio + AMD_DBMASK_OFFSET); in amd_ntb_db_set_mask()
465 ndev->db_mask &= ~db_bits; in amd_ntb_db_clear_mask()
466 writew((u16)ndev->db_mask, mmio + AMD_DBMASK_OFFSET); in amd_ntb_db_clear_mask()
719 ndev->db_mask = ndev->db_valid_mask; in ndev_init_isr()
819 ndev->db_mask = ndev->db_valid_mask; in ndev_deinit_isr()
820 writel(ndev->db_mask, mmio + AMD_DBMASK_OFFSET); in ndev_deinit_isr()
H A Dntb_hw_amd.h195 u64 db_mask; member
202 /* synchronize rmw access of db_mask and hw reg */
/kernel/linux/linux-5.10/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c69 u64 db_mask; member
74 /* synchronize rmw access of db_mask and hw reg */
652 sndev->db_mask |= db_bits << sndev->db_shift; in switchtec_ntb_db_set_mask()
653 iowrite64(~sndev->db_mask, &sndev->mmio_self_dbmsg->idb_mask); in switchtec_ntb_db_set_mask()
670 sndev->db_mask &= ~(db_bits << sndev->db_shift); in switchtec_ntb_db_clear_mask()
671 iowrite64(~sndev->db_mask, &sndev->mmio_self_dbmsg->idb_mask); in switchtec_ntb_db_clear_mask()
682 return (sndev->db_mask >> sndev->db_shift) & sndev->db_valid_mask; in switchtec_ntb_db_read_mask()
1236 sndev->db_mask = 0x0FFFFFFFFFFFFFFFULL; in switchtec_ntb_init_db()
1241 sndev->db_valid_mask = sndev->db_mask; in switchtec_ntb_init_db()
1252 iowrite64(~sndev->db_mask, in switchtec_ntb_init_db()
[all...]
/kernel/linux/linux-6.6/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c69 u64 db_mask; member
74 /* synchronize rmw access of db_mask and hw reg */
654 sndev->db_mask |= db_bits << sndev->db_shift; in switchtec_ntb_db_set_mask()
655 iowrite64(~sndev->db_mask, &sndev->mmio_self_dbmsg->idb_mask); in switchtec_ntb_db_set_mask()
672 sndev->db_mask &= ~(db_bits << sndev->db_shift); in switchtec_ntb_db_clear_mask()
673 iowrite64(~sndev->db_mask, &sndev->mmio_self_dbmsg->idb_mask); in switchtec_ntb_db_clear_mask()
684 return (sndev->db_mask >> sndev->db_shift) & sndev->db_valid_mask; in switchtec_ntb_db_read_mask()
1234 sndev->db_mask = 0x0FFFFFFFFFFFFFFFULL; in switchtec_ntb_init_db()
1239 sndev->db_valid_mask = sndev->db_mask; in switchtec_ntb_init_db()
1250 iowrite64(~sndev->db_mask, in switchtec_ntb_init_db()
[all...]

Completed in 21 milliseconds