Lines Matching defs:hostrcb
1472 struct ipr_hostrcb *hostrcb[IPR_MAX_HCAMS];
1567 struct ipr_hostrcb *hostrcb;
1744 #define ipr_hcam_err(hostrcb, fmt, ...) \
1746 if (ipr_is_device(hostrcb)) { \
1747 if ((hostrcb)->ioa_cfg->sis64) { \
1749 ipr_format_res_path(hostrcb->ioa_cfg, \
1750 hostrcb->hcam.u.error64.fd_res_path, \
1751 hostrcb->rp_buffer, \
1752 sizeof(hostrcb->rp_buffer)), \
1755 ipr_ra_err((hostrcb)->ioa_cfg, \
1756 (hostrcb)->hcam.u.error.fd_res_addr, \
1760 dev_err(&(hostrcb)->ioa_cfg->pdev->dev, fmt, __VA_ARGS__); \
1870 * ipr_is_device - Determine if the hostrcb structure is related to a device
1871 * @hostrcb: host resource control blocks struct
1876 static inline int ipr_is_device(struct ipr_hostrcb *hostrcb)
1881 if (hostrcb->ioa_cfg->sis64) {
1882 res_path = &hostrcb->hcam.u.error64.fd_res_path[0];
1887 res_addr = &hostrcb->hcam.u.error.fd_res_addr;