/Linux-v4.19/sound/usb/ |
D | mixer.c | 140 #define filter_error(cval, err) \ argument 141 ((cval)->head.mixer->ignore_ctl_error ? 0 : (err)) 154 struct usb_mixer_elem_info *cval) in check_mapped_dB() argument 157 cval->dBmin = p->dB->min; in check_mapped_dB() 158 cval->dBmax = p->dB->max; in check_mapped_dB() 159 cval->initialized = 1; in check_mapped_dB() 217 static int convert_signed_value(struct usb_mixer_elem_info *cval, int val) in convert_signed_value() argument 219 switch (cval->val_type) { in convert_signed_value() 247 static int convert_bytes_value(struct usb_mixer_elem_info *cval, int val) in convert_bytes_value() argument 249 switch (cval->val_type) { in convert_bytes_value() [all …]
|
D | mixer_quirks.c | 73 struct usb_mixer_elem_info *cval; in snd_create_std_mono_ctl_offset() local 76 cval = kzalloc(sizeof(*cval), GFP_KERNEL); in snd_create_std_mono_ctl_offset() 77 if (!cval) in snd_create_std_mono_ctl_offset() 80 snd_usb_mixer_elem_init_std(&cval->head, mixer, unitid); in snd_create_std_mono_ctl_offset() 81 cval->val_type = val_type; in snd_create_std_mono_ctl_offset() 82 cval->channels = 1; in snd_create_std_mono_ctl_offset() 83 cval->control = control; in snd_create_std_mono_ctl_offset() 84 cval->cmask = cmask; in snd_create_std_mono_ctl_offset() 85 cval->idx_off = idx_off; in snd_create_std_mono_ctl_offset() 89 cval->min = 0; in snd_create_std_mono_ctl_offset() [all …]
|
D | mixer.h | 86 int snd_usb_mixer_set_ctl_value(struct usb_mixer_elem_info *cval, 104 int snd_usb_set_cur_mix_value(struct usb_mixer_elem_info *cval, int channel, 107 int snd_usb_get_cur_mix_value(struct usb_mixer_elem_info *cval,
|
D | mixer_quirks.h | 14 struct usb_mixer_elem_info *cval, int unitid,
|
/Linux-v4.19/arch/arm/include/asm/ |
D | arch_timer.h | 84 u64 cval; in arch_counter_get_cntpct() local 87 asm volatile("mrrc p15, 0, %Q0, %R0, c14" : "=r" (cval)); in arch_counter_get_cntpct() 88 return cval; in arch_counter_get_cntpct() 93 u64 cval; in arch_counter_get_cntvct() local 96 asm volatile("mrrc p15, 1, %Q0, %R0, c14" : "=r" (cval)); in arch_counter_get_cntvct() 97 return cval; in arch_counter_get_cntvct()
|
/Linux-v4.19/arch/powerpc/platforms/embedded6xx/ |
D | ls_uart.c | 60 unsigned char cval = UART_LCR_WLEN8; in avr_uart_configure() local 66 out_8(avr_addr + UART_LCR, cval); /* initialise UART */ in avr_uart_configure() 70 cval |= UART_LCR_STOP | UART_LCR_PARITY | UART_LCR_EPAR; in avr_uart_configure() 72 out_8(avr_addr + UART_LCR, cval); /* Set character format */ in avr_uart_configure() 74 out_8(avr_addr + UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in avr_uart_configure() 77 out_8(avr_addr + UART_LCR, cval); /* reset DLAB */ in avr_uart_configure()
|
/Linux-v4.19/sound/pci/ice1712/ |
D | amp.c | 35 unsigned short cval; in wm_put() local 36 cval = (reg << 9) | val; in wm_put() 37 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put()
|
/Linux-v4.19/drivers/staging/speakup/ |
D | serialio.c | 49 unsigned int cval = 0; in spk_serial_init() local 62 cval = cflag & (CSIZE | CSTOPB); in spk_serial_init() 64 cval >>= 8; in spk_serial_init() 66 cval >>= 4; in spk_serial_init() 69 cval |= UART_LCR_PARITY; in spk_serial_init() 71 cval |= UART_LCR_EPAR; in spk_serial_init() 87 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ in spk_serial_init() 90 outb(cval, ser->port + UART_LCR); /* reset DLAB */ in spk_serial_init()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | atafb_iplan2p2.c | 198 u32 cval[4]; in atafb_iplan2p2_fillrect() local 204 expand8_col2mask(color, cval); in atafb_iplan2p2_fillrect() 207 fill8_col(dest8, cval); in atafb_iplan2p2_fillrect() 214 expand16_col2mask(color, cval); in atafb_iplan2p2_fillrect() 220 d = fill16_col(d, rows, cval); in atafb_iplan2p2_fillrect() 230 expand8_col2mask(color, cval); in atafb_iplan2p2_fillrect() 233 fill8_col(dest8, cval); in atafb_iplan2p2_fillrect()
|
D | atafb_iplan2p4.c | 212 u32 cval[4]; in atafb_iplan2p4_fillrect() local 218 expand8_col2mask(color, cval); in atafb_iplan2p4_fillrect() 221 fill8_col(dest8, cval); in atafb_iplan2p4_fillrect() 228 expand16_col2mask(color, cval); in atafb_iplan2p4_fillrect() 234 d = fill16_col(d, rows, cval); in atafb_iplan2p4_fillrect() 244 expand8_col2mask(color, cval); in atafb_iplan2p4_fillrect() 247 fill8_col(dest8, cval); in atafb_iplan2p4_fillrect()
|
D | atafb_iplan2p8.c | 247 u32 cval[4]; in atafb_iplan2p8_fillrect() local 253 expand8_col2mask(color, cval); in atafb_iplan2p8_fillrect() 256 fill8_col(dest8, cval); in atafb_iplan2p8_fillrect() 263 expand16_col2mask(color, cval); in atafb_iplan2p8_fillrect() 269 d = fill16_col(d, rows, cval); in atafb_iplan2p8_fillrect() 279 expand8_col2mask(color, cval); in atafb_iplan2p8_fillrect() 282 fill8_col(dest8, cval); in atafb_iplan2p8_fillrect()
|
/Linux-v4.19/drivers/tty/serial/ |
D | pxa.c | 432 unsigned char cval, fcr = 0; in serial_pxa_set_termios() local 439 cval = UART_LCR_WLEN5; in serial_pxa_set_termios() 442 cval = UART_LCR_WLEN6; in serial_pxa_set_termios() 445 cval = UART_LCR_WLEN7; in serial_pxa_set_termios() 449 cval = UART_LCR_WLEN8; in serial_pxa_set_termios() 454 cval |= UART_LCR_STOP; in serial_pxa_set_termios() 456 cval |= UART_LCR_PARITY; in serial_pxa_set_termios() 458 cval |= UART_LCR_EPAR; in serial_pxa_set_termios() 532 serial_out(up, UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in serial_pxa_set_termios() 543 serial_out(up, UART_LCR, cval); /* reset DLAB */ in serial_pxa_set_termios() [all …]
|
D | serial_txx9.c | 630 unsigned int cval, fcr = 0; in serial_txx9_set_termios() local 640 cval = sio_in(up, TXX9_SILCR); in serial_txx9_set_termios() 642 cval &= ~TXX9_SILCR_UMODE_MASK; in serial_txx9_set_termios() 645 cval |= TXX9_SILCR_UMODE_7BIT; in serial_txx9_set_termios() 651 cval |= TXX9_SILCR_UMODE_8BIT; in serial_txx9_set_termios() 655 cval &= ~TXX9_SILCR_USBL_MASK; in serial_txx9_set_termios() 657 cval |= TXX9_SILCR_USBL_2BIT; in serial_txx9_set_termios() 659 cval |= TXX9_SILCR_USBL_1BIT; in serial_txx9_set_termios() 660 cval &= ~(TXX9_SILCR_UPEN | TXX9_SILCR_UEPS); in serial_txx9_set_termios() 662 cval |= TXX9_SILCR_UPEN; in serial_txx9_set_termios() [all …]
|
D | xilinx_uartps.c | 675 unsigned int cval = 0; in cdns_uart_set_termios() local 755 cval |= CDNS_UART_MR_CHARLEN_6_BIT; in cdns_uart_set_termios() 758 cval |= CDNS_UART_MR_CHARLEN_7_BIT; in cdns_uart_set_termios() 762 cval |= CDNS_UART_MR_CHARLEN_8_BIT; in cdns_uart_set_termios() 770 cval |= CDNS_UART_MR_STOPMODE_2_BIT; /* 2 STOP bits */ in cdns_uart_set_termios() 772 cval |= CDNS_UART_MR_STOPMODE_1_BIT; /* 1 STOP bit */ in cdns_uart_set_termios() 778 cval |= CDNS_UART_MR_PARITY_MARK; in cdns_uart_set_termios() 780 cval |= CDNS_UART_MR_PARITY_SPACE; in cdns_uart_set_termios() 783 cval |= CDNS_UART_MR_PARITY_ODD; in cdns_uart_set_termios() 785 cval |= CDNS_UART_MR_PARITY_EVEN; in cdns_uart_set_termios() [all …]
|
D | sunsu.c | 783 unsigned char cval, fcr = 0; in sunsu_change_speed() local 788 cval = 0x00; in sunsu_change_speed() 791 cval = 0x01; in sunsu_change_speed() 794 cval = 0x02; in sunsu_change_speed() 798 cval = 0x03; in sunsu_change_speed() 803 cval |= 0x04; in sunsu_change_speed() 805 cval |= UART_LCR_PARITY; in sunsu_change_speed() 807 cval |= UART_LCR_EPAR; in sunsu_change_speed() 810 cval |= UART_LCR_SPAR; in sunsu_change_speed() 887 serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in sunsu_change_speed() [all …]
|
D | omap-serial.c | 843 unsigned char cval = 0; in serial_omap_set_termios() local 849 cval = UART_LCR_WLEN5; in serial_omap_set_termios() 852 cval = UART_LCR_WLEN6; in serial_omap_set_termios() 855 cval = UART_LCR_WLEN7; in serial_omap_set_termios() 859 cval = UART_LCR_WLEN8; in serial_omap_set_termios() 864 cval |= UART_LCR_STOP; in serial_omap_set_termios() 866 cval |= UART_LCR_PARITY; in serial_omap_set_termios() 868 cval |= UART_LCR_EPAR; in serial_omap_set_termios() 870 cval |= UART_LCR_SPAR; in serial_omap_set_termios() 938 serial_out(up, UART_LCR, cval); /* reset DLAB */ in serial_omap_set_termios() [all …]
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_l4lb.c | 334 struct ctl_value *cval; in process_packet() local 429 cval = bpf_map_lookup_elem(&ctl_array, &v6_intf_pos); in process_packet() 430 if (!cval) in process_packet() 432 ifindex = cval->ifindex; in process_packet() 436 cval = bpf_map_lookup_elem(&ctl_array, &v4_intf_pos); in process_packet() 437 if (!cval) in process_packet() 439 ifindex = cval->ifindex; in process_packet()
|
D | test_l4lb_noinline.c | 334 struct ctl_value *cval; in process_packet() local 429 cval = bpf_map_lookup_elem(&ctl_array, &v6_intf_pos); in process_packet() 430 if (!cval) in process_packet() 432 ifindex = cval->ifindex; in process_packet() 436 cval = bpf_map_lookup_elem(&ctl_array, &v4_intf_pos); in process_packet() 437 if (!cval) in process_packet() 439 ifindex = cval->ifindex; in process_packet()
|
D | test_xdp_noinline.c | 289 bool encap_v6(struct xdp_md *xdp, struct ctl_value *cval, in encap_v6() argument 310 memcpy(new_eth->eth_dest, cval->mac, 6); in encap_v6() 332 bool encap_v4(struct xdp_md *xdp, struct ctl_value *cval, in encap_v4() argument 358 memcpy(new_eth->eth_dest, cval->mac, 6); in encap_v4() 716 struct ctl_value *cval; in process_packet() local 786 cval = bpf_map_lookup_elem(&ctl_array, &mac_addr_pos); in process_packet() 787 if (!cval) in process_packet() 790 if (!encap_v6(xdp, cval, &pckt, dst, pkt_bytes)) in process_packet() 793 if (!encap_v4(xdp, cval, &pckt, dst, pkt_bytes)) in process_packet()
|
/Linux-v4.19/drivers/mmc/core/ |
D | sdio_uart.c | 254 unsigned char cval, fcr = 0; in sdio_uart_change_speed() local 259 cval = UART_LCR_WLEN5; in sdio_uart_change_speed() 262 cval = UART_LCR_WLEN6; in sdio_uart_change_speed() 265 cval = UART_LCR_WLEN7; in sdio_uart_change_speed() 269 cval = UART_LCR_WLEN8; in sdio_uart_change_speed() 274 cval |= UART_LCR_STOP; in sdio_uart_change_speed() 276 cval |= UART_LCR_PARITY; in sdio_uart_change_speed() 278 cval |= UART_LCR_EPAR; in sdio_uart_change_speed() 339 port->lcr = cval; in sdio_uart_change_speed() 342 sdio_out(port, UART_LCR, cval | UART_LCR_DLAB); in sdio_uart_change_speed() [all …]
|
/Linux-v4.19/virt/kvm/arm/ |
D | arch_timer.c | 124 u64 cval, now; in kvm_timer_compute_delta() local 126 cval = timer_ctx->cnt_cval; in kvm_timer_compute_delta() 129 if (now < cval) { in kvm_timer_compute_delta() 133 cval - now, in kvm_timer_compute_delta() 223 u64 cval, now; in kvm_timer_should_fire() local 238 cval = timer_ctx->cnt_cval; in kvm_timer_should_fire() 241 return cval <= now; in kvm_timer_should_fire()
|
/Linux-v4.19/sound/synth/emux/ |
D | emux_nrpn.c | 57 int i, cval; in send_converted_effect() local 60 cval = table[i].convert(val); in send_converted_effect() 62 cval, mode); in send_converted_effect()
|
/Linux-v4.19/fs/nls/ |
D | nls_base.c | 30 int cval; member 66 if ((c0 & t->cmask) == t->cval) { in utf8_to_utf32() 104 *s = (u8) (t->cval | (l >> c)); in utf32_to_utf8()
|
/Linux-v4.19/drivers/tty/serial/8250/ |
D | 8250_omap.c | 331 unsigned char cval = 0; in omap_8250_set_termios() local 336 cval = UART_LCR_WLEN5; in omap_8250_set_termios() 339 cval = UART_LCR_WLEN6; in omap_8250_set_termios() 342 cval = UART_LCR_WLEN7; in omap_8250_set_termios() 346 cval = UART_LCR_WLEN8; in omap_8250_set_termios() 351 cval |= UART_LCR_STOP; in omap_8250_set_termios() 353 cval |= UART_LCR_PARITY; in omap_8250_set_termios() 355 cval |= UART_LCR_EPAR; in omap_8250_set_termios() 357 cval |= UART_LCR_SPAR; in omap_8250_set_termios() 414 up->lcr = cval; in omap_8250_set_termios()
|
/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-hwbreak.c | 140 char cval __attribute__((unused)); in read_var() local 147 cval = *(char *)dummy_var; in read_var()
|