/drivers/rtc/ |
D | proc.c | 18 #define NAME_SIZE 10 macro 24 char name[NAME_SIZE]; in is_rtc_hctosys() 26 size = scnprintf(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()
|
/drivers/staging/greybus/ |
D | audio_codec.h | 15 #define NAME_SIZE 32 macro 117 char vstr[NAME_SIZE]; 118 char pstr[NAME_SIZE]; 122 char name[NAME_SIZE]; 127 char jack_name[NAME_SIZE]; 128 char button_name[NAME_SIZE];
|
D | audio_topology.c | 32 char begin[NAME_SIZE]; in find_gb_module() 89 if (!strncmp(control->name, name, NAME_SIZE)) in gbaudio_map_controlname() 104 if (!strncmp(control->wname, name, NAME_SIZE)) in gbaudio_map_wcontrolname() 118 if (!strncmp(widget->name, name, NAME_SIZE)) in gbaudio_map_widgetname() 201 strlcpy(uinfo->value.enumerated.name, name, NAME_SIZE); in gbcodec_mixer_ctl_info() 368 !strnstr(kcontrol->id.name, " Volume", NAME_SIZE)) in gbcodec_mixer_dapm_ctl_info() 994 char temp_name[NAME_SIZE]; in gbaudio_tplg_create_widget() 1058 strlcpy(temp_name, w->name, NAME_SIZE); in gbaudio_tplg_create_widget() 1059 snprintf(w->name, NAME_SIZE, "GB %d %s", module->dev_id, temp_name); in gbaudio_tplg_create_widget() 1155 char temp_name[NAME_SIZE]; in gbaudio_tplg_process_kcontrols() [all …]
|
D | audio_codec.c | 319 char intf_name[NAME_SIZE], dir[NAME_SIZE]; in gbaudio_module_update() 719 snprintf(module->jack_name, NAME_SIZE, "GB %d Headset Jack", in gbaudio_init_jack() 731 snprintf(module->button_name, NAME_SIZE, "GB %d Button Jack", in gbaudio_init_jack()
|
D | audio_module.c | 262 snprintf(gbmodule->name, NAME_SIZE, "%s.%s", dev->driver->name, in gb_audio_probe()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-qdf2xxx.c | 29 #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()
|
/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | en_tc_tracepoint.c | 17 #define NAME_SIZE 16 macro 19 static const char FLOWACT2STR[NUM_FLOW_ACTIONS][NAME_SIZE] = {
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu.c | 2014 NAME_SIZE, GFP_KERNEL); in rvu_register_interrupts() 2034 sprintf(&rvu->irq_name[RVU_AF_INT_VEC_MBOX * NAME_SIZE], "RVUAF Mbox"); in rvu_register_interrupts() 2037 &rvu->irq_name[RVU_AF_INT_VEC_MBOX * NAME_SIZE], rvu); in rvu_register_interrupts() 2050 sprintf(&rvu->irq_name[RVU_AF_INT_VEC_PFFLR * NAME_SIZE], in rvu_register_interrupts() 2054 &rvu->irq_name[RVU_AF_INT_VEC_PFFLR * NAME_SIZE], in rvu_register_interrupts() 2071 sprintf(&rvu->irq_name[RVU_AF_INT_VEC_PFME * NAME_SIZE], in rvu_register_interrupts() 2075 &rvu->irq_name[RVU_AF_INT_VEC_PFME * NAME_SIZE], in rvu_register_interrupts() 2099 sprintf(&rvu->irq_name[offset * NAME_SIZE], "RVUAFVF Mbox0"); in rvu_register_interrupts() 2102 &rvu->irq_name[offset * NAME_SIZE], in rvu_register_interrupts() 2114 sprintf(&rvu->irq_name[offset * NAME_SIZE], "RVUAFVF Mbox1"); in rvu_register_interrupts() [all …]
|
D | rvu.h | 30 #define NAME_SIZE 32 macro 63 unsigned char name[NAME_SIZE];
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 69 #define NAME_SIZE 16 macro 563 char name[NAME_SIZE]; 730 char name[NAME_SIZE];
|
D | qed_main.c | 722 snprintf(hwfn->name, NAME_SIZE, "sp-%d-%02x:%02x.%02x", in qed_slowpath_irq_req() 730 snprintf(cdev->name, NAME_SIZE, "%02x:%02x.%02x", in qed_slowpath_irq_req() 1182 char name[NAME_SIZE]; in qed_slowpath_wq_start() 1191 snprintf(name, NAME_SIZE, "slowpath-%02x:%02x.%02x", in qed_slowpath_wq_start() 1402 static void qed_set_name(struct qed_dev *cdev, char name[NAME_SIZE]) in qed_set_name() argument 1406 memcpy(cdev->name, name, NAME_SIZE); in qed_set_name() 1408 snprintf(cdev->hwfns[i].name, NAME_SIZE, "%s-%d", name, i); in qed_set_name()
|
D | qed_sriov.c | 5231 char name[NAME_SIZE]; in qed_iov_wq_start() 5243 snprintf(name, NAME_SIZE, "iov-%02x:%02x.%02x", in qed_iov_wq_start()
|