Firstly the way you have it, you do not have to re-assign the arguments to variables, you can pass them to func_ls as is:
Should be sufficient.
The question remains what the form/shape of what you want to pass to func_ls be. For instance you can put "tot" or "ok" into another variable and then pass that. Ultimately you want it to be just tot or ok without punctuation, correct? I think you should try passing it without the quotes as I've shown.
When you enter into func_ls, you can echo $1 to see what it appears like. So do that.
Also assuming that you have a main part of this script, because ls_all() is also a function, therefore it won't run without a main section. There is no designator excepting bash commands which are not bound within function framing, to make your main section.