Lines Matching refs:space

209 				enum tb_cfg_space space, u32 offset,
214 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)",
215 space, addr.space))
220 if (WARN(length != addr.length, "wrong space (expected %x, got %x\n)",
277 tb_ctl_dbg(ctl, "%llx:%x: invalid config space or offset\n",
906 * tb_cfg_read_raw() - read from config space into buffer
911 * @space: Config space selector
916 * Reads from router config space without translating the possible error.
919 u64 route, u32 port, enum tb_cfg_space space,
927 .space = space,
970 res.err = check_config_address(reply.addr, space, offset, length);
977 * tb_cfg_write_raw() - write from buffer into config space
982 * @space: Config space selector
987 * Writes to router config space without translating the possible error.
990 u64 route, u32 port, enum tb_cfg_space space,
998 .space = space,
1043 res.err = check_config_address(reply.addr, space, offset, length);
1047 static int tb_cfg_get_error(struct tb_ctl *ctl, enum tb_cfg_space space,
1051 * For unimplemented ports access to port config space may return
1056 if (space == TB_CFG_PORT &&
1071 enum tb_cfg_space space, u32 offset, u32 length)
1074 space, offset, length, ctl->timeout_msec);
1082 return tb_cfg_get_error(ctl, space, &res);
1085 tb_ctl_warn(ctl, "%llx: timeout reading config space %u from %#x\n",
1086 route, space, offset);
1097 enum tb_cfg_space space, u32 offset, u32 length)
1100 space, offset, length, ctl->timeout_msec);
1108 return tb_cfg_get_error(ctl, space, &res);
1111 tb_ctl_warn(ctl, "%llx: timeout writing config space %u to %#x\n",
1112 route, space, offset);