/linux-6.1.9/drivers/md/ |
D | dm-kcopyd.c | 206 static void wake(struct dm_kcopyd_client *kc) in wake() argument 208 queue_work(kc->kcopyd_wq, &kc->kcopyd_work); in wake() 241 static void kcopyd_put_pages(struct dm_kcopyd_client *kc, struct page_list *pl) in kcopyd_put_pages() argument 248 if (kc->nr_free_pages >= kc->nr_reserved_pages) in kcopyd_put_pages() 251 pl->next = kc->pages; in kcopyd_put_pages() 252 kc->pages = pl; in kcopyd_put_pages() 253 kc->nr_free_pages++; in kcopyd_put_pages() 260 static int kcopyd_get_pages(struct dm_kcopyd_client *kc, in kcopyd_get_pages() argument 271 pl = kc->pages; in kcopyd_get_pages() 274 kc->pages = pl->next; in kcopyd_get_pages() [all …]
|
D | dm-zoned-reclaim.c | 20 struct dm_kcopyd_client *kc; member 175 dm_kcopyd_copy(zrc->kc, &src, 1, &dst, flags, in dmz_reclaim_copy() 568 zrc->kc = dm_kcopyd_client_create(&zrc->kc_throttle); in dmz_ctr_reclaim() 569 if (IS_ERR(zrc->kc)) { in dmz_ctr_reclaim() 570 ret = PTR_ERR(zrc->kc); in dmz_ctr_reclaim() 571 zrc->kc = NULL; in dmz_ctr_reclaim() 589 if (zrc->kc) in dmz_ctr_reclaim() 590 dm_kcopyd_client_destroy(zrc->kc); in dmz_ctr_reclaim() 603 dm_kcopyd_client_destroy(zrc->kc); in dmz_dtr_reclaim()
|
D | raid5-ppl.c | 207 struct kmem_cache *kc = pool_data; in ppl_io_pool_alloc() local 210 io = kmem_cache_alloc(kc, gfp_mask); in ppl_io_pool_alloc() 216 kmem_cache_free(kc, io); in ppl_io_pool_alloc() 225 struct kmem_cache *kc = pool_data; in ppl_io_pool_free() local 229 kmem_cache_free(kc, io); in ppl_io_pool_free()
|
/linux-6.1.9/kernel/time/ |
D | posix-timers.c | 501 const struct k_clock *kc = clockid_to_kclock(which_clock); in do_timer_create() local 506 if (!kc) in do_timer_create() 508 if (!kc->timer_create) in do_timer_create() 525 new_timer->kclock = kc; in do_timer_create() 556 error = kc->timer_create(new_timer); in do_timer_create() 672 const struct k_clock *kc = timr->kclock; in common_timer_get() local 691 now = kc->clock_get_ktime(timr->it_clock); in common_timer_get() 698 timr->it_overrun += kc->timer_forward(timr, now); in common_timer_get() 700 remaining = kc->timer_remaining(timr, now); in common_timer_get() 718 const struct k_clock *kc; in do_timer_gettime() local [all …]
|
/linux-6.1.9/sound/pci/ice1712/ |
D | se.c | 420 static int se200pci_cont_volume_info(struct snd_kcontrol *kc, in se200pci_cont_volume_info() argument 432 static int se200pci_cont_enum_info(struct snd_kcontrol *kc, in se200pci_cont_enum_info() argument 437 n = kc->private_value; in se200pci_cont_enum_info() 444 static int se200pci_cont_volume_get(struct snd_kcontrol *kc, in se200pci_cont_volume_get() argument 447 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); in se200pci_cont_volume_get() 449 int n = kc->private_value; in se200pci_cont_volume_get() 455 static int se200pci_cont_boolean_get(struct snd_kcontrol *kc, in se200pci_cont_boolean_get() argument 458 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); in se200pci_cont_boolean_get() 460 int n = kc->private_value; in se200pci_cont_boolean_get() 465 static int se200pci_cont_enum_get(struct snd_kcontrol *kc, in se200pci_cont_enum_get() argument [all …]
|
/linux-6.1.9/include/linux/ |
D | dm-kcopyd.h | 53 void dm_kcopyd_client_destroy(struct dm_kcopyd_client *kc); 54 void dm_kcopyd_client_flush(struct dm_kcopyd_client *kc); 66 void dm_kcopyd_copy(struct dm_kcopyd_client *kc, struct dm_io_region *from, 81 void *dm_kcopyd_prepare_callback(struct dm_kcopyd_client *kc, 85 void dm_kcopyd_zero(struct dm_kcopyd_client *kc,
|
D | mempool.h | 60 mempool_init_slab_pool(mempool_t *pool, int min_nr, struct kmem_cache *kc) in mempool_init_slab_pool() argument 63 mempool_free_slab, (void *) kc); in mempool_init_slab_pool() 67 mempool_create_slab_pool(int min_nr, struct kmem_cache *kc) in mempool_create_slab_pool() argument 70 (void *) kc); in mempool_create_slab_pool()
|
/linux-6.1.9/sound/soc/ |
D | soc-topology.c | 633 struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale) in soc_tplg_create_tlv_db_scale() argument 648 kc->tlv.p = (void *)p; in soc_tplg_create_tlv_db_scale() 653 struct snd_kcontrol_new *kc, struct snd_soc_tplg_ctl_hdr *tc) in soc_tplg_create_tlv() argument 665 return soc_tplg_create_tlv_db_scale(tplg, kc, in soc_tplg_create_tlv() 683 struct snd_kcontrol_new kc; in soc_tplg_dbytes_create() local 709 memset(&kc, 0, sizeof(kc)); in soc_tplg_dbytes_create() 710 kc.name = be->hdr.name; in soc_tplg_dbytes_create() 711 kc.private_value = (long)sbe; in soc_tplg_dbytes_create() 712 kc.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in soc_tplg_dbytes_create() 713 kc.access = le32_to_cpu(be->hdr.access); in soc_tplg_dbytes_create() [all …]
|
/linux-6.1.9/sound/parisc/ |
D | harmony.c | 650 snd_harmony_mixercontrol_info(struct snd_kcontrol *kc, in snd_harmony_mixercontrol_info() argument 653 int mask = (kc->private_value >> 16) & 0xff; in snd_harmony_mixercontrol_info() 654 int left_shift = (kc->private_value) & 0xff; in snd_harmony_mixercontrol_info() 655 int right_shift = (kc->private_value >> 8) & 0xff; in snd_harmony_mixercontrol_info() 667 snd_harmony_volume_get(struct snd_kcontrol *kc, in snd_harmony_volume_get() argument 670 struct snd_harmony *h = snd_kcontrol_chip(kc); in snd_harmony_volume_get() 671 int shift_left = (kc->private_value) & 0xff; in snd_harmony_volume_get() 672 int shift_right = (kc->private_value >> 8) & 0xff; in snd_harmony_volume_get() 673 int mask = (kc->private_value >> 16) & 0xff; in snd_harmony_volume_get() 674 int invert = (kc->private_value >> 24) & 0xff; in snd_harmony_volume_get() [all …]
|
/linux-6.1.9/sound/soc/codecs/ |
D | hdac_hdmi.c | 763 struct snd_kcontrol *kc, int event) in hdac_hdmi_pin_output_widget_event() argument 808 struct snd_kcontrol *kc, int event) in hdac_hdmi_cvt_output_widget_event() argument 863 struct snd_kcontrol *kc, int event) in hdac_hdmi_pin_mux_widget_event() argument 872 if (!kc) in hdac_hdmi_pin_mux_widget_event() 873 kc = w->kcontrols[0]; in hdac_hdmi_pin_mux_widget_event() 875 mux_idx = dapm_kcontrol_get_value(kc); in hdac_hdmi_pin_mux_widget_event() 962 struct snd_kcontrol_new *kc; in hdac_hdmi_create_pin_port_muxs() local 972 kc = devm_kzalloc(&hdev->dev, sizeof(*kc), GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs() 973 if (!kc) in hdac_hdmi_create_pin_port_muxs() 982 kc->name = devm_kstrdup(&hdev->dev, kc_name, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs() [all …]
|
D | wcd9335.c | 1260 static int slim_rx_mux_get(struct snd_kcontrol *kc, in slim_rx_mux_get() argument 1263 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kc); in slim_rx_mux_get() 1272 static int slim_rx_mux_put(struct snd_kcontrol *kc, in slim_rx_mux_put() argument 1275 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kc); in slim_rx_mux_put() 1277 struct soc_enum *e = (struct soc_enum *)kc->private_value; in slim_rx_mux_put() 1314 snd_soc_dapm_mux_update_power(w->dapm, kc, wcd->rx_port_value[port_id], in slim_rx_mux_put() 1322 static int slim_tx_mixer_get(struct snd_kcontrol *kc, in slim_tx_mixer_get() argument 1326 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kc); in slim_tx_mixer_get() 1328 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kc); in slim_tx_mixer_get() 1330 (struct soc_mixer_control *)kc->private_value; in slim_tx_mixer_get() [all …]
|
D | wcd934x.c | 1402 struct snd_kcontrol *kc, int event) in wcd934x_codec_enable_mclk() argument 3214 static int wcd934x_compander_get(struct snd_kcontrol *kc, in wcd934x_compander_get() argument 3217 struct snd_soc_component *component = snd_soc_kcontrol_component(kc); in wcd934x_compander_get() 3218 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; in wcd934x_compander_get() 3226 static int wcd934x_compander_set(struct snd_kcontrol *kc, in wcd934x_compander_set() argument 3229 struct snd_soc_component *component = snd_soc_kcontrol_component(kc); in wcd934x_compander_set() 3231 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; in wcd934x_compander_set() 3267 static int wcd934x_rx_hph_mode_get(struct snd_kcontrol *kc, in wcd934x_rx_hph_mode_get() argument 3270 struct snd_soc_component *component = snd_soc_kcontrol_component(kc); in wcd934x_rx_hph_mode_get() 3278 static int wcd934x_rx_hph_mode_put(struct snd_kcontrol *kc, in wcd934x_rx_hph_mode_put() argument [all …]
|
D | wsa881x.c | 742 static int wsa881x_put_pa_gain(struct snd_kcontrol *kc, in wsa881x_put_pa_gain() argument 745 struct snd_soc_component *comp = snd_soc_kcontrol_component(kc); in wsa881x_put_pa_gain() 747 (struct soc_mixer_control *)kc->private_value; in wsa881x_put_pa_gain()
|
/linux-6.1.9/drivers/media/rc/ |
D | imon.c | 132 u32 kc; /* current input keycode */ member 1348 } else if (ictx->kc == KEY_CHANNELUP && (buf[2] & 0x40) != 0x40) { in imon_mouse_event() 1350 } else if (ictx->kc == KEY_CHANNELDOWN && (buf[2] & 0x40) != 0x40) { in imon_mouse_event() 1372 ictx->last_keycode = ictx->kc; in imon_mouse_event() 1422 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys() 1487 ictx->kc = KEY_UNKNOWN; in imon_pad_to_keys() 1519 ictx->kc = imon_remote_key_lookup(ictx, scancode); in imon_pad_to_keys() 1538 if (ictx->kc == KEY_RESERVED && buf[0] == 0x02 && buf[3] == 0x00) in imon_parse_press_type() 1539 ictx->kc = ictx->last_keycode; in imon_parse_press_type() 1542 else if (ictx->kc == KEY_RESERVED && buf[0] == 0x68 && buf[1] == 0x82 && in imon_parse_press_type() [all …]
|
/linux-6.1.9/sound/pci/hda/ |
D | hda_local.h | 634 #define get_amp_nid(kc) get_amp_nid_((kc)->private_value) argument 635 #define get_amp_channels(kc) (((kc)->private_value >> 16) & 0x3) argument 637 #define get_amp_direction(kc) get_amp_direction_((kc)->private_value) argument 639 #define get_amp_index(kc) get_amp_index_((kc)->private_value) argument 640 #define get_amp_offset(kc) (((kc)->private_value >> 23) & 0x3f) argument 641 #define get_amp_min_mute(kc) (((kc)->private_value >> 29) & 0x1) argument
|
/linux-6.1.9/sound/soc/sof/ |
D | topology.c | 763 struct snd_kcontrol_new *kc, in sof_control_load_volume() argument 784 kc->info = snd_sof_volume_info; in sof_control_load_volume() 796 if (!kc->tlv.p || get_tlv_data(kc->tlv.p, tlv) < 0) { in sof_control_load_volume() 824 kc->access &= ~SNDRV_CTL_ELEM_ACCESS_LED_MASK; in sof_control_load_volume() 825 kc->access |= mask; in sof_control_load_volume() 843 struct snd_kcontrol_new *kc, in sof_control_load_enum() argument 865 struct snd_kcontrol_new *kc, in sof_control_load_bytes() argument 871 struct soc_bytes_ext *sbe = (struct soc_bytes_ext *)kc->private_value; in sof_control_load_bytes() 893 struct snd_kcontrol_new *kc, in sof_control_load() argument 918 scontrol->access = kc->access; in sof_control_load() [all …]
|
D | ipc3-control.c | 534 struct snd_kcontrol *kc = NULL; in sof_ipc3_control_update() local 581 kc = widget->kcontrols[i]; in sof_ipc3_control_update() 586 if (!kc) in sof_ipc3_control_update() 592 sm = (struct soc_mixer_control *)kc->private_value; in sof_ipc3_control_update() 596 be = (struct soc_bytes_ext *)kc->private_value; in sof_ipc3_control_update() 600 se = (struct soc_enum *)kc->private_value; in sof_ipc3_control_update() 637 snd_ctl_notify_one(swidget->scomp->card->snd_card, SNDRV_CTL_EVENT_MASK_VALUE, kc, 0); in sof_ipc3_control_update()
|
/linux-6.1.9/kernel/ |
D | pid_namespace.c | 41 struct kmem_cache *kc; in create_pid_cachep() local 45 kc = READ_ONCE(*pkc); in create_pid_cachep() 46 if (kc) in create_pid_cachep() 47 return kc; in create_pid_cachep()
|
/linux-6.1.9/sound/soc/ti/ |
D | omap-mcbsp-st.c | 388 omap_mcbsp_set_st_ch##channel##_volume(struct snd_kcontrol *kc, \ 391 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 394 (struct soc_mixer_control *)kc->private_value; \ 407 omap_mcbsp_get_st_ch##channel##_volume(struct snd_kcontrol *kc, \ 410 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \
|
/linux-6.1.9/Documentation/admin-guide/device-mapper/ |
D | kcopyd.rst | 32 int kcopyd_copy(struct kcopyd_client *kc, struct io_region *from, 47 void kcopyd_client_destroy(struct kcopyd_client *kc);
|
/linux-6.1.9/drivers/pps/ |
D | Makefile | 7 pps_core-$(CONFIG_NTP_PPS) += kc.o
|
/linux-6.1.9/sound/usb/caiaq/ |
D | control.c | 575 struct snd_kcontrol *kc; in add_controls() local 580 kc = snd_ctl_new1(&kcontrol_template, cdev); in add_controls() 581 ret = snd_ctl_add(cdev->chip.card, kc); in add_controls()
|
/linux-6.1.9/sound/soc/qcom/qdsp6/ |
D | topology.c | 983 struct snd_kcontrol_new *kc, in audioreach_control_load_mix() argument 1013 struct snd_kcontrol_new *kc, in audioreach_control_load() argument 1029 sm = (struct soc_mixer_control *)kc->private_value; in audioreach_control_load() 1031 ret = audioreach_control_load_mix(scomp, scontrol, kc, hdr); in audioreach_control_load() 1034 sm = (struct soc_mixer_control *)kc->private_value; in audioreach_control_load()
|
/linux-6.1.9/drivers/tty/vt/ |
D | keyboard.c | 1905 int kc = 0; in vt_do_kbkeycode_ioctl() local 1911 kc = getkeycode(tmp.scancode); in vt_do_kbkeycode_ioctl() 1912 if (kc >= 0) in vt_do_kbkeycode_ioctl() 1913 kc = put_user(kc, &user_kbkc->keycode); in vt_do_kbkeycode_ioctl() 1918 kc = setkeycode(tmp.scancode, tmp.keycode); in vt_do_kbkeycode_ioctl() 1921 return kc; in vt_do_kbkeycode_ioctl()
|
/linux-6.1.9/drivers/s390/cio/ |
D | chsc.h | 97 u32 kc:4; member
|