| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_parser_rt.c | 6 static void ice_rt_tsr_set(struct ice_parser_rt *rt, u16 tsr) in ice_rt_tsr_set() argument 8 rt->gpr[ICE_GPR_TSR_IDX] = tsr; in ice_rt_tsr_set() 11 static void ice_rt_ho_set(struct ice_parser_rt *rt, u16 ho) in ice_rt_ho_set() argument 13 rt->gpr[ICE_GPR_HO_IDX] = ho; in ice_rt_ho_set() 14 memcpy(&rt->gpr[ICE_GPR_HV_IDX], &rt->pkt_buf[ho], ICE_GPR_HV_SIZE); in ice_rt_ho_set() 17 static void ice_rt_np_set(struct ice_parser_rt *rt, u16 pc) in ice_rt_np_set() argument 19 rt->gpr[ICE_GPR_NP_IDX] = pc; in ice_rt_np_set() 22 static void ice_rt_nn_set(struct ice_parser_rt *rt, u16 node) in ice_rt_nn_set() argument 24 rt->gpr[ICE_GPR_NN_IDX] = node; in ice_rt_nn_set() 28 ice_rt_flag_set(struct ice_parser_rt *rt, unsigned int idx, bool set) in ice_rt_flag_set() argument [all …]
|
| /linux/drivers/thunderbolt/ |
| H A D | retimer.c | 25 * @rt: Retimer device 34 int tb_retimer_nvm_read(struct tb_retimer *rt, unsigned int address, void *buf, in tb_retimer_nvm_read() argument 37 return usb4_port_retimer_nvm_read(rt->port, rt->index, address, buf, size); in tb_retimer_nvm_read() 43 struct tb_retimer *rt = tb_to_retimer(nvm->dev); in nvm_read() local 46 pm_runtime_get_sync(&rt->dev); in nvm_read() 48 if (!mutex_trylock(&rt->tb->lock)) { in nvm_read() 53 ret = tb_retimer_nvm_read(rt, offset, val, bytes); in nvm_read() 54 mutex_unlock(&rt->tb->lock); in nvm_read() 57 pm_runtime_mark_last_busy(&rt->dev); in nvm_read() 58 pm_runtime_put_autosuspend(&rt->dev); in nvm_read() [all …]
|
| /linux/arch/mips/ralink/ |
| H A D | timer.c | 42 static inline void rt_timer_w32(struct rt_timer *rt, u8 reg, u32 val) in rt_timer_w32() argument 44 __raw_writel(val, rt->membase + reg); in rt_timer_w32() 47 static inline u32 rt_timer_r32(struct rt_timer *rt, u8 reg) in rt_timer_r32() argument 49 return __raw_readl(rt->membase + reg); in rt_timer_r32() 54 struct rt_timer *rt = (struct rt_timer *) _rt; in rt_timer_irq() local 56 rt_timer_w32(rt, TIMER_REG_TMR0LOAD, rt->timer_freq / rt->timer_div); in rt_timer_irq() 57 rt_timer_w32(rt, TIMER_REG_TMRSTAT, TMRSTAT_TMR0INT); in rt_timer_irq() 63 static int rt_timer_request(struct rt_timer *rt) in rt_timer_request() argument 65 int err = request_irq(rt->irq, rt_timer_irq, 0, in rt_timer_request() 66 dev_name(rt->dev), rt); in rt_timer_request() [all …]
|
| /linux/net/mctp/test/ |
| H A D | utils.c | 107 struct mctp_test_route *rt; in mctp_route_test_alloc() 109 rt = kzalloc(sizeof(*rt), GFP_KERNEL); in mctp_route_test_alloc() local 110 if (!rt) in mctp_route_test_alloc() 113 INIT_LIST_HEAD(&rt->rt.list); in mctp_route_test_alloc() 114 refcount_set(&rt->rt.refs, 1); in mctp_route_test_alloc() 115 rt->rt in mctp_route_test_alloc() 127 struct mctp_test_route *rt; mctp_test_create_route_direct() local 153 struct mctp_test_route *rt; mctp_test_create_route_gw() local 197 mctp_test_route_destroy(struct kunit * test,struct mctp_test_route * rt) mctp_test_route_destroy() argument [all...] |
| /linux/sound/usb/6fire/ |
| H A D | control.c | 60 static void usb6fire_control_output_vol_update(struct control_runtime *rt) in usb6fire_control_output_vol_update() argument 62 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_output_vol_update() 67 if (!(rt->ovol_updated & (1 << i))) { in usb6fire_control_output_vol_update() 69 180 - rt->output_vol[i]); in usb6fire_control_output_vol_update() 70 rt->ovol_updated |= 1 << i; in usb6fire_control_output_vol_update() 74 static void usb6fire_control_output_mute_update(struct control_runtime *rt) in usb6fire_control_output_mute_update() argument 76 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_output_mute_update() 79 comm_rt->write8(comm_rt, 0x12, 0x0e, ~rt->output_mute); in usb6fire_control_output_mute_update() 82 static void usb6fire_control_input_vol_update(struct control_runtime *rt) in usb6fire_control_input_vol_update() argument 84 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_input_vol_update() [all …]
|
| H A D | comm.c | 21 static void usb6fire_comm_init_urb(struct comm_runtime *rt, struct urb *urb, in usb6fire_comm_init_urb() argument 26 urb->pipe = usb_sndintpipe(rt->chip->dev, COMM_EP); in usb6fire_comm_init_urb() 30 urb->dev = rt->chip->dev; in usb6fire_comm_init_urb() 35 struct comm_runtime *rt = urb->context; in usb6fire_comm_receiver_handler() local 36 struct midi_runtime *midi_rt = rt->chip->midi; in usb6fire_comm_receiver_handler() 39 if (rt->receiver_buffer[0] == 0x10) /* midi in event */ in usb6fire_comm_receiver_handler() 42 rt->receiver_buffer + 2, in usb6fire_comm_receiver_handler() 43 rt->receiver_buffer[1]); in usb6fire_comm_receiver_handler() 46 if (!rt->chip->shutdown) { in usb6fire_comm_receiver_handler() 106 static int usb6fire_comm_write8(struct comm_runtime *rt, u8 request, in usb6fire_comm_write8() argument [all …]
|
| /linux/net/x25/ |
| H A D | x25_route.c | 29 struct x25_route *rt; in x25_add_route() local 34 list_for_each_entry(rt, &x25_route_list, node) { in x25_add_route() 35 if (!memcmp(&rt->address, address, sigdigits) && in x25_add_route() 36 rt->sigdigits == sigdigits) in x25_add_route() 40 rt = kmalloc(sizeof(*rt), GFP_ATOMIC); in x25_add_route() 42 if (!rt) in x25_add_route() 45 strcpy(rt->address.x25_addr, "000000000000000"); in x25_add_route() 46 memcpy(rt->address.x25_addr, address->x25_addr, sigdigits); in x25_add_route() 48 rt->sigdigits = sigdigits; in x25_add_route() 49 rt->dev = dev; in x25_add_route() [all …]
|
| /linux/drivers/leds/flash/ |
| H A D | leds-rt8515.c | 66 static void rt8515_gpio_led_off(struct rt8515 *rt) in rt8515_gpio_led_off() argument 68 gpiod_set_value(rt->enable_flash, 0); in rt8515_gpio_led_off() 69 gpiod_set_value(rt->enable_torch, 0); in rt8515_gpio_led_off() 94 struct rt8515 *rt = to_rt8515(fled); in rt8515_led_brightness_set() local 96 mutex_lock(&rt->lock); in rt8515_led_brightness_set() 100 rt8515_gpio_led_off(rt); in rt8515_led_brightness_set() 103 rt8515_gpio_brightness_commit(rt->enable_torch, brightness); in rt8515_led_brightness_set() 106 gpiod_set_value(rt->enable_torch, 1); in rt8515_led_brightness_set() 109 mutex_unlock(&rt->lock); in rt8515_led_brightness_set() 117 struct rt8515 *rt in rt8515_led_flash_strobe_set() local 146 struct rt8515 *rt = to_rt8515(fled); rt8515_led_flash_strobe_get() local 168 struct rt8515 *rt = timer_container_of(rt, t, powerdown_timer); rt8515_powerdown_timer() local 174 rt8515_init_flash_timeout(struct rt8515 * rt) rt8515_init_flash_timeout() argument 193 rt8515_init_v4l2_flash_config(struct rt8515 * rt,struct v4l2_flash_config * v4l2_sd_cfg) rt8515_init_v4l2_flash_config() argument 214 rt8515_v4l2_flash_release(struct rt8515 * rt) rt8515_v4l2_flash_release() argument 220 rt8515_init_v4l2_flash_config(struct rt8515 * rt,struct v4l2_flash_config * v4l2_sd_cfg) rt8515_init_v4l2_flash_config() argument 225 rt8515_v4l2_flash_release(struct rt8515 * rt) rt8515_v4l2_flash_release() argument 230 rt8515_determine_max_intensity(struct rt8515 * rt,struct fwnode_handle * led,const char * resistance,const char * max_ua_prop,int hw_max,int * max_intensity_setting) rt8515_determine_max_intensity() argument 280 struct rt8515 *rt; rt8515_probe() local 372 struct rt8515 *rt = platform_get_drvdata(pdev); rt8515_remove() local [all...] |
| /linux/arch/mips/mm/ |
| H A D | uasm-mips.c | 51 [insn_addiu] = {M(addiu_op, 0, 0, 0, 0, 0), RS | RT | SIMM}, 52 [insn_addu] = {M(spec_op, 0, 0, 0, 0, addu_op), RS | RT | RD}, 53 [insn_and] = {M(spec_op, 0, 0, 0, 0, and_op), RS | RT | RD}, 54 [insn_andi] = {M(andi_op, 0, 0, 0, 0, 0), RS | RT | UIMM}, 55 [insn_bbit0] = {M(lwc2_op, 0, 0, 0, 0, 0), RS | RT | BIMM}, 56 [insn_bbit1] = {M(swc2_op, 0, 0, 0, 0, 0), RS | RT | BIMM}, 57 [insn_beq] = {M(beq_op, 0, 0, 0, 0, 0), RS | RT | BIMM}, 58 [insn_beql] = {M(beql_op, 0, 0, 0, 0, 0), RS | RT | BIMM}, 65 [insn_bne] = {M(bne_op, 0, 0, 0, 0, 0), RS | RT | BIMM}, 68 [insn_cache] = {M(cache_op, 0, 0, 0, 0, 0), RS | RT | SIMM}, [all …]
|
| H A D | uasm-micromips.c | 43 [insn_addu] = {M(mm_pool32a_op, 0, 0, 0, 0, mm_addu32_op), RT | RS | RD}, 44 [insn_addiu] = {M(mm_addiu32_op, 0, 0, 0, 0, 0), RT | RS | SIMM}, 45 [insn_and] = {M(mm_pool32a_op, 0, 0, 0, 0, mm_and_op), RT | RS | RD}, 46 [insn_andi] = {M(mm_andi32_op, 0, 0, 0, 0, 0), RT | RS | UIMM}, 47 [insn_beq] = {M(mm_beq32_op, 0, 0, 0, 0, 0), RS | RT | BIMM}, 53 [insn_bne] = {M(mm_bne32_op, 0, 0, 0, 0, 0), RT | RS | BIMM}, 54 [insn_cache] = {M(mm_pool32b_op, 0, 0, mm_cache_func, 0, 0), RT | RS | SIMM}, 55 [insn_cfc1] = {M(mm_pool32f_op, 0, 0, 0, mm_cfc1_op, mm_32f_73_op), RT | RS}, 57 [insn_ctc1] = {M(mm_pool32f_op, 0, 0, 0, mm_ctc1_op, mm_32f_73_op), RT | RS}, 62 [insn_divu] = {M(mm_pool32a_op, 0, 0, 0, mm_divu_op, mm_pool32axf_op), RT | RS}, [all …]
|
| /linux/kernel/bpf/ |
| H A D | range_tree.c | 27 * range_tree_set(rt, 0, max); 29 * start = range_tree_find(rt, len); 31 * range_tree_clear(rt, start, len); 33 * range_tree_set(rt, start, len); 55 static inline struct range_node *__find_range(struct range_tree *rt, u32 len) 57 struct rb_node *rb = rt->range_size_root.rb_root.rb_node; in __find_range() 74 s64 range_tree_find(struct range_tree *rt, u32 len) 78 rn = __find_range(rt, len); in range_tree_find() 115 range_it_insert(struct range_node *rn, struct range_tree *rt) in INTERVAL_TREE_DEFINE() 117 __range_size_insert(rn, &rt in INTERVAL_TREE_DEFINE() 56 __find_range(struct range_tree * rt,u32 len) __find_range() argument 75 range_tree_find(struct range_tree * rt,u32 len) range_tree_find() argument 123 range_it_remove(struct range_node * rn,struct range_tree * rt) range_it_remove() argument 131 range_it_iter_first(struct range_tree * rt,u32 start,u32 last) range_it_iter_first() argument 137 range_tree_clear(struct range_tree * rt,u32 start,u32 len) range_tree_clear() argument 184 is_range_tree_set(struct range_tree * rt,u32 start,u32 len) is_range_tree_set() argument 197 range_tree_set(struct range_tree * rt,u32 start,u32 len) range_tree_set() argument 256 range_tree_destroy(struct range_tree * rt) range_tree_destroy() argument 266 range_tree_init(struct range_tree * rt) range_tree_init() argument [all...] |
| /linux/arch/mips/include/asm/ |
| H A D | uasm.h | 210 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument 211 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument 212 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument 213 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument 214 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument 215 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument 216 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument 217 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument 218 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument 219 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument [all …]
|
| H A D | processor.h | 158 /* DMFC2 rt, 0x0201 */ 160 /* DMFC2 rt, 0x0202 (Set with DMTC2 rt, 0x1202) */ 162 /* DMFC2 rt, 0x0200 (set with DMTC2 rt, 0x4200) */ 164 /* DMFC2 rt, 0x0402; DMFC2 rt, 0x040A */ 166 /* DMFC2 rt, 0x0084 */ 168 /* DMFC2 rt, 0x0080; DMFC2 rt, 0x0081; DMFC2 rt, 0x0082 */ 170 /* DMFC2 rt, 0x0088 (Set with DMTC2 rt, 0x0098) */ 172 /* DMFC2 rt, 0x0111 (FIXME: Read Pass1 Errata) */ 174 /* DMFC2 rt, 0x0102; DMFC2 rt, 0x0103 */ 176 /* DMFC2 rt, 0x0104; DMFC2 rt, 0x0105; DMFC2 rt, 0x0106; DMFC2 [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | crypto.h | 34 "dmtc2 %[rt],0x0048+" STR(index) \ 36 : [rt] "d" (cpu_to_be64(value))); \ 47 "dmfc2 %[rt],0x0048+" STR(index) \ 48 : [rt] "=d" (__value) \ 60 "dmtc2 %[rt],0x0040+" STR(index) \ 62 : [rt] "d" (cpu_to_be64(value))); \ 71 "dmtc2 %[rt],0x4047" \ 73 : [rt] "d" (cpu_to_be64(value))); \ 82 "dmtc2 %[rt],0x4057" \ 84 : [rt] "d" (value)); \ [all …]
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit.h | 23 #define A64_COMP_BRANCH(sf, Rt, offset, type) \ argument 24 aarch64_insn_gen_comp_branch_imm(0, offset, Rt, A64_VARIANT(sf), \ 26 #define A64_CBZ(sf, Rt, imm19) A64_COMP_BRANCH(sf, Rt, (imm19) << 2, ZERO) argument 27 #define A64_CBNZ(sf, Rt, imm19) A64_COMP_BRANCH(sf, Rt, (imm19) << 2, NONZERO) argument 56 #define A64_LS_REG(Rt, Rn, Rm, size, type) \ argument 57 aarch64_insn_gen_load_store_reg(Rt, Rn, Rm, \ 73 #define A64_LS_IMM(Rt, Rn, imm, size, type) \ argument 74 aarch64_insn_gen_load_store_imm(Rt, Rn, imm, \ 96 #define A64_LS_PAIR(Rt, Rt2, Rn, offset, ls, type) \ argument 97 aarch64_insn_gen_load_store_pair(Rt, Rt2, Rn, offset, \ [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | sha1-powerpc-asm.S | 13 #define LWZ(rt, d, ra) \ argument 14 lwz rt,d(ra) 16 #define LWZ(rt, d, ra) \ argument 17 li rt,d; \ 18 lwbrx rt,rt,ra 26 #define RT(t) ((((t)+5)%6)+7) macro 42 rotlwi RT(t),RA(t),5; \ 45 add RT(t),RT(t),r6; \ 49 add RT(t),RT(t),r14 54 rotlwi RT(t),RA(t),5; \ [all …]
|
| /linux/net/ipv6/ |
| H A D | ip6_fib.c | 324 struct rt6_info *rt; in fib6_rule_lookup() local 326 rt = pol_lookup_func(lookup, in fib6_rule_lookup() 328 if (rt->dst.error == -EAGAIN) { in fib6_rule_lookup() 329 ip6_rt_put_flags(rt, flags); in fib6_rule_lookup() 330 rt = net->ipv6.ip6_null_entry; in fib6_rule_lookup() 332 dst_hold(&rt->dst); in fib6_rule_lookup() 335 return &rt->dst; in fib6_rule_lookup() 372 struct fib6_info *rt, in call_fib6_entry_notifier() argument 377 .rt = rt, in call_fib6_entry_notifier() 385 call_fib6_multipath_entry_notifier(struct notifier_block * nb,enum fib_event_type event_type,struct fib6_info * rt,unsigned int nsiblings,struct netlink_ext_ack * extack) call_fib6_multipath_entry_notifier() argument 400 call_fib6_entry_notifiers(struct net * net,enum fib_event_type event_type,struct fib6_info * rt,struct netlink_ext_ack * extack) call_fib6_entry_notifiers() argument 414 call_fib6_multipath_entry_notifiers(struct net * net,enum fib_event_type event_type,struct fib6_info * rt,unsigned int nsiblings,struct netlink_ext_ack * extack) call_fib6_multipath_entry_notifiers() argument 428 call_fib6_entry_notifiers_replace(struct net * net,struct fib6_info * rt) call_fib6_entry_notifiers_replace() argument 445 fib6_rt_dump(struct fib6_info * rt,struct fib6_dump_arg * arg) fib6_rt_dump() argument 528 struct fib6_info *rt; fib6_dump_node() local 1031 fib6_purge_rt(struct fib6_info * rt,struct fib6_node * fn,struct net * net) fib6_purge_rt() argument 1080 fib6_add_rt2node(struct fib6_node * fn,struct fib6_info * rt,struct nl_info * info,struct netlink_ext_ack * extack,struct list_head * purge_list) fib6_add_rt2node() argument 1346 fib6_add_rt2node_nh(struct fib6_node * fn,struct fib6_info * rt,struct nl_info * info,struct netlink_ext_ack * extack,struct list_head * purge_list) fib6_add_rt2node_nh() argument 1368 fib6_start_gc(struct net * net,struct fib6_info * rt) fib6_start_gc() argument 1383 __fib6_update_sernum_upto_root(struct fib6_info * rt,int sernum) __fib6_update_sernum_upto_root() argument 1398 fib6_update_sernum_upto_root(struct net * net,struct fib6_info * rt) fib6_update_sernum_upto_root() argument 1418 fib6_add(struct fib6_node * root,struct fib6_info * rt,struct nl_info * info,struct netlink_ext_ack * extack) fib6_add() argument 1967 struct fib6_info *rt = rcu_dereference_protected(*rtp, fib6_del_route() local 2058 fib6_del(struct fib6_info * rt,struct nl_info * info) fib6_del() argument 2228 struct fib6_info *rt; fib6_clean_node() local 2347 fib6_age(struct fib6_info * rt,struct fib6_gc_args * gc_args) fib6_age() argument 2377 struct fib6_info *rt; fib6_gc_table() local 2588 struct fib6_info *rt = v; ipv6_route_native_seq_show() local [all...] |
| /linux/net/ipv4/ |
| H A D | route.c | 416 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup() local 422 if (likely(rt->rt_gw_family == AF_INET)) { in ipv4_neigh_lookup() 423 n = ip_neigh_gw4(dev, rt->rt_gw4); in ipv4_neigh_lookup() 424 } else if (rt->rt_gw_family == AF_INET6) { in ipv4_neigh_lookup() 425 n = ip_neigh_gw6(dev, &rt->rt_gw6); in ipv4_neigh_lookup() 443 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh() local 447 if (rt->rt_gw_family == AF_INET) { in ipv4_confirm_neigh() 448 pkey = (const __be32 *)&rt->rt_gw4; in ipv4_confirm_neigh() 449 } else if (rt->rt_gw_family == AF_INET6) { in ipv4_confirm_neigh() 450 return __ipv6_confirm_neigh_stub(dev, &rt->rt_gw6); in ipv4_confirm_neigh() [all …]
|
| /linux/net/mctp/ |
| H A D | route.c | 664 static void mctp_route_release(struct mctp_route *rt) in mctp_route_release() argument 666 if (refcount_dec_and_test(&rt->refs)) { in mctp_route_release() 667 if (rt->dst_type == MCTP_ROUTE_DIRECT) in mctp_route_release() 668 mctp_dev_put(rt->dev); in mctp_route_release() 669 kfree_rcu(rt, rcu); in mctp_route_release() 676 struct mctp_route *rt; in mctp_route_alloc() local 678 rt = kzalloc(sizeof(*rt), GFP_KERNEL); in mctp_route_alloc() 679 if (!rt) in mctp_route_alloc() 682 INIT_LIST_HEAD(&rt->list); in mctp_route_alloc() 683 refcount_set(&rt->refs, 1); in mctp_route_alloc() [all …]
|
| /linux/arch/arm/mm/ |
| H A D | cache-v7m.S | 25 .macro v7m_cache_read, rt, reg 26 movw \rt, #:lower16:BASEADDR_V7M_SCB + \reg 27 movt \rt, #:upper16:BASEADDR_V7M_SCB + \reg 28 ldr \rt, [\rt] 31 .macro v7m_cacheop, rt, tmp, op, c = al 34 str\c \rt, [\tmp] 38 .macro read_ccsidr, rt argument 39 v7m_cache_read \rt, V7M_SCB_CCSIDR 42 .macro read_clidr, rt argument 43 v7m_cache_read \rt, V7M_SCB_CLIDR [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | srv6_end_x_next_csid_l3vpn_test.sh | 14 # IPv4/IPv6 L3 VPN service, offered by routers rt-1, rt-2, rt-3 and rt-4 using 54 # | rt-1 +-------------------+ rt-2 | 68 # | rt-4 +-------------------+ rt-3 | 72 # Every fcf0:0:x:y::/64 network interconnects the SRv6 routers rt-x with rt-y in 75 # In addition, every router interface connecting rt-x to rt-y is assigned an 82 # SIDs/C-SIDs are stored. Considering an SRv6 router rt-x, SIDs/C-SIDs are 85 # Local SID/C-SID table for SRv6 router rt-x 141 # Packets generated from hs-1 and directed towards hs-2 are handled by rt-1 149 # The router rt-1 is configured to enforce the given Policy through the SRv6 154 # As the packet reaches the router rt-3, the enabled NEXT-C-SID SRv6 End.X [all …]
|
| H A D | srv6_hencap_red_l3vpn_test.sh | 14 # Routers rt-1,rt-2,rt-3 and rt-4 implement IPv4/IPv6 L3 VPN services 45 # | rt-1 +-------------------+ rt-2 | 59 # | rt-4 +-------------------+ rt-3 | 73 # Every fcf0:0:x:y::/64 network interconnects the SRv6 routers rt-x with rt-y 80 # stored. Considering the given SRv6 router rt-x, at least two SIDs are 83 # Local SID table for SRv6 router rt-x 106 # handled by rt-1 which applies the following SRv6 Policies: 112 # rt-3,rt-4,rt-2. Instead, Policy (ii.a) steers tunneled IPv4 traffic through 113 # rt-2. 120 # On the reverse path (i.e. from hs-2 to hs-1), rt-2 applies the following [all …]
|
| H A D | srv6_end_dx6_netfilter_test.sh | 15 # Routers rt-1 and rt-2 implement IPv6 L3 VPN services leveraging the SRv6 24 # the router rt-1 which acts as an arp proxy. 26 # When the host hs-1 sends an IPv6 packet destined to hs-2, the router rt-1 27 # receives the packet on the internal veth-t100 interface, rt-1 contains the 30 # network up to the router rt-2 that receives it on veth0 interface. 32 # The rt-2 router uses the 'localsid' routing table to process incoming 38 # The ping response follows the same processing but this time the role of rt-1 39 # and rt-2 are swapped. 41 # And when net.netfilter.nf_hooks_lwtunnel is set to 1 in rt-1 or rt-2, and a 72 # | rt-1 netns | | rt-2 netns | [all …]
|
| /linux/net/mpls/ |
| H A D | af_mpls.c | 74 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt, 103 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh) in mpls_nh_via() 105 return (u8 *)nh + rt->rt_via_offset; in mpls_nh_via() 108 static const u8 *mpls_nh_via(const struct mpls_route *rt, in mpls_nh_header_size() 111 return __mpls_nh_via((struct mpls_route *)rt, (struct mpls_nh *)nh); in mpls_nh_header_size() 165 static u32 mpls_multipath_hash(struct mpls_route *rt, struct sk_buff *skb) in mpls_multipath_hash() 232 static struct mpls_nh *mpls_get_nexthop(struct mpls_route *rt, u8 index) 234 return (struct mpls_nh *)((u8 *)rt->rt_nh + index * rt->rt_nh_size); in mpls_select_multipath() argument 237 /* number of alive nexthops (rt in mpls_select_multipath() 80 struct mpls_route *rt = NULL; mpls_route_input_rcu() local 96 __mpls_nh_via(struct mpls_route * rt,struct mpls_nh * nh) __mpls_nh_via() argument 101 mpls_nh_via(const struct mpls_route * rt,const struct mpls_nh * nh) mpls_nh_via() argument 157 mpls_multipath_hash(struct mpls_route * rt,struct sk_buff * skb) mpls_multipath_hash() argument 224 mpls_get_nexthop(struct mpls_route * rt,u8 index) mpls_get_nexthop() argument 270 mpls_egress(struct net * net,struct mpls_route * rt,struct sk_buff * skb,struct mpls_entry_decoded dec) mpls_egress() argument 348 struct mpls_route *rt; mpls_forward() local 514 struct mpls_route *rt; mpls_rt_alloc() local 533 mpls_rt_free(struct mpls_route * rt) mpls_rt_free() argument 546 struct mpls_route *rt = new ? new : old; mpls_notify_route() local 558 struct mpls_route *rt; mpls_route_update() local 593 struct rtable *rt; inet_fib_lookup_dev() local 648 find_outdev(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif) find_outdev() argument 680 mpls_nh_assign_dev(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif) mpls_nh_assign_dev() argument 769 mpls_nh_build_from_cfg(struct mpls_route_config * cfg,struct mpls_route * rt) mpls_nh_build_from_cfg() argument 800 mpls_nh_build(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif,struct nlattr * via,struct nlattr * newdst,u8 max_labels,struct netlink_ext_ack * extack) mpls_nh_build() argument 886 mpls_nh_build_multi(struct mpls_route_config * cfg,struct mpls_route * rt,u8 max_labels,struct netlink_ext_ack * extack) mpls_nh_build_multi() argument 968 struct mpls_route *rt, *old; mpls_route_add() local 1490 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_ifdown() local 1567 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_ifup() local 1972 mpls_dump_route(struct sk_buff * skb,u32 portid,u32 seq,int event,u32 label,struct mpls_route * rt,int flags) mpls_dump_route() argument 2141 mpls_rt_uses_dev(struct mpls_route * rt,const struct net_device * dev) mpls_rt_uses_dev() argument 2200 struct mpls_route *rt; mpls_dump_routes() local 2220 lfib_nlmsg_size(struct mpls_route * rt) lfib_nlmsg_size() argument 2257 rtmsg_lfib(int event,u32 label,struct mpls_route * rt,struct nlmsghdr * nlh,struct net * net,u32 portid,unsigned int nlm_flags) rtmsg_lfib() argument 2353 struct mpls_route *rt; mpls_getroute() local 2710 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_net_exit() local [all...] |
| /linux/sound/aoa/ |
| H A D | aoa-gpio.h | 24 void (*init)(struct gpio_runtime *rt); 25 void (*exit)(struct gpio_runtime *rt); 28 void (*all_amps_off)(struct gpio_runtime *rt); 30 void (*all_amps_restore)(struct gpio_runtime *rt); 32 void (*set_headphone)(struct gpio_runtime *rt, int on); 33 void (*set_speakers)(struct gpio_runtime *rt, int on); 34 void (*set_lineout)(struct gpio_runtime *rt, int on); 35 void (*set_master)(struct gpio_runtime *rt, int on); 37 int (*get_headphone)(struct gpio_runtime *rt); 38 int (*get_speakers)(struct gpio_runtime *rt); [all …]
|