/drivers/firmware/broadcom/ |
D | bcm47xx_sprom.c | 35 static void create_key(const char *prefix, const char *postfix, in create_key() argument 38 if (prefix && postfix) in create_key() 39 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key() 40 else if (prefix) in create_key() 41 snprintf(buf, len, "%s%s", prefix, name); in create_key() 48 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument 54 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var() 57 if (fallback && err == -ENOENT && prefix) { in get_nvram_var() 65 static void nvram_read_ ## type(const char *prefix, \ 73 err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf), \ [all …]
|
/drivers/usb/gadget/function/ |
D | f_mass_storage.h | 20 #define _FSG_MODULE_PARAM_ARRAY(prefix, params, name, type, desc) \ argument 21 module_param_array_named(prefix ## name, params.name, type, \ 22 &prefix ## params.name ## _count, \ 24 MODULE_PARM_DESC(prefix ## name, desc) 26 #define _FSG_MODULE_PARAM(prefix, params, name, type, desc) \ argument 27 module_param_named(prefix ## name, params.name, type, \ 29 MODULE_PARM_DESC(prefix ## name, desc) 31 #define __FSG_MODULE_PARAMETERS(prefix, params) \ argument 32 _FSG_MODULE_PARAM_ARRAY(prefix, params, file, charp, \ 34 _FSG_MODULE_PARAM_ARRAY(prefix, params, ro, bool, \ [all …]
|
D | u_fs.h | 28 # define ffs_dump_mem(prefix, ptr, len) \ argument 29 print_hex_dump_bytes(pr_fmt(prefix ": "), DUMP_PREFIX_NONE, ptr, len) 34 # define ffs_dump_mem(prefix, ptr, len) do { } while (0) argument
|
/drivers/regulator/ |
D | mc13xxx.h | 59 #define MC13xxx_DEFINE(prefix, _name, _reg, _vsel_reg, _voltages, _ops) \ argument 60 [prefix ## _name] = { \ 67 .id = prefix ## _name, \ 70 .reg = prefix ## _reg, \ 71 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \ 72 .vsel_reg = prefix ## _vsel_reg, \ 73 .vsel_shift = prefix ## _vsel_reg ## _ ## _name ## VSEL,\ 74 .vsel_mask = prefix ## _vsel_reg ## _ ## _name ## VSEL_M,\ 77 #define MC13xxx_FIXED_DEFINE(prefix, _name, _reg, _voltages, _ops) \ argument 78 [prefix ## _name] = { \ [all …]
|
/drivers/clk/qcom/ |
D | lcc-msm8960.c | 202 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument 203 static struct clk_rcg prefix##_osr_src = { \ 227 .name = #prefix "_osr_src", \ 236 static const char * const lcc_##prefix##_parents[] = { \ 237 #prefix "_osr_src", \ 240 static struct clk_branch prefix##_osr_clk = { \ 248 .name = #prefix "_osr_clk", \ 249 .parent_names = lcc_##prefix##_parents, \ 257 static struct clk_regmap_div prefix##_div_clk = { \ 263 .name = #prefix "_div_clk", \ [all …]
|
D | lcc-mdm9615.c | 204 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument 205 static struct clk_rcg prefix##_osr_src = { \ 229 .name = #prefix "_osr_src", \ 238 static const char * const lcc_##prefix##_parents[] = { \ 239 #prefix "_osr_src", \ 242 static struct clk_branch prefix##_osr_clk = { \ 250 .name = #prefix "_osr_clk", \ 251 .parent_names = lcc_##prefix##_parents, \ 259 static struct clk_regmap_div prefix##_div_clk = { \ 265 .name = #prefix "_div_clk", \ [all …]
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_eacl.h | 64 #define CFS_ACL_XATTR_SIZE(count, prefix) \ argument 65 (sizeof(prefix ## _header) + (count) * sizeof(prefix ## _entry)) 67 #define CFS_ACL_XATTR_COUNT(size, prefix) \ argument 68 (((size) - sizeof(prefix ## _header)) / sizeof(prefix ## _entry))
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_genversion | 9 my $prefix = shift @ARGV; 60 #include "${prefix}_build_info.h" 63 VC_DEBUG_DECLARE_STRING_VAR( ${prefix}_build_hostname, "$hostname" ); 64 VC_DEBUG_DECLARE_STRING_VAR( ${prefix}_build_version, "$version" ); 65 VC_DEBUG_DECLARE_STRING_VAR( ${prefix}_build_time, __TIME__ ); 66 VC_DEBUG_DECLARE_STRING_VAR( ${prefix}_build_date, __DATE__ );
|
/drivers/s390/net/ |
D | smsgiucv.c | 35 const char *prefix; member 95 if (strncmp(buffer + 8, cb->prefix, cb->len) == 0) { in smsg_message_pending() 104 int smsg_register_callback(const char *prefix, in smsg_register_callback() argument 112 cb->prefix = prefix; in smsg_register_callback() 113 cb->len = strlen(prefix); in smsg_register_callback() 121 void smsg_unregister_callback(const char *prefix, in smsg_unregister_callback() argument 131 strcmp(tmp->prefix, prefix) == 0) { in smsg_unregister_callback()
|
/drivers/acpi/acpica/ |
D | acapps.h | 76 #define ACPI_COMMON_HEADER(utility_name, prefix) \ argument 78 prefix, ACPICA_NAME, \ 79 prefix, utility_name, ((u32) ACPI_CA_VERSION), ACPI_WIDTH, \ 80 prefix, ACPICA_COPYRIGHT, \ 81 prefix 175 char *ad_generate_filename(char *prefix, char *table_id);
|
/drivers/misc/genwqe/ |
D | genwqe_driver.h | 68 char prefix[32]; in genwqe_hexdump() local 70 scnprintf(prefix, sizeof(prefix), "%s %s: ", in genwqe_hexdump() 73 print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, in genwqe_hexdump()
|
/drivers/staging/lustre/lnet/libcfs/linux/ |
D | linux-tracefile.c | 225 char *prefix = "Lustre", *ptype = NULL; in cfs_print_to_console() local 228 prefix = dbghdr_to_err_string(hdr); in cfs_print_to_console() 231 prefix = dbghdr_to_err_string(hdr); in cfs_print_to_console() 234 prefix = dbghdr_to_info_string(hdr); in cfs_print_to_console() 237 prefix = dbghdr_to_info_string(hdr); in cfs_print_to_console() 242 printk("%s%s: %.*s", ptype, prefix, len, buf); in cfs_print_to_console() 244 printk("%s%s: %d:%d:(%s:%d:%s()) %.*s", ptype, prefix, in cfs_print_to_console()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | omapdss-boot-init.c | 35 static const char prefix[] __initconst = "omapdss,"; variable 79 strcpy(dst, prefix); in omapdss_prefix_strcpy() 80 dst += strlen(prefix); in omapdss_prefix_strcpy() 107 if (strncmp(prefix, prop->value, strlen(prefix)) == 0) in omapdss_omapify_node() 112 new_len = prop->length + strlen(prefix) * num_strs; in omapdss_omapify_node()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | omapdss-boot-init.c | 35 static const char prefix[] __initconst = "omapdss,"; variable 79 strcpy(dst, prefix); in omapdss_prefix_strcpy() 80 dst += strlen(prefix); in omapdss_prefix_strcpy() 107 if (strncmp(prefix, prop->value, strlen(prefix)) == 0) in omapdss_omapify_node() 112 new_len = prop->length + strlen(prefix) * num_strs; in omapdss_omapify_node()
|
/drivers/staging/lustre/lustre/fid/ |
D | fid_request.c | 378 const char *prefix) in seq_client_init() argument 383 LASSERT(prefix); in seq_client_init() 400 "cli-%s", prefix); in seq_client_init() 412 char *prefix; in client_fid_init() local 419 prefix = kzalloc(MAX_OBD_NAME + 5, GFP_NOFS); in client_fid_init() 420 if (!prefix) { in client_fid_init() 425 snprintf(prefix, MAX_OBD_NAME + 5, "cli-%s", obd->obd_name); in client_fid_init() 428 rc = seq_client_init(cli->cl_seq, exp, type, prefix); in client_fid_init() 429 kfree(prefix); in client_fid_init()
|
/drivers/iommu/ |
D | of_iommu.c | 45 int of_get_dma_window(struct device_node *dn, const char *prefix, int index, in of_get_dma_window() argument 55 if (!prefix) in of_get_dma_window() 56 prefix = ""; in of_get_dma_window() 58 snprintf(propname, sizeof(propname), "%sdma-window", prefix); in of_get_dma_window() 59 snprintf(addrname, sizeof(addrname), "%s#dma-address-cells", prefix); in of_get_dma_window() 60 snprintf(sizename, sizeof(sizename), "%s#dma-size-cells", prefix); in of_get_dma_window()
|
/drivers/hwmon/ |
D | w83l785ts.c | 238 const char *prefix; in w83l785ts_read_value() local 246 prefix = ""; in w83l785ts_read_value() 249 prefix = "w83l785ts: "; in w83l785ts_read_value() 261 prefix, value, reg); in w83l785ts_read_value() 264 dev_dbg(dev, "%sRead failed, will retry in %d.\n", prefix, i); in w83l785ts_read_value() 268 dev_err(dev, "%sCouldn't read value from register 0x%02x.\n", prefix, in w83l785ts_read_value()
|
/drivers/scsi/ |
D | sd.h | 105 #define sd_printk(prefix, sdsk, fmt, a...) \ argument 107 sdev_prefix_printk(prefix, (sdsk)->device, \ 109 sdev_printk(prefix, (sdsk)->device, fmt, ##a) 111 #define sd_first_printk(prefix, sdsk, fmt, a...) \ argument 114 sd_printk(prefix, sdsk, fmt, ##a); \
|
D | script_asm.pl | 900 print OUTPUT "static u32 ".$prefix."SCRIPT[] = {\n"; 933 if (defined($prefix) && $prefix ne '') { 934 printf OUTPUT "#define A_".$i."_used ".$prefix."A_".$i."_used\n"; 961 printf OUTPUT "static u32 ".$prefix."LABELPATCHES[] __attribute((unused)) = {\n"; 969 "} ".$prefix."EXTERNAL_PATCHES[] __attribute((unused)) = {\n"; 977 printf OUTPUT "static u32 ".$prefix."INSTRUCTIONS __attribute((unused))\t= %d;\n", 979 printf OUTPUT "static u32 ".$prefix."PATCHES __attribute((unused))\t= %d;\n", 981 printf OUTPUT "static u32 ".$prefix."EXTERNAL_PATCHES_LEN __attribute((unused))\t= %d;\n",
|
D | 53c700.h | 25 #define DDEBUG(prefix, sdev, fmt, a...) \ argument 26 sdev_printk(prefix, sdev, fmt, ##a) 27 #define CDEBUG(prefix, scmd, fmt, a...) \ argument 28 scmd_printk(prefix, scmd, fmt, ##a) 31 #define DDEBUG(prefix, scmd, fmt, a...) do {} while (0) argument 32 #define CDEBUG(prefix, scmd, fmt, a...) do {} while (0) argument
|
/drivers/net/wireless/ti/wlcore/ |
D | debug.h | 92 #define wl1271_dump(level, prefix, buf, len) \ argument 95 print_hex_dump_debug(DRIVER_PREFIX prefix, \ 102 #define wl1271_dump_ascii(level, prefix, buf, len) \ argument 105 print_hex_dump_debug(DRIVER_PREFIX prefix, \
|
/drivers/staging/lustre/lustre/llite/ |
D | xattr.c | 99 char fullname[strlen(handler->prefix) + strlen(name) + 1]; in ll_xattr_set_common() 138 sprintf(fullname, "%s%s\n", handler->prefix, name); in ll_xattr_set_common() 304 char fullname[strlen(handler->prefix) + strlen(name) + 1]; in ll_xattr_get_common() 351 sprintf(fullname, "%s%s\n", handler->prefix, name); in ll_xattr_get_common() 515 .prefix = XATTR_USER_PREFIX, 522 .prefix = XATTR_TRUSTED_PREFIX, 529 .prefix = XATTR_SECURITY_PREFIX, 536 .prefix = XATTR_NAME_POSIX_ACL_ACCESS, 543 .prefix = XATTR_NAME_POSIX_ACL_DEFAULT, 550 .prefix = XATTR_LUSTRE_PREFIX,
|
/drivers/net/wireless/ath/ath6kl/ |
D | trace.h | 299 TP_PROTO(const char *msg, const char *prefix, 302 TP_ARGS(msg, prefix, buf, buf_len), 306 __string(prefix, prefix) 313 __assign_str(prefix, prefix); 319 "%s/%s\n", __get_str(prefix), __get_str(msg)
|
/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.c | 370 prefix, prefix, prefix); in aic_print_reg_dump_types() 381 prefix, in aic_print_reg_dump_start() 414 prefix, in aic_print_reg_dump_end() 416 prefix, in aic_print_reg_dump_end() 432 prefix, in aic_print_reg_dump_end() 433 prefix, in aic_print_reg_dump_end() 435 prefix, in aic_print_reg_dump_end() 437 prefix, in aic_print_reg_dump_end()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | cl_lock.c | 48 const char *prefix, const struct cl_lock *lock, in cl_lock_trace0() argument 54 prefix, lock, env, h->coh_nesting, func, line); in cl_lock_trace0() 56 #define cl_lock_trace(level, env, prefix, lock) \ argument 57 cl_lock_trace0(level, env, prefix, lock, __func__, __LINE__)
|