Home
last modified time | relevance | path

Searched refs:adv (Results 1 – 25 of 74) sorted by relevance

123

/linux/include/linux/
H A Dmii.h170 static inline u32 mii_adv_to_ethtool_adv_t(u32 adv) in mii_adv_to_ethtool_adv_t() argument
174 if (adv & ADVERTISE_10HALF) in mii_adv_to_ethtool_adv_t()
176 if (adv & ADVERTISE_10FULL) in mii_adv_to_ethtool_adv_t()
178 if (adv & ADVERTISE_100HALF) in mii_adv_to_ethtool_adv_t()
180 if (adv & ADVERTISE_100FULL) in mii_adv_to_ethtool_adv_t()
182 if (adv & ADVERTISE_PAUSE_CAP) in mii_adv_to_ethtool_adv_t()
184 if (adv & ADVERTISE_PAUSE_ASYM) in mii_adv_to_ethtool_adv_t()
241 static inline u32 mii_ctrl1000_to_ethtool_adv_t(u32 adv) in mii_ctrl1000_to_ethtool_adv_t() argument
245 if (adv & ADVERTISE_1000HALF) in mii_ctrl1000_to_ethtool_adv_t()
247 if (adv & ADVERTISE_1000FULL) in mii_ctrl1000_to_ethtool_adv_t()
[all …]
/linux/net/bluetooth/
H A Deir.c226 struct adv_info *adv = NULL; in eir_create_per_adv_data() local
231 adv = hci_find_adv_instance(hdev, instance); in eir_create_per_adv_data()
232 if (!adv) in eir_create_per_adv_data()
236 if (adv) { in eir_create_per_adv_data()
237 memcpy(ptr, adv->per_adv_data, adv->per_adv_data_len); in eir_create_per_adv_data()
238 ad_len += adv->per_adv_data_len; in eir_create_per_adv_data()
239 ptr += adv->per_adv_data_len; in eir_create_per_adv_data()
247 struct adv_info *adv = NULL; in eir_create_adv_data() local
253 adv = hci_find_adv_instance(hdev, instance); in eir_create_adv_data()
254 if (!adv) in eir_create_adv_data()
[all …]
H A Dhci_sync.c1158 struct adv_info *adv = NULL; in hci_disable_ext_adv_instance_sync() local
1162 adv = hci_find_adv_instance(hdev, instance); in hci_disable_ext_adv_instance_sync()
1163 if (!adv) in hci_disable_ext_adv_instance_sync()
1167 if (!adv->enabled) in hci_disable_ext_adv_instance_sync()
1180 set->handle = adv ? adv->handle : instance; in hci_disable_ext_adv_instance_sync()
1215 hci_set_ext_adv_params_sync(struct hci_dev *hdev, struct adv_info *adv, in hci_set_ext_adv_params_sync() argument
1249 } else if (adv) { in hci_set_ext_adv_params_sync()
1250 adv->tx_power = rp->tx_power; in hci_set_ext_adv_params_sync()
1262 struct adv_info *adv = NULL; in hci_set_ext_adv_data_sync() local
1266 adv = hci_find_adv_instance(hdev, instance); in hci_set_ext_adv_data_sync()
[all …]
H A Dhci_core.c1606 struct adv_info *adv; in hci_find_adv_sid() local
1608 list_for_each_entry(adv, &hdev->adv_instances, list) { in hci_find_adv_sid()
1609 if (adv->sid == sid) in hci_find_adv_sid()
1610 return adv; in hci_find_adv_sid()
1708 struct adv_info *adv; in hci_add_adv_instance() local
1710 adv = hci_find_adv_instance(hdev, instance); in hci_add_adv_instance()
1711 if (adv) { in hci_add_adv_instance()
1712 memset(adv->adv_data, 0, sizeof(adv->adv_data)); in hci_add_adv_instance()
1713 memset(adv->scan_rsp_data, 0, sizeof(adv->scan_rsp_data)); in hci_add_adv_instance()
1714 memset(adv->per_adv_data, 0, sizeof(adv->per_adv_data)); in hci_add_adv_instance()
[all …]
/linux/drivers/net/ethernet/ibm/emac/
H A Dphy.c112 int ctl, adv; in genmii_setup_aneg() local
129 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg()
130 if (adv < 0) in genmii_setup_aneg()
131 return adv; in genmii_setup_aneg()
132 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | in genmii_setup_aneg()
135 adv |= ADVERTISE_10HALF; in genmii_setup_aneg()
137 adv |= ADVERTISE_10FULL; in genmii_setup_aneg()
139 adv |= ADVERTISE_100HALF; in genmii_setup_aneg()
141 adv |= ADVERTISE_100FULL; in genmii_setup_aneg()
143 adv |= ADVERTISE_PAUSE_CAP; in genmii_setup_aneg()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Daq100x.c155 unsigned int adv; in aq100x_advertise() local
159 adv = 0; in aq100x_advertise()
161 adv |= ADV_10G_FULL; in aq100x_advertise()
163 ADV_10G_FULL, adv); in aq100x_advertise()
168 adv = 0; in aq100x_advertise()
170 adv |= ADV_1G_FULL; in aq100x_advertise()
172 adv |= ADV_1G_HALF; in aq100x_advertise()
174 ADV_1G_FULL | ADV_1G_HALF, adv); in aq100x_advertise()
179 adv = 0; in aq100x_advertise()
181 adv |= ADVERTISE_100HALF; in aq100x_advertise()
[all …]
H A Dvsc8211.c133 unsigned int bmcr, status, lpa, adv; in vsc8211_get_link_status() local
182 MII_ADVERTISE, &adv); in vsc8211_get_link_status()
186 if (lpa & adv & ADVERTISE_PAUSE_CAP) in vsc8211_get_link_status()
190 (adv & ADVERTISE_PAUSE_ASYM)) in vsc8211_get_link_status()
193 (adv & ADVERTISE_PAUSE_CAP)) in vsc8211_get_link_status()
209 unsigned int bmcr, status, lpa, adv; in vsc8211_get_link_status_fiber() local
242 &adv); in vsc8211_get_link_status_fiber()
246 if (adv & lpa & ADVERTISE_1000XFULL) { in vsc8211_get_link_status_fiber()
249 } else if (adv & lpa & ADVERTISE_1000XHALF) { in vsc8211_get_link_status_fiber()
255 if (lpa & adv & ADVERTISE_1000XPAUSE) in vsc8211_get_link_status_fiber()
[all …]
/linux/Documentation/networking/
H A Dbatman-adv.rst4 batman-adv
25 Load the batman-adv module into your kernel::
27 $ insmod batman-adv.ko
30 batman-adv can operate. The batman-adv mesh-interface can be created using the
39 Repeat this step for all interfaces you wish to add. Now batman-adv starts
61 in milliseconds which determines how often batman-adv sends its broadcast
112 the files ``/var/log/kern.log`` or ``/var/log/syslog``. All batman-adv messages
113 are prefixed with "batman-adv:" So to see just these messages try::
115 $ dmesg | grep batman-adv
119 batman-adv module. When building batman-adv as part of the kernel, use "make
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap2420-h4.dts34 gpmc,adv-on-ns = <20>;
35 gpmc,adv-rd-off-ns = <50>;
36 gpmc,adv-wr-off-ns = <50>;
H A Domap3-overo-tobiduo-common.dtsi29 gpmc,adv-on-ns = <6>;
30 gpmc,adv-rd-off-ns = <12>;
31 gpmc,adv-wr-off-ns = <12>;
H A Domap2430-sdp.dts51 gpmc,adv-on-ns = <18>;
52 gpmc,adv-rd-off-ns = <48>;
53 gpmc,adv-wr-off-ns = <48>;
H A Domap-gpmc-smsc9221.dtsi36 gpmc,adv-on-ns = <6>;
37 gpmc,adv-rd-off-ns = <12>;
38 gpmc,adv-wr-off-ns = <12>;
H A Domap-gpmc-smsc911x.dtsi33 gpmc,adv-on-ns = <0>;
34 gpmc,adv-rd-off-ns = <15>;
35 gpmc,adv-wr-off-ns = <40>;
H A Domap2420-n8x0-common.dtsi67 gpmc,adv-on-ns = <0>;
68 gpmc,adv-rd-off-ns = <18>;
69 gpmc,adv-wr-off-ns = <18>;
H A Domap-zoom-common.dtsi35 gpmc,adv-on-ns = <15>;
36 gpmc,adv-rd-off-ns = <40>;
37 gpmc,adv-wr-off-ns = <40>;
H A Domap3-gta04a5one.dts68 gpmc,adv-on-ns = <0>;
69 gpmc,adv-rd-off-ns = <10>;
70 gpmc,adv-wr-off-ns = <10>;
H A Domap3-lilly-a83x.dtsi379 gpmc,adv-on-ns = <0>;
380 gpmc,adv-rd-off-ns = <100>;
381 gpmc,adv-wr-off-ns = <100>;
432 gpmc,adv-on-ns = <0>;
433 gpmc,adv-rd-off-ns = <10>;
434 gpmc,adv-wr-off-ns = <10>;
H A Dam335x-nano.dts278 gpmc,adv-on-ns = <10>;
279 gpmc,adv-rd-off-ns = <30>;
280 gpmc,adv-wr-off-ns = <30>;
368 gpmc,adv-on-ns = <10>;
369 gpmc,adv-rd-off-ns = <20>;
370 gpmc,adv-wr-off-ns = <20>;
H A Domap4-duovero-parlor.dts149 gpmc,adv-on-ns = <0>;
150 gpmc,adv-rd-off-ns = <10>;
151 gpmc,adv-wr-off-ns = <10>;
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8183-evb.dts162 mediatek,pull-up-adv = <3>;
170 mediatek,pull-up-adv = <3>;
178 mediatek,pull-up-adv = <3>;
186 mediatek,pull-up-adv = <3>;
194 mediatek,pull-up-adv = <3>;
202 mediatek,pull-up-adv = <3>;
H A Dmt7986a-bananapi-bpi-r3-mini.dts365 mediatek,pull-up-adv = <1>;
370 mediatek,pull-up-adv = <1>;
375 mediatek,pull-up-adv = <1>;
380 mediatek,pull-up-adv = <1>;
385 mediatek,pull-up-adv = <1>;
390 mediatek,pull-up-adv = <1>;
/linux/net/tipc/
H A Dgroup.c422 int adv, state; in tipc_group_cong() local
437 adv = m->advertised; in tipc_group_cong()
439 if (state == MBR_JOINED && adv == ADV_IDLE) in tipc_group_cong()
441 if (state == MBR_ACTIVE && adv == ADV_ACTIVE) in tipc_group_cong()
443 if (state == MBR_PENDING && adv == ADV_IDLE) in tipc_group_cong()
708 int adv = 0; in tipc_group_proto_xmit() local
717 adv = ADV_ACTIVE - m->advertised; in tipc_group_proto_xmit()
719 adv = ADV_IDLE - m->advertised; in tipc_group_proto_xmit()
725 msg_set_adv_win(hdr, adv); in tipc_group_proto_xmit()
726 m->advertised += adv; in tipc_group_proto_xmit()
[all …]
/linux/tools/perf/ui/
H A Dprogress.c16 void ui_progress__update(struct ui_progress *p, u64 adv) in ui_progress__update() argument
20 p->curr += adv; in ui_progress__update()
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62-lp-sk-nand.dtso65 gpmc,adv-on-ns = <0>;
66 gpmc,adv-rd-off-ns = <25>;
67 gpmc,adv-wr-off-ns = <25>;
/linux/drivers/net/dsa/mv88e6xxx/
H A Dpcs-6352.c192 int oldpage, adv, err, ret = 0; in marvell_c22_pcs_config() local
195 adv = phylink_mii_c22_pcs_encode_advertisement(interface, advertising); in marvell_c22_pcs_config()
196 if (adv < 0) in marvell_c22_pcs_config()
205 err = __mdiodev_modify_changed(&mpcs->mdio, MII_ADVERTISE, 0xffff, adv); in marvell_c22_pcs_config()

123