The feed to a panel that has OCPD devices in it can't be a branch circuit. All circuits on the line side of the final code required OCPD are feeders. The branch circuit originates at the load side of the last required OCPD.If the panel meets the definition of an outlet, then the feeder, to the panel, is a branch circuit.