Searched refs:if_link (Results 1 – 9 of 9) sorted by relevance
35 struct qed_link_output if_link; in speed_show() local37 qedi_ops->common->get_link(qedi->cdev, &if_link); in speed_show()39 return sprintf(buf, "%d Gbit\n", if_link.speed / 1000); in speed_show()
2079 memset(if_link, 0, sizeof(*if_link)); in qed_fill_link()2089 if_link->link_up = true; in qed_fill_link()2095 linkmode_copy(if_link->advertised_caps, if_link->supported_caps); in qed_fill_link()2104 if_link->advertised_caps); in qed_fill_link()2109 linkmode_copy(if_link->advertised_caps, if_link->supported_caps); in qed_fill_link()2129 if_link->advertised_caps); in qed_fill_link()2133 if_link->supported_caps); in qed_fill_link()2140 if_link->speed = link.speed; in qed_fill_link()2143 if_link->duplex = DUPLEX_FULL; in qed_fill_link()2167 if_link->eee_supported = true; in qed_fill_link()[all …]
184 .. kernel-doc:: include/uapi/linux/if_link.h
165 #include <linux/if_link.h>463 #include <linux/if_link.h>
967 struct qed_link_output *if_link);
919 struct qed_link_output if_link; in qedf_ctx_soft_reset() local943 qed_ops->common->get_link(qedf->cdev, &if_link); in qedf_ctx_soft_reset()945 if (!if_link.link_up) { in qedf_ctx_soft_reset()
3541 -rw-r--r-- root root 23649 ./usr/include/linux/if_link.h
3540 -rw-r--r-- root root 23649 ./usr/include/linux/if_link.h