Home
last modified time | relevance | path

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

12345678910>>...101

/linux/sound/usb/6fire/
A Dmidi.c30 if (rt->out) { in usb6fire_midi_out_handler()
31 ret = snd_rawmidi_transmit(rt->out, rt->out_buffer + 4, in usb6fire_midi_out_handler()
35 rt->out_buffer[3] = rt->out_serial++; in usb6fire_midi_out_handler()
55 if (rt->in) in usb6fire_midi_in_received()
89 rt->out_buffer[3] = rt->out_serial++; in usb6fire_midi_out_trigger()
158 if (!rt) in usb6fire_midi_init()
163 kfree(rt); in usb6fire_midi_init()
175 comm_rt->init_urb(comm_rt, &rt->out_urb, rt->out_buffer, rt, in usb6fire_midi_init()
185 rt->instance->private_data = rt; in usb6fire_midi_init()
203 if (rt) in usb6fire_midi_abort()
[all …]
A Dpcm.c112 rt->in_packet_size = rates_in_packet_size[rt->rate]; in usb6fire_pcm_set_rate()
113 rt->out_packet_size = rates_out_packet_size[rt->rate]; in usb6fire_pcm_set_rate()
440 if (!rt->playback.instance && !rt->capture.instance) { in usb6fire_pcm_close()
466 for (rt->rate = 0; rt->rate < ARRAY_SIZE(rates); rt->rate++) in usb6fire_pcm_prepare()
605 if (!rt) in usb6fire_pcm_init()
611 kfree(rt); in usb6fire_pcm_init()
630 rt->in_urbs[i].peer = &rt->out_urbs[i]; in usb6fire_pcm_init()
631 rt->out_urbs[i].peer = &rt->in_urbs[i]; in usb6fire_pcm_init()
637 kfree(rt); in usb6fire_pcm_init()
659 if (rt) { in usb6fire_pcm_abort()
[all …]
A Dcontrol.c69 180 - rt->output_vol[i]); in usb6fire_control_output_vol_update()
91 rt->input_vol[i] & 0x3f); in usb6fire_control_input_vol_update()
165 if (!rt->usb_streaming && rt->digital_thru_switch) in usb6fire_control_streaming_update()
237 u8 old = rt->output_mute; in usb6fire_control_output_mute_put()
253 if (rt->output_mute != old) in usb6fire_control_output_mute_put()
558 if (!rt) in usb6fire_control_init()
561 rt->chip = chip; in usb6fire_control_init()
584 kfree(rt); in usb6fire_control_init()
591 kfree(rt); in usb6fire_control_init()
599 kfree(rt); in usb6fire_control_init()
[all …]
A Dcomm.c30 urb->dev = rt->chip->dev; in usb6fire_comm_init_urb()
149 if (!rt) in usb6fire_comm_init()
154 kfree(rt); in usb6fire_comm_init()
158 urb = &rt->receiver; in usb6fire_comm_init()
159 rt->serial = 1; in usb6fire_comm_init()
160 rt->chip = chip; in usb6fire_comm_init()
172 urb->context = rt; in usb6fire_comm_init()
177 kfree(rt); in usb6fire_comm_init()
181 chip->comm = rt; in usb6fire_comm_init()
189 if (rt) in usb6fire_comm_abort()
[all …]
/linux/drivers/thunderbolt/
A Dretimer.c93 rt->nvm = nvm; in tb_retimer_nvm_add()
144 ret = usb4_port_retimer_nvm_write(rt->port, rt->index, 0, buf, in tb_retimer_nvm_validate_and_write()
201 if (!rt->nvm) in nvm_authenticate_show()
276 if (!rt->nvm) in nvm_version_show()
316 kfree(rt); in tb_retimer_release()
366 rt = kzalloc(sizeof(*rt), GFP_KERNEL); in tb_retimer_add()
367 if (!rt) in tb_retimer_add()
398 rt->vendor, rt->device); in tb_retimer_add()
427 return rt && rt->port == lookup->port && rt->index == lookup->index; in retimer_match()
501 if (rt) { in tb_retimer_scan()
[all …]
/linux/arch/mips/ralink/
A Dtimer.c51 rt_timer_w32(rt, TIMER_REG_TMR0LOAD, rt->timer_freq / rt->timer_div); in rt_timer_irq()
61 dev_name(rt->dev), rt); in rt_timer_request()
74 rt->timer_div = rt->timer_freq; in rt_timer_config()
78 rt_timer_w32(rt, TIMER_REG_TMR0LOAD, rt->timer_freq / rt->timer_div); in rt_timer_config()
87 rt_timer_w32(rt, TIMER_REG_TMR0LOAD, rt->timer_freq / rt->timer_div); in rt_timer_enable()
99 struct rt_timer *rt; in rt_timer_probe() local
102 rt = devm_kzalloc(&pdev->dev, sizeof(*rt), GFP_KERNEL); in rt_timer_probe()
103 if (!rt) { in rt_timer_probe()
109 if (rt->irq < 0) in rt_timer_probe()
110 return rt->irq; in rt_timer_probe()
[all …]
/linux/drivers/leds/flash/
A Dleds-rt8515.c96 mutex_lock(&rt->lock); in rt8515_led_brightness_set()
121 mutex_lock(&rt->lock); in rt8515_led_flash_strobe_set()
168 struct rt8515 *rt = from_timer(rt, t, powerdown_timer); in rt8515_powerdown_timer() local
247 dev_err(rt->dev, in rt8515_determine_max_intensity()
266 dev_info(rt->dev, in rt8515_determine_max_intensity()
280 struct rt8515 *rt; in rt8515_probe() local
287 rt = devm_kzalloc(dev, sizeof(*rt), GFP_KERNEL); in rt8515_probe()
288 if (!rt) in rt8515_probe()
291 rt->dev = dev; in rt8515_probe()
292 fled = &rt->fled; in rt8515_probe()
[all …]
/linux/sound/aoa/core/
A Dgpio-pmf.c19 if (unlikely(!rt)) return; \
42 if (unlikely(!rt)) return; in pmf_gpio_set_hw_reset()
53 if (unlikely(!rt)) return; in pmf_gpio_all_amps_off()
55 pmf_gpio_set_headphone(rt, 0); in pmf_gpio_all_amps_off()
56 pmf_gpio_set_amp(rt, 0); in pmf_gpio_all_amps_off()
57 pmf_gpio_set_lineout(rt, 0); in pmf_gpio_all_amps_off()
65 if (unlikely(!rt)) return; in pmf_gpio_all_amps_restore()
66 s = rt->implementation_private; in pmf_gpio_all_amps_restore()
85 pmf_gpio_all_amps_off(rt); in pmf_gpio_init()
97 pmf_gpio_all_amps_off(rt); in pmf_gpio_exit()
[all …]
A Dgpio-feature.c137 if (unlikely(!rt)) return; \
170 if (unlikely(!rt)) return; in ftr_gpio_set_hw_reset()
187 if (unlikely(!rt)) return; in ftr_gpio_all_amps_off()
189 ftr_gpio_set_headphone(rt, 0); in ftr_gpio_all_amps_off()
190 ftr_gpio_set_amp(rt, 0); in ftr_gpio_all_amps_off()
191 ftr_gpio_set_lineout(rt, 0); in ftr_gpio_all_amps_off()
193 ftr_gpio_set_master(rt, 0); in ftr_gpio_all_amps_off()
201 if (unlikely(!rt)) return; in ftr_gpio_all_amps_restore()
273 ftr_gpio_all_amps_off(rt); in ftr_gpio_init()
285 ftr_gpio_all_amps_off(rt); in ftr_gpio_exit()
[all …]
/linux/net/x25/
A Dx25_route.c29 struct x25_route *rt; in x25_add_route() local
40 rt = kmalloc(sizeof(*rt), GFP_ATOMIC); in x25_add_route()
42 if (!rt) in x25_add_route()
70 x25_route_put(rt); in __x25_remove_route()
84 rt->sigdigits == sigdigits && rt->dev == dev) { in x25_del_route()
142 if (!memcmp(&rt->address, addr, rt->sigdigits)) { in x25_get_route()
144 use = rt; in x25_get_route()
146 use = rt; in x25_get_route()
170 if (copy_from_user(&rt, arg, sizeof(rt))) in x25_route_ioctl()
182 rc = x25_add_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()
[all …]
/linux/sound/usb/hiface/
A Dpcm.c311 if (rt->panic || rt->stream_state == STREAM_STOPPING) in hiface_pcm_out_urb_handler()
356 if (rt->panic) in hiface_pcm_open()
398 if (rt->panic) in hiface_pcm_close()
423 if (rt->panic) in hiface_pcm_prepare()
457 if (rt->panic) in hiface_pcm_trigger()
532 if (rt) { in hiface_pcm_abort()
557 if (rt) in hiface_pcm_free()
568 rt = kzalloc(sizeof(*rt), GFP_KERNEL); in hiface_pcm_init()
569 if (!rt) in hiface_pcm_init()
604 chip->pcm = rt; in hiface_pcm_init()
[all …]
/linux/net/mctp/test/
A Droute-test.c30 INIT_LIST_HEAD(&rt->rt.list); in mctp_route_test_alloc()
31 refcount_set(&rt->rt.refs, 1); in mctp_route_test_alloc()
50 rt->rt.min = eid; in mctp_test_create_route()
51 rt->rt.max = eid; in mctp_test_create_route()
52 rt->rt.mtu = mtu; in mctp_test_create_route()
53 rt->rt.type = RTN_UNSPEC; in mctp_test_create_route()
56 rt->rt.dev = dev; in mctp_test_create_route()
69 list_del_rcu(&rt->rt.list); in mctp_test_route_destroy()
73 if (rt->rt.dev) in mctp_test_route_destroy()
74 mctp_dev_put(rt->rt.dev); in mctp_test_route_destroy()
[all …]
/linux/net/decnet/
A Ddn_route.c365 for (; rt; rt = next) { in dn_run_flush()
1183 memset(&rt->fld, 0, sizeof(rt->fld)); in dn_route_output_slow()
1212 hash = dn_hash(rt->fld.saddr, rt->fld.daddr); in dn_route_output_slow()
1251 rt = rcu_dereference_bh(rt->dn_next)) { in __dn_route_output_key()
1449 memset(&rt->fld, 0, sizeof(rt->fld)); in dn_route_input_slow()
1492 dn_insert_route(rt, hash, &rt); in dn_route_input_slow()
1529 rt = rcu_dereference(rt->dn_next)) { in dn_route_input()
1593 if (rt->rt_daddr != rt->rt_gateway && in dn_rt_fill_info()
1748 rt; in dn_cache_dump()
1795 rt = rcu_dereference_bh(rt->dn_next); in dn_rt_cache_get_next()
[all …]
/linux/drivers/net/appletalk/
A Dipddp.c134 for(rt = ipddp_route_list; rt != NULL; rt = rt->next) in ipddp_xmit()
139 if(rt == NULL) { in ipddp_xmit()
185 aarp_send_ddp(rt->dev, skb, &rt->at, NULL); in ipddp_xmit()
198 struct ipddp_route *rt = kzalloc(sizeof(*rt), GFP_KERNEL); in ipddp_create() local
200 if (rt == NULL) in ipddp_create()
203 rt->ip = new_rt->ip; in ipddp_create()
204 rt->at = new_rt->at; in ipddp_create()
205 rt->next = NULL; in ipddp_create()
206 if ((rt->dev = atrtr_get_dev(&rt->at)) == NULL) { in ipddp_create()
207 kfree(rt); in ipddp_create()
[all …]
/linux/arch/mips/include/asm/
A Duasm.h215 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
216 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
217 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
218 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
226 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sd(buf, rs, rt, off) argument
230 # define UASM_i_LL(buf, rs, rt, off) uasm_i_ll(buf, rs, rt, off) argument
231 # define UASM_i_LW(buf, rs, rt, off) uasm_i_lw(buf, rs, rt, off) argument
232 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_lwx(buf, rs, rt, rd) argument
233 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_mfc0(buf, rt, rd) argument
234 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_mtc0(buf, rt, rd) argument
[all …]
/linux/net/ipv6/
A Droute.c344 if (rt) { in ip6_dst_alloc()
349 return rt; in ip6_dst_alloc()
987 if (rt) { in rt6_route_rcv()
1893 .rt = rt, in rt6_remove_exception_rt()
2263 if (!rt) in ip6_pol_route()
3962 rt, rt->fib6_nsiblings, in __ip6_del_rt_siblings()
4372 if (rt && !fib6_info_hold_safe(rt)) in rt6_get_dflt_router()
4751 if (!rt->fib6_nsiblings || rt->should_flush) in rt6_multipath_rebalance()
4857 if (rt == net->ipv6.fib6_null_entry || rt->nh) in fib6_ifdown()
5197 if (rt) in ip6_route_mpath_notify()
[all …]
A Dip6_fib.c369 .rt = rt, in call_fib6_entry_notifier()
383 .rt = rt, in call_fib6_multipath_entry_notifier()
397 .rt = rt, in call_fib6_entry_notifiers()
412 .rt = rt, in call_fib6_multipath_entry_notifiers()
423 .rt = rt, in call_fib6_entry_notifiers_replace()
541 rt = list_last_entry(&rt->fib6_siblings, in fib6_dump_node()
1034 if (rt->nh && !list_empty(&rt->nh_list)) in fib6_purge_rt()
1392 &rt->fib6_dst.addr, rt->fib6_dst.plen, in fib6_add()
1433 &rt->fib6_src.addr, rt->fib6_src.plen, in fib6_add()
1452 &rt->fib6_src.addr, rt->fib6_src.plen, in fib6_add()
[all …]
/linux/net/ipv4/
A Droute.c569 if (rt) { in fnhe_flush_routes()
575 if (rt) { in fnhe_flush_routes()
673 if (rt) in update_or_create_fnhe()
676 if (rt) in update_or_create_fnhe()
708 if (rt) in update_or_create_fnhe()
716 if (rt) in update_or_create_fnhe()
834 if (rt) { in ipv4_negative_advice()
1235 if (rt) in ipv4_link_failure()
1617 if (rt) { in rt_dst_alloc()
2844 return rt ? &rt->dst : ERR_PTR(-ENOMEM); in ipv4_blackhole_route()
[all …]
A Dxfrm4_policy.c26 struct rtable *rt; in __xfrm4_dst_lookup() local
39 if (!IS_ERR(rt)) in __xfrm4_dst_lookup()
40 return &rt->dst; in __xfrm4_dst_lookup()
84 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
87 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
88 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
89 xdst->u.rt.rt_gw_family = rt->rt_gw_family; in xfrm4_fill_dst()
91 xdst->u.rt.rt_gw4 = rt->rt_gw4; in xfrm4_fill_dst()
93 xdst->u.rt.rt_gw6 = rt->rt_gw6; in xfrm4_fill_dst()
94 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
[all …]
/linux/net/mctp/
A Droute.c480 return rt->mtu ?: READ_ONCE(rt->dev->dev->mtu); in mctp_route_mtu()
539 rt = kzalloc(sizeof(*rt), GFP_KERNEL); in mctp_route_alloc()
540 if (!rt) in mctp_route_alloc()
661 rt->min <= eid && rt->max >= eid; in mctp_rt_match_eid()
773 rc = rt->output(rt, skb2); in mctp_do_fragment_route()
803 if (rt) { in mctp_local_output()
886 rc = rt->output(rt, skb); in mctp_local_output()
929 if (!rt) in mctp_route_add()
1057 if (!rt) in mctp_pkttype_receive()
1060 rt->output(rt, skb); in mctp_pkttype_receive()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_iter_ipv6_route.c15 struct fib6_info *rt = ctx->rt; in dump_ipv6_route() local
21 if (rt == (void *)0) in dump_ipv6_route()
24 fib6_nh = &rt->fib6_nh[0]; in dump_ipv6_route()
25 flags = rt->fib6_flags; in dump_ipv6_route()
28 nh = rt->nh; in dump_ipv6_route()
29 if (rt->nh) in dump_ipv6_route()
32 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_dst.addr, rt->fib6_dst.plen); in dump_ipv6_route()
35 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_src.addr, in dump_ipv6_route()
36 rt->fib6_src.plen); in dump_ipv6_route()
50 rt->fib6_ref.refs.counter, 0, flags, dev->name); in dump_ipv6_route()
[all …]
/linux/sound/aoa/
A Daoa-gpio.h25 void (*init)(struct gpio_runtime *rt);
26 void (*exit)(struct gpio_runtime *rt);
29 void (*all_amps_off)(struct gpio_runtime *rt);
31 void (*all_amps_restore)(struct gpio_runtime *rt);
36 void (*set_master)(struct gpio_runtime *rt, int on);
38 int (*get_headphone)(struct gpio_runtime *rt);
39 int (*get_speakers)(struct gpio_runtime *rt);
40 int (*get_lineout)(struct gpio_runtime *rt);
41 int (*get_master)(struct gpio_runtime *rt);
52 int (*set_notify)(struct gpio_runtime *rt,
[all …]
/linux/arch/mips/cavium-octeon/crypto/
A Docteon-crypto.h48 : [rt] "=d" (__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)); \
158 : [rt] "d" (value)); \
169 : [rt] "d" (value)); \
184 : [rt] "d" (value)); \
[all …]
/linux/arch/arm64/kvm/hyp/
A Dvgic-v3-sr.c732 u32 vid = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_dir()
755 u32 vid = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_eoir()
878 vcpu_set_reg(vcpu, rt, val); in __vgic_v3_read_apxrn()
892 u32 vmcr, int rt) in __vgic_v3_read_apxr0() argument
898 u32 vmcr, int rt) in __vgic_v3_read_apxr1() argument
956 vcpu_set_reg(vcpu, rt, vmcr); in __vgic_v3_read_pmr()
974 vcpu_set_reg(vcpu, rt, val); in __vgic_v3_read_rpr()
993 vcpu_set_reg(vcpu, rt, val); in __vgic_v3_read_ctlr()
1015 int rt; in __vgic_v3_perform_cpuif_access() local
1134 rt = kvm_vcpu_sys_get_rt(vcpu); in __vgic_v3_perform_cpuif_access()
[all …]
/linux/arch/arm/mm/
A Dcache-v7m.S25 ldr \rt, [\rt]
31 str\c \rt, [\tmp]
35 .macro read_ccsidr, rt
39 .macro read_clidr, rt
50 .macro dcisw, rt, tmp
57 .macro dccisw, rt, tmp
82 .macro dccmvau, rt, tmp
105 v7m_cacheop \rt, \rt, V7M_SCB_ICIALLU
106 mov \rt, #0
114 v7m_cacheop \rt, \rt, V7M_SCB_BPIALL
[all …]

Completed in 97 milliseconds

12345678910>>...101