En realidad, si creas func:
create function p1() returns INTEGER DETERMINISTIC NO SQL return @p1;
y ver:
create view h_parm as
select * from sw_hardware_big where unit_id = p1() ;
Luego puede llamar a una vista con un parámetro:
select s.* from (select @p1:=12 p) parm , h_parm s;
Espero que ayude.