/kernel/linux/linux-5.10/drivers/base/ |
H A D | attribute_container.c | 27 struct attribute_container *cont; member 58 return ic->cont; in attribute_container_classdev_to_container() 69 * @cont: The container to register. This must be allocated by the 73 attribute_container_register(struct attribute_container *cont) in attribute_container_register() argument 75 INIT_LIST_HEAD(&cont->node); in attribute_container_register() 76 klist_init(&cont->containers, internal_container_klist_get, in attribute_container_register() 80 list_add_tail(&cont->node, &attribute_container_list); in attribute_container_register() 90 * @cont: previously registered container to remove 93 attribute_container_unregister(struct attribute_container *cont) in attribute_container_unregister() argument 98 spin_lock(&cont in attribute_container_unregister() 146 struct attribute_container *cont; attribute_container_add_device() local 211 struct attribute_container *cont; attribute_container_remove_device() local 240 do_attribute_container_device_trigger_safe(struct device *dev, struct attribute_container *cont, int (*fn)(struct attribute_container *, struct device *, struct device *), int (*undo)(struct attribute_container *, struct device *, struct device *)) do_attribute_container_device_trigger_safe() argument 305 struct attribute_container *cont, *failed = NULL; attribute_container_device_trigger_safe() local 358 struct attribute_container *cont; attribute_container_device_trigger() local 398 struct attribute_container *cont; attribute_container_trigger() local 419 struct attribute_container *cont = attribute_container_add_attrs() local 468 attribute_container_add_class_device_adapter(struct attribute_container *cont, struct device *dev, struct device *classdev) attribute_container_add_class_device_adapter() argument 484 struct attribute_container *cont = attribute_container_remove_attrs() local 526 attribute_container_find_class_device(struct attribute_container *cont, struct device *dev) attribute_container_find_class_device() argument [all...] |
H A D | transport_class.c | 33 static int transport_remove_classdev(struct attribute_container *cont, 120 static int transport_setup_classdev(struct attribute_container *cont, in transport_setup_classdev() argument 124 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_setup_classdev() 125 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_setup_classdev() 154 static int transport_add_class_device(struct attribute_container *cont, in transport_add_class_device() argument 160 attribute_container_to_transport_container(cont); in transport_add_class_device() 187 static int transport_configure(struct attribute_container *cont, in transport_configure() argument 191 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_configure() 192 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_configure() 218 static int transport_remove_classdev(struct attribute_container *cont, in transport_remove_classdev() argument 257 transport_destroy_classdev(struct attribute_container *cont, struct device *dev, struct device *classdev) transport_destroy_classdev() argument [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | attribute_container.c | 27 struct attribute_container *cont; member 58 return ic->cont; in attribute_container_classdev_to_container() 69 * @cont: The container to register. This must be allocated by the 73 attribute_container_register(struct attribute_container *cont) in attribute_container_register() argument 75 INIT_LIST_HEAD(&cont->node); in attribute_container_register() 76 klist_init(&cont->containers, internal_container_klist_get, in attribute_container_register() 80 list_add_tail(&cont->node, &attribute_container_list); in attribute_container_register() 90 * @cont: previously registered container to remove 93 attribute_container_unregister(struct attribute_container *cont) in attribute_container_unregister() argument 98 spin_lock(&cont in attribute_container_unregister() 146 struct attribute_container *cont; attribute_container_add_device() local 211 struct attribute_container *cont; attribute_container_remove_device() local 240 do_attribute_container_device_trigger_safe(struct device *dev, struct attribute_container *cont, int (*fn)(struct attribute_container *, struct device *, struct device *), int (*undo)(struct attribute_container *, struct device *, struct device *)) do_attribute_container_device_trigger_safe() argument 305 struct attribute_container *cont, *failed = NULL; attribute_container_device_trigger_safe() local 358 struct attribute_container *cont; attribute_container_device_trigger() local 398 struct attribute_container *cont; attribute_container_trigger() local 419 struct attribute_container *cont = attribute_container_add_attrs() local 472 attribute_container_add_class_device_adapter(struct attribute_container *cont, struct device *dev, struct device *classdev) attribute_container_add_class_device_adapter() argument 488 struct attribute_container *cont = attribute_container_remove_attrs() local 530 attribute_container_find_class_device(struct attribute_container *cont, struct device *dev) attribute_container_find_class_device() argument [all...] |
H A D | transport_class.c | 33 static int transport_remove_classdev(struct attribute_container *cont, 120 static int transport_setup_classdev(struct attribute_container *cont, in transport_setup_classdev() argument 124 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_setup_classdev() 125 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_setup_classdev() 154 static int transport_add_class_device(struct attribute_container *cont, in transport_add_class_device() argument 158 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_add_class_device() 161 attribute_container_to_transport_container(cont); in transport_add_class_device() 202 static int transport_configure(struct attribute_container *cont, in transport_configure() argument 206 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_configure() 207 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_configure() 233 transport_remove_classdev(struct attribute_container *cont, struct device *dev, struct device *classdev) transport_remove_classdev() argument 272 transport_destroy_classdev(struct attribute_container *cont, struct device *dev, struct device *classdev) transport_destroy_classdev() argument [all...] |
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | spinlock_test.c | 10 int cont; in ss_get() local 16 cont = 1; in ss_get() 21 while (cont) { in ss_get() 25 cont = 0; in ss_get() 53 int cont; in multi_other() local 58 cont = 1; in multi_other() 72 while (cont) { in multi_other() 76 cont = 0; in multi_other()
|
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | se.c | 584 struct snd_kcontrol_new cont; in se200pci_add_controls() local 587 memset(&cont, 0, sizeof(cont)); in se200pci_add_controls() 588 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in se200pci_add_controls() 590 cont.private_value = i; in se200pci_add_controls() 591 cont.name = se200pci_cont[i].name; in se200pci_add_controls() 592 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in se200pci_add_controls() 593 cont.tlv.p = NULL; in se200pci_add_controls() 597 cont.info = se200pci_cont_volume_info; in se200pci_add_controls() 598 cont in se200pci_add_controls() [all...] |
H A D | wm8766.c | 278 struct snd_kcontrol_new cont; in snd_wm8766_add_control() local 281 memset(&cont, 0, sizeof(cont)); in snd_wm8766_add_control() 282 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8766_add_control() 283 cont.private_value = num; in snd_wm8766_add_control() 284 cont.name = wm->ctl[num].name; in snd_wm8766_add_control() 285 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8766_add_control() 288 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8766_add_control() 289 cont.tlv.p = NULL; in snd_wm8766_add_control() 290 cont in snd_wm8766_add_control() [all...] |
H A D | wm8776.c | 552 struct snd_kcontrol_new cont; in snd_wm8776_add_control() local 555 memset(&cont, 0, sizeof(cont)); in snd_wm8776_add_control() 556 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8776_add_control() 557 cont.private_value = num; in snd_wm8776_add_control() 558 cont.name = wm->ctl[num].name; in snd_wm8776_add_control() 559 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8776_add_control() 562 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_add_control() 563 cont.tlv.p = NULL; in snd_wm8776_add_control() 564 cont in snd_wm8776_add_control() [all...] |
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | se.c | 584 struct snd_kcontrol_new cont; in se200pci_add_controls() local 587 memset(&cont, 0, sizeof(cont)); in se200pci_add_controls() 588 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in se200pci_add_controls() 590 cont.private_value = i; in se200pci_add_controls() 591 cont.name = se200pci_cont[i].name; in se200pci_add_controls() 592 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in se200pci_add_controls() 593 cont.tlv.p = NULL; in se200pci_add_controls() 597 cont.info = se200pci_cont_volume_info; in se200pci_add_controls() 598 cont in se200pci_add_controls() [all...] |
H A D | wm8766.c | 278 struct snd_kcontrol_new cont; in snd_wm8766_add_control() local 281 memset(&cont, 0, sizeof(cont)); in snd_wm8766_add_control() 282 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8766_add_control() 283 cont.private_value = num; in snd_wm8766_add_control() 284 cont.name = wm->ctl[num].name; in snd_wm8766_add_control() 285 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8766_add_control() 288 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8766_add_control() 289 cont.tlv.p = NULL; in snd_wm8766_add_control() 290 cont in snd_wm8766_add_control() [all...] |
H A D | wm8776.c | 548 struct snd_kcontrol_new cont; in snd_wm8776_add_control() local 551 memset(&cont, 0, sizeof(cont)); in snd_wm8776_add_control() 552 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8776_add_control() 553 cont.private_value = num; in snd_wm8776_add_control() 554 cont.name = wm->ctl[num].name; in snd_wm8776_add_control() 555 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8776_add_control() 558 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_add_control() 559 cont.tlv.p = NULL; in snd_wm8776_add_control() 560 cont in snd_wm8776_add_control() [all...] |
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | spinlock_test.c | 15 int cont; in ss_get() local 19 cont = 1; in ss_get() 23 while (cont) { in ss_get() 27 cont = 0; in ss_get() 58 int cont; in multi_other() local 63 cont = 1; in multi_other() 77 while (cont) { in multi_other() 81 cont = 0; in multi_other()
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | spinlock_test.c | 15 int cont; in ss_get() local 19 cont = 1; in ss_get() 23 while (cont) { in ss_get() 27 cont = 0; in ss_get() 58 int cont; in multi_other() local 63 cont = 1; in multi_other() 77 while (cont) { in multi_other() 81 cont = 0; in multi_other()
|
/kernel/linux/linux-5.10/tools/power/cpupower/utils/ |
H A D | cpuidle-set.c | 29 int ret = 0, cont = 1, param = 0, disabled; in cmd_idle_set() local 41 cont = 0; in cmd_idle_set() 46 cont = 0; in cmd_idle_set() 55 cont = 0; in cmd_idle_set() 64 cont = 0; in cmd_idle_set() 77 cont = 0; in cmd_idle_set() 83 cont = 0; in cmd_idle_set() 86 } while (cont); in cmd_idle_set()
|
H A D | cpuidle-info.c | 140 int ret = 0, cont = 1, output_param = 0, verbose = 1; in cmd_idle_info() local 150 cont = 0; in cmd_idle_info() 156 cont = 0; in cmd_idle_info() 161 cont = 0; in cmd_idle_info() 167 } while (cont); in cmd_idle_info()
|
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | topology.c | 120 struct audioreach_container *cont; in audioreach_tplg_alloc_container() local 127 cont = idr_find(&apm->containers_idr, container_id); in audioreach_tplg_alloc_container() 130 if (cont) { in audioreach_tplg_alloc_container() 132 return cont; in audioreach_tplg_alloc_container() 136 cont = kzalloc(sizeof(*cont), GFP_KERNEL); in audioreach_tplg_alloc_container() 137 if (!cont) in audioreach_tplg_alloc_container() 140 INIT_LIST_HEAD(&cont->modules_list); in audioreach_tplg_alloc_container() 143 ret = idr_alloc_u32(&apm->containers_idr, cont, &container_id, container_id, GFP_KERNEL); in audioreach_tplg_alloc_container() 148 kfree(cont); in audioreach_tplg_alloc_container() 161 audioreach_tplg_alloc_module(struct q6apm *apm, struct audioreach_container *cont, struct snd_soc_dapm_widget *w, uint32_t module_id, bool *found) audioreach_tplg_alloc_module() argument 370 struct audioreach_container *cont; audioreach_parse_cont_tokens() local 409 audioreach_parse_common_tokens(struct q6apm *apm, struct audioreach_container *cont, struct snd_soc_tplg_private *private, struct snd_soc_dapm_widget *w) audioreach_parse_common_tokens() argument 574 struct audioreach_container *cont; audioreach_widget_load_module_common() local 902 struct audioreach_container *cont; audioreach_widget_unload() local [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/utils/ |
H A D | cpuidle-set.c | 29 int ret = 0, cont = 1, param = 0, disabled; in cmd_idle_set() local 41 cont = 0; in cmd_idle_set() 47 cont = 0; in cmd_idle_set() 62 cont = 0; in cmd_idle_set() 75 cont = 0; in cmd_idle_set() 81 cont = 0; in cmd_idle_set() 84 } while (cont); in cmd_idle_set()
|
/kernel/linux/linux-5.10/drivers/block/paride/ |
H A D | bpck6.c | 59 static int bpck6_read_regr(PIA *pi, int cont, int reg) in bpck6_read_regr() argument 64 if (reg<0 || reg>7 || cont<0 || cont>2) in bpck6_read_regr() 68 out=ppc6_rd_port(PPCSTRUCT(pi),cont?reg|8:reg); in bpck6_read_regr() 72 static void bpck6_write_regr(PIA *pi, int cont, int reg, int val) in bpck6_write_regr() argument 75 if (reg>=0 && reg<=7 && cont>=0 && cont<=1) in bpck6_write_regr() 77 ppc6_wr_port(PPCSTRUCT(pi),cont?reg|8:reg,(u8)val); in bpck6_write_regr()
|
H A D | paride.c | 45 void pi_write_regr(PIA * pi, int cont, int regr, int val) in pi_write_regr() argument 47 pi->proto->write_regr(pi, cont, regr, val); in pi_write_regr() 52 int pi_read_regr(PIA * pi, int cont, int regr) in pi_read_regr() argument 54 return pi->proto->read_regr(pi, cont, regr); in pi_read_regr() 77 void (*cont) (void) = NULL; in pi_wake_up() 82 cont = pi->claim_cont; in pi_wake_up() 91 if (cont) in pi_wake_up() 92 cont(); in pi_wake_up() 95 int pi_schedule_claimed(PIA * pi, void (*cont) (void)) in pi_schedule_claimed() 101 pi->claim_cont = cont; in pi_schedule_claimed() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
H A D | debug.h | 16 void (*fn)(void *ctx, const char *str, size_t len, bool cont); 22 bool cont) in write_to_seqfile() 28 bool cont) in write_to_printk() 30 if (cont) in write_to_printk() 21 write_to_seqfile(void *ctx, const char *str, size_t len, bool cont) write_to_seqfile() argument 27 write_to_printk(void *ctx, const char *str, size_t len, bool cont) write_to_printk() argument
|
/kernel/linux/linux-6.6/drivers/gpu/host1x/ |
H A D | debug.h | 16 void (*fn)(void *ctx, const char *str, size_t len, bool cont); 22 bool cont) in write_to_seqfile() 28 bool cont) in write_to_printk() 30 if (cont) in write_to_printk() 21 write_to_seqfile(void *ctx, const char *str, size_t len, bool cont) write_to_seqfile() argument 27 write_to_printk(void *ctx, const char *str, size_t len, bool cont) write_to_printk() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 74 uint32_t cont, send, line; in enc3_update_hdmi_info_packet() local 84 cont = 1; in enc3_update_hdmi_info_packet() 90 cont = 0; in enc3_update_hdmi_info_packet() 101 HDMI_GENERIC0_CONT, cont, in enc3_update_hdmi_info_packet() 108 HDMI_GENERIC1_CONT, cont, in enc3_update_hdmi_info_packet() 115 HDMI_GENERIC2_CONT, cont, in enc3_update_hdmi_info_packet() 122 HDMI_GENERIC3_CONT, cont, in enc3_update_hdmi_info_packet() 129 HDMI_GENERIC4_CONT, cont, in enc3_update_hdmi_info_packet() 136 HDMI_GENERIC5_CONT, cont, in enc3_update_hdmi_info_packet() 143 HDMI_GENERIC6_CONT, cont, in enc3_update_hdmi_info_packet() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 58 uint32_t cont, send, line; in enc3_update_hdmi_info_packet() local 69 cont = 1; in enc3_update_hdmi_info_packet() 75 cont = 0; in enc3_update_hdmi_info_packet() 86 HDMI_GENERIC0_CONT, cont, in enc3_update_hdmi_info_packet() 93 HDMI_GENERIC1_CONT, cont, in enc3_update_hdmi_info_packet() 100 HDMI_GENERIC2_CONT, cont, in enc3_update_hdmi_info_packet() 107 HDMI_GENERIC3_CONT, cont, in enc3_update_hdmi_info_packet() 114 HDMI_GENERIC4_CONT, cont, in enc3_update_hdmi_info_packet() 121 HDMI_GENERIC5_CONT, cont, in enc3_update_hdmi_info_packet() 128 HDMI_GENERIC6_CONT, cont, in enc3_update_hdmi_info_packet() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_offload.sh | 192 local cont 196 for cont in "" ets prio; do 199 if [[ -z "$cont$leaf$fifo" ]]; then 203 $cont $leaf $fifo 208 for cont in ets prio; do 210 do_test_nooffload $handle $parent $cont red tbf $leaf 211 do_test_nooffload $handle $parent $cont tbf red $leaf 214 do_test_nooffload $handle $parent $cont $leaf 236 local cont 238 for cont i [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
H A D | rxe_task.c | 33 int cont; in rxe_do_task() local 60 cont = 0; in rxe_do_task() 69 cont = 1; in rxe_do_task() 85 cont = 1; in rxe_do_task() 93 } while (cont); in rxe_do_task()
|