/linux/arch/sh/lib/ |
H A D | memcpy-sh4.S | 40 3: mov.l @(r0,r5),r1 ! 21 LS (latency=2) ! NMLK 53 bt/s 3b ! 109 BR 57 3: mov.l @(r0,r5),r1 ! 21 LS (latency=2) ! KLMN 70 bt/s 3b ! 109 BR 80 bt 9f ! 109 BR 85 bt/s 8b ! 109 BR 103 add #-3,r5 ! 79 EX 113 3: mov.l @(r0,r5),r1 ! 21 LS (latency=2) ! NMLK 126 bt/s 3b ! 109 BR 130 3: mov r7,r3 ! OPQR [all …]
|
/linux/arch/csky/include/asm/ |
H A D | uaccess.h | 16 " br 3f \n" \ 17 "2: mov %0, %3 \n" \ 18 " br 3f \n" \ 23 "3: \n" \ 25 : "0"(err), "1"(x), "2"(ptr), "3"(-EFAULT) \ 34 " br 3f \n" \ 35 "2: mov %0, %3 \n" \ 36 " br 3f \n" \ 41 "3: \n" \ 43 : "0"(err), "1"(x), "2"(ptr), "3"(-EFAULT) \ [all …]
|
/linux/arch/csky/lib/ |
H A D | usercopy.c | 15 " mov %3, %1 \n" in raw_copy_from_user() 16 " or %3, %2 \n" in raw_copy_from_user() 17 " andi %3, 3 \n" in raw_copy_from_user() 18 " cmpnei %3, 0 \n" in raw_copy_from_user() 20 " br 5f \n" in raw_copy_from_user() 22 " bt 3f \n" in raw_copy_from_user() 23 "2: ldw %3, (%2, 0) \n" in raw_copy_from_user() 25 " stw %3, (%1, 0) \n" in raw_copy_from_user() 27 "11: ldw %3, (%2, 8) \n" in raw_copy_from_user() 29 " stw %3, (%1, 8) \n" in raw_copy_from_user() [all …]
|
/linux/drivers/video/fbdev/sis/ |
H A D | sis_accel.h | 6 * frame buffer driver for Linux kernels >= 2.4.14 and >=2.6.3 40 #define BR(x) (0x8200 | (x) << 2) macro 54 #define A3D_FUNCTION 0x00000008 /* 3D command ? */ 131 /* BR(16) (0x8240): 134 bit 30 3D engine: 1 is idle, 143 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \ 144 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \ 145 while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \ 152 MMIO_OUT32(ivideo->mmio_vbase, BR(0), base);\ 157 MMIO_OUT16(ivideo->mmio_vbase, BR(1), pitch);\ [all …]
|
/linux/net/bridge/ |
H A D | br_stp_bpdu.c | 55 llc_mac_hdr_init(skb, p->dev->dev_addr, p->br->group_addr); in br_send_bpdu() 83 if (p->br->stp_enabled != BR_KERNEL_STP) in br_send_config_bpdu() 89 buf[3] = BPDU_TYPE_CONFIG; in br_send_config_bpdu() 97 buf[10] = bpdu->root.addr[3]; in br_send_config_bpdu() 109 buf[22] = bpdu->bridge_id.addr[3]; in br_send_config_bpdu() 130 if (p->br->stp_enabled != BR_KERNEL_STP) in br_send_tcn_bpdu() 136 buf[3] = BPDU_TYPE_TCN; in br_send_tcn_bpdu() 151 struct net_bridge *br; in br_stp_rcv() local 166 br = p->br; in br_stp_rcv() 167 spin_lock(&br->lock); in br_stp_rcv() [all …]
|
H A D | br_cfm.c | 7 static struct br_cfm_mep *br_mep_find(struct net_bridge *br, u32 instance) in br_mep_find() argument 11 hlist_for_each_entry(mep, &br->mep_list, head) in br_mep_find() 18 static struct br_cfm_mep *br_mep_find_ifindex(struct net_bridge *br, in br_mep_find_ifindex() argument 23 hlist_for_each_entry_rcu(mep, &br->mep_list, head, in br_mep_find_ifindex() 44 static struct net_bridge_port *br_mep_get_port(struct net_bridge *br, in br_mep_get_port() argument 49 list_for_each_entry(port, &br->port_list, list) in br_mep_get_port() 91 return 3; in interval_to_pdu() 114 case 3: in pdu_to_interval() 145 br_info_notify(event, port->br, NULL, filter); in br_cfm_notify() 304 /* After 13 counts (4 * 3,25) then 3.25 intervals are expired */ in ccm_rx_work_expired() [all …]
|
H A D | br_ioctl.c | 39 static void get_port_ifindices(struct net_bridge *br, int *ifindices, int num) in get_port_ifindices() argument 43 list_for_each_entry(p, &br->port_list, list) { in get_port_ifindices() 56 static int get_fdb_entries(struct net_bridge *br, void __user *userbuf, in get_fdb_entries() argument 73 num = br_fdb_fillbuf(br, buf, maxnum, offset); in get_fdb_entries() 85 static int add_del_if(struct net_bridge *br, int ifindex, int isadd) in add_del_if() argument 87 struct net *net = dev_net(br->dev); in add_del_if() 99 ret = br_add_if(br, dev, NULL); in add_del_if() 101 ret = br_del_if(br, dev); in add_del_if() 147 struct net_bridge *br = netdev_priv(dev); in br_dev_siocdevprivate() local 160 return add_del_if(br, args[1], args[0] == BRCTL_ADD_IF); in br_dev_siocdevprivate() [all …]
|
H A D | br_if.c | 44 return 3; in port_cost() 62 if (!strncmp(dev->name, "lec", 3)) in port_cost() 76 struct net_bridge *br = p->br; in br_port_carrier_check() local 83 if (!netif_running(br->dev)) in br_port_carrier_check() 86 spin_lock_bh(&br->lock); in br_port_carrier_check() 98 spin_unlock_bh(&br->lock); in br_port_carrier_check() 112 br_fdb_unsync_static(p->br, p); in br_port_set_promisc() 131 err = br_fdb_sync_static(p->br, p); in br_port_clear_promisc() 144 void br_manage_promisc(struct net_bridge *br) in br_manage_promisc() argument 152 if ((br->dev->flags & IFF_PROMISC) || !br_vlan_enabled(br->dev)) in br_manage_promisc() [all …]
|
H A D | br_stp_if.c | 43 err = __set_ageing_time(p->dev, p->br->ageing_time); in br_init_port() 49 void br_stp_enable_bridge(struct net_bridge *br) in br_stp_enable_bridge() argument 53 spin_lock_bh(&br->lock); in br_stp_enable_bridge() 54 if (br->stp_enabled == BR_KERNEL_STP) in br_stp_enable_bridge() 55 mod_timer(&br->hello_timer, jiffies + br->hello_time); in br_stp_enable_bridge() 56 mod_delayed_work(system_long_wq, &br->gc_work, HZ / 10); in br_stp_enable_bridge() 58 br_config_bpdu_generation(br); in br_stp_enable_bridge() 60 list_for_each_entry(p, &br->port_list, list) { in br_stp_enable_bridge() 65 spin_unlock_bh(&br->lock); in br_stp_enable_bridge() 69 void br_stp_disable_bridge(struct net_bridge *br) in br_stp_disable_bridge() argument [all …]
|
H A D | br_vlan.c | 26 .nelem_hint = 3, 68 vg = br_vlan_group(v->br); in __vlan_flags_update() 103 static int __vlan_vid_add(struct net_device *dev, struct net_bridge *br, in __vlan_vid_add() argument 114 return vlan_vid_add(dev, br->vlan_proto, v->vid); in __vlan_vid_add() 126 vg = br_vlan_group(v->br); in __vlan_add_list() 144 static int __vlan_vid_del(struct net_device *dev, struct net_bridge *br, in __vlan_vid_del() argument 154 vlan_vid_del(dev, br->vlan_proto, v->vid); in __vlan_vid_del() 162 br_vlan_get_master(struct net_bridge *br, u16 vid, in br_vlan_get_master() argument 168 vg = br_vlan_group(br); in br_vlan_get_master() 174 if (br_vlan_add(br, vid, 0, &changed, extack)) in br_vlan_get_master() [all …]
|
H A D | br_private.h | 102 struct net_bridge *br; member 138 struct net_bridge *br; member 181 BR_VLFLAG_GLOBAL_MCAST_ENABLED = BIT(3), 195 * @br: if MASTER flag set, this points to a bridge struct 222 struct net_bridge *br; member 312 #define MDB_PG_FLAGS_STAR_EXCL BIT(3) 320 #define BR_SGRP_F_USER_ADDED BIT(3) 336 struct net_bridge *br; member 370 struct net_bridge *br; member 383 struct net_bridge *br; member [all …]
|
H A D | br_arp_nd_proxy.c | 27 void br_recalculate_neigh_suppress_enabled(struct net_bridge *br) in br_recalculate_neigh_suppress_enabled() argument 32 list_for_each_entry(p, &br->port_list, list) { in br_recalculate_neigh_suppress_enabled() 39 br_opt_toggle(br, BROPT_NEIGH_SUPPRESS_ENABLED, neigh_suppress); in br_recalculate_neigh_suppress_enabled() 43 static void br_arp_send(struct net_bridge *br, struct net_bridge_port *p, in br_arp_send() argument 71 vg = br_vlan_group_rcu(br); in br_arp_send() 125 void br_do_proxy_suppress_arp(struct sk_buff *skb, struct net_bridge *br, in br_do_proxy_suppress_arp() argument 128 struct net_device *dev = br->dev; in br_do_proxy_suppress_arp() 160 if (br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED)) { in br_do_proxy_suppress_arp() 176 vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, in br_do_proxy_suppress_arp() 182 if (br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED) && in br_do_proxy_suppress_arp() [all …]
|
H A D | br_multicast.c | 82 static void br_multicast_find_del_pg(struct net_bridge *br, 90 br_sg_port_find(struct net_bridge *br, in br_sg_port_find() argument 93 lockdep_assert_held_once(&br->multicast_lock); in br_sg_port_find() 95 return rhashtable_lookup_fast(&br->sg_port_tbl, sg_p, in br_sg_port_find() 99 static struct net_bridge_mdb_entry *br_mdb_ip_get_rcu(struct net_bridge *br, in br_mdb_ip_get_rcu() argument 102 return rhashtable_lookup(&br->mdb_hash_tbl, dst, br_mdb_rht_params); in br_mdb_ip_get_rcu() 105 struct net_bridge_mdb_entry *br_mdb_ip_get(struct net_bridge *br, in br_mdb_ip_get() argument 110 lockdep_assert_held_once(&br->multicast_lock); in br_mdb_ip_get() 113 ent = rhashtable_lookup(&br->mdb_hash_tbl, dst, br_mdb_rht_params); in br_mdb_ip_get() 119 static struct net_bridge_mdb_entry *br_mdb_ip4_get(struct net_bridge *br, in br_mdb_ip4_get() argument [all …]
|
H A D | br_sysfs_br.c | 33 int (*set)(struct net_bridge *br, unsigned long val, in store_bridge_parm() argument 36 struct net_bridge *br = to_bridge(d); in store_bridge_parm() local 41 if (!ns_capable(dev_net(br->dev)->user_ns, CAP_NET_ADMIN)) in store_bridge_parm() 51 err = (*set)(br, val, &extack); in store_bridge_parm() 53 netdev_state_change(br->dev); in store_bridge_parm() 56 br_err(br, "%s\n", extack._msg); in store_bridge_parm() 58 br_warn(br, "%s\n", extack._msg); in store_bridge_parm() 69 struct net_bridge *br = to_bridge(d); in forward_delay_show() local 70 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->forward_delay)); in forward_delay_show() 73 static int set_forward_delay(struct net_bridge *br, unsigned long val, in set_forward_delay() argument [all …]
|
/linux/arch/csky/abiv2/ |
H A D | strcpy.S | 10 andi t0, a1, 3 26 bf 3f 56 br 1b 61 br 9f 63 3: 65 br 9f 69 br 9f 73 br 9f 77 br 9f 81 br 9f
|
/linux/include/trace/events/ |
H A D | bridge.h | 37 __entry->addr[2], __entry->addr[3], __entry->addr[4], 44 TP_PROTO(struct net_bridge *br, struct net_bridge_port *p, 47 TP_ARGS(br, p, addr, vid), 50 __string(br_dev, br->dev->name) 65 __entry->addr[1], __entry->addr[2], __entry->addr[3], 71 TP_PROTO(struct net_bridge *br, struct net_bridge_fdb_entry *f), 73 TP_ARGS(br, f), 76 __string(br_dev, br->dev->name) 91 __entry->addr[1], __entry->addr[2], __entry->addr[3], 97 TP_PROTO(struct net_bridge *br, struc [all...] |
/linux/arch/nios2/kernel/ |
H A D | entry.S | 74 .word handle_trap /* 3 - Trap Instruction */ 97 .word handle_trap_3 /* 3 */ 215 bge r2, zero, 3f 218 beq r1, zero, 3f 221 3: 241 br translate_rc_and_ret 294 br ret_from_exception 299 br translate_rc_and_ret2 310 br ret_from_exception 328 br local_restart /* restart syscall */ [all …]
|
/linux/arch/powerpc/xmon/ |
H A D | spu-insns.h | 17 0 3 1 1 2 3 0 1 1 2 3 23 0 9 1 2 3 0 7 1 2 3 29 0 8 2 3 0 6 2 3 35 0 1 1 2 3 0 6 8 2 3 41 0 1 1 1 2 3 89 If the digit is 3, this means the corresponding register is used as both source and target in the i… 107 BR Branch pipeline 118 #define _A3(a,b,c) {3,a,b,c} 125 APUOP(M_BR, RI16, 0x190, "br", _A1(A_R18), 00000, BR) /* BRel IP<-IP+I16 */ 126 APUOP(M_BRSL, RI16, 0x198, "brsl", _A2(A_T,A_R18), 00002, BR) /* BRelSetLink RT,IP<-IP,IP+I16 */ [all …]
|
/linux/arch/alpha/include/asm/ |
H A D | atomic.h | 51 "2: br 1b\n" \ 63 " " #asm_op " %0,%3,%2\n" \ 64 " " #asm_op " %0,%3,%0\n" \ 68 "2: br 1b\n" \ 82 " " #asm_op " %2,%3,%0\n" \ 86 "2: br 1b\n" \ 104 "2: br 1b\n" \ 117 " " #asm_op " %0,%3,%2\n" \ 118 " " #asm_op " %0,%3,%0\n" \ 122 "2: br 1b\n" \ [all …]
|
H A D | bitops.h | 35 "1: ldl_l %0,%3\n" in set_bit() 40 "2: br 1b\n" in set_bit() 64 "1: ldl_l %0,%3\n" in clear_bit() 69 "2: br 1b\n" in clear_bit() 107 "1: ldl_l %0,%3\n" in change_bit() 112 "2: br 1b\n" in change_bit() 141 " and %0,%3,%2\n" in test_and_set_bit() 143 " xor %0,%3,%0\n" in test_and_set_bit() 145 " beq %0,3f\n" in test_and_set_bit() 151 "3: br 1b\n" in test_and_set_bit() [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | zl10036.c | 37 u8 br, bf; member 157 * 3[0x00]: N7 | N6 | N5 | N4 | N3 | N2 | N1 | N0 192 u8 br, bf; in zl10036_set_bandwidth() local 198 0xf0, 0x00, /* 12/13: br=0xa clr=0 tl=0*/ in zl10036_set_bandwidth() 212 br = _BR_MAXIMUM; in zl10036_set_bandwidth() 216 * br = (10111/34600) * 63 * 1/K = 14; in zl10036_set_bandwidth() 218 br = ((_XTAL * 21 * 1000) / (fbw * 419)); in zl10036_set_bandwidth() 222 if (br < 4) in zl10036_set_bandwidth() 223 br = 4; in zl10036_set_bandwidth() 224 if (br > _BR_MAXIMUM) in zl10036_set_bandwidth() [all …]
|
/linux/drivers/base/regmap/ |
H A D | regmap-spi-avmm.c | 22 * The transfer protocol contains 3 layers: transaction layer, packet layer 51 * The driver receives the byte stream, reverses the 3 layers transformation, 175 * Format transaction layer data in br->trans_buf according to the register 176 * access request, Store valid transaction layer data length in br->trans_len. 178 static int br_trans_tx_prepare(struct spi_avmm_bridge *br, bool is_read, u32 reg, in br_trans_tx_prepare() argument 199 header = (struct trans_req_header *)br->trans_buf; in br_trans_tx_prepare() 209 if (trans_len > sizeof(br->trans_buf)) in br_trans_tx_prepare() 212 data = (__le32 *)(br->trans_buf + TRANS_REQ_HD_SIZE); in br_trans_tx_prepare() 219 br->trans_len = trans_len; in br_trans_tx_prepare() 225 * Convert transaction layer data (in br->trans_buf) to phy layer data, store [all …]
|
/linux/arch/s390/kernel/ |
H A D | nospec-branch.c | 93 if (str && !strncmp(str, "off", 3)) in spectre_v2_setup_early() 105 u8 *instr, *thunk, *br; in __nospec_revert() local 121 /* exrl %r0,<target-br> */ in __nospec_revert() 122 br = thunk + (long)(*(int *)(thunk + 2)) * 2; in __nospec_revert() 125 if (br[0] != 0x07 || (br[1] & 0xf0) != 0xf0) in __nospec_revert() 129 /* brcl to thunk, replace with br + nop */ in __nospec_revert() 130 insnbuf[0] = br[0]; in __nospec_revert() 131 insnbuf[1] = (instr[1] & 0xf0) | (br[1] & 0x0f); in __nospec_revert() 136 insnbuf[1] = (instr[1] & 0xf0) | (br[1] & 0x0f); in __nospec_revert()
|
/linux/arch/nios2/mm/ |
H A D | uaccess.c | 20 " andi r2,r2,3\n" 21 " movi r7,3\n" 25 " beq r6,r2,3f\n" 33 "3:\n" 54 " br 6b\n" 60 " br 5b\n" 62 ".word 2b,3b\n" 78 " andi r2,r2,3\n" 79 " movi r7,3\n" 84 " beq r6,r2,3f\n" [all …]
|
/linux/arch/arm64/kernel/ |
H A D | module-plts.c | 29 static u32 br; in get_plt_entry() local 31 if (!br) in get_plt_entry() 32 br = aarch64_insn_gen_branch_reg(AARCH64_INSN_REG_16, in get_plt_entry() 36 plt.br = cpu_to_le32(br); in get_plt_entry() 49 * If the 'add' or 'br' opcodes are different, then the target in plt_entries_equal() 52 if (a->add != b->add || a->br != b->br) in plt_entries_equal() 108 u32 br; in module_emit_veneer_for_adrp() local 121 br = aarch64_insn_gen_branch_imm((u64)&plt[i].br, (u64)loc + 4, in module_emit_veneer_for_adrp() 125 plt[i].br = cpu_to_le32(br); in module_emit_veneer_for_adrp() 212 * bit in bits [11:3] of the section offset, and in count_plts() [all …]
|