Lines Matching refs:space
198 enum tb_cfg_space space, u32 offset, in check_config_address() argument
203 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address()
204 space, addr.space)) in check_config_address()
813 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_read_raw() argument
821 .space = space, in tb_cfg_read_raw()
864 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_read_raw()
876 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_write_raw() argument
884 .space = space, in tb_cfg_write_raw()
929 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_write_raw()
933 static int tb_cfg_get_error(struct tb_ctl *ctl, enum tb_cfg_space space, in tb_cfg_get_error() argument
942 if (space == TB_CFG_PORT && in tb_cfg_get_error()
951 enum tb_cfg_space space, u32 offset, u32 length) in tb_cfg_read() argument
954 space, offset, length, TB_CFG_DEFAULT_TIMEOUT); in tb_cfg_read()
962 return tb_cfg_get_error(ctl, space, &res); in tb_cfg_read()
966 space, offset); in tb_cfg_read()
977 enum tb_cfg_space space, u32 offset, u32 length) in tb_cfg_write() argument
980 space, offset, length, TB_CFG_DEFAULT_TIMEOUT); in tb_cfg_write()
988 return tb_cfg_get_error(ctl, space, &res); in tb_cfg_write()
992 space, offset); in tb_cfg_write()