__hw 45 drivers/clk/imx/clk-pllv4.c #define to_clk_pllv4(__hw) container_of(__hw, struct clk_pllv4, hw) __hw 430 drivers/scsi/csiostor/csio_hw.h #define csio_is_hw_intr_enabled(__hw) \ __hw 431 drivers/scsi/csiostor/csio_hw.h ((__hw)->flags & CSIO_HWF_HW_INTR_ENABLED) __hw 432 drivers/scsi/csiostor/csio_hw.h #define csio_is_host_intr_enabled(__hw) \ __hw 433 drivers/scsi/csiostor/csio_hw.h ((__hw)->flags & CSIO_HWF_HOST_INTR_ENABLED) __hw 434 drivers/scsi/csiostor/csio_hw.h #define csio_is_hw_master(__hw) ((__hw)->flags & CSIO_HWF_MASTER) __hw 435 drivers/scsi/csiostor/csio_hw.h #define csio_is_valid_vpd(__hw) ((__hw)->flags & CSIO_HWF_VPD_VALID) __hw 436 drivers/scsi/csiostor/csio_hw.h #define csio_is_dev_id_cached(__hw) ((__hw)->flags & CSIO_HWF_DEVID_CACHED) __hw 437 drivers/scsi/csiostor/csio_hw.h #define csio_valid_vpd_copied(__hw) ((__hw)->flags |= CSIO_HWF_VPD_VALID) __hw 438 drivers/scsi/csiostor/csio_hw.h #define csio_dev_id_cached(__hw) ((__hw)->flags |= CSIO_HWF_DEVID_CACHED) __hw 611 drivers/scsi/csiostor/csio_hw.h #define csio_info(__hw, __fmt, ...) \ __hw 612 drivers/scsi/csiostor/csio_hw.h dev_info(&(__hw)->pdev->dev, __fmt, ##__VA_ARGS__) __hw 614 drivers/scsi/csiostor/csio_hw.h #define csio_fatal(__hw, __fmt, ...) \ __hw 615 drivers/scsi/csiostor/csio_hw.h dev_crit(&(__hw)->pdev->dev, __fmt, ##__VA_ARGS__) __hw 617 drivers/scsi/csiostor/csio_hw.h #define csio_err(__hw, __fmt, ...) \ __hw 618 drivers/scsi/csiostor/csio_hw.h dev_err(&(__hw)->pdev->dev, __fmt, ##__VA_ARGS__) __hw 620 drivers/scsi/csiostor/csio_hw.h #define csio_warn(__hw, __fmt, ...) \ __hw 621 drivers/scsi/csiostor/csio_hw.h dev_warn(&(__hw)->pdev->dev, __fmt, ##__VA_ARGS__) __hw 624 drivers/scsi/csiostor/csio_hw.h #define csio_dbg(__hw, __fmt, ...) \ __hw 625 drivers/scsi/csiostor/csio_hw.h csio_info((__hw), __fmt, ##__VA_ARGS__); __hw 627 drivers/scsi/csiostor/csio_hw.h #define csio_dbg(__hw, __fmt, ...) __hw 54 drivers/scsi/csiostor/csio_mb.h #define CSIO_DUMP_MB(__hw, __num, __mb) \ __hw 55 drivers/scsi/csiostor/csio_mb.h csio_dbg(__hw, "\t%llx %llx %llx %llx %llx %llx %llx %llx\n", \ __hw 56 drivers/scsi/csiostor/csio_mb.h (unsigned long long)csio_rd_reg64(__hw, __mb), \ __hw 57 drivers/scsi/csiostor/csio_mb.h (unsigned long long)csio_rd_reg64(__hw, __mb + 8), \ __hw 58 drivers/scsi/csiostor/csio_mb.h (unsigned long long)csio_rd_reg64(__hw, __mb + 16), \ __hw 59 drivers/scsi/csiostor/csio_mb.h (unsigned long long)csio_rd_reg64(__hw, __mb + 24), \ __hw 60 drivers/scsi/csiostor/csio_mb.h (unsigned long long)csio_rd_reg64(__hw, __mb + 32), \ __hw 61 drivers/scsi/csiostor/csio_mb.h (unsigned long long)csio_rd_reg64(__hw, __mb + 40), \ __hw 62 drivers/scsi/csiostor/csio_mb.h (unsigned long long)csio_rd_reg64(__hw, __mb + 48), \ __hw 63 drivers/scsi/csiostor/csio_mb.h (unsigned long long)csio_rd_reg64(__hw, __mb + 56)) __hw 452 drivers/scsi/csiostor/csio_wr.h #define csio_get_q(__hw, __idx) ((__hw)->wrm.q_arr[__idx]) __hw 453 drivers/scsi/csiostor/csio_wr.h #define csio_q_type(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->type) __hw 454 drivers/scsi/csiostor/csio_wr.h #define csio_q_pidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pidx) __hw 455 drivers/scsi/csiostor/csio_wr.h #define csio_q_cidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->cidx) __hw 456 drivers/scsi/csiostor/csio_wr.h #define csio_q_inc_idx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->inc_idx) __hw 457 drivers/scsi/csiostor/csio_wr.h #define csio_q_vstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->vstart) __hw 458 drivers/scsi/csiostor/csio_wr.h #define csio_q_pstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pstart) __hw 459 drivers/scsi/csiostor/csio_wr.h #define csio_q_size(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->size) __hw 460 drivers/scsi/csiostor/csio_wr.h #define csio_q_credits(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->credits) __hw 461 drivers/scsi/csiostor/csio_wr.h #define csio_q_portid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->portid) __hw 462 drivers/scsi/csiostor/csio_wr.h #define csio_q_wr_sz(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->wr_sz) __hw 463 drivers/scsi/csiostor/csio_wr.h #define csio_q_iqid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.iq.iqid) __hw 464 drivers/scsi/csiostor/csio_wr.h #define csio_q_physiqid(__hw, __idx) \ __hw 465 drivers/scsi/csiostor/csio_wr.h ((__hw)->wrm.q_arr[(__idx)]->un.iq.physiqid) __hw 466 drivers/scsi/csiostor/csio_wr.h #define csio_q_iq_flq_idx(__hw, __idx) \ __hw 467 drivers/scsi/csiostor/csio_wr.h ((__hw)->wrm.q_arr[(__idx)]->un.iq.flq_idx) __hw 468 drivers/scsi/csiostor/csio_wr.h #define csio_q_eqid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.eq.eqid) __hw 469 drivers/scsi/csiostor/csio_wr.h #define csio_q_flid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.fl.flid) __hw 471 drivers/scsi/csiostor/csio_wr.h #define csio_q_physeqid(__hw, __idx) \ __hw 472 drivers/scsi/csiostor/csio_wr.h ((__hw)->wrm.q_arr[(__idx)]->un.eq.physeqid) __hw 475 drivers/scsi/csiostor/csio_wr.h #define csio_q_iq_to_flid(__hw, __iq_idx) \ __hw 476 drivers/scsi/csiostor/csio_wr.h csio_q_flid((__hw), (__hw)->wrm.q_arr[(__iq_qidx)]->un.iq.flq_idx) __hw 477 drivers/scsi/csiostor/csio_wr.h #define csio_q_set_intr_map(__hw, __iq_idx, __rel_iq_id) \ __hw 478 drivers/scsi/csiostor/csio_wr.h (__hw)->wrm.intr_map[__rel_iq_id] = csio_get_q(__hw, __iq_idx) __hw 479 drivers/scsi/csiostor/csio_wr.h #define csio_q_eq_wrap(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.eq.wrap)