Lines Matching refs:space

222 				enum tb_cfg_space space, u32 offset,  in check_config_address()  argument
227 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address()
228 space, addr.space)) in check_config_address()
276 static void tb_cfg_print_error(struct tb_ctl *ctl, enum tb_cfg_space space, in tb_cfg_print_error() argument
291 res->response_route, res->response_port, space); in tb_cfg_print_error()
942 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_read_raw() argument
950 .space = space, in tb_cfg_read_raw()
993 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_read_raw()
1013 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_write_raw() argument
1021 .space = space, in tb_cfg_write_raw()
1066 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_write_raw()
1070 static int tb_cfg_get_error(struct tb_ctl *ctl, enum tb_cfg_space space, in tb_cfg_get_error() argument
1079 if (space == TB_CFG_PORT && in tb_cfg_get_error()
1083 tb_cfg_print_error(ctl, space, res); in tb_cfg_get_error()
1094 enum tb_cfg_space space, u32 offset, u32 length) in tb_cfg_read() argument
1097 space, offset, length, ctl->timeout_msec); in tb_cfg_read()
1105 return tb_cfg_get_error(ctl, space, &res); in tb_cfg_read()
1109 route, space, offset); in tb_cfg_read()
1120 enum tb_cfg_space space, u32 offset, u32 length) in tb_cfg_write() argument
1123 space, offset, length, ctl->timeout_msec); in tb_cfg_write()
1131 return tb_cfg_get_error(ctl, space, &res); in tb_cfg_write()
1135 route, space, offset); in tb_cfg_write()