Lines Matching refs:hostrcb
1532 struct ipr_hostrcb *hostrcb[IPR_MAX_HCAMS];
1630 struct ipr_hostrcb *hostrcb;
1807 #define ipr_hcam_err(hostrcb, fmt, ...) \
1809 if (ipr_is_device(hostrcb)) { \
1810 if ((hostrcb)->ioa_cfg->sis64) { \
1812 ipr_format_res_path(hostrcb->ioa_cfg, \
1813 hostrcb->hcam.u.error64.fd_res_path, \
1814 hostrcb->rp_buffer, \
1815 sizeof(hostrcb->rp_buffer)), \
1818 ipr_ra_err((hostrcb)->ioa_cfg, \
1819 (hostrcb)->hcam.u.error.fd_res_addr, \
1823 dev_err(&(hostrcb)->ioa_cfg->pdev->dev, fmt, __VA_ARGS__); \
1933 * ipr_is_device - Determine if the hostrcb structure is related to a device
1934 * @hostrcb: host resource control blocks struct
1939 static inline int ipr_is_device(struct ipr_hostrcb *hostrcb)
1944 if (hostrcb->ioa_cfg->sis64) {
1945 res_path = &hostrcb->hcam.u.error64.fd_res_path[0];
1950 res_addr = &hostrcb->hcam.u.error.fd_res_addr;