/openbmc/linux/tools/testing/selftests/net/ |
H A D | test_bridge_backup_port.sh | 154 setup_ns sw1 sw2 155 for ns in $sw1 $sw2; do 160 ip link set dev veth0 netns $sw1 name veth0 200 local ns=$sw1 239 cleanup_ns $sw1 $sw2 254 run_cmd "tc -n $sw1 qdisc replace dev swp1 clsact" 255 …run_cmd "tc -n $sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac… 257 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" 258 …run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto ip flower src_mac $smac … 260 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10" [all …]
|
H A D | test_bridge_neigh_suppress.sh | 152 setup_ns h1 h2 sw1 sw2 153 for ns in $h1 $h2 $sw1 $sw2; do 157 ip -n $h1 link add name eth0 type veth peer name swp1 netns $sw1 158 ip -n $sw1 link add name veth0 type veth peer name veth0 netns $sw2 246 local ns=$sw1 283 cleanup_ns $h1 $h2 $sw1 $sw2 300 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" 301 …run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto 0x0806 flower indev swp1… 307 tc_check_packets $sw1 "dev vx0 egress" 101 1 312 run_cmd "bridge -n $sw1 link set dev vx0 neigh_suppress on" [all …]
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-irq.c | 23 static void epu_cmd(struct cx18 *cx, u32 sw1) in epu_cmd() argument 25 if (sw1 & IRQ_CPU_TO_EPU) in epu_cmd() 27 if (sw1 & IRQ_APU_TO_EPU) in epu_cmd() 34 u32 sw1, sw2, hw2; in cx18_irq_handler() local 36 sw1 = cx18_read_reg(cx, SW1_INT_STATUS) & cx->sw1_irq_mask; in cx18_irq_handler() 40 if (sw1) in cx18_irq_handler() 41 cx18_write_reg_expect(cx, sw1, SW1_INT_STATUS, ~sw1, sw1); in cx18_irq_handler() 47 if (sw1 || sw2 || hw2) in cx18_irq_handler() 49 sw1, sw2, hw2); in cx18_irq_handler() 55 if (sw1) in cx18_irq_handler() [all …]
|
/openbmc/qemu/tests/rocker/ |
H A D | bridge | 2 simp create -o sw1:rocker:sw1 tut tut.dot 5 while ! simp ssh tut sw1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 12 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p1 master br0" 13 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p2 master br0" 17 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 21 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off" 22 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 learning off" 24 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 flood off" 25 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 flood off" [all …]
|
H A D | bridge-vlan | 2 simp create -o sw1:rocker:sw1 tut tut.dot 5 while ! simp ssh tut sw1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 12 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p1 master br0" 13 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p2 master br0" 18 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 19 simp ssh tut sw1 --cmd "echo 1 | sudo dd of=/sys/class/net/br0/bridge/vlan_filtering 2> /dev/null" 23 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p1" 24 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p2" 28 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off" [all …]
|
H A D | bridge-vlan-stp | 2 simp create -o sw1:rocker:sw1 tut tut.dot 5 while ! simp ssh tut sw1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 12 simp ssh tut sw1 --cmd "sudo brctl stp br0 on" 13 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p1 master br0" 14 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p2 master br0" 19 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 20 simp ssh tut sw1 --cmd "echo 1 | sudo dd of=/sys/class/net/br0/bridge/vlan_filtering 2> /dev/null" 24 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p1" 25 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p2" [all …]
|
H A D | bridge-stp | 2 simp create -o sw1:rocker:sw1 tut tut.dot 5 while ! simp ssh tut sw1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 12 simp ssh tut sw1 --cmd "sudo brctl stp br0 on" 13 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p1 master br0" 14 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p2 master br0" 18 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 22 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off" 23 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 learning off" 25 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 flood off" [all …]
|
H A D | tut.dot | 4 sw1:swp1 -- h1:swp1; 5 sw1:swp2 -- h2:swp1; 6 sw1:swp3 -- h3:swp1; 7 sw1:swp4 -- h4:swp1;
|
H A D | port | 2 simp create -o sw1:rocker:sw1 tut tut.dot 4 while ! simp ssh tut sw1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done 10 simp ssh tut sw1 --cmd "sudo ifconfig sw1p1 11.0.0.1/24" 11 simp ssh tut sw1 --cmd "sudo ifconfig sw1p2 12.0.0.1/24"
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | ltc3676.txt | 8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, sw4, 13 nodes for sw1, sw2, sw3, sw4, ldo1, ldo2 and ldo4 additionally need to specify 20 Regulators sw1, sw2, sw3, sw4 can regulate the feedback reference from: 36 sw1_reg: sw1 {
|
H A D | ltc3589.txt | 8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, bb-out, 13 nodes for sw1, sw2, sw3, bb-out, ldo1, and ldo2 additionally need to specify 20 Regulators sw1, sw2, sw3, and ldo2 can regulate the feedback reference from 36 sw1_reg: sw1 {
|
H A D | pv88060.txt | 85 regulator-name = "sw1";
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-sbp1.dts | 1197 ssb-rssd01-sw1 { 1207 ssb-rssd02-sw1 { 1217 ssb-rssd03-sw1 { 1227 ssb-rssd04-sw1 { 1237 ssb-rssd05-sw1 { 1247 ssb-rssd06-sw1 { 1257 ssb-rssd07-sw1 { 1267 ssb-rssd08-sw1 { 1277 ssb-rssd09-sw1 { 1287 ssb-rssd10-sw1 { [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | m52790.c | 43 u8 sw1 = (state->input | state->output) & 0xff; in m52790_write() local 46 return i2c_smbus_write_byte_data(client, sw1, sw2); in m52790_write()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | dib0090.h | 87 extern int dib0090_set_switch(struct dvb_frontend *fe, u8 sw1, u8 sw2, u8 sw3); 157 u8 sw1, u8 sw2, u8 sw3) in dib0090_set_switch() argument
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | microchip,pic32-gpio.txt | 44 button@sw1 {
|
/openbmc/linux/arch/mips/boot/dts/qca/ |
H A D | ar9331_tl_mr3020.dts | 60 label = "sw1";
|
/openbmc/linux/arch/s390/kernel/ |
H A D | time.c | 310 unsigned int sw0, sw1; in get_phys_clock() local 315 sw1 = atomic_read(sw_ptr); in get_phys_clock() 317 if (sw0 == sw1 && (sw0 & 0x80000000U)) in get_phys_clock()
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm958625-meraki-alamo.dtsi | 267 label = "sw1";
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mc13xxx.txt | 86 sw1 : regulator SW1 (register 24, bit 0)
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-usbarmory.dts | 150 sw1_reg: sw1 {
|
H A D | imx51-zii-scu3-esb.dts | 61 sw1_reg: sw1 {
|
H A D | imx51-digi-connectcore-som.dtsi | 36 sw1_reg: sw1 {
|
/openbmc/linux/drivers/regulator/ |
H A D | ltc3676.c | 225 LTC3676_LINEAR_REG(SW1, sw1, BUCK1, DVB1A),
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-ipq8064-rb3011.dts | 67 label = "sw1";
|