| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | no_forwarding.sh | 29 vids=(0 1 2 5 10 20 50 100 200 500 1000 1000 2000 4000 4094) 81 RET=0 142 "$smac > $dmac, ethertype IPv4 (0x0800)" 145 "$smac > $MACV4_ALLNODES, ethertype IPv4 (0x0800).*: $H1_IPV4 > $IPV4_ALLNODES" 148 "$smac > $dmac, ethertype IPv6 (0x86dd).*8: $H1_IPV6 > $H2_IPV6" 151 "$smac > $MACV6_ALLNODES, ethertype IPv6 (0x86dd).*: $h1_ipv6_lladdr > $IPV6_ALLNODES" 155 "$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 158 "$smac > $NON_IP_MC, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 161 "$smac > $BC, ethertype 802.1Q (0x8100).*vlan $vid,.*length 4" 164 …"$smac > $dmac, ethertype 802.1Q (0x8100).*vlan $vid,.*ethertype IPv4 (0x0800), $H1_IPV4 > $H2_IPV… [all …]
|
| H A D | tc_actions.sh | 64 RET=0 94 RET=0 125 RET=0 128 return 0; 164 RET=0 176 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 0 action pass 209 RET=0 250 tc filter add dev $swp1 ingress pref 20 chain 0 handle 20 flower \ 252 action vlan push id 100 protocol 0x8100 action goto chain 5 255 cvlan_ethtype 0x800 action pass [all …]
|
| /linux/Documentation/networking/ |
| H A D | openvswitch.rst | 88 in_port(1), eth(src=e0:91:f5:21:d0:b2, dst=00:02:e3:0f:80:a4), 89 eth_type(0x0800), ipv4(src=172.16.0.20, dst=172.18.0.52, proto=17, tos=0, 94 in_port(1), eth(...), eth_type(0x0800), ipv4(...), tcp(...) 106 A '0' bit specifies a don't care bit, which will match either a '1' or '0' bit 168 the 802.1Q TPID (0x8100) as the Ethertype then stopped parsing the 172 eth(...), eth_type(0x8100) 180 eth(...), vlan(vid=10, pcp=0), eth_type(0x0800), ip(proto=6, ...), tcp(...) 195 eth(...), eth_type(0x8100), vlan(vid=10, pcp=0), encap(eth_type(0x0800), 202 is still 0x8100, not changed to 0x0800.) 223 eth(...), eth_type(0x0800), ip(proto=6, ...), tcp(src=0, dst=0) [all …]
|
| /linux/drivers/misc/eeprom/ |
| H A D | max6875.c | 11 * * 0x0000 - 0x0046 = configuration registers 12 * * 0x8000 - 0x8046 = configuration EEPROM 13 * * 0x8100 - 0x82FF = user EEPROM 20 * two addresses - 0x50/0x51 and 0x52/0x53. 36 /* USER EEPROM is at addresses 0x8100 - 0x82FF */ 37 #define USER_EEPROM_BASE 0x8100 38 #define USER_EEPROM_SIZE 0x0200 42 #define MAX6875_CMD_BLK_READ 0x84 77 if (i2c_smbus_write_byte_data(client, addr >> 8, addr & 0xFF)) { in max6875_update_slice() 91 for (i = 0; i < SLICE_SIZE; i++) { in max6875_update_slice() [all …]
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | s5pv210-fascinate4g.dts | 47 pinctrl-0 = <&headset_micbias_ena>; 57 pinctrl-0 = <&main_micbias_ena>; 102 pinctrl-0 = <&headset_det &earpath_sel>; 121 pinctrl-0 = <&fg_irq>; 126 pinctrl-0 = <&sleep_cfg>; 161 PIN_SLP(gpa0-0, PREV, NONE); 170 PIN_SLP(gpa1-0, INPUT, DOWN); 175 PIN_SLP(gpb-0, OUT0, NONE); 184 PIN_SLP(gpc0-0, OUT0, NONE); 190 PIN_SLP(gpc1-0, INPUT, DOWN); [all …]
|
| H A D | s5pv210-aries.dtsi | 27 reg = <0x30000000 0x05000000>, 28 <0x40000000 0x10000000>, 29 <0x50000000 0x08000000>; 40 reg = <0x43000000 0x2000000>; 46 reg = <0x51000000 0x2000000>; 50 pmic_ap_clk: clock-0 { 53 #clock-cells = <0>; 59 #sound-dai-cells = <0>; 62 vibrator_pwr: regulator-fixed-0 { 69 pinctrl-0 = <&vibrator_ena>; [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | max6875.rst | 51 Valid addresses for the MAX6875 are 0x50 and 0x52. 53 Valid addresses for the MAX6874 are 0x50, 0x52, 0x54 and 0x56. 61 $ echo max6875 0x50 > /sys/bus/i2c/devices/i2c-0/new_device 63 The MAX6874/MAX6875 ignores address bit 0, so this driver attaches to multiple 64 addresses. For example, for address 0x50, it also reserves 0x51. 75 The configuration registers are at addresses 0x00 - 0x45. 84 To write a 1 to register 0x45:: 86 i2c_smbus_write_byte_data(fd, 0x45, 1); 88 To read register 0x45:: 90 value = i2c_smbus_read_byte_data(fd, 0x45); [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | nv04.c | 33 nvkm_wr32(device, 0x600140 + (head->id * 0x2000) , 0x00000000); in nv04_head_vblank_put() 40 nvkm_wr32(device, 0x600140 + (head->id * 0x2000) , 0x00000001); in nv04_head_vblank_get() 47 u32 data = nvkm_rd32(device, 0x600868 + (head->id * 0x2000)); in nv04_head_rgpos() 48 *hline = (data & 0xffff0000) >> 16; in nv04_head_rgpos() 49 *vline = (data & 0x0000ffff); in nv04_head_rgpos() 56 const u32 hoff = head->id * 0x0200; in nv04_head_state() 57 state->vblanks = nvkm_rd32(device, 0x680800 + hoff) & 0x0000ffff; in nv04_head_state() 58 state->vtotal = nvkm_rd32(device, 0x680804 + hoff) & 0x0000ffff; in nv04_head_state() 60 state->hblanks = nvkm_rd32(device, 0x680820 + hoff) & 0x0000ffff; in nv04_head_state() 61 state->htotal = nvkm_rd32(device, 0x680824 + hoff) & 0x0000ffff; in nv04_head_state() [all …]
|
| /linux/samples/bpf/ |
| H A D | net_shared.h | 9 #define ETH_P_802_3_MIN 0x0600 10 #define ETH_P_8021Q 0x8100 11 #define ETH_P_8021AD 0x88A8 12 #define ETH_P_IP 0x0800 13 #define ETH_P_IPV6 0x86DD 14 #define ETH_P_ARP 0x0806 17 #define TC_ACT_OK 0
|
| H A D | xdp_router_ipv4.bpf.c | 13 #define ETH_P_8021Q 0x8100 14 #define ETH_P_8021AD 0x88A8 82 u32 key = 0; in xdp_router_ipv4_prog() 131 key4.b32[0] = 32; in xdp_router_ipv4_prog() 132 key4.b8[4] = iph->daddr & 0xff; in xdp_router_ipv4_prog() 133 key4.b8[5] = (iph->daddr >> 8) & 0xff; in xdp_router_ipv4_prog() 134 key4.b8[6] = (iph->daddr >> 16) & 0xff; in xdp_router_ipv4_prog() 135 key4.b8[7] = (iph->daddr >> 24) & 0xff; in xdp_router_ipv4_prog() 171 ret = bpf_redirect_map(&tx_port, forward_to, 0); in xdp_router_ipv4_prog()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | xdp_metadata.h | 5 #define ETH_P_IP 0x0800 9 #define ETH_P_IPV6 0x86DD 13 #define ETH_P_8021Q 0x8100 17 #define ETH_P_8021AD 0x88A8 28 XDP_META_FIELD_TS = BIT(0),
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | ice.rst | 308 192.168.10.2 user-def 0x4FFFF action 2 [loc 1] 311 the pattern (0xffff). 355 ``31 28 24 20 16`` ``15 12 8 4 0`` 363 ... user-def 0x4FFFF ... 366 0xFFFF. The offset is based on the beginning of the payload, and not the 371 flow-type tcp4 ... user-def 0x8BEAF ... 373 would match TCP/IPv4 packets which have the value 0xBEAF 8 bytes into the 384 long and must be aligned to byte 0 of the packet payload. 421 f Hash on bytes 0 and 1 of the Layer 4 header of the Rx packet. 516 To disable VFs, write 0 to the same file:: [all …]
|
| /linux/arch/m68k/include/asm/ |
| H A D | apollohw.h | 52 #define IO_BASE 0x80000000 62 #define SAU7_SIO01_PHYSADDR 0x10400 63 #define SAU7_SIO23_PHYSADDR 0x10500 64 #define SAU7_RTC_PHYSADDR 0x10900 65 #define SAU7_PICA 0x11000 66 #define SAU7_PICB 0x11100 67 #define SAU7_CPUCTRL 0x10100 68 #define SAU7_TIMER 0x010800 70 #define SAU8_SIO01_PHYSADDR 0x8400 71 #define SAU8_RTC_PHYSADDR 0x8900 [all …]
|
| /linux/drivers/clk/uniphier/ |
| H A D | clk-uniphier-sys.c | 29 UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x2104, 2) 33 UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x2104, 2) 37 UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x210c, 0) 43 UNIPHIER_CLK_GATE("emmc", (idx), NULL, 0x210c, 2) 46 UNIPHIER_CLK_GATE("stdmac", (idx), NULL, 0x2104, 10) 49 UNIPHIER_CLK_GATE("stdmac", (idx), NULL, 0x210c, 8) 52 UNIPHIER_CLK_GATE("hsc", (idx), NULL, 0x210c, 9) 55 UNIPHIER_CLK_GATE("gio", (idx), NULL, 0x2104, 6) 58 UNIPHIER_CLK_GATE("usb3" #ch, (idx), NULL, 0x2104, 16 + (ch)) 62 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13) [all …]
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_ag_api.h | 76 * 0xf1c1) 94 * TPID for outer tag: 0: Customer TPID 1: Service TPID (88A8 or programmable) 116 * Number of VLAN tags in frame: 0: Untagged, 1: Single tagged, 3: Double 129 * Set if protocol address space is 0x0800 141 * Set if frame has EtherType >= 0x600 166 * Mode selector for IF_IGR_PORT_MASK, applicable when IF_IGR_PORT_MASK_L3 == 0. 167 * Mapping: 0: DEFAULT 1: LOOPBACK 2: MASQUERADE 3: CPU_VD 171 * Set if frame has EtherType = 0x800 and IP version = 4 174 * multicast address (0x01005E0 /25). Set if frame is IPv6 frame and frame's 175 * destination MAC address is an IPv6 multicast address (0x3333/16). [all …]
|
| /linux/net/dsa/ |
| H A D | tag_lan9303.c | 22 * 0x8100 26 * If VID bit 3 is zero, then bits 0 and 1 specify the destination port 27 * (0, 1, 2) or broadcast (3) or the source port (1, 2). 74 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit() 100 source_port = lan9303_tag1 & 0x3; in lan9303_rcv() 102 skb->dev = dsa_conduit_find_user(dev, 0, source_port); in lan9303_rcv()
|
| /linux/tools/perf/tests/shell/attr/ |
| H A D | test-stat-default | 33 type=0 34 config=0 40 type=0 46 type=0 53 type=0 60 type=0 67 type=0 71 # PERF_TYPE_RAW / slots (0x400) 80 # PERF_TYPE_RAW / topdown-retiring (0x8000) 86 disabled=0 [all …]
|
| H A D | test-stat-detailed-1 | 34 type=0 35 config=0 41 type=0 48 type=0 55 type=0 62 type=0 69 type=0 73 # PERF_TYPE_RAW / slots (0x400) 82 # PERF_TYPE_RAW / topdown-retiring (0x8000) 88 disabled=0 [all …]
|
| H A D | test-stat-detailed-3 | 34 type=0 35 config=0 41 type=0 48 type=0 55 type=0 62 type=0 69 type=0 73 # PERF_TYPE_RAW / slots (0x400) 82 # PERF_TYPE_RAW / topdown-retiring (0x8000) 88 disabled=0 [all …]
|
| H A D | test-stat-detailed-2 | 34 type=0 35 config=0 41 type=0 48 type=0 55 type=0 62 type=0 69 type=0 73 # PERF_TYPE_RAW / slots (0x400) 82 # PERF_TYPE_RAW / topdown-retiring (0x8000) 88 disabled=0 [all …]
|
| /linux/Documentation/networking/dsa/ |
| H A D | sja1105.rst | 87 bridge with ``vlan_filtering 0`` can be kept (accept all traffic, tagged or 92 ``vlan_filtering`` 0, or both 1). 116 either be the typical 0x8100 or a custom value used internally by the driver 118 or bridge mode with ``vlan_filtering=0``, as it will not recognize the 0x8100 125 sub-interface on the DSA conduit port, and send normal (0x8100) VLAN-tagged 146 local mask=0 167 map 0 1 2 3 5 6 7 \ 168 queues 1@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 \ 171 sched-entry S $(gatemask "0 1 2 3 4 5 6") 400000 \ 214 of 100 and a PCP of 0:: [all …]
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_prs.c | 36 for (i = 0; i < MVPP2_PRS_SRAM_WORDS; i++) in mvpp2_prs_hw_write() 41 for (i = 0; i < MVPP2_PRS_TCAM_WORDS; i++) in mvpp2_prs_hw_write() 44 return 0; in mvpp2_prs_hw_write() 58 memset(pe, 0, sizeof(*pe)); in __mvpp2_prs_init_from_hw() 69 for (i = 0; i < MVPP2_PRS_TCAM_WORDS; i++) in __mvpp2_prs_init_from_hw() 74 for (i = 0; i < MVPP2_PRS_SRAM_WORDS; i++) in __mvpp2_prs_init_from_hw() 77 return 0; in __mvpp2_prs_init_from_hw() 157 pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] &= ~(0xff << pos); in mvpp2_prs_tcam_data_byte_set() 158 pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] &= ~(MVPP2_PRS_TCAM_EN(0xff) << pos); in mvpp2_prs_tcam_data_byte_set() 170 *byte = (pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] >> pos) & 0xff; in mvpp2_prs_tcam_data_byte_get() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rpm.h | 14 #define PCI_DEVID_CN10K_RPM 0xA060 15 #define PCI_SUBSYS_DEVID_CNF10KB_RPM 0xBC00 16 #define PCI_DEVID_CN10KB_RPM 0xA09F 19 #define RPMX_CMRX_CFG 0x00 20 #define RPMX_CMR_GLOBAL_CFG 0x08 24 #define RPMX_CMRX_RX_ID_MAP 0x80 25 #define RPMX_CMRX_SW_INT 0x180 26 #define RPMX_CMRX_SW_INT_W1S 0x188 27 #define RPMX_CMRX_SW_INT_ENA_W1S 0x198 28 #define RPMX_CMRX_LINK_CFG 0x1070 [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | vlv_dpio_phy_regs.h | 11 #define _VLV_CMN(dw) (0x8100 + (dw) * 4) 12 #define _CHV_CMN(cl, dw) (0x8100 - (cl) * 0x80 + (dw) * 4) 13 #define _VLV_PLL(ch, dw) (0x8000 + (ch) * 0x20 + (dw) * 4) /* dw 0-7,16-23 */ 14 #define _CHV_PLL(ch, dw) (0x8000 + (ch) * 0x180 + (dw) * 4) 15 #define _VLV_REF(dw) (0x80a0 + ((dw) - 8) * 4) /* dw 8-15 */ 16 #define _VLV_PCS(ch, spline, dw) (0x200 + (ch) * 0x2400 + (spline) * 0x200 + (dw) * 4) 17 #define _VLV_PCS_GRP(ch, dw) (0x8200 + (ch) * 0x200 + (dw) * 4) 18 #define _VLV_PCS_BCAST(dw) (0xc000 + (dw) * 4) 19 #define _VLV_TX(ch, lane, dw) (0x80 + (ch) * 0x2400 + (lane) * 0x200 + (dw) * 4) 20 #define _VLV_TX_GRP(ch, dw) (0x8280 + (ch) * 0x200 + (dw) * 4) [all …]
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_hw.h | 12 QLCNIC_PEG_HALT_STATUS1 = 0, 53 #define QLCNIC_CMD_CONFIGURE_IP_ADDR 0x1 54 #define QLCNIC_CMD_CONFIG_INTRPT 0x2 55 #define QLCNIC_CMD_CREATE_RX_CTX 0x7 56 #define QLCNIC_CMD_DESTROY_RX_CTX 0x8 57 #define QLCNIC_CMD_CREATE_TX_CTX 0x9 58 #define QLCNIC_CMD_DESTROY_TX_CTX 0xa 59 #define QLCNIC_CMD_CONFIGURE_LRO 0xC 60 #define QLCNIC_CMD_CONFIGURE_MAC_LEARNING 0xD 61 #define QLCNIC_CMD_GET_STATISTICS 0xF [all …]
|