Home
last modified time | relevance | path

Searched refs:new_routing (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/pci/oxygen/
H A Doxygen_mixer.c237 u16 old_routing, new_routing; in oxygen_update_spdif_source() local
244 new_routing = (old_routing & ~OXYGEN_PLAY_SPDIF_MASK) in oxygen_update_spdif_source()
251 new_routing = (old_routing & ~OXYGEN_PLAY_SPDIF_MASK) in oxygen_update_spdif_source()
260 new_routing = old_routing; in oxygen_update_spdif_source()
263 if (old_routing != new_routing) { in oxygen_update_spdif_source()
266 oxygen_write16(chip, OXYGEN_PLAY_ROUTING, new_routing); in oxygen_update_spdif_source()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c1577 struct v4l2_subdev_krouting new_routing = { 0 }; in v4l2_subdev_set_routing() local
1588 new_routing.routes = kmemdup(src->routes, bytes, GFP_KERNEL); in v4l2_subdev_set_routing()
1589 if (!new_routing.routes) in v4l2_subdev_set_routing()
1593 new_routing.num_routes = src->num_routes; in v4l2_subdev_set_routing()
1596 &new_routing); in v4l2_subdev_set_routing()
1598 kfree(new_routing.routes); in v4l2_subdev_set_routing()
1603 *dst = new_routing; in v4l2_subdev_set_routing()