Lines Matching refs:res
99 int res; in hsr_portdev_setup() local
102 res = dev_set_promiscuity(dev, 1); in hsr_portdev_setup()
103 if (res) in hsr_portdev_setup()
111 res = netdev_rx_handler_register(dev, hsr_handle_frame, port); in hsr_portdev_setup()
112 if (res) in hsr_portdev_setup()
123 return res; in hsr_portdev_setup()
130 int res; in hsr_add_port() local
133 res = hsr_check_dev_ok(dev); in hsr_add_port()
134 if (res) in hsr_add_port()
135 return res; in hsr_add_port()
147 res = hsr_portdev_setup(dev, port); in hsr_add_port()
148 if (res) in hsr_add_port()
167 return res; in hsr_add_port()