Home
last modified time | relevance | path

Searched refs:rt (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/linux/drivers/net/ethernet/intel/ice/
H A Dice_parser_rt.c6 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/sound/usb/6fire/
H A Dmidi.c24 struct midi_runtime *rt = urb->context; in usb6fire_midi_out_handler() local
27 guard(spinlock_irqsave)(&rt->out_lock); in usb6fire_midi_out_handler()
29 if (rt->out) { in usb6fire_midi_out_handler()
30 ret = snd_rawmidi_transmit(rt->out, rt->out_buffer + 4, in usb6fire_midi_out_handler()
33 rt->out_buffer[1] = ret + 2; in usb6fire_midi_out_handler()
34 rt->out_buffer[3] = rt->out_serial++; in usb6fire_midi_out_handler()
43 rt->out = NULL; in usb6fire_midi_out_handler()
48 struct midi_runtime *rt, u8 *data, int length) in usb6fire_midi_in_received() argument
50 guard(spinlock_irqsave)(&rt->in_lock); in usb6fire_midi_in_received()
51 if (rt->in) in usb6fire_midi_in_received()
[all …]
H A Dpcm.c100 static int usb6fire_pcm_set_rate(struct pcm_runtime *rt) in usb6fire_pcm_set_rate()
103 struct control_runtime *ctrl_rt = rt->chip->control; in usb6fire_pcm_set_rate()
109 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_set_rate()
111 rates[rt->rate]); in usb6fire_pcm_set_rate()
115 ret = ctrl_rt->set_rate(ctrl_rt, rt->rate); in usb6fire_pcm_set_rate()
117 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_get_substream()
119 rates[rt->rate]); in usb6fire_pcm_get_substream()
123 spdif = rt->rate <= CONTROL_RATE_96KHZ; in usb6fire_pcm_get_substream()
127 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_get_substream()
129 rates[rt in usb6fire_pcm_get_substream()
70 usb6fire_pcm_set_rate(struct pcm_runtime * rt) usb6fire_pcm_set_rate() argument
120 struct pcm_runtime *rt = snd_pcm_substream_chip(alsa_sub); usb6fire_pcm_get_substream() local
131 usb6fire_pcm_stream_stop(struct pcm_runtime * rt) usb6fire_pcm_stream_stop() argument
151 usb6fire_pcm_stream_start(struct pcm_runtime * rt) usb6fire_pcm_stream_start() argument
198 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance); usb6fire_pcm_capture() local
247 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance); usb6fire_pcm_playback() local
294 struct pcm_runtime *rt = in_urb->chip->pcm; usb6fire_pcm_in_urb_handler() local
399 struct pcm_runtime *rt = urb->chip->pcm; usb6fire_pcm_out_urb_handler() local
409 struct pcm_runtime *rt = snd_pcm_substream_chip(alsa_sub); usb6fire_pcm_open() local
443 struct pcm_runtime *rt = snd_pcm_substream_chip(alsa_sub); usb6fire_pcm_close() local
468 struct pcm_runtime *rt = snd_pcm_substream_chip(alsa_sub); usb6fire_pcm_prepare() local
509 struct pcm_runtime *rt = snd_pcm_substream_chip(alsa_sub); usb6fire_pcm_trigger() local
537 struct pcm_runtime *rt = snd_pcm_substream_chip(alsa_sub); usb6fire_pcm_pointer() local
577 usb6fire_pcm_buffers_init(struct pcm_runtime * rt) usb6fire_pcm_buffers_init() argument
596 usb6fire_pcm_free(struct pcm_runtime * rt) usb6fire_pcm_free() argument
620 struct pcm_runtime *rt = usb6fire_pcm_init() local
677 struct pcm_runtime *rt = chip->pcm; usb6fire_pcm_abort() local
[all...]
H A Dcontrol.c61 static void usb6fire_control_output_vol_update(struct control_runtime *rt) in usb6fire_control_output_vol_update()
63 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_output_vol_update()
68 if (!(rt->ovol_updated & (1 << i))) { in usb6fire_control_output_vol_update()
70 180 - rt->output_vol[i]); in usb6fire_control_output_vol_update()
71 rt->ovol_updated |= 1 << i; in usb6fire_control_output_vol_update()
75 static void usb6fire_control_output_mute_update(struct control_runtime *rt) in usb6fire_control_output_mute_update()
77 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_output_mute_update()
80 comm_rt->write8(comm_rt, 0x12, 0x0e, ~rt->output_mute); in usb6fire_control_output_mute_update()
83 static void usb6fire_control_input_vol_update(struct control_runtime *rt) in usb6fire_control_input_vol_update()
85 struct comm_runtime *comm_rt = rt in usb6fire_control_input_vol_update()
60 usb6fire_control_output_vol_update(struct control_runtime * rt) usb6fire_control_output_vol_update() argument
74 usb6fire_control_output_mute_update(struct control_runtime * rt) usb6fire_control_output_mute_update() argument
82 usb6fire_control_input_vol_update(struct control_runtime * rt) usb6fire_control_input_vol_update() argument
96 usb6fire_control_line_phono_update(struct control_runtime * rt) usb6fire_control_line_phono_update() argument
105 usb6fire_control_opt_coax_update(struct control_runtime * rt) usb6fire_control_opt_coax_update() argument
114 usb6fire_control_set_rate(struct control_runtime * rt,int rate) usb6fire_control_set_rate() argument
137 usb6fire_control_set_channels(struct control_runtime * rt,int n_analog_out,int n_analog_in,bool spdif_out,bool spdif_in) usb6fire_control_set_channels() argument
160 usb6fire_control_streaming_update(struct control_runtime * rt) usb6fire_control_streaming_update() argument
188 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_output_vol_put() local
218 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_output_vol_get() local
235 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_output_mute_put() local
262 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_output_mute_get() local
292 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_input_vol_put() local
317 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_input_vol_get() local
334 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_line_phono_put() local
347 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_line_phono_get() local
361 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_opt_coax_put() local
375 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_opt_coax_get() local
383 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_digital_thru_put() local
397 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_digital_thru_get() local
519 usb6fire_control_add_virtual(struct control_runtime * rt,struct snd_card * card,char * name,const struct snd_kcontrol_new * elems) usb6fire_control_add_virtual() argument
556 struct control_runtime *rt = kzalloc_obj(struct control_runtime); usb6fire_control_init() local
[all...]
H A Dcomm.c21 static void usb6fire_comm_init_urb(struct comm_runtime *rt, struct urb *urb, in usb6fire_comm_init_urb() argument
25 urb->pipe = usb_sndintpipe(rt->chip->dev, COMM_EP); in usb6fire_comm_init_urb()
29 urb->dev = rt->chip->dev; in usb6fire_comm_init_urb()
34 struct comm_runtime *rt = urb->context; in usb6fire_comm_receiver_handler() local
35 struct midi_runtime *midi_rt = rt->chip->midi; in usb6fire_comm_receiver_handler()
38 u8 len = rt->receiver_buffer[1]; in usb6fire_comm_receiver_handler()
40 if (rt->receiver_buffer[0] == 0x10 && /* midi in event */ in usb6fire_comm_receiver_handler()
45 rt->receiver_buffer + 2, len); in usb6fire_comm_receiver_handler()
48 if (!rt->chip->shutdown) { in usb6fire_comm_receiver_handler()
108 static int usb6fire_comm_write8(struct comm_runtime *rt, u8 request, in usb6fire_comm_write8() argument
[all …]
/linux/drivers/thunderbolt/
H A Dretimer.c34 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()
66 struct tb_retimer *rt = tb_to_retimer(nvm->dev); in nvm_write() local
[all …]
/linux/arch/mips/ralink/
H A Dtimer.c41 static inline void rt_timer_w32(struct rt_timer *rt, u8 reg, u32 val) in rt_timer_w32() argument
43 __raw_writel(val, rt->membase + reg); in rt_timer_w32()
46 static inline u32 rt_timer_r32(struct rt_timer *rt, u8 reg) in rt_timer_r32() argument
48 return __raw_readl(rt->membase + reg); in rt_timer_r32()
53 struct rt_timer *rt = (struct rt_timer *) _rt; in rt_timer_irq() local
55 rt_timer_w32(rt, TIMER_REG_TMR0LOAD, rt->timer_freq / rt->timer_div); in rt_timer_irq()
56 rt_timer_w32(rt, TIMER_REG_TMRSTAT, TMRSTAT_TMR0INT); in rt_timer_irq()
62 static int rt_timer_request(struct rt_timer *rt) in rt_timer_request() argument
75 rt_timer_config(struct rt_timer * rt,unsigned long divisor) rt_timer_config() argument
87 rt_timer_enable(struct rt_timer * rt) rt_timer_enable() argument
102 struct rt_timer *rt; rt_timer_probe() local
[all...]
/linux/drivers/leds/flash/
H A Dleds-rt8515.c65 static void rt8515_gpio_led_off(struct rt8515 *rt) in rt8515_gpio_led_off() argument
67 gpiod_set_value(rt->enable_flash, 0); in rt8515_gpio_led_off()
68 gpiod_set_value(rt->enable_torch, 0); in rt8515_gpio_led_off()
93 struct rt8515 *rt = to_rt8515(fled); in rt8515_led_brightness_set() local
95 mutex_lock(&rt->lock); in rt8515_led_brightness_set()
99 rt8515_gpio_led_off(rt); in rt8515_led_brightness_set()
102 rt8515_gpio_brightness_commit(rt->enable_torch, brightness); in rt8515_led_brightness_set()
105 gpiod_set_value(rt->enable_torch, 1); in rt8515_led_brightness_set()
108 mutex_unlock(&rt->lock); in rt8515_led_brightness_set()
116 struct rt8515 *rt in rt8515_led_flash_strobe_set() local
145 struct rt8515 *rt = to_rt8515(fled); rt8515_led_flash_strobe_get() local
167 struct rt8515 *rt = timer_container_of(rt, t, powerdown_timer); rt8515_powerdown_timer() local
173 rt8515_init_flash_timeout(struct rt8515 * rt) rt8515_init_flash_timeout() argument
192 rt8515_init_v4l2_flash_config(struct rt8515 * rt,struct v4l2_flash_config * v4l2_sd_cfg) rt8515_init_v4l2_flash_config() argument
213 rt8515_v4l2_flash_release(struct rt8515 * rt) rt8515_v4l2_flash_release() argument
219 rt8515_init_v4l2_flash_config(struct rt8515 * rt,struct v4l2_flash_config * v4l2_sd_cfg) rt8515_init_v4l2_flash_config() argument
224 rt8515_v4l2_flash_release(struct rt8515 * rt) rt8515_v4l2_flash_release() argument
229 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
279 struct rt8515 *rt; rt8515_probe() local
371 struct rt8515 *rt = platform_get_drvdata(pdev); rt8515_remove() local
[all...]
/linux/sound/aoa/core/
H A Dgpio-pmf.c14 static void pmf_gpio_set_##name(struct gpio_runtime *rt, int on)\
19 if (unlikely(!rt)) return; \
20 rc = pmf_call_function(rt->node, #name "-mute", &args); \
24 rt->implementation_private &= ~(1<<bit); \
25 rt->implementation_private |= (!!on << bit); \
27 static int pmf_gpio_get_##name(struct gpio_runtime *rt) \
29 if (unlikely(!rt)) return 0; \
30 return (rt->implementation_private>>bit)&1; \
37 static void pmf_gpio_set_hw_reset(struct gpio_runtime *rt, int on) in pmf_gpio_set_hw_reset() argument
42 if (unlikely(!rt)) return; in pmf_gpio_set_hw_reset()
[all …]
/linux/net/x25/
H A Dx25_route.c29 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_obj(*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/net/mctp/test/
H A Dutils.c127 struct mctp_test_route *rt; in mctp_route_test_alloc() local
129 rt = kzalloc_obj(*rt); in mctp_route_test_alloc()
130 if (!rt) in mctp_route_test_alloc()
133 INIT_LIST_HEAD(&rt->rt.list); in mctp_route_test_alloc()
134 refcount_set(&rt->rt.refs, 1); in mctp_route_test_alloc()
135 rt->rt.output = mctp_test_dst_output; in mctp_route_test_alloc()
137 return rt; in mctp_route_test_alloc()
145 struct mctp_test_route *rt; in mctp_test_create_route_direct() local
147 rt = mctp_route_test_alloc(); in mctp_test_create_route_direct()
148 if (!rt) in mctp_test_create_route_direct()
[all …]
/linux/sound/usb/hiface/
H A Dpcm.c112 static int hiface_pcm_set_rate(struct pcm_runtime *rt, unsigned int rate) in hiface_pcm_set_rate() argument
114 struct usb_device *device = rt->chip->dev; in hiface_pcm_set_rate()
172 struct pcm_runtime *rt = snd_pcm_substream_chip(alsa_sub); in hiface_pcm_get_substream() local
173 struct device *device = &rt->chip->dev->dev; in hiface_pcm_get_substream()
176 return &rt->playback; in hiface_pcm_get_substream()
183 static void hiface_pcm_stream_stop(struct pcm_runtime *rt) in hiface_pcm_stream_stop() argument
187 if (rt->stream_state != STREAM_DISABLED) { in hiface_pcm_stream_stop()
188 rt->stream_state = STREAM_STOPPING; in hiface_pcm_stream_stop()
192 &rt->out_urbs[i].submitted, 100); in hiface_pcm_stream_stop()
195 &rt->out_urbs[i].submitted); in hiface_pcm_stream_stop()
[all …]
/linux/arch/mips/include/asm/
H A Duasm.h218 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
219 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
220 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
221 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
222 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, r argument
210 UASM_i_ADDIU(buf,rs,rt,val) global() argument
211 UASM_i_ADDU(buf,rs,rt,rd) global() argument
212 UASM_i_LL(buf,rs,rt,off) global() argument
213 UASM_i_LW(buf,rs,rt,off) global() argument
214 UASM_i_LWX(buf,rs,rt,rd) global() argument
215 UASM_i_MFC0(buf,rt,rd...) global() argument
216 UASM_i_MTC0(buf,rt,rd...) global() argument
217 UASM_i_ROTR(buf,rs,rt,sh) global() argument
223 UASM_i_SUBU(buf,rs,rt,rd) global() argument
224 UASM_i_SW(buf,rs,rt,off) global() argument
226 UASM_i_ADDIU(buf,rs,rt,val) global() argument
227 UASM_i_ADDU(buf,rs,rt,rd) global() argument
228 UASM_i_LL(buf,rs,rt,off) global() argument
229 UASM_i_LW(buf,rs,rt,off) global() argument
230 UASM_i_LWX(buf,rs,rt,rd) global() argument
231 UASM_i_MFC0(buf,rt,rd...) global() argument
232 UASM_i_MTC0(buf,rt,rd...) global() argument
233 UASM_i_ROTR(buf,rs,rt,sh) global() argument
234 UASM_i_SC(buf,rs,rt,off) global() argument
235 UASM_i_SLL(buf,rs,rt,sh) global() argument
236 UASM_i_SRA(buf,rs,rt,sh) global() argument
237 UASM_i_SRL(buf,rs,rt,sh) global() argument
238 UASM_i_SRL_SAFE(buf,rs,rt,sh) global() argument
239 UASM_i_SUBU(buf,rs,rt,rd) global() argument
240 UASM_i_SW(buf,rs,rt,off) global() argument
[all...]
/linux/drivers/acpi/
H A Dacpi_tad.c80 static bool acpi_tad_rt_is_invalid(struct acpi_tad_rt *rt) in acpi_tad_rt_is_invalid() argument
82 return rt->year < 1900 || rt->year > 9999 || in acpi_tad_rt_is_invalid()
83 rt->month < 1 || rt->month > 12 || in acpi_tad_rt_is_invalid()
84 rt->hour > 23 || rt->minute > 59 || rt->second > 59 || in acpi_tad_rt_is_invalid()
85 rt->tz < -1440 || in acpi_tad_rt_is_invalid()
86 (rt in acpi_tad_rt_is_invalid()
92 acpi_tad_set_real_time(struct device * dev,struct acpi_tad_rt * rt) acpi_tad_set_real_time() argument
128 acpi_tad_evaluate_grt(struct device * dev,struct acpi_tad_rt * rt) acpi_tad_evaluate_grt() argument
157 __acpi_tad_get_real_time(struct device * dev,struct acpi_tad_rt * rt) __acpi_tad_get_real_time() argument
171 acpi_tad_get_real_time(struct device * dev,struct acpi_tad_rt * rt) acpi_tad_get_real_time() argument
251 struct acpi_tad_rt rt; time_store() local
316 struct acpi_tad_rt rt; time_show() local
628 acpi_tad_rt_to_tm(struct acpi_tad_rt * rt,struct rtc_time * tm) acpi_tad_rt_to_tm() argument
641 struct acpi_tad_rt rt; acpi_tad_rtc_set_time() local
657 struct acpi_tad_rt rt; acpi_tad_rtc_read_time() local
674 struct acpi_tad_rt rt; acpi_tad_rtc_set_alarm() local
723 struct acpi_tad_rt rt; acpi_tad_rtc_read_alarm() local
[all...]
/linux/net/ipv6/
H A Droute.c111 struct fib6_info *rt, struct dst_entry *dst,
138 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add() argument
143 rt->dst.rt_uncached_list = ul; in rt6_uncached_list_add()
146 list_add_tail(&rt->dst.rt_uncached, &ul->head); in rt6_uncached_list_add()
150 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del() argument
152 struct uncached_list *ul = rt->dst.rt_uncached_list; in rt6_uncached_list_del()
156 list_del_init(&rt->dst.rt_uncached); in rt6_uncached_list_del()
173 struct rt6_info *rt, *safe; in rt6_uncached_list_flush_dev()
179 list_for_each_entry_safe(rt, safe, &ul->head, dst.rt_uncached) { in rt6_uncached_list_flush_dev()
180 struct inet6_dev *rt_idev = rt in rt6_uncached_list_flush_dev()
167 struct rt6_info *rt, *safe; rt6_uncached_list_flush_dev() local
229 const struct rt6_info *rt = dst_rt6_info(dst); ip6_dst_neigh_lookup() local
237 const struct rt6_info *rt = dst_rt6_info(dst); ip6_confirm_neigh() local
334 rt6_info_init(struct rt6_info * rt) rt6_info_init() argument
343 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, ip6_dst_alloc() local
357 struct rt6_info *rt = dst_rt6_info(dst); ip6_dst_destroy() local
376 struct rt6_info *rt = dst_rt6_info(dst); ip6_dst_ifdown() local
392 __rt6_check_expired(const struct rt6_info * rt) __rt6_check_expired() argument
399 rt6_check_expired(const struct rt6_info * rt) rt6_check_expired() argument
416 rt6_multipath_first_sibling_rcu(const struct fib6_info * rt) rt6_multipath_first_sibling_rcu() argument
980 struct fib6_info *rt; rt6_route_rcv() local
1103 fib6_info_dst_flags(struct fib6_info * rt) fib6_info_dst_flags() argument
1115 ip6_rt_init_dst_reject(struct rt6_info * rt,u8 fib6_type) ip6_rt_init_dst_reject() argument
1137 ip6_rt_init_dst(struct rt6_info * rt,const struct fib6_result * res) ip6_rt_init_dst() argument
1167 rt6_set_from(struct rt6_info * rt,struct fib6_info * from) rt6_set_from() argument
1175 ip6_rt_copy_init(struct rt6_info * rt,const struct fib6_result * res) ip6_rt_copy_init() argument
1216 struct rt6_info *rt = *prt; ip6_hold_safe() local
1265 struct rt6_info *rt; ip6_pol_route_lookup() local
1349 __ip6_ins_rt(struct fib6_info * rt,struct nl_info * info,struct netlink_ext_ack * extack) __ip6_ins_rt() argument
1363 ip6_ins_rt(struct net * net,struct fib6_info * rt) ip6_ins_rt() argument
1376 struct rt6_info *rt; ip6_rt_cache_alloc() local
1905 fib6_nh_remove_exception(const struct fib6_nh * nh,int plen,const struct rt6_info * rt) fib6_nh_remove_exception() argument
1943 struct rt6_info *rt; global() member
1959 rt6_remove_exception_rt(struct rt6_info * rt) rt6_remove_exception_rt() argument
1989 fib6_nh_update_exception(const struct fib6_nh * nh,int plen,const struct rt6_info * rt) fib6_nh_update_exception() argument
2034 rt6_update_exception_stamp_rt(struct rt6_info * rt) rt6_update_exception_stamp_rt() argument
2065 rt6_mtu_change_route_allowed(struct inet6_dev * idev,struct rt6_info * rt,int mtu) rt6_mtu_change_route_allowed() argument
2155 struct rt6_info *rt = rt6_ex->rt6i; rt6_age_examine_exception() local
2284 struct rt6_info *rt = NULL; ip6_pol_route() local
2743 struct rt6_info *rt, *ort = dst_rt6_info(dst_orig); ip6_blackhole_route() local
2791 rt6_check(struct rt6_info * rt,struct fib6_info * from,u32 cookie) rt6_check() argument
2807 rt6_dst_from_check(struct rt6_info * rt,struct fib6_info * from,u32 cookie) rt6_dst_from_check() argument
2823 struct rt6_info *rt; ip6_dst_check() local
2854 struct rt6_info *rt = dst_rt6_info(dst); ip6_negative_advice() local
2873 struct rt6_info *rt; ip6_link_failure() local
2913 rt6_do_update_pmtu(struct rt6_info * rt,u32 mtu) rt6_do_update_pmtu() argument
2922 rt6_cache_allowed_for_pmtu(const struct rt6_info * rt) rt6_cache_allowed_for_pmtu() argument
3140 struct fib6_info *rt; __ip6_route_redirect() local
3315 struct rt6_info *rt; ip6_mtu_from_fib6() local
3345 struct rt6_info *rt; icmp6_dst_alloc() local
3821 struct fib6_info *rt; ip6_route_info_create() local
3882 ip6_route_info_create_nh(struct fib6_info * rt,struct fib6_config * cfg,gfp_t gfp_flags,struct netlink_ext_ack * extack) ip6_route_info_create_nh() argument
3961 struct fib6_info *rt; ip6_route_add() local
3982 __ip6_del_rt(struct fib6_info * rt,struct nl_info * info,enum rt_del_reason del_reason) __ip6_del_rt() argument
4004 ip6_del_rt(struct net * net,struct fib6_info * rt,bool skip_notify) ip6_del_rt() argument
4014 ip6_del_rt_reason(struct net * net,struct fib6_info * rt,enum rt_del_reason del_reason) ip6_del_rt_reason() argument
4022 __ip6_del_rt_siblings(struct fib6_info * rt,struct fib6_config * cfg) __ip6_del_rt_siblings() argument
4105 __ip6_del_cached_rt(struct rt6_info * rt,struct fib6_config * cfg) __ip6_del_cached_rt() argument
4121 ip6_del_cached_rt(struct fib6_config * cfg,struct fib6_info * rt,struct fib6_nh * nh) ip6_del_cached_rt() argument
4165 struct fib6_info *rt; ip6_route_del() local
4253 struct rt6_info *rt, *nrt = NULL; rt6_do_redirect() local
4402 struct fib6_info *rt = NULL; rt6_get_route_info() local
4472 struct fib6_info *rt; rt6_get_dflt_router() local
4536 struct fib6_info *rt; __rt6_purge_dflt_routers() local
4747 fib6_remove_prefsrc(struct fib6_info * rt,void * arg) fib6_remove_prefsrc() argument
4777 fib6_clean_tohost(struct fib6_info * rt,void * arg) fib6_clean_tohost() argument
4813 rt6_multipath_first_sibling(const struct fib6_info * rt) rt6_multipath_first_sibling() argument
4834 rt6_is_dead(const struct fib6_info * rt) rt6_is_dead() argument
4844 rt6_multipath_total_weight(const struct fib6_info * rt) rt6_multipath_total_weight() argument
4860 rt6_upper_bound_set(struct fib6_info * rt,int * weight,int total) rt6_upper_bound_set() argument
4872 rt6_multipath_upper_bound_set(struct fib6_info * rt,int total) rt6_multipath_upper_bound_set() argument
4883 rt6_multipath_rebalance(struct fib6_info * rt) rt6_multipath_rebalance() argument
4907 fib6_ifup(struct fib6_info * rt,void * p_arg) fib6_ifup() argument
4938 rt6_multipath_uses_dev(const struct fib6_info * rt,const struct net_device * dev) rt6_multipath_uses_dev() argument
4952 rt6_multipath_flush(struct fib6_info * rt) rt6_multipath_flush() argument
4961 rt6_multipath_dead_count(const struct fib6_info * rt,const struct net_device * down_dev) rt6_multipath_dead_count() argument
4978 rt6_multipath_nh_flags_set(struct fib6_info * rt,const struct net_device * dev,unsigned char nh_flags) rt6_multipath_nh_flags_set() argument
4992 fib6_ifdown(struct fib6_info * rt,void * p_arg) fib6_ifdown() argument
5362 ip6_route_info_append(struct list_head * rt6_nh_list,struct fib6_info * rt,struct fib6_config * r_cfg) ip6_route_info_append() argument
5384 ip6_route_mpath_notify(struct fib6_info * rt,struct fib6_info * rt_last,struct nl_info * info,__u16 nlflags) ip6_route_mpath_notify() argument
5410 ip6_route_mpath_should_notify(const struct fib6_info * rt) ip6_route_mpath_should_notify() argument
5446 struct fib6_info *rt; ip6_route_multipath_add() local
5797 rt6_fill_node(struct net * net,struct sk_buff * skb,struct fib6_info * rt,struct dst_entry * dst,struct in6_addr * dest,struct in6_addr * src,int iif,int type,u32 portid,u32 seq,unsigned int flags,enum rt_del_reason del_reason) rt6_fill_node() argument
6039 struct fib6_info *rt; global() member
6098 rt6_dump_route(struct fib6_info * rt,void * p_arg,unsigned int skip) rt6_dump_route() argument
6249 struct rt6_info *rt; inet6_rtm_getroute() local
6390 __inet6_rt_notify(int event,struct fib6_info * rt,struct nl_info * info,unsigned int nlm_flags,enum rt_del_reason del_reason) __inet6_rt_notify() argument
6432 inet6_rt_notify(int event,struct fib6_info * rt,struct nl_info * info,unsigned int nlm_flags) inet6_rt_notify() argument
6438 inet6_rt_del_notify(struct fib6_info * rt,struct nl_info * info,enum rt_del_reason del_reason) inet6_rt_del_notify() argument
6444 fib6_rt_update(struct net * net,struct fib6_info * rt,struct nl_info * info) fib6_rt_update() argument
[all...]
H A Dip6_fib.c114 /* @rt is removed from its node: walkers resting on it continue from the in fib6_update_sernum()
117 static void fib6_walkers_skip_rt(struct net *net, struct fib6_info *rt)
121 next = rcu_dereference_protected(rt->fib6_next,
122 lockdep_is_held(&rt->fib6_table->tb6_lock));
123 fib6_walkers_replace_leaf(net, rt, next);
358 struct rt6_info *rt; in fib6_tables_seq_read()
360 rt = pol_lookup_func(lookup, in fib6_tables_seq_read()
362 if (rt->dst.error == -EAGAIN) { in fib6_tables_seq_read()
363 ip6_rt_put_flags(rt, flags); in fib6_tables_seq_read()
364 rt in fib6_tables_seq_read()
324 struct rt6_info *rt; fib6_rule_lookup() local
375 call_fib6_entry_notifier(struct notifier_block * nb,enum fib_event_type event_type,struct fib6_info * rt,struct netlink_ext_ack * extack) call_fib6_entry_notifier() argument
388 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
403 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
417 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
431 call_fib6_entry_notifiers_replace(struct net * net,struct fib6_info * rt) call_fib6_entry_notifiers_replace() argument
448 fib6_rt_dump(struct fib6_info * rt,struct fib6_dump_arg * arg) fib6_rt_dump() argument
531 struct fib6_info *rt; fib6_dump_node() local
1040 fib6_purge_rt(struct fib6_info * rt,struct fib6_node * fn,struct net * net) fib6_purge_rt() argument
1089 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
1360 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
1382 fib6_start_gc(struct net * net,struct fib6_info * rt) fib6_start_gc() argument
1397 __fib6_update_sernum_upto_root(struct fib6_info * rt,int sernum) __fib6_update_sernum_upto_root() argument
1412 fib6_update_sernum_upto_root(struct net * net,struct fib6_info * rt) fib6_update_sernum_upto_root() argument
1424 fib6_add(struct fib6_node * root,struct fib6_info * rt,struct nl_info * info,struct netlink_ext_ack * extack) fib6_add() argument
1975 struct fib6_info *rt = rcu_dereference_protected(*rtp, fib6_del_route() local
2066 fib6_del(struct fib6_info * rt,struct nl_info * info,enum rt_del_reason del_reason) fib6_del() argument
2237 struct fib6_info *rt; fib6_clean_node() local
2355 fib6_age_exceptions(struct fib6_info * rt,struct fib6_gc_args * gc_args,unsigned long now) fib6_age_exceptions() argument
2367 fib6_age(struct fib6_info * rt,struct fib6_gc_args * gc_args) fib6_age() argument
2397 struct fib6_info *rt; fib6_gc_table() local
2606 struct fib6_info *rt = v; ipv6_route_native_seq_show() local
[all...]
/linux/net/ipv4/
H A Dxfrm4_policy.c24 struct rtable *rt; in __xfrm4_dst_lookup() local
37 rt = __ip_route_output_key(params->net, fl4); in __xfrm4_dst_lookup()
38 if (!IS_ERR(rt)) in __xfrm4_dst_lookup()
39 return &rt->dst; in __xfrm4_dst_lookup()
41 return ERR_CAST(rt); in __xfrm4_dst_lookup()
69 struct rtable *rt = dst_rtable(xdst->route); in xfrm4_fill_dst() local
72 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
79 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
80 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
82 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
[all …]
H A Droute.c416 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 (IS_ENABLED(CONFIG_IPV6) && rt->rt_gw_family == AF_INET6) { in ipv4_confirm_neigh()
450 return __ipv6_confirm_neigh(dev, &rt in ipv4_confirm_neigh()
578 struct rtable *rt; fnhe_flush_routes() local
630 fill_route_from_fnhe(struct rtable * rt,struct fib_nh_exception * fnhe) fill_route_from_fnhe() argument
650 struct rtable *rt; update_or_create_fnhe() local
773 __ip_do_redirect(struct rtable * rt,struct sk_buff * skb,struct flowi4 * fl4,bool kill_route) __ip_do_redirect() argument
860 struct rtable *rt; ip_do_redirect() local
878 struct rtable *rt = dst_rtable(dst); ipv4_negative_advice() local
904 struct rtable *rt = skb_rtable(skb); ip_rt_send_redirect() local
969 struct rtable *rt = skb_rtable(skb); ip_error() local
1048 __ip_rt_update_pmtu(struct rtable * rt,struct flowi4 * fl4,u32 mtu) __ip_rt_update_pmtu() argument
1105 struct rtable *rt = dst_rtable(dst); ip_rt_update_pmtu() local
1122 struct rtable *rt; ipv4_update_pmtu() local
1139 struct rtable *rt; __ipv4_sk_update_pmtu() local
1157 struct rtable *rt; ipv4_sk_update_pmtu() local
1211 struct rtable *rt; ipv4_redirect() local
1226 struct rtable *rt; ipv4_sk_redirect() local
1240 struct rtable *rt = dst_rtable(dst); ipv4_dst_check() local
1289 struct rtable *rt; ipv4_link_failure() local
1317 ip_rt_get_source(u8 * addr,struct sk_buff * skb,struct rtable * rt) ip_rt_get_source() argument
1351 set_class_tag(struct rtable * rt,u32 tag) set_class_tag() argument
1472 rt_bind_exception(struct rtable * rt,struct fib_nh_exception * fnhe,__be32 daddr,const bool do_cache) rt_bind_exception() argument
1522 rt_cache_route(struct fib_nh_common * nhc,struct rtable * rt) rt_cache_route() argument
1559 rt_add_uncached_list(struct rtable * rt) rt_add_uncached_list() argument
1570 rt_del_uncached_list(struct rtable * rt) rt_del_uncached_list() argument
1589 struct rtable *rt, *safe; rt_flush_dev() local
1611 rt_cache_valid(const struct rtable * rt) rt_cache_valid() argument
1618 rt_set_nexthop(struct rtable * rt,__be32 daddr,const struct fib_result * res,struct fib_nh_exception * fnhe,struct fib_info * fi,u16 type,u32 itag,const bool do_cache) rt_set_nexthop() argument
1681 struct rtable *rt; rt_dst_alloc() local
1707 rt_dst_clone(struct net_device * dev,struct rtable * rt) rt_dst_clone() argument
2228 struct rtable *rt = skb_rtable(hint); ip_route_use_hint() local
2926 struct rtable *rt; ipv4_blackhole_route() local
2963 struct rtable *rt = __ip_route_output_key(net, flp4); ip_route_output_flow() local
2981 rt_fill_info(struct net * net,__be32 dst,__be32 src,struct rtable * rt,u32 table_id,dscp_t dscp,struct flowi4 * fl4,struct sk_buff * skb,u32 portid,u32 seq,unsigned int flags) rt_fill_info() argument
3128 struct rtable *rt; fnhe_dump_bucket() local
3333 struct rtable *rt = NULL; inet_rtm_getroute() local
[all...]
/linux/sound/aoa/
H A Daoa-gpio.h24 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 …]
/linux/arch/mips/include/asm/octeon/
H A Dcrypto.h36 : [rt] "d" (cpu_to_be64(value))); \
48 : [rt] "=d" (__value) \
62 : [rt] "d" (cpu_to_be64(value))); \
73 : [rt] "d" (cpu_to_be64(value))); \
84 : [rt] "d" (value)); \
95 : [rt] "d" (value)); \
110 : [rt] "d" (value)); \
122 : [rt] "=d" (__value) \
136 : [rt] "d" (value)); \
147 : [rt] "d" (value)); \
[all …]
/linux/net/mctp/
H A Droute.c677 static void mctp_route_release(struct mctp_route *rt)
679 if (refcount_dec_and_test(&rt->refs)) { in mctp_route_alloc()
680 if (rt->dst_type == MCTP_ROUTE_DIRECT) in mctp_route_alloc()
681 mctp_dev_put(rt->dev); in mctp_route_alloc() local
682 kfree_rcu(rt, rcu); in mctp_route_alloc()
689 struct mctp_route *rt; in mctp_route_alloc()
691 rt = kzalloc_obj(*rt); in mctp_route_alloc()
692 if (!rt) in mctp_route_alloc()
695 INIT_LIST_HEAD(&rt in mctp_default_net()
669 mctp_route_release(struct mctp_route * rt) mctp_route_release() argument
862 mctp_route_netid(struct mctp_route * rt) mctp_route_netid() argument
868 mctp_rt_match_eid(struct mctp_route * rt,unsigned int net,mctp_eid_t eid) mctp_rt_match_eid() argument
965 struct mctp_route *rt; mctp_route_lookup_single() local
986 struct mctp_route *rt; mctp_route_lookup() local
1211 mctp_route_add(struct net * net,struct mctp_route * rt) mctp_route_add() argument
1253 struct mctp_route *rt, *tmp; mctp_route_remove() local
1281 struct mctp_route *rt; mctp_route_add_local() local
1313 struct mctp_route *rt, *tmp; mctp_route_remove_dev() local
1543 mctp_route_nlparse_populate(struct net * net,struct nlmsghdr * nlh,struct netlink_ext_ack * extack,struct mctp_route * rt) mctp_route_nlparse_populate() argument
1599 struct mctp_route *rt; mctp_newroute() local
1648 mctp_fill_rtinfo(struct sk_buff * skb,struct mctp_route * rt,u32 portid,u32 seq,int event,unsigned int flags) mctp_fill_rtinfo() argument
1710 struct mctp_route *rt; mctp_dump_rtinfo() local
1754 struct mctp_route *rt; mctp_routes_net_exit() local
[all...]
/linux/arch/arm/mm/
H A Dcache-v7m.S25 .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/net/sunrpc/
H A Dtimer.c35 void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo) in rpc_init_rtt() argument
40 rt->timeo = timeo; in rpc_init_rtt()
45 rt->srtt[i] = init; in rpc_init_rtt()
46 rt->sdrtt[i] = RPC_RTO_INIT; in rpc_init_rtt()
47 rt->ntimeouts[i] = 0; in rpc_init_rtt()
61 void rpc_update_rtt(struct rpc_rtt *rt, unsigned int timer, long m) in rpc_update_rtt() argument
75 srtt = (long *)&rt->srtt[timer]; in rpc_update_rtt()
82 sdrtt = (long *)&rt->sdrtt[timer]; in rpc_update_rtt()
110 unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned int timer) in rpc_calc_rto() argument
115 return rt->timeo; in rpc_calc_rto()
[all …]
/linux/tools/testing/selftests/net/
H A Dsrv6_end_dx6_netfilter_test.sh15 # 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
[all...]
H A Dsrv6_end_dx4_netfilter_test.sh15 # Routers rt-1 and rt-2 implement IPv4 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 IPv4 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
[all...]

12345678910>>...12