| /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/net/bluetooth/ |
| H A D | eir.c | 226 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 D | hci_sync.c | 1191 struct adv_info *adv; in hci_disable_ext_adv_instance_sync() 1198 list_for_each_entry(adv, &hdev->adv_instances, list) { in hci_disable_ext_adv_instance_sync() 1199 if (!adv->handle && adv->enabled) { in hci_disable_ext_adv_instance_sync() 1246 struct adv_info *adv; in hci_set_adv_set_random_addr_sync() 1250 adv = hci_find_adv_instance(hdev, instance); in hci_set_ext_adv_params_sync() 1251 if (adv) { in hci_set_ext_adv_params_sync() 1252 enabled = adv->enabled; in hci_set_ext_adv_params_sync() 1253 handle = adv->handle; in hci_set_ext_adv_params_sync() 1257 if (!adv) in hci_set_ext_adv_params_sync() 1193 struct adv_info *adv = NULL; hci_disable_ext_adv_instance_sync() local 1254 struct adv_info *adv; hci_set_ext_adv_params_sync() local 1303 struct adv_info *adv = NULL; hci_set_ext_adv_data_sync() local 1396 struct adv_info *adv; hci_setup_ext_adv_instance_sync() local 1553 struct adv_info *adv = NULL; hci_set_ext_scan_rsp_data_sync() local 1646 struct adv_info *adv; hci_enable_ext_advertising_sync() local 1705 struct adv_info *adv = NULL; hci_disable_per_advertising_sync() local 1749 struct adv_info *adv = NULL; hci_set_per_adv_data_sync() local 1778 struct adv_info *adv = NULL; hci_enable_per_advertising_sync() local 1797 hci_adv_bcast_annoucement(struct hci_dev * hdev,struct adv_info * adv) hci_adv_bcast_annoucement() argument 1844 struct adv_info *adv = NULL; hci_start_per_adv_sync() local 2069 struct adv_info *adv = NULL; hci_schedule_adv_instance_sync() local 2140 struct adv_info *adv, *n; hci_clear_adv_sync() local 2225 struct adv_info *adv = hci_find_adv_instance(hdev, instance); hci_remove_advertising_sync() local 2689 struct adv_info *adv, *tmp; hci_resume_advertising_sync() local 3488 struct adv_info *adv, *tmp; hci_powered_update_adv_sync() local [all...] |
| H A D | hci_core.c | 1640 struct adv_info *adv; in hci_adv_instances_set_rpa_expired() 1642 list_for_each_entry(adv, &hdev->adv_instances, list) { 1643 if (adv->sid == sid) 1644 return adv; in hci_adv_instances_clear() 1748 struct adv_info *adv; in hci_add_per_instance() 1750 adv = hci_find_adv_instance(hdev, instance); in hci_add_per_instance() 1751 if (adv) { in hci_add_per_instance() 1752 memset(adv->adv_data, 0, sizeof(adv->adv_data)); in hci_add_per_instance() 1753 memset(adv in hci_add_per_instance() 1579 struct adv_info *adv; hci_find_adv_sid() local 1681 struct adv_info *adv; hci_add_adv_instance() local 1745 struct adv_info *adv; hci_add_per_instance() local 1768 struct adv_info *adv; hci_set_adv_instance_data() local 1802 struct adv_info *adv; hci_adv_instance_flags() local 1835 struct adv_info *adv; hci_adv_instance_is_scannable() local [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/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 | 308 u32 adv; in genphy_c45_an_config_aneg() 322 adv = linkmode_adv_to_mii_adv_t(phydev->advertising); in genphy_c45_an_disable_aneg() 327 adv); in genphy_c45_an_disable_aneg() 333 adv = linkmode_adv_to_mii_10gbt_adv_t(phydev->advertising); 338 MDIO_AN_10GBT_CTRL_ADV2_5G, adv); 832 * @adv: the linkmode advertisement settings in genphy_c45_write_eee_adv() 835 unsigned long *adv) in genphy_c45_write_eee_adv() 840 val = linkmode_to_mii_eee_cap1_t(adv); in genphy_c45_write_eee_adv() 858 val = linkmode_to_mii_eee_cap2_t(adv); 875 val = linkmode_adv_to_mii_10base_t1_t(adv); in genphy_c45_read_eee_adv() 272 u32 adv; genphy_c45_an_config_aneg() local 799 genphy_c45_write_eee_adv(struct phy_device * phydev,unsigned long * adv) genphy_c45_write_eee_adv() argument 861 genphy_c45_read_eee_adv(struct phy_device * phydev,unsigned long * adv) genphy_c45_read_eee_adv() argument 1678 unsigned long *adv = data->advertised; genphy_c45_ethtool_set_eee() local [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 in _xpcs_config_aneg_c73() 519 unsigned long *adv = state->advertising; xpcs_get_max_xlgmii_speed() local 831 int ret, mdio_ctrl, adv; xpcs_config_aneg_c37_1000basex() local [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 | 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>;
|
| H A D | am335x-nano.dts | 278 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>;
|
| /linux/net/tipc/ |
| H A D | group.c | 423 int adv, state; in tipc_group_cong() 438 adv = m->advertised; in tipc_group_cong() 440 if (state == MBR_JOINED && adv == ADV_IDLE) in tipc_group_cong() 442 if (state == MBR_ACTIVE && adv == ADV_ACTIVE) in tipc_group_cong() 444 if (state == MBR_PENDING && adv == ADV_IDLE) in tipc_group_cong() 709 int adv = 0; in tipc_group_proto_xmit() 718 adv = ADV_ACTIVE - m->advertised; in tipc_group_proto_xmit() 720 adv = ADV_IDLE - m->advertised; in tipc_group_proto_xmit() 726 msg_set_adv_win(hdr, adv); in tipc_group_proto_xmit() 727 m->advertised += adv; in tipc_group_proto_xmit() 422 int adv, state; tipc_group_cong() local 708 int adv = 0; tipc_group_proto_xmit() local [all...] |
| /linux/tools/perf/ui/ |
| H A D | progress.c | 22 void ui_progress__update(struct ui_progress *p, u64 adv) in ui_progress__update() 26 p->curr += adv; in ui_progress__update() 16 ui_progress__update(struct ui_progress * p,u64 adv) ui_progress__update() argument
|
| /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()
|