/Linux-v6.6/sound/usb/6fire/ |
D | midi.c | 24 struct midi_runtime *rt = urb->context; in usb6fire_midi_out_handler() local 28 spin_lock_irqsave(&rt->out_lock, flags); in usb6fire_midi_out_handler() 30 if (rt->out) { in usb6fire_midi_out_handler() 31 ret = snd_rawmidi_transmit(rt->out, rt->out_buffer + 4, in usb6fire_midi_out_handler() 34 rt->out_buffer[1] = ret + 2; in usb6fire_midi_out_handler() 35 rt->out_buffer[3] = rt->out_serial++; in usb6fire_midi_out_handler() 44 rt->out = NULL; in usb6fire_midi_out_handler() 46 spin_unlock_irqrestore(&rt->out_lock, flags); in usb6fire_midi_out_handler() 50 struct midi_runtime *rt, u8 *data, int length) in usb6fire_midi_in_received() argument 54 spin_lock_irqsave(&rt->in_lock, flags); in usb6fire_midi_in_received() [all …]
|
D | pcm.c | 70 static int usb6fire_pcm_set_rate(struct pcm_runtime *rt) in usb6fire_pcm_set_rate() argument 73 struct control_runtime *ctrl_rt = rt->chip->control; in usb6fire_pcm_set_rate() 78 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_set_rate() 80 rates[rt->rate]); in usb6fire_pcm_set_rate() 84 ret = ctrl_rt->set_rate(ctrl_rt, rt->rate); in usb6fire_pcm_set_rate() 86 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_set_rate() 88 rates[rt->rate]); in usb6fire_pcm_set_rate() 95 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_set_rate() 97 rates[rt->rate]); in usb6fire_pcm_set_rate() 104 dev_err(&rt->chip->dev->dev, in usb6fire_pcm_set_rate() [all …]
|
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 …]
|
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-v6.6/drivers/thunderbolt/ |
D | retimer.c | 21 * @rt: Retimer device 29 int tb_retimer_nvm_read(struct tb_retimer *rt, unsigned int address, void *buf, in tb_retimer_nvm_read() argument 32 return usb4_port_retimer_nvm_read(rt->port, rt->index, address, buf, size); in tb_retimer_nvm_read() 38 struct tb_retimer *rt = tb_to_retimer(nvm->dev); in nvm_read() local 41 pm_runtime_get_sync(&rt->dev); in nvm_read() 43 if (!mutex_trylock(&rt->tb->lock)) { in nvm_read() 48 ret = tb_retimer_nvm_read(rt, offset, val, bytes); in nvm_read() 49 mutex_unlock(&rt->tb->lock); in nvm_read() 52 pm_runtime_mark_last_busy(&rt->dev); in nvm_read() 53 pm_runtime_put_autosuspend(&rt->dev); in nvm_read() [all …]
|
/Linux-v6.6/arch/mips/ralink/ |
D | timer.c | 37 static inline void rt_timer_w32(struct rt_timer *rt, u8 reg, u32 val) in rt_timer_w32() argument 39 __raw_writel(val, rt->membase + reg); in rt_timer_w32() 42 static inline u32 rt_timer_r32(struct rt_timer *rt, u8 reg) in rt_timer_r32() argument 44 return __raw_readl(rt->membase + reg); in rt_timer_r32() 49 struct rt_timer *rt = (struct rt_timer *) _rt; in rt_timer_irq() local 51 rt_timer_w32(rt, TIMER_REG_TMR0LOAD, rt->timer_freq / rt->timer_div); in rt_timer_irq() 52 rt_timer_w32(rt, TIMER_REG_TMRSTAT, TMRSTAT_TMR0INT); in rt_timer_irq() 58 static int rt_timer_request(struct rt_timer *rt) in rt_timer_request() argument 60 int err = request_irq(rt->irq, rt_timer_irq, 0, in rt_timer_request() 61 dev_name(rt->dev), rt); in rt_timer_request() [all …]
|
/Linux-v6.6/sound/aoa/core/ |
D | gpio-pmf.c | 14 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 …]
|
D | gpio-feature.c | 133 static void ftr_gpio_set_##name(struct gpio_runtime *rt, int on)\ 137 if (unlikely(!rt)) return; \ 152 rt->implementation_private &= ~(1<<bit); \ 153 rt->implementation_private |= (!!on << bit); \ 155 static int ftr_gpio_get_##name(struct gpio_runtime *rt) \ 157 if (unlikely(!rt)) return 0; \ 158 return (rt->implementation_private>>bit)&1; \ 166 static void ftr_gpio_set_hw_reset(struct gpio_runtime *rt, int on) in ftr_gpio_set_hw_reset() argument 170 if (unlikely(!rt)) return; in ftr_gpio_set_hw_reset() 183 static void ftr_gpio_all_amps_off(struct gpio_runtime *rt) in ftr_gpio_all_amps_off() argument [all …]
|
/Linux-v6.6/net/x25/ |
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-v6.6/arch/powerpc/xmon/ |
D | spu-insns.h | 15 RRR | op | RC | RB | RA | RT | RI7 | op | I7 | RA | RT | 21 RI8 | op | I8 | RA | RT | RI10 | op | I10 | RA | RT | 27 RI16 | op | I16 | RT | RI18 | op | I18 | RT | 33 RR | op | RB | RA | RT | LBT | op |RO| I16 | RO | 53 ASM_RRR mnemonic RC, RA, RB, RT ASM_RI4 mnemonic RT, RA, I4 54 ASM_RI7 mnemonic RT, RA, I7 57 ASM_RUI8 mnemonic RT, RA, UI8 ASM_AI10 mnemonic RA, I10 58 ASM_RI10 mnemonic RT, RA, R10 59 ASM_RI10IDX mnemonic RT, I10(RA) 62 ASM_I16W mnemonic I16W ASM_RI18 mnemonic RT, I18 [all …]
|
/Linux-v6.6/drivers/leds/flash/ |
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 = to_rt8515(fled); in rt8515_led_flash_strobe_set() local [all …]
|
/Linux-v6.6/sound/usb/hiface/ |
D | pcm.c | 112 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-v6.6/arch/mips/mm/ |
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 …]
|
/Linux-v6.6/arch/mips/include/asm/ |
D | uasm.h | 212 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument 213 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument 214 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument 215 # 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 219 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument 220 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument 221 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument [all …]
|
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-v6.6/net/mctp/test/ |
D | route-test.c | 8 struct mctp_route rt; member 12 static int mctp_test_route_output(struct mctp_route *rt, struct sk_buff *skb) in mctp_test_route_output() argument 14 struct mctp_test_route *test_rt = container_of(rt, struct mctp_test_route, rt); in mctp_test_route_output() 24 struct mctp_test_route *rt; in mctp_route_test_alloc() local 26 rt = kzalloc(sizeof(*rt), GFP_KERNEL); in mctp_route_test_alloc() 27 if (!rt) in mctp_route_test_alloc() 30 INIT_LIST_HEAD(&rt->rt.list); in mctp_route_test_alloc() 31 refcount_set(&rt->rt.refs, 1); in mctp_route_test_alloc() 32 rt->rt.output = mctp_test_route_output; in mctp_route_test_alloc() 34 skb_queue_head_init(&rt->pkts); in mctp_route_test_alloc() [all …]
|
/Linux-v6.6/arch/mips/cavium-octeon/crypto/ |
D | octeon-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-v6.6/net/ipv6/ |
D | route.c | 110 struct fib6_info *rt, struct dst_entry *dst, 138 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add() argument 142 rt->dst.rt_uncached_list = ul; in rt6_uncached_list_add() 145 list_add_tail(&rt->dst.rt_uncached, &ul->head); in rt6_uncached_list_add() 149 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del() argument 151 if (!list_empty(&rt->dst.rt_uncached)) { in rt6_uncached_list_del() 152 struct uncached_list *ul = rt->dst.rt_uncached_list; in rt6_uncached_list_del() 155 list_del_init(&rt->dst.rt_uncached); in rt6_uncached_list_del() 166 struct rt6_info *rt, *safe; in rt6_uncached_list_flush_dev() local 172 list_for_each_entry_safe(rt, safe, &ul->head, dst.rt_uncached) { in rt6_uncached_list_flush_dev() [all …]
|
/Linux-v6.6/net/ipv4/ |
D | xfrm4_policy.c | 26 struct rtable *rt; in __xfrm4_dst_lookup() local 36 rt = __ip_route_output_key(net, fl4); in __xfrm4_dst_lookup() 37 if (!IS_ERR(rt)) in __xfrm4_dst_lookup() 38 return &rt->dst; in __xfrm4_dst_lookup() 40 return ERR_CAST(rt); in __xfrm4_dst_lookup() 72 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst() local 75 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst() 82 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst() 83 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst() 85 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst() [all …]
|
D | route.c | 407 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup() local 413 if (likely(rt->rt_gw_family == AF_INET)) { in ipv4_neigh_lookup() 414 n = ip_neigh_gw4(dev, rt->rt_gw4); in ipv4_neigh_lookup() 415 } else if (rt->rt_gw_family == AF_INET6) { in ipv4_neigh_lookup() 416 n = ip_neigh_gw6(dev, &rt->rt_gw6); in ipv4_neigh_lookup() 434 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh() local 438 if (rt->rt_gw_family == AF_INET) { in ipv4_confirm_neigh() 439 pkey = (const __be32 *)&rt->rt_gw4; in ipv4_confirm_neigh() 440 } else if (rt->rt_gw_family == AF_INET6) { in ipv4_confirm_neigh() 441 return __ipv6_confirm_neigh_stub(dev, &rt->rt_gw6); in ipv4_confirm_neigh() [all …]
|
/Linux-v6.6/arch/powerpc/crypto/ |
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-v6.6/arch/arm64/boot/dts/nvidia/ |
D | tegra234-p3740-0002+p3701-0008.dts | 216 widgets = "Microphone", "CVB-RT MIC Jack", 217 "Microphone", "CVB-RT MIC", 218 "Headphone", "CVB-RT HP Jack", 219 "Speaker", "CVB-RT SPK"; 222 "CVB-RT AIF1 Playback", "I2S4 DAP-Playback", 223 "I2S4 DAP-Capture", "CVB-RT AIF1 Capture", 225 "CVB-RT HP Jack", "CVB-RT HPOL", 226 "CVB-RT HP Jack", "CVB-RT HPOR", 227 "CVB-RT IN1P", "CVB-RT MIC Jack", 228 "CVB-RT IN2P", "CVB-RT MIC Jack", [all …]
|
/Linux-v6.6/drivers/net/appletalk/ |
D | ipddp.c | 56 static int ipddp_delete(struct ipddp_route *rt); 57 static struct ipddp_route* __ipddp_find_route(struct ipddp_route *rt); 124 struct ipddp_route *rt; in ipddp_xmit() local 135 for(rt = ipddp_route_list; rt != NULL; rt = rt->next) in ipddp_xmit() 137 if(rt->ip == paddr) in ipddp_xmit() 140 if(rt == NULL) { in ipddp_xmit() 145 our_addr = atalk_find_dev_addr(rt->dev); in ipddp_xmit() 164 if(rt->dev->type == ARPHRD_LOCALTLK) in ipddp_xmit() 171 ddp->deh_dnet = rt->at.s_net; /* FIXME more hops?? */ in ipddp_xmit() 174 ddp->deh_dnode = rt->at.s_node; in ipddp_xmit() [all …]
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_ipv6_route.c | 15 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() 49 BPF_SEQ_PRINTF(seq, "%08x %08x %08x %08x %8s\n", rt->fib6_metric, in dump_ipv6_route() [all …]
|
/Linux-v6.6/arch/arm/mm/ |
D | cache-v7m.S | 24 .macro v7m_cache_read, rt, reg 25 movw \rt, #:lower16:BASEADDR_V7M_SCB + \reg 26 movt \rt, #:upper16:BASEADDR_V7M_SCB + \reg 27 ldr \rt, [\rt] 30 .macro v7m_cacheop, rt, tmp, op, c = al 33 str\c \rt, [\tmp] 37 .macro read_ccsidr, rt 38 v7m_cache_read \rt, V7M_SCB_CCSIDR 41 .macro read_clidr, rt 42 v7m_cache_read \rt, V7M_SCB_CLIDR [all …]
|