Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/gpu/drm/bridge/adv7511/
Dadv7533.c35 static void adv7511_dsi_config_timing_gen(struct adv7511 *adv) in adv7511_dsi_config_timing_gen() argument
37 struct mipi_dsi_device *dsi = adv->dsi; in adv7511_dsi_config_timing_gen()
38 struct drm_display_mode *mode = &adv->curr_mode; in adv7511_dsi_config_timing_gen()
50 regmap_write(adv->regmap_cec, 0x16, in adv7511_dsi_config_timing_gen()
54 regmap_write(adv->regmap_cec, 0x28, mode->htotal >> 4); in adv7511_dsi_config_timing_gen()
55 regmap_write(adv->regmap_cec, 0x29, (mode->htotal << 4) & 0xff); in adv7511_dsi_config_timing_gen()
56 regmap_write(adv->regmap_cec, 0x2a, hsw >> 4); in adv7511_dsi_config_timing_gen()
57 regmap_write(adv->regmap_cec, 0x2b, (hsw << 4) & 0xff); in adv7511_dsi_config_timing_gen()
58 regmap_write(adv->regmap_cec, 0x2c, hfp >> 4); in adv7511_dsi_config_timing_gen()
59 regmap_write(adv->regmap_cec, 0x2d, (hfp << 4) & 0xff); in adv7511_dsi_config_timing_gen()
[all …]
Dadv7511_drv.c785 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_get_modes() local
787 return adv7511_get_modes(adv, connector); in adv7511_connector_get_modes()
794 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_mode_valid() local
796 return adv7511_mode_valid(adv, mode); in adv7511_connector_mode_valid()
807 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_detect() local
809 return adv7511_detect(adv, connector); in adv7511_connector_detect()
829 struct adv7511 *adv = bridge_to_adv7511(bridge); in adv7511_bridge_enable() local
831 adv7511_power_on(adv); in adv7511_bridge_enable()
836 struct adv7511 *adv = bridge_to_adv7511(bridge); in adv7511_bridge_disable() local
838 adv7511_power_off(adv); in adv7511_bridge_disable()
[all …]
Dadv7511.h396 void adv7533_dsi_power_on(struct adv7511 *adv);
397 void adv7533_dsi_power_off(struct adv7511 *adv);
398 void adv7533_mode_set(struct adv7511 *adv, struct drm_display_mode *mode);
399 int adv7533_patch_registers(struct adv7511 *adv);
400 int adv7533_patch_cec_registers(struct adv7511 *adv);
401 int adv7533_attach_dsi(struct adv7511 *adv);
402 void adv7533_detach_dsi(struct adv7511 *adv);
403 int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv);
405 static inline void adv7533_dsi_power_on(struct adv7511 *adv) in adv7533_dsi_power_on() argument
409 static inline void adv7533_dsi_power_off(struct adv7511 *adv) in adv7533_dsi_power_off() argument
[all …]
/Linux-v4.19/net/batman-adv/
DMakefile19 obj-$(CONFIG_BATMAN_ADV) += batman-adv.o
20 batman-adv-y += bat_algo.o
21 batman-adv-y += bat_iv_ogm.o
22 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v.o
23 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_elp.o
24 batman-adv-$(CONFIG_BATMAN_ADV_BATMAN_V) += bat_v_ogm.o
25 batman-adv-y += bitarray.o
26 batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.o
27 batman-adv-$(CONFIG_BATMAN_ADV_DEBUGFS) += debugfs.o
28 batman-adv-$(CONFIG_BATMAN_ADV_DAT) += distributed-arp-table.o
[all …]
/Linux-v4.19/include/linux/
Dmii.h141 static inline u32 mii_adv_to_ethtool_adv_t(u32 adv) in mii_adv_to_ethtool_adv_t() argument
145 if (adv & ADVERTISE_10HALF) in mii_adv_to_ethtool_adv_t()
147 if (adv & ADVERTISE_10FULL) in mii_adv_to_ethtool_adv_t()
149 if (adv & ADVERTISE_100HALF) in mii_adv_to_ethtool_adv_t()
151 if (adv & ADVERTISE_100FULL) in mii_adv_to_ethtool_adv_t()
153 if (adv & ADVERTISE_PAUSE_CAP) in mii_adv_to_ethtool_adv_t()
155 if (adv & ADVERTISE_PAUSE_ASYM) in mii_adv_to_ethtool_adv_t()
189 static inline u32 mii_ctrl1000_to_ethtool_adv_t(u32 adv) in mii_ctrl1000_to_ethtool_adv_t() argument
193 if (adv & ADVERTISE_1000HALF) in mii_ctrl1000_to_ethtool_adv_t()
195 if (adv & ADVERTISE_1000FULL) in mii_ctrl1000_to_ethtool_adv_t()
[all …]
Dmdio.h218 u32 adv = 0; in mmd_eee_adv_to_ethtool_adv_t() local
221 adv |= ADVERTISED_100baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
223 adv |= ADVERTISED_1000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
225 adv |= ADVERTISED_10000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
227 adv |= ADVERTISED_1000baseKX_Full; in mmd_eee_adv_to_ethtool_adv_t()
229 adv |= ADVERTISED_10000baseKX4_Full; in mmd_eee_adv_to_ethtool_adv_t()
231 adv |= ADVERTISED_10000baseKR_Full; in mmd_eee_adv_to_ethtool_adv_t()
233 return adv; in mmd_eee_adv_to_ethtool_adv_t()
244 static inline u16 ethtool_adv_to_mmd_eee_adv_t(u32 adv) in ethtool_adv_to_mmd_eee_adv_t() argument
248 if (adv & ADVERTISED_100baseT_Full) in ethtool_adv_to_mmd_eee_adv_t()
[all …]
/Linux-v4.19/drivers/net/ethernet/ibm/emac/
Dphy.c111 int ctl, adv; in genmii_setup_aneg() local
128 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg()
129 if (adv < 0) in genmii_setup_aneg()
130 return adv; in genmii_setup_aneg()
131 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | in genmii_setup_aneg()
134 adv |= ADVERTISE_10HALF; in genmii_setup_aneg()
136 adv |= ADVERTISE_10FULL; in genmii_setup_aneg()
138 adv |= ADVERTISE_100HALF; in genmii_setup_aneg()
140 adv |= ADVERTISE_100FULL; in genmii_setup_aneg()
142 adv |= ADVERTISE_PAUSE_CAP; in genmii_setup_aneg()
[all …]
/Linux-v4.19/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-v4.19/drivers/net/
Dsungem_phy.c315 u16 ctl, adv; in genmii_setup_aneg() local
324 adv = sungem_phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg()
325 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in genmii_setup_aneg()
327 adv |= ADVERTISE_10HALF; in genmii_setup_aneg()
329 adv |= ADVERTISE_10FULL; in genmii_setup_aneg()
331 adv |= ADVERTISE_100HALF; in genmii_setup_aneg()
333 adv |= ADVERTISE_100FULL; in genmii_setup_aneg()
334 sungem_phy_write(phy, MII_ADVERTISE, adv); in genmii_setup_aneg()
470 u16 ctl, adv; in bcm54xx_setup_aneg() local
479 adv = sungem_phy_read(phy, MII_ADVERTISE); in bcm54xx_setup_aneg()
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-net-batman-adv2 What: /sys/class/net/<iface>/batman-adv/elp_interval
9 What: /sys/class/net/<iface>/batman-adv/iface_status
15 What: /sys/class/net/<iface>/batman-adv/mesh_iface
19 The /sys/class/net/<iface>/batman-adv/mesh_iface file
23 What: /sys/class/net/<iface>/batman-adv/throughput_override
29 If the value is set to 0 then batman-adv will try to
/Linux-v4.19/drivers/net/phy/
Dphy_device.c1299 int oldadv, adv, bmsr; in genphy_config_advert() local
1307 adv = phy_read(phydev, MII_ADVERTISE); in genphy_config_advert()
1308 if (adv < 0) in genphy_config_advert()
1309 return adv; in genphy_config_advert()
1311 oldadv = adv; in genphy_config_advert()
1312 adv &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4 | ADVERTISE_PAUSE_CAP | in genphy_config_advert()
1314 adv |= ethtool_adv_to_mii_adv_t(advertise); in genphy_config_advert()
1316 if (adv != oldadv) { in genphy_config_advert()
1317 err = phy_write(phydev, MII_ADVERTISE, adv); in genphy_config_advert()
1336 adv = phy_read(phydev, MII_CTRL1000); in genphy_config_advert()
[all …]
Dlxt.c152 int adv; in lxt973a2_read_status() local
164 adv = phy_read(phydev, MII_ADVERTISE); in lxt973a2_read_status()
166 if (adv < 0) in lxt973a2_read_status()
167 return adv; in lxt973a2_read_status()
178 } while (lpa == adv && retry--); in lxt973a2_read_status()
182 lpa &= adv; in lxt973a2_read_status()
Dphy.c591 u32 adv = phydev->lp_advertising & phydev->supported; in phy_speed_down() local
598 if (adv & PHY_10BT_FEATURES) in phy_speed_down()
601 else if (adv & PHY_100BT_FEATURES) in phy_speed_down()
1164 u32 lp, cap, adv; in phy_init_eee() local
1192 adv = mmd_eee_adv_to_ethtool_adv_t(eee_adv); in phy_init_eee()
1194 if (!phy_check_valid(phydev->speed, phydev->duplex, lp & adv)) in phy_init_eee()
1278 int cap, old_adv, adv, ret; in phy_ethtool_set_eee() local
1292 adv = ethtool_adv_to_mmd_eee_adv_t(data->advertised) & cap; in phy_ethtool_set_eee()
1295 adv &= ~phydev->eee_broken_modes; in phy_ethtool_set_eee()
1297 if (old_adv != adv) { in phy_ethtool_set_eee()
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Domap3430-sdp.dts69 gpmc,adv-on-ns = <12>;
70 gpmc,adv-rd-off-ns = <48>;
71 gpmc,adv-wr-off-ns = <48>;
119 gpmc,adv-on-ns = <6>;
120 gpmc,adv-rd-off-ns = <24>;
121 gpmc,adv-wr-off-ns = <36>;
165 gpmc,adv-on-ns = <0>;
166 gpmc,adv-rd-off-ns = <18>;
167 gpmc,adv-wr-off-ns = <18>;
Domap2420-h4.dts37 gpmc,adv-on-ns = <20>;
38 gpmc,adv-rd-off-ns = <50>;
39 gpmc,adv-wr-off-ns = <50>;
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>;
Domap3-overo-tobiduo-common.dtsi32 gpmc,adv-on-ns = <6>;
33 gpmc,adv-rd-off-ns = <12>;
34 gpmc,adv-wr-off-ns = <12>;
Domap3-igep.dtsi126 gpmc,adv-on-ns = <6>;
127 gpmc,adv-rd-off-ns = <34>;
128 gpmc,adv-wr-off-ns = <44>;
158 gpmc,adv-on-ns = <0>;
159 gpmc,adv-rd-off-ns = <12>;
160 gpmc,adv-wr-off-ns = <12>;
Domap2430-sdp.dts54 gpmc,adv-on-ns = <18>;
55 gpmc,adv-rd-off-ns = <48>;
56 gpmc,adv-wr-off-ns = <48>;
Domap2420-n8x0-common.dtsi67 gpmc,adv-on-ns = <0>;
68 gpmc,adv-rd-off-ns = <18>;
69 gpmc,adv-wr-off-ns = <18>;
Domap3-evm.dts75 gpmc,adv-on-ns = <6>;
76 gpmc,adv-rd-off-ns = <34>;
77 gpmc,adv-wr-off-ns = <44>;
/Linux-v4.19/Documentation/networking/
Dbatman-adv.rst4 batman-adv
25 Load the batman-adv module into your kernel::
27 $ insmod batman-adv.ko
47 The batman-adv soft-interface can be created using the iproute2 tool ``ip``::
139 the files ``/var/log/kern.log`` or ``/var/log/syslog``. All batman-adv messages
140 are prefixed with "batman-adv:" So to see just these messages try::
142 $ dmesg | grep batman-adv
146 batman-adv module. When building batman-adv as part of kernel, use "make
188 Counters for different types of packets entering and leaving the batman-adv
/Linux-v4.19/tools/perf/ui/
Dprogress.c17 void ui_progress__update(struct ui_progress *p, u64 adv) in ui_progress__update() argument
21 p->curr += adv; in ui_progress__update()

1234