How is wind direction reported (blowing from or blowing to)?
As far as METARs are considered, the wind direction gives the direction from which the wind is coming. From METAR definitions:

Wind Direction.
The direction, in tens of degrees, from which the wind is blowing with reference to true north.

So, Wind 270 shows that the wind is coming from west.
The reporting in ATIS and tower is the same, only difference being that the reference is magnetic north, while it is true north for METAR.