Lines Matching refs:err
37 int err; in dpni_open() local
46 err = mc_send_command(mc_io, &cmd); in dpni_open()
47 if (err) in dpni_open()
48 return err; in dpni_open()
77 int err; in dpni_create() local
86 err = mc_send_command(mc_io, &cmd); in dpni_create()
87 if (err) in dpni_create()
88 return err; in dpni_create()
179 int err; in dpni_get_attributes() local
188 err = mc_send_command(mc_io, &cmd); in dpni_get_attributes()
189 if (err) in dpni_get_attributes()
190 return err; in dpni_get_attributes()
221 int err; in dpni_get_rx_buffer_layout() local
229 err = mc_send_command(mc_io, &cmd); in dpni_get_rx_buffer_layout()
230 if (err) in dpni_get_rx_buffer_layout()
231 return err; in dpni_get_rx_buffer_layout()
262 int err; in dpni_get_tx_buffer_layout() local
270 err = mc_send_command(mc_io, &cmd); in dpni_get_tx_buffer_layout()
271 if (err) in dpni_get_tx_buffer_layout()
272 return err; in dpni_get_tx_buffer_layout()
303 int err; in dpni_get_tx_conf_buffer_layout() local
311 err = mc_send_command(mc_io, &cmd); in dpni_get_tx_conf_buffer_layout()
312 if (err) in dpni_get_tx_conf_buffer_layout()
313 return err; in dpni_get_tx_conf_buffer_layout()
344 int err; in dpni_get_qdid() local
352 err = mc_send_command(mc_io, &cmd); in dpni_get_qdid()
353 if (err) in dpni_get_qdid()
354 return err; in dpni_get_qdid()
368 int err; in dpni_get_tx_data_offset() local
376 err = mc_send_command(mc_io, &cmd); in dpni_get_tx_data_offset()
377 if (err) in dpni_get_tx_data_offset()
378 return err; in dpni_get_tx_data_offset()
393 int err; in dpni_get_counter() local
402 err = mc_send_command(mc_io, &cmd); in dpni_get_counter()
403 if (err) in dpni_get_counter()
404 return err; in dpni_get_counter()
453 int err; in dpni_get_link_state() local
461 err = mc_send_command(mc_io, &cmd); in dpni_get_link_state()
462 if (err) in dpni_get_link_state()
463 return err; in dpni_get_link_state()
495 int err; in dpni_get_primary_mac_addr() local
503 err = mc_send_command(mc_io, &cmd); in dpni_get_primary_mac_addr()
504 if (err) in dpni_get_primary_mac_addr()
505 return err; in dpni_get_primary_mac_addr()
554 int err; in dpni_set_tx_flow() local
563 err = mc_send_command(mc_io, &cmd); in dpni_set_tx_flow()
564 if (err) in dpni_set_tx_flow()
565 return err; in dpni_set_tx_flow()
580 int err; in dpni_get_tx_flow() local
589 err = mc_send_command(mc_io, &cmd); in dpni_get_tx_flow()
590 if (err) in dpni_get_tx_flow()
591 return err; in dpni_get_tx_flow()
626 int err; in dpni_get_rx_flow() local
634 err = mc_send_command(mc_io, &cmd); in dpni_get_rx_flow()
635 if (err) in dpni_get_rx_flow()
636 return err; in dpni_get_rx_flow()
669 int err; in dpni_get_tx_conf() local
678 err = mc_send_command(mc_io, &cmd); in dpni_get_tx_conf()
679 if (err) in dpni_get_tx_conf()
680 return err; in dpni_get_tx_conf()