/linux-6.6.21/drivers/gpu/drm/bridge/adv7511/ |
D | adv7533.c | 27 static void adv7511_dsi_config_timing_gen(struct adv7511 *adv) in adv7511_dsi_config_timing_gen() argument 29 struct mipi_dsi_device *dsi = adv->dsi; in adv7511_dsi_config_timing_gen() 30 struct drm_display_mode *mode = &adv->curr_mode; in adv7511_dsi_config_timing_gen() 42 regmap_write(adv->regmap_cec, 0x16, in adv7511_dsi_config_timing_gen() 46 regmap_write(adv->regmap_cec, 0x28, mode->htotal >> 4); in adv7511_dsi_config_timing_gen() 47 regmap_write(adv->regmap_cec, 0x29, (mode->htotal << 4) & 0xff); in adv7511_dsi_config_timing_gen() 48 regmap_write(adv->regmap_cec, 0x2a, hsw >> 4); in adv7511_dsi_config_timing_gen() 49 regmap_write(adv->regmap_cec, 0x2b, (hsw << 4) & 0xff); in adv7511_dsi_config_timing_gen() 50 regmap_write(adv->regmap_cec, 0x2c, hfp >> 4); in adv7511_dsi_config_timing_gen() 51 regmap_write(adv->regmap_cec, 0x2d, (hfp << 4) & 0xff); in adv7511_dsi_config_timing_gen() [all …]
|
D | adv7511_drv.c | 820 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_get_modes() local 822 return adv7511_get_modes(adv, connector); in adv7511_connector_get_modes() 829 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_mode_valid() local 831 return adv7511_mode_valid(adv, mode); in adv7511_connector_mode_valid() 842 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_detect() local 844 return adv7511_detect(adv, connector); in adv7511_connector_detect() 856 static int adv7511_connector_init(struct adv7511 *adv) in adv7511_connector_init() argument 858 struct drm_bridge *bridge = &adv->bridge; in adv7511_connector_init() 866 if (adv->i2c_main->irq) in adv7511_connector_init() 867 adv->connector.polled = DRM_CONNECTOR_POLL_HPD; in adv7511_connector_init() [all …]
|
D | adv7511.h | 403 void adv7533_dsi_power_on(struct adv7511 *adv); 404 void adv7533_dsi_power_off(struct adv7511 *adv); 405 enum drm_mode_status adv7533_mode_valid(struct adv7511 *adv, 407 int adv7533_patch_registers(struct adv7511 *adv); 408 int adv7533_patch_cec_registers(struct adv7511 *adv); 409 int adv7533_attach_dsi(struct adv7511 *adv); 410 int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv);
|
/linux-6.6.21/net/batman-adv/ |
D | Makefile | 6 obj-$(CONFIG_BATMAN_ADV) += batman-adv.o 7 batman-adv-y += bat_algo.o 8 batman-adv-y += bat_iv_ogm.o 9 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v.o 10 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_elp.o 11 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_ogm.o 12 batman-adv-y += bitarray.o 13 batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.o 14 batman-adv-$(CONFIG_BATMAN_ADV_DAT) += distributed-arp-table.o 15 batman-adv-y += fragmentation.o [all …]
|
/linux-6.6.21/include/linux/ |
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() 240 static inline u32 mii_ctrl1000_to_ethtool_adv_t(u32 adv) in mii_ctrl1000_to_ethtool_adv_t() argument 244 if (adv & ADVERTISE_1000HALF) in mii_ctrl1000_to_ethtool_adv_t() 246 if (adv & ADVERTISE_1000FULL) in mii_ctrl1000_to_ethtool_adv_t() [all …]
|
D | mdio.h | 255 u32 adv = 0; in mmd_eee_adv_to_ethtool_adv_t() local 258 adv |= ADVERTISED_100baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 260 adv |= ADVERTISED_1000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 262 adv |= ADVERTISED_10000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 264 adv |= ADVERTISED_1000baseKX_Full; in mmd_eee_adv_to_ethtool_adv_t() 266 adv |= ADVERTISED_10000baseKX4_Full; in mmd_eee_adv_to_ethtool_adv_t() 268 adv |= ADVERTISED_10000baseKR_Full; in mmd_eee_adv_to_ethtool_adv_t() 270 return adv; in mmd_eee_adv_to_ethtool_adv_t() 281 static inline u16 ethtool_adv_to_mmd_eee_adv_t(u32 adv) in ethtool_adv_to_mmd_eee_adv_t() argument 285 if (adv & ADVERTISED_100baseT_Full) in ethtool_adv_to_mmd_eee_adv_t() [all …]
|
/linux-6.6.21/net/bluetooth/ |
D | eir.c | 241 struct adv_info *adv = NULL; in eir_create_per_adv_data() local 246 adv = hci_find_adv_instance(hdev, instance); in eir_create_per_adv_data() 247 if (!adv) in eir_create_per_adv_data() 251 if (adv) { in eir_create_per_adv_data() 252 memcpy(ptr, adv->per_adv_data, adv->per_adv_data_len); in eir_create_per_adv_data() 253 ad_len += adv->per_adv_data_len; in eir_create_per_adv_data() 254 ptr += adv->per_adv_data_len; in eir_create_per_adv_data() 262 struct adv_info *adv = NULL; in eir_create_adv_data() local 268 adv = hci_find_adv_instance(hdev, instance); in eir_create_adv_data() 269 if (!adv) in eir_create_adv_data() [all …]
|
D | hci_sync.c | 993 struct adv_info *adv; in hci_disable_ext_adv_instance_sync() local 995 adv = hci_find_adv_instance(hdev, instance); in hci_disable_ext_adv_instance_sync() 996 if (!adv) in hci_disable_ext_adv_instance_sync() 1000 if (!adv->enabled) in hci_disable_ext_adv_instance_sync() 1055 struct adv_info *adv; in hci_setup_ext_adv_instance_sync() local 1059 adv = hci_find_adv_instance(hdev, instance); in hci_setup_ext_adv_instance_sync() 1060 if (!adv) in hci_setup_ext_adv_instance_sync() 1063 adv = NULL; in hci_setup_ext_adv_instance_sync() 1070 if (adv && !adv->pending) { in hci_setup_ext_adv_instance_sync() 1092 adv_use_rpa(hdev, flags), adv, in hci_setup_ext_adv_instance_sync() [all …]
|
D | hci_core.c | 1722 struct adv_info *adv; in hci_add_adv_instance() local 1724 adv = hci_find_adv_instance(hdev, instance); in hci_add_adv_instance() 1725 if (adv) { in hci_add_adv_instance() 1726 memset(adv->adv_data, 0, sizeof(adv->adv_data)); in hci_add_adv_instance() 1727 memset(adv->scan_rsp_data, 0, sizeof(adv->scan_rsp_data)); in hci_add_adv_instance() 1728 memset(adv->per_adv_data, 0, sizeof(adv->per_adv_data)); in hci_add_adv_instance() 1734 adv = kzalloc(sizeof(*adv), GFP_KERNEL); in hci_add_adv_instance() 1735 if (!adv) in hci_add_adv_instance() 1738 adv->pending = true; in hci_add_adv_instance() 1739 adv->instance = instance; in hci_add_adv_instance() [all …]
|
/linux-6.6.21/arch/arm64/boot/dts/mediatek/ |
D | mt8183-pumpkin.dts | 199 mediatek,pull-up-adv = <3>; 200 mediatek,drive-strength-adv = <00>; 208 mediatek,pull-up-adv = <3>; 209 mediatek,drive-strength-adv = <00>; 217 mediatek,pull-up-adv = <3>; 218 mediatek,drive-strength-adv = <00>; 226 mediatek,pull-up-adv = <3>; 227 mediatek,drive-strength-adv = <00>; 235 mediatek,pull-up-adv = <3>; 236 mediatek,drive-strength-adv = <00>; [all …]
|
D | mt8183-evb.dts | 162 mediatek,pull-up-adv = <3>; 163 mediatek,drive-strength-adv = <00>; 171 mediatek,pull-up-adv = <3>; 172 mediatek,drive-strength-adv = <00>; 180 mediatek,pull-up-adv = <3>; 181 mediatek,drive-strength-adv = <00>; 189 mediatek,pull-up-adv = <3>; 190 mediatek,drive-strength-adv = <00>; 198 mediatek,pull-up-adv = <3>; 199 mediatek,drive-strength-adv = <00>; [all …]
|
D | mt8183-kukui.dtsi | 508 mediatek,pull-up-adv = <3>; 509 mediatek,drive-strength-adv = <00>; 517 mediatek,pull-up-adv = <3>; 518 mediatek,drive-strength-adv = <00>; 527 mediatek,drive-strength-adv = <00>; 535 mediatek,pull-up-adv = <3>; 536 mediatek,drive-strength-adv = <00>; 545 mediatek,drive-strength-adv = <00>; 553 mediatek,pull-up-adv = <3>; 554 mediatek,drive-strength-adv = <00>; [all …]
|
/linux-6.6.21/drivers/net/ethernet/ibm/emac/ |
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-6.6.21/drivers/net/ethernet/chelsio/cxgb3/ |
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 …]
|
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-6.6.21/drivers/net/ |
D | sungem_phy.c | 312 u16 ctl, adv; in genmii_setup_aneg() local 321 adv = sungem_phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg() 322 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in genmii_setup_aneg() 324 adv |= ADVERTISE_10HALF; in genmii_setup_aneg() 326 adv |= ADVERTISE_10FULL; in genmii_setup_aneg() 328 adv |= ADVERTISE_100HALF; in genmii_setup_aneg() 330 adv |= ADVERTISE_100FULL; in genmii_setup_aneg() 331 sungem_phy_write(phy, MII_ADVERTISE, adv); in genmii_setup_aneg() 468 u16 ctl, adv; in bcm54xx_setup_aneg() local 477 adv = sungem_phy_read(phy, MII_ADVERTISE); in bcm54xx_setup_aneg() [all …]
|
/linux-6.6.21/drivers/net/phy/ |
D | phy-c45.c | 269 u32 adv; in genphy_c45_an_config_aneg() local 283 adv = linkmode_adv_to_mii_adv_t(phydev->advertising); in genphy_c45_an_config_aneg() 288 adv); in genphy_c45_an_config_aneg() 294 adv = linkmode_adv_to_mii_10gbt_adv_t(phydev->advertising); in genphy_c45_an_config_aneg() 299 MDIO_AN_10GBT_CTRL_ADV2_5G, adv); in genphy_c45_an_config_aneg() 682 int genphy_c45_write_eee_adv(struct phy_device *phydev, unsigned long *adv) in genphy_c45_write_eee_adv() argument 687 val = linkmode_to_mii_eee_cap1_t(adv); in genphy_c45_write_eee_adv() 711 val = linkmode_adv_to_mii_10base_t1_t(adv); in genphy_c45_write_eee_adv() 733 int genphy_c45_read_eee_adv(struct phy_device *phydev, unsigned long *adv) in genphy_c45_read_eee_adv() argument 745 mii_eee_cap1_mod_linkmode_t(adv, val); in genphy_c45_read_eee_adv() [all …]
|
D | lxt.c | 221 int adv; in lxt973a2_read_status() local 233 adv = phy_read(phydev, MII_ADVERTISE); in lxt973a2_read_status() 235 if (adv < 0) in lxt973a2_read_status() 236 return adv; in lxt973a2_read_status() 247 } while (lpa == adv && retry--); in lxt973a2_read_status() 251 lpa &= adv; in lxt973a2_read_status()
|
/linux-6.6.21/arch/arm/boot/dts/ti/omap/ |
D | omap3430-sdp.dts | 66 gpmc,adv-on-ns = <12>; 67 gpmc,adv-rd-off-ns = <48>; 68 gpmc,adv-wr-off-ns = <48>; 116 gpmc,adv-on-ns = <6>; 117 gpmc,adv-rd-off-ns = <24>; 118 gpmc,adv-wr-off-ns = <36>; 162 gpmc,adv-on-ns = <0>; 163 gpmc,adv-rd-off-ns = <18>; 164 gpmc,adv-wr-off-ns = <18>;
|
D | omap2420-h4.dts | 34 gpmc,adv-on-ns = <20>; 35 gpmc,adv-rd-off-ns = <50>; 36 gpmc,adv-wr-off-ns = <50>;
|
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>;
|
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>;
|
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>;
|
/linux-6.6.21/Documentation/networking/ |
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 soft-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-6.6.21/drivers/net/pcs/ |
D | pcs-xpcs.c | 424 int ret, adv; in _xpcs_config_aneg_c73() local 433 adv = 0; in _xpcs_config_aneg_c73() 435 adv |= DW_C73_2500KX; in _xpcs_config_aneg_c73() 439 ret = xpcs_write(xpcs, MDIO_MMD_AN, DW_SR_AN_ADV3, adv); in _xpcs_config_aneg_c73() 444 adv = 0; in _xpcs_config_aneg_c73() 446 adv |= DW_C73_1000KX; in _xpcs_config_aneg_c73() 448 adv |= DW_C73_10000KX4; in _xpcs_config_aneg_c73() 450 adv |= DW_C73_10000KR; in _xpcs_config_aneg_c73() 452 ret = xpcs_write(xpcs, MDIO_MMD_AN, DW_SR_AN_ADV2, adv); in _xpcs_config_aneg_c73() 457 adv = DW_C73_AN_ADV_SF; in _xpcs_config_aneg_c73() [all …]
|