| /linux/include/linux/ |
| H A D | mdio.h | 229 u32 adv = 0; in mmd_eee_adv_to_ethtool_adv_t() local 232 adv |= ADVERTISED_100baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 234 adv |= ADVERTISED_1000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 236 adv |= ADVERTISED_10000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 238 adv |= ADVERTISED_1000baseKX_Full; in mmd_eee_adv_to_ethtool_adv_t() 240 adv |= ADVERTISED_10000baseKX4_Full; in mmd_eee_adv_to_ethtool_adv_t() 242 adv |= ADVERTISED_10000baseKR_Full; in mmd_eee_adv_to_ethtool_adv_t() 244 return adv; in mmd_eee_adv_to_ethtool_adv_t() 255 static inline u16 ethtool_adv_to_mmd_eee_adv_t(u32 adv) in ethtool_adv_to_mmd_eee_adv_t() argument 259 if (adv & ADVERTISED_100baseT_Full) in ethtool_adv_to_mmd_eee_adv_t() [all …]
|
| H A D | mii.h | 170 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/drivers/net/ethernet/ibm/emac/ |
| H A D | phy.c | 112 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 D | aq100x.c | 155 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 D | vsc8211.c | 133 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/net/bluetooth/ |
| H A D | hci_sync.c | 1185 struct adv_info *adv = NULL; in hci_disable_ext_adv_instance_sync() local 1189 adv = hci_find_adv_instance(hdev, instance); in hci_disable_ext_adv_instance_sync() 1190 if (!adv) in hci_disable_ext_adv_instance_sync() 1194 if (!adv->enabled) in hci_disable_ext_adv_instance_sync() 1207 set->handle = adv ? adv->handle : instance; in hci_disable_ext_adv_instance_sync() 1246 struct adv_info *adv; in hci_set_ext_adv_params_sync() local 1279 adv = hci_find_adv_instance(hdev, instance); in hci_set_ext_adv_params_sync() 1280 if (adv) in hci_set_ext_adv_params_sync() 1281 adv->tx_power = rp->tx_power; in hci_set_ext_adv_params_sync() 1294 struct adv_info *adv = NULL; in hci_set_ext_adv_data_sync() local [all …]
|
| H A D | hci_core.c | 1570 struct adv_info *adv; in hci_find_adv_sid() local 1572 list_for_each_entry(adv, &hdev->adv_instances, list) { in hci_find_adv_sid() 1573 if (adv->sid == sid) in hci_find_adv_sid() 1574 return adv; in hci_find_adv_sid() 1672 struct adv_info *adv; in hci_add_adv_instance() local 1674 adv = hci_find_adv_instance(hdev, instance); in hci_add_adv_instance() 1675 if (adv) { in hci_add_adv_instance() 1676 memset(adv->adv_data, 0, sizeof(adv->adv_data)); in hci_add_adv_instance() 1677 memset(adv->scan_rsp_data, 0, sizeof(adv->scan_rsp_data)); in hci_add_adv_instance() 1678 memset(adv->per_adv_data, 0, sizeof(adv->per_adv_data)); in hci_add_adv_instance() [all …]
|
| /linux/Documentation/networking/ |
| H A D | batman-adv.rst | 4 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/drivers/net/phy/ |
| H A D | phy-c45.c | 272 u32 adv; in genphy_c45_an_config_aneg() local 286 adv = linkmode_adv_to_mii_adv_t(phydev->advertising); in genphy_c45_an_config_aneg() 291 adv); in genphy_c45_an_config_aneg() 297 adv = linkmode_adv_to_mii_10gbt_adv_t(phydev->advertising); in genphy_c45_an_config_aneg() 302 MDIO_AN_10GBT_CTRL_ADV2_5G, adv); in genphy_c45_an_config_aneg() 799 unsigned long *adv) in genphy_c45_write_eee_adv() argument 804 val = linkmode_to_mii_eee_cap1_t(adv); in genphy_c45_write_eee_adv() 822 val = linkmode_to_mii_eee_cap2_t(adv); in genphy_c45_write_eee_adv() 839 val = linkmode_adv_to_mii_10base_t1_t(adv); in genphy_c45_write_eee_adv() 861 int genphy_c45_read_eee_adv(struct phy_device *phydev, unsigned long *adv) in genphy_c45_read_eee_adv() argument [all …]
|
| /linux/drivers/net/pcs/ |
| H A D | pcs-xpcs.c | 410 int ret, adv; in _xpcs_config_aneg_c73() local 419 adv = 0; in _xpcs_config_aneg_c73() 421 adv |= DW_C73_2500KX; in _xpcs_config_aneg_c73() 425 ret = xpcs_write(xpcs, MDIO_MMD_AN, DW_SR_AN_ADV3, adv); in _xpcs_config_aneg_c73() 430 adv = 0; in _xpcs_config_aneg_c73() 432 adv |= DW_C73_1000KX; in _xpcs_config_aneg_c73() 434 adv |= DW_C73_10000KX4; in _xpcs_config_aneg_c73() 436 adv |= DW_C73_10000KR; in _xpcs_config_aneg_c73() 438 ret = xpcs_write(xpcs, MDIO_MMD_AN, DW_SR_AN_ADV2, adv); in _xpcs_config_aneg_c73() 443 adv = DW_C73_AN_ADV_SF; in _xpcs_config_aneg_c73() [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap2420-h4.dts | 34 gpmc,adv-on-ns = <20>; 35 gpmc,adv-rd-off-ns = <50>; 36 gpmc,adv-wr-off-ns = <50>;
|
| H A D | omap3-overo-tobiduo-common.dtsi | 29 gpmc,adv-on-ns = <6>; 30 gpmc,adv-rd-off-ns = <12>; 31 gpmc,adv-wr-off-ns = <12>;
|
| H A D | omap2430-sdp.dts | 51 gpmc,adv-on-ns = <18>; 52 gpmc,adv-rd-off-ns = <48>; 53 gpmc,adv-wr-off-ns = <48>;
|
| H A D | omap-gpmc-smsc9221.dtsi | 36 gpmc,adv-on-ns = <6>; 37 gpmc,adv-rd-off-ns = <12>; 38 gpmc,adv-wr-off-ns = <12>;
|
| H A D | omap-gpmc-smsc911x.dtsi | 33 gpmc,adv-on-ns = <0>; 34 gpmc,adv-rd-off-ns = <15>; 35 gpmc,adv-wr-off-ns = <40>;
|
| H A D | omap-zoom-common.dtsi | 35 gpmc,adv-on-ns = <15>; 36 gpmc,adv-rd-off-ns = <40>; 37 gpmc,adv-wr-off-ns = <40>;
|
| H A D | omap3-gta04a5one.dts | 68 gpmc,adv-on-ns = <0>; 69 gpmc,adv-rd-off-ns = <10>; 70 gpmc,adv-wr-off-ns = <10>;
|
| H A D | omap4-duovero-parlor.dts | 149 gpmc,adv-on-ns = <0>; 150 gpmc,adv-rd-off-ns = <10>; 151 gpmc,adv-wr-off-ns = <10>;
|
| H A D | am335x-chilisom.dtsi | 159 gpmc,adv-on-ns = <6>; 160 gpmc,adv-rd-off-ns = <34>; 161 gpmc,adv-wr-off-ns = <44>;
|
| H A D | omap3-lilly-a83x.dtsi | 379 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>;
|
| /linux/tools/perf/ui/ |
| H A D | progress.c | 16 void ui_progress__update(struct ui_progress *p, u64 adv) in ui_progress__update() argument 20 p->curr += adv; in ui_progress__update()
|
| /linux/net/tipc/ |
| H A D | group.c | 422 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/arch/arm64/boot/dts/ti/ |
| H A D | k3-am62-lp-sk-nand.dtso | 65 gpmc,adv-on-ns = <0>; 66 gpmc,adv-rd-off-ns = <25>; 67 gpmc,adv-wr-off-ns = <25>;
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7986a-bananapi-bpi-r3-mini.dts | 365 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/drivers/net/dsa/mv88e6xxx/ |
| H A D | pcs-6352.c | 192 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()
|