Home
last modified time | relevance | path

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

12345

/Linux-v5.10/drivers/gpu/drm/bridge/adv7511/
Dadv7533.c27 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 …]
Dadv7511_drv.c803 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_get_modes() local
805 return adv7511_get_modes(adv, connector); in adv7511_connector_get_modes()
812 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_mode_valid() local
814 return adv7511_mode_valid(adv, mode); in adv7511_connector_mode_valid()
825 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_detect() local
827 return adv7511_detect(adv, connector); in adv7511_connector_detect()
839 static int adv7511_connector_init(struct adv7511 *adv) in adv7511_connector_init() argument
841 struct drm_bridge *bridge = &adv->bridge; in adv7511_connector_init()
849 if (adv->i2c_main->irq) in adv7511_connector_init()
850 adv->connector.polled = DRM_CONNECTOR_POLL_HPD; in adv7511_connector_init()
[all …]
Dadv7511.h397 void adv7533_dsi_power_on(struct adv7511 *adv);
398 void adv7533_dsi_power_off(struct adv7511 *adv);
399 void adv7533_mode_set(struct adv7511 *adv, const struct drm_display_mode *mode);
400 int adv7533_patch_registers(struct adv7511 *adv);
401 int adv7533_patch_cec_registers(struct adv7511 *adv);
402 int adv7533_attach_dsi(struct adv7511 *adv);
403 void adv7533_detach_dsi(struct adv7511 *adv);
404 int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv);
/Linux-v5.10/net/batman-adv/
DMakefile6 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_DEBUGFS) += debugfs.o
15 batman-adv-$(CONFIG_BATMAN_ADV_DAT) += distributed-arp-table.o
[all …]
/Linux-v5.10/include/linux/
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()
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 …]
Dmdio.h235 u32 adv = 0; in mmd_eee_adv_to_ethtool_adv_t() local
238 adv |= ADVERTISED_100baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
240 adv |= ADVERTISED_1000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
242 adv |= ADVERTISED_10000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
244 adv |= ADVERTISED_1000baseKX_Full; in mmd_eee_adv_to_ethtool_adv_t()
246 adv |= ADVERTISED_10000baseKX4_Full; in mmd_eee_adv_to_ethtool_adv_t()
248 adv |= ADVERTISED_10000baseKR_Full; in mmd_eee_adv_to_ethtool_adv_t()
250 return adv; in mmd_eee_adv_to_ethtool_adv_t()
261 static inline u16 ethtool_adv_to_mmd_eee_adv_t(u32 adv) in ethtool_adv_to_mmd_eee_adv_t() argument
265 if (adv & ADVERTISED_100baseT_Full) in ethtool_adv_to_mmd_eee_adv_t()
[all …]
/Linux-v5.10/drivers/net/ethernet/ibm/emac/
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-v5.10/drivers/net/ethernet/chelsio/cxgb3/
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 …]
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-v5.10/drivers/net/
Dsungem_phy.c316 u16 ctl, adv; in genmii_setup_aneg() local
325 adv = sungem_phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg()
326 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in genmii_setup_aneg()
328 adv |= ADVERTISE_10HALF; in genmii_setup_aneg()
330 adv |= ADVERTISE_10FULL; in genmii_setup_aneg()
332 adv |= ADVERTISE_100HALF; in genmii_setup_aneg()
334 adv |= ADVERTISE_100FULL; in genmii_setup_aneg()
335 sungem_phy_write(phy, MII_ADVERTISE, adv); in genmii_setup_aneg()
471 u16 ctl, adv; in bcm54xx_setup_aneg() local
480 adv = sungem_phy_read(phy, MII_ADVERTISE); in bcm54xx_setup_aneg()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/mediatek/
Dmt8183-evb.dts133 mediatek,pull-up-adv = <3>;
134 mediatek,drive-strength-adv = <00>;
142 mediatek,pull-up-adv = <3>;
143 mediatek,drive-strength-adv = <00>;
151 mediatek,pull-up-adv = <3>;
152 mediatek,drive-strength-adv = <00>;
160 mediatek,pull-up-adv = <3>;
161 mediatek,drive-strength-adv = <00>;
169 mediatek,pull-up-adv = <3>;
170 mediatek,drive-strength-adv = <00>;
[all …]
Dmt8183-kukui.dtsi379 mediatek,pull-up-adv = <3>;
380 mediatek,drive-strength-adv = <00>;
388 mediatek,pull-up-adv = <3>;
389 mediatek,drive-strength-adv = <00>;
398 mediatek,drive-strength-adv = <00>;
406 mediatek,pull-up-adv = <3>;
407 mediatek,drive-strength-adv = <00>;
416 mediatek,drive-strength-adv = <00>;
424 mediatek,pull-up-adv = <3>;
425 mediatek,drive-strength-adv = <00>;
[all …]
/Linux-v5.10/Documentation/ABI/obsolete/
Dsysfs-class-net-batman-adv4 What: /sys/class/net/<iface>/batman-adv/elp_interval
11 What: /sys/class/net/<iface>/batman-adv/iface_status
17 What: /sys/class/net/<iface>/batman-adv/mesh_iface
21 The /sys/class/net/<iface>/batman-adv/mesh_iface file
25 What: /sys/class/net/<iface>/batman-adv/throughput_override
31 If the value is set to 0 then batman-adv will try to
/Linux-v5.10/drivers/net/pcs/
Dpcs-xpcs.c362 int ret, adv; in xpcs_config_aneg_c73() local
371 adv = 0; in xpcs_config_aneg_c73()
373 adv |= DW_C73_2500KX; in xpcs_config_aneg_c73()
377 ret = xpcs_write(xpcs, MDIO_MMD_AN, DW_SR_AN_ADV3, adv); in xpcs_config_aneg_c73()
382 adv = 0; in xpcs_config_aneg_c73()
384 adv |= DW_C73_1000KX; in xpcs_config_aneg_c73()
386 adv |= DW_C73_10000KX4; in xpcs_config_aneg_c73()
388 adv |= DW_C73_10000KR; in xpcs_config_aneg_c73()
390 ret = xpcs_write(xpcs, MDIO_MMD_AN, DW_SR_AN_ADV2, adv); in xpcs_config_aneg_c73()
395 adv = DW_C73_AN_ADV_SF; in xpcs_config_aneg_c73()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Domap3430-sdp.dts66 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>;
Domap2420-h4.dts34 gpmc,adv-on-ns = <20>;
35 gpmc,adv-rd-off-ns = <50>;
36 gpmc,adv-wr-off-ns = <50>;
Domap3-overo-tobiduo-common.dtsi29 gpmc,adv-on-ns = <6>;
30 gpmc,adv-rd-off-ns = <12>;
31 gpmc,adv-wr-off-ns = <12>;
Domap-gpmc-smsc911x.dtsi33 gpmc,adv-on-ns = <0>;
34 gpmc,adv-rd-off-ns = <15>;
35 gpmc,adv-wr-off-ns = <40>;
Domap-gpmc-smsc9221.dtsi36 gpmc,adv-on-ns = <6>;
37 gpmc,adv-rd-off-ns = <12>;
38 gpmc,adv-wr-off-ns = <12>;
Domap2430-sdp.dts51 gpmc,adv-on-ns = <18>;
52 gpmc,adv-rd-off-ns = <48>;
53 gpmc,adv-wr-off-ns = <48>;
Domap3-igep.dtsi123 gpmc,adv-on-ns = <6>;
124 gpmc,adv-rd-off-ns = <34>;
125 gpmc,adv-wr-off-ns = <44>;
155 gpmc,adv-on-ns = <0>;
156 gpmc,adv-rd-off-ns = <12>;
157 gpmc,adv-wr-off-ns = <12>;
Domap3-evm.dts72 gpmc,adv-on-ns = <6>;
73 gpmc,adv-rd-off-ns = <34>;
74 gpmc,adv-wr-off-ns = <44>;
/Linux-v5.10/drivers/net/phy/
Dlxt.c147 int adv; in lxt973a2_read_status() local
159 adv = phy_read(phydev, MII_ADVERTISE); in lxt973a2_read_status()
161 if (adv < 0) in lxt973a2_read_status()
162 return adv; in lxt973a2_read_status()
173 } while (lpa == adv && retry--); in lxt973a2_read_status()
177 lpa &= adv; in lxt973a2_read_status()
/Linux-v5.10/Documentation/networking/
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 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-v5.10/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-mt8183.txt51 10 or 11. So It needs config "mediatek,pull-up-adv" or
52 "mediatek,pull-down-adv" to support arguments for those special pins.
74 We can add "mediatek,drive-strength-adv = <XXX>;" to describe the specific
82 So the valid arguments of "mediatek,drive-strength-adv" are from 0 to 7.
117 mediatek,pull-up-adv = <3>;
118 mediatek,drive-strength-adv = <7>;
126 mediatek,pull-down-adv = <2>;
127 mediatek,drive-strength-adv = <4>;

12345