Home
last modified time | relevance | path

Searched refs:NAME_SIZE (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/drivers/rtc/
Dproc.c18 #define NAME_SIZE 10 macro
24 char name[NAME_SIZE]; in is_rtc_hctosys()
26 size = snprintf(name, NAME_SIZE, "rtc%d", rtc->id); in is_rtc_hctosys()
27 if (size >= NAME_SIZE) in is_rtc_hctosys()
30 return !strncmp(name, CONFIG_RTC_HCTOSYS_DEVICE, NAME_SIZE); in is_rtc_hctosys()
/linux-6.12.1/drivers/staging/greybus/
Daudio_codec.h15 #define NAME_SIZE 32 macro
123 char vstr[NAME_SIZE];
124 char pstr[NAME_SIZE];
128 char name[NAME_SIZE];
133 char jack_name[NAME_SIZE];
134 char button_name[NAME_SIZE];
Daudio_topology.c25 char begin[NAME_SIZE]; in find_gb_module()
84 if (!strncmp(control->name, name, NAME_SIZE)) in gbaudio_map_controlname()
99 if (!strncmp(control->wname, name, NAME_SIZE)) in gbaudio_map_wcontrolname()
113 if (!strncmp(widget->name, name, NAME_SIZE)) in gbaudio_map_widgetname()
1021 char temp_name[NAME_SIZE]; in gbaudio_tplg_create_widget()
1146 char temp_name[NAME_SIZE]; in gbaudio_tplg_process_kcontrols()
Daudio_codec.c303 char intf_name[NAME_SIZE], dir[NAME_SIZE]; in gbaudio_module_update()
700 snprintf(module->jack_name, NAME_SIZE, "GB %d Headset Jack", in gbaudio_init_jack()
723 snprintf(module->button_name, NAME_SIZE, "GB %d Button Jack", in gbaudio_init_jack()
/linux-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-qdf2xxx.c29 #define NAME_SIZE 8 macro
36 char (*names)[NAME_SIZE]; in qdf2xxx_pinctrl_probe()
82 names = devm_kcalloc(&pdev->dev, avail_gpios, NAME_SIZE, GFP_KERNEL); in qdf2xxx_pinctrl_probe()
101 snprintf(names[i], NAME_SIZE, "gpio%u", gpio); in qdf2xxx_pinctrl_probe()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Den_tc_tracepoint.c17 #define NAME_SIZE 16 macro
19 static const char FLOWACT2STR[NUM_FLOW_ACTIONS][NAME_SIZE] = {
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c206 irq_name = &hw->irq_name[RVU_PF_INT_VEC_VFME0 * NAME_SIZE]; in otx2_register_flr_me_intr()
207 snprintf(irq_name, NAME_SIZE, "RVUPF%d_ME0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
216 irq_name = &hw->irq_name[RVU_PF_INT_VEC_VFFLR0 * NAME_SIZE]; in otx2_register_flr_me_intr()
217 snprintf(irq_name, NAME_SIZE, "RVUPF%d_FLR0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
227 irq_name = &hw->irq_name[RVU_PF_INT_VEC_VFME1 * NAME_SIZE]; in otx2_register_flr_me_intr()
228 snprintf(irq_name, NAME_SIZE, "RVUPF%d_ME1", in otx2_register_flr_me_intr()
237 irq_name = &hw->irq_name[RVU_PF_INT_VEC_VFFLR1 * NAME_SIZE]; in otx2_register_flr_me_intr()
238 snprintf(irq_name, NAME_SIZE, "RVUPF%d_FLR1", in otx2_register_flr_me_intr()
692 irq_name = &hw->irq_name[RVU_PF_INT_VEC_VFPF_MBOX0 * NAME_SIZE]; in otx2_register_pfvf_mbox_intr()
694 snprintf(irq_name, NAME_SIZE, in otx2_register_pfvf_mbox_intr()
[all …]
Dotx2_vf.c252 irq_name = &hw->irq_name[RVU_VF_INT_VEC_MBOX * NAME_SIZE]; in otx2vf_register_mbox_intr()
253 snprintf(irq_name, NAME_SIZE, "RVUVFAF Mbox"); in otx2vf_register_mbox_intr()
590 hw->irq_name = devm_kmalloc_array(&hw->pdev->dev, num_vec, NAME_SIZE, in otx2vf_probe()
Dotx2_common.h48 #define NAME_SIZE 32 macro
/linux-6.12.1/sound/soc/qcom/
Dcommon.c11 #define NAME_SIZE 32 macro
257 char jack_name[NAME_SIZE]; in qcom_snd_dp_jack_setup()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c2952 NAME_SIZE, GFP_KERNEL); in rvu_register_interrupts()
2972 sprintf(&rvu->irq_name[RVU_AF_INT_VEC_MBOX * NAME_SIZE], "RVUAF Mbox"); in rvu_register_interrupts()
2975 &rvu->irq_name[RVU_AF_INT_VEC_MBOX * NAME_SIZE], rvu); in rvu_register_interrupts()
2988 sprintf(&rvu->irq_name[RVU_AF_INT_VEC_PFFLR * NAME_SIZE], in rvu_register_interrupts()
2992 &rvu->irq_name[RVU_AF_INT_VEC_PFFLR * NAME_SIZE], in rvu_register_interrupts()
3009 sprintf(&rvu->irq_name[RVU_AF_INT_VEC_PFME * NAME_SIZE], in rvu_register_interrupts()
3013 &rvu->irq_name[RVU_AF_INT_VEC_PFME * NAME_SIZE], in rvu_register_interrupts()
3040 sprintf(&rvu->irq_name[offset * NAME_SIZE], "RVUAFVF Mbox0"); in rvu_register_interrupts()
3043 &rvu->irq_name[offset * NAME_SIZE], in rvu_register_interrupts()
3055 sprintf(&rvu->irq_name[offset * NAME_SIZE], "RVUAFVF Mbox1"); in rvu_register_interrupts()
[all …]
Drvu_cpt.c271 sprintf(&rvu->irq_name[(off + i) * NAME_SIZE], "CPTAF FLT%d", i); in cpt_10k_register_interrupts()
285 flt_fn, &rvu->irq_name[(off + i) * NAME_SIZE]); in cpt_10k_register_interrupts()
340 sprintf(&rvu->irq_name[(offs + i) * NAME_SIZE], "CPTAF FLT%d", i); in cpt_register_interrupts()
350 flt_fn, &rvu->irq_name[(offs + i) * NAME_SIZE]); in cpt_register_interrupts()
Drvu.h39 #define NAME_SIZE 32 macro
113 unsigned char name[NAME_SIZE];
Drvu_devlink.c35 sprintf(&rvu->irq_name[offset * NAME_SIZE], "%s", name); in rvu_common_request_irq()
37 &rvu->irq_name[offset * NAME_SIZE], rvu_dl); in rvu_common_request_irq()
/linux-6.12.1/sound/soc/codecs/
Dhdac_hdmi.c30 #define NAME_SIZE 32 macro
973 char kc_name[NAME_SIZE]; in hdac_hdmi_create_pin_port_muxs()
974 char mux_items[NAME_SIZE]; in hdac_hdmi_create_pin_port_muxs()
988 snprintf(kc_name, NAME_SIZE, "Pin %d port %d Input", in hdac_hdmi_create_pin_port_muxs()
1081 char widget_name[NAME_SIZE]; in create_fill_widget_route_map()
1209 char name[NAME_SIZE]; in hdac_hdmi_add_cvt()
1568 char name[NAME_SIZE], dai_name[NAME_SIZE]; in hdac_hdmi_create_dais()
1822 char w_name[NAME_SIZE]; in hdac_hdmi_jack_port_init()
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed.h36 #define NAME_SIZE 16 macro
536 char name[NAME_SIZE];
698 char name[NAME_SIZE];
Dqed_main.c752 snprintf(hwfn->name, NAME_SIZE, "sp-%d-%02x:%02x.%02x", in qed_slowpath_irq_req()
760 snprintf(cdev->name, NAME_SIZE, "%02x:%02x.%02x", in qed_slowpath_irq_req()
1428 static void qed_set_name(struct qed_dev *cdev, char name[NAME_SIZE]) in qed_set_name() argument
1432 memcpy(cdev->name, name, NAME_SIZE); in qed_set_name()
1434 snprintf(cdev->hwfns[i].name, NAME_SIZE, "%s-%d", name, i); in qed_set_name()
Dqed_sriov.c5265 char name[NAME_SIZE]; in qed_iov_wq_start()
5277 snprintf(name, NAME_SIZE, "iov-%02x:%02x.%02x", in qed_iov_wq_start()
/linux-6.12.1/sound/soc/intel/boards/
Dehl_rt5660.c29 #define NAME_SIZE 32 macro
Dsof_pcm512x.c25 #define NAME_SIZE 32 macro