Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/ntb/hw/intel/ntb_hw_gen3.c intel_ntb3_db_read() -> ndev_db_read()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 4096-ptr_max
PARAM_VALUE 1 mmio 4096-ptr_max
TASK_NOT_RUNNING
HALF_LOCKED2 &ntb->ctx_lock
HALF_LOCKED2 irqflags

drivers/ntb/hw/intel/ntb_hw_gen3.c ndev_ntb3_debugfs_read() -> ndev_db_read()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 4096-ptr_max
PARAM_VALUE 1 mmio 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max

drivers/ntb/hw/intel/ntb_hw_gen3.c ndev_ntb3_debugfs_read() -> ndev_db_read()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
PARAM_VALUE 0 ndev->reg->db_ioread 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 4096-ptr_max
PARAM_VALUE 1 mmio 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max

drivers/ntb/hw/intel/ntb_hw_gen4.c ndev_ntb4_debugfs_read() -> ndev_db_read()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 4096-ptr_max
PARAM_VALUE 1 mmio 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max

drivers/ntb/hw/intel/ntb_hw_gen1.c intel_ntb_db_read() -> ndev_db_read()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 4096-ptr_max
PARAM_VALUE 1 mmio 4096-ptr_max
TASK_NOT_RUNNING
HALF_LOCKED2 &ntb->ctx_lock
HALF_LOCKED2 irqflags

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_ntb_debugfs_read() -> ndev_db_read()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 4096-ptr_max
PARAM_VALUE 1 mmio 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_ntb_debugfs_read() -> ndev_db_read()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
PARAM_VALUE 0 ndev->reg->db_ioread 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 4096-ptr_max
PARAM_VALUE 1 mmio 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max