/linux/drivers/gpu/drm/bridge/adv7511/ |
H A 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 …]
|
H A D | adv7511_drv.c | 843 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_get_modes() local 845 return adv7511_get_modes(adv, connector); in adv7511_connector_get_modes() 852 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_mode_valid() local 854 return adv7511_mode_valid(adv, mode); in adv7511_connector_mode_valid() 865 struct adv7511 *adv = connector_to_adv7511(connector); in adv7511_connector_detect() local 867 return adv7511_detect(adv, connector); in adv7511_connector_detect() 879 static int adv7511_connector_init(struct adv7511 *adv) in adv7511_connector_init() argument 881 struct drm_bridge *bridge = &adv->bridge; in adv7511_connector_init() 884 if (adv->i2c_main->irq) in adv7511_connector_init() 885 adv->connector.polled = DRM_CONNECTOR_POLL_HPD; in adv7511_connector_init() [all …]
|
/linux/net/batman-adv/ |
H A 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 …]
|
H A D | multicast_forw.c | 607 * Pushes a batman-adv multicast packet header onto the given skb and sets 643 * This sorts destination entries into either the original batman-adv 647 * In preparation for the next, to be (unicast) transmitted batman-adv multicast 738 * @skb: the batman-adv multicast packet to compact destinations in 810 * @skb: the batman-adv multicast packet to update headers of 813 * This updates any fields of a batman-adv multicast packet that are affected 819 * The batman-adv multicast packet's total TVLV length field. 821 * Return: The offset in skb's tail direction at which the new batman-adv 862 * @skb: the batman-adv multicast packet to move headers for 865 * Moves the batman-adv multicast packet header, its multicast tracker TVLV and [all …]
|
/linux/include/linux/ |
H A D | mdio.h | 249 u32 adv = 0; in mmd_eee_adv_to_ethtool_adv_t() local 252 adv |= ADVERTISED_100baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 254 adv |= ADVERTISED_1000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 256 adv |= ADVERTISED_10000baseT_Full; in mmd_eee_adv_to_ethtool_adv_t() 258 adv |= ADVERTISED_1000baseKX_Full; in mmd_eee_adv_to_ethtool_adv_t() 260 adv |= ADVERTISED_10000baseKX4_Full; in mmd_eee_adv_to_ethtool_adv_t() 262 adv |= ADVERTISED_10000baseKR_Full; in mmd_eee_adv_to_ethtool_adv_t() 264 return adv; in mmd_eee_adv_to_ethtool_adv_t() 269 * @adv: the ethtool advertisement settings 275 static inline u16 ethtool_adv_to_mmd_eee_adv_t(u32 adv) in ethtool_adv_to_mmd_eee_adv_t() argument [all …]
|
H A D | mii.h | 165 * @adv: value of the MII_ADVERTISE register 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() 235 * @adv: value of the MII_CTRL1000 register 241 static inline u32 mii_ctrl1000_to_ethtool_adv_t(u32 adv) in mii_ctrl1000_to_ethtool_adv_t() argument [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 | 459 bt_dev_err(hdev, "failed to reenable ADV: %d", status); in reenable_adv() 1151 struct adv_info *adv = NULL; in hci_disable_ext_adv_instance_sync() local 1155 adv = hci_find_adv_instance(hdev, instance); in hci_disable_ext_adv_instance_sync() 1156 if (!adv) in hci_disable_ext_adv_instance_sync() 1160 if (!adv->enabled) in hci_disable_ext_adv_instance_sync() 1173 set->handle = adv ? adv->handle : instance; in hci_disable_ext_adv_instance_sync() 1215 struct adv_info *adv; in hci_setup_ext_adv_instance_sync() local 1219 adv = hci_find_adv_instance(hdev, instance); in hci_setup_ext_adv_instance_sync() 1220 if (!adv) in hci_setup_ext_adv_instance_sync() 1223 adv = NULL; in hci_setup_ext_adv_instance_sync() [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8183-pumpkin.dts | 199 mediatek,pull-up-adv = <3>; 207 mediatek,pull-up-adv = <3>; 215 mediatek,pull-up-adv = <3>; 223 mediatek,pull-up-adv = <3>; 231 mediatek,pull-up-adv = <3>; 239 mediatek,pull-up-adv = <3>; 247 mediatek,pull-up-adv = <3>; 272 mediatek,pull-up-adv = <01>; 278 mediatek,pull-down-adv = <10>; 284 mediatek,pull-down-adv = <01>; [all …]
|
H A D | mt8183-kukui.dtsi | 525 mediatek,pull-up-adv = <3>; 533 mediatek,pull-up-adv = <3>; 549 mediatek,pull-up-adv = <3>; 565 mediatek,pull-up-adv = <3>; 590 mediatek,pull-up-adv = <01>; 596 mediatek,pull-down-adv = <10>; 602 mediatek,pull-down-adv = <01>; 619 mediatek,pull-up-adv = <01>; 625 mediatek,pull-down-adv = <10>; 631 mediatek,pull-down-adv = <10>; [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 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/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/media/pci/sta2x11/ |
H A D | sta2x11_vip.h | 13 * @pwr_name: ADV powerdown name 14 * @pwr_pin: ADV powerdown pin 15 * @reset_name: ADV reset name 16 * @reset_pin: ADV reset pin 17 * @i2c_id: ADV i2c adapter ID 18 * @i2c_addr: ADV i2c address
|
/linux/include/uapi/linux/ |
H A D | batadv_packet.h | 23 * enum batadv_packettype - types for batman-adv encapsulated packets 120 * batman-adv multicast packets with a multicast tracker TVLV. And all our 205 * @packet_type: batman-adv packet type, part of the general header 206 * @version: batman-adv protocol version, part of the general header 233 * @packet_type: batman-adv packet type, part of the general header 234 * @version: batman-adv protocol version, part of the general header 257 * @packet_type: batman-adv packet type, part of the general header 258 * @version: batman-adv protocol version, part of the general header 275 * @packet_type: batman-adv packet type, part of the general header 276 * @version: batman-adv protocol version, part of the general header [all …]
|
H A D | batman_adv.h | 139 * enum batadv_nl_attrs - batman-adv netlink attributes 148 * @BATADV_ATTR_VERSION: batman-adv version string 158 * @BATADV_ATTR_MESH_IFINDEX: index of the batman-adv interface 163 * @BATADV_ATTR_MESH_IFNAME: name of the batman-adv interface 168 * @BATADV_ATTR_MESH_ADDRESS: mac address of the batman-adv interface 173 * @BATADV_ATTR_HARD_IFINDEX: index of the non-batman-adv interface 178 * @BATADV_ATTR_HARD_IFNAME: name of the non-batman-adv interface 183 * @BATADV_ATTR_HARD_ADDRESS: mac address of the non-batman-adv 472 * this interface. If the value is set to 0 then batman-adv will try to 503 * enum batadv_nl_commands - supported batman-adv netlink commands [all …]
|
/linux/drivers/net/ |
H A 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/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/include/linux/platform_data/ |
H A D | gpmc-omap.h | 39 /* ADV signal timings corresponding to GPMC_CONFIG3 */ 43 u32 adv_aad_mux_on; /* ADV assertion time for AAD */ 44 u32 adv_aad_mux_rd_off; /* ADV read deassertion time for AAD */ 45 u32 adv_aad_mux_wr_off; /* ADV write deassertion time for AAD */ 79 u32 t_avdasu; /* address setup to ADV valid */ 87 u32 t_avdp_r; /* ADV low time (what about t_cer ?) */ 91 u32 t_aa; /* access time from ADV assertion */ 107 u32 t_avds; /* ADV setup time to clk */ 108 u32 t_avdh; /* ADV hold time from clk */ 113 u32 t_ce_avd; /* CS on to ADV on delay */
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti,gpmc-child.yaml | 41 # ADV signal timings corresponding to GPMC_CONFIG3: 42 gpmc,adv-on-ns: 46 gpmc,adv-rd-off-ns: 50 gpmc,adv-wr-off-ns: 54 gpmc,adv-aad-mux-on-ns: 58 gpmc,adv-aad-mux-rd-off-ns: 62 gpmc,adv-aad-mux-wr-off-ns: 128 gpmc,adv-extra-delay: 129 description: ADV signal is delayed by half GPMC clock
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A 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>;
|
/linux/drivers/net/phy/ |
H A D | phy-c45.c | 270 u32 adv; in genphy_c45_an_config_aneg() local 284 adv = linkmode_adv_to_mii_adv_t(phydev->advertising); in genphy_c45_an_config_aneg() 289 adv); in genphy_c45_an_config_aneg() 295 adv = linkmode_adv_to_mii_10gbt_adv_t(phydev->advertising); in genphy_c45_an_config_aneg() 300 MDIO_AN_10GBT_CTRL_ADV2_5G, adv); in genphy_c45_an_config_aneg() 681 * @adv: the linkmode advertisement settings 683 int genphy_c45_write_eee_adv(struct phy_device *phydev, unsigned long *adv) in genphy_c45_write_eee_adv() argument 688 val = linkmode_to_mii_eee_cap1_t(adv); in genphy_c45_write_eee_adv() 711 val = linkmode_to_mii_eee_cap2_t(adv); in genphy_c45_write_eee_adv() 728 val = linkmode_adv_to_mii_10base_t1_t(adv); in genphy_c45_write_eee_adv() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_82575.h | 109 /* Adv Transmit Descriptor Config Masks */ 116 #define E1000_ADVTXD_DCMD_DEXT 0x20000000 /* Descriptor extension (1=Adv) */ 119 #define E1000_ADVTXD_PAYLEN_SHIFT 14 /* Adv desc PAYLEN shift */ 129 #define E1000_ADVTXD_MACLEN_SHIFT 9 /* Adv ctxt desc mac len shift */ 135 #define E1000_ADVTXD_L4LEN_SHIFT 8 /* Adv ctxt L4LEN shift */ 136 #define E1000_ADVTXD_MSS_SHIFT 16 /* Adv ctxt MSS shift */ 137 /* Adv ctxt IPSec SA IDX mask */ 138 /* Adv ctxt IPSec ESP len mask */
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | nvidia,tegra20-gmi.txt | 48 - nvidia,snor-adv-active-high: ADV signal is active high 61 - nvidia,snor-adv-width: Number of cycles during which ADV stays asserted. 94 nvidia,snor-adv-active-high; 125 nvidia,snor-adv-active-high;
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | defines.h | 242 /* Adv Transmit Descriptor Config Masks */ 249 #define IXGBE_ADVTXD_DCMD_DEXT IXGBE_TXD_CMD_DEXT /* Desc ext (1=Adv) */ 260 #define IXGBE_ADVTXD_IDX_SHIFT 4 /* Adv desc Index shift */ 262 #define IXGBE_ADVTXD_POPTS_SHIFT 8 /* Adv desc POPTS shift */ 268 #define IXGBE_ADVTXD_PAYLEN_SHIFT 14 /* Adv desc PAYLEN shift */ 269 #define IXGBE_ADVTXD_MACLEN_SHIFT 9 /* Adv ctxt desc mac len shift */ 270 #define IXGBE_ADVTXD_VLAN_SHIFT 16 /* Adv ctxt vlan tag shift */ 271 #define IXGBE_ADVTXD_L4LEN_SHIFT 8 /* Adv ctxt L4LEN shift */ 272 #define IXGBE_ADVTXD_MSS_SHIFT 16 /* Adv ctxt MSS shift */
|