Home
last modified time | relevance | path

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

1234

/Linux-v5.4/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.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.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);
406 static inline void adv7533_dsi_power_on(struct adv7511 *adv) in adv7533_dsi_power_on() argument
410 static inline void adv7533_dsi_power_off(struct adv7511 *adv) in adv7533_dsi_power_off() argument
[all …]
/Linux-v5.4/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.4/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.h227 u32 adv = 0; in mmd_eee_adv_to_ethtool_adv_t() local
230 adv |= ADVERTISED_100baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
232 adv |= ADVERTISED_1000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
234 adv |= ADVERTISED_10000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t()
236 adv |= ADVERTISED_1000baseKX_Full; in mmd_eee_adv_to_ethtool_adv_t()
238 adv |= ADVERTISED_10000baseKX4_Full; in mmd_eee_adv_to_ethtool_adv_t()
240 adv |= ADVERTISED_10000baseKR_Full; in mmd_eee_adv_to_ethtool_adv_t()
242 return adv; in mmd_eee_adv_to_ethtool_adv_t()
253 static inline u16 ethtool_adv_to_mmd_eee_adv_t(u32 adv) in ethtool_adv_to_mmd_eee_adv_t() argument
257 if (adv & ADVERTISED_100baseT_Full) in ethtool_adv_to_mmd_eee_adv_t()
[all …]
/Linux-v5.4/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.4/arch/arm64/boot/dts/mediatek/
Dmt8183-evb.dts80 mediatek,pull-up-adv = <3>;
81 mediatek,drive-strength-adv = <00>;
89 mediatek,pull-up-adv = <3>;
90 mediatek,drive-strength-adv = <00>;
98 mediatek,pull-up-adv = <3>;
99 mediatek,drive-strength-adv = <00>;
107 mediatek,pull-up-adv = <3>;
108 mediatek,drive-strength-adv = <00>;
116 mediatek,pull-up-adv = <3>;
117 mediatek,drive-strength-adv = <00>;
[all …]
/Linux-v5.4/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.4/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.4/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.4/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-smsc9221.dtsi36 gpmc,adv-on-ns = <6>;
37 gpmc,adv-rd-off-ns = <12>;
38 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>;
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>;
Domap2420-n8x0-common.dtsi67 gpmc,adv-on-ns = <0>;
68 gpmc,adv-rd-off-ns = <18>;
69 gpmc,adv-wr-off-ns = <18>;
/Linux-v5.4/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.4/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 kernel, use "make
[all …]
/Linux-v5.4/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>;
/Linux-v5.4/tools/perf/ui/
Dprogress.c16 void ui_progress__update(struct ui_progress *p, u64 adv) in ui_progress__update() argument
20 p->curr += adv; in ui_progress__update()

1234