Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 179) sorted by relevance

12345678

/drivers/firmware/broadcom/
Dbcm47xx_sprom.c36 static void create_key(const char *prefix, const char *postfix, in create_key() argument
39 if (prefix && postfix) in create_key()
40 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key()
41 else if (prefix) in create_key()
42 snprintf(buf, len, "%s%s", prefix, name); in create_key()
49 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument
55 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var()
58 if (fallback && err == -ENOENT && prefix) { in get_nvram_var()
66 static void nvram_read_ ## type(const char *prefix, \
74 err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf), \
[all …]
/drivers/usb/gadget/function/
Df_mass_storage.h21 #define _FSG_MODULE_PARAM_ARRAY(prefix, params, name, type, desc) \ argument
22 module_param_array_named(prefix ## name, params.name, type, \
23 &prefix ## params.name ## _count, \
25 MODULE_PARM_DESC(prefix ## name, desc)
27 #define _FSG_MODULE_PARAM(prefix, params, name, type, desc) \ argument
28 module_param_named(prefix ## name, params.name, type, \
30 MODULE_PARM_DESC(prefix ## name, desc)
32 #define __FSG_MODULE_PARAMETERS(prefix, params) \ argument
33 _FSG_MODULE_PARAM_ARRAY(prefix, params, file, charp, \
35 _FSG_MODULE_PARAM_ARRAY(prefix, params, ro, bool, \
[all …]
/drivers/regulator/
Dmc13xxx.h55 #define MC13xxx_DEFINE(prefix, _name, _node, _reg, _vsel_reg, _voltages, _ops) \ argument
56 [prefix ## _name] = { \
63 .id = prefix ## _name, \
66 .reg = prefix ## _reg, \
67 .enable_bit = prefix ## _reg ## _ ## _name ## EN, \
68 .vsel_reg = prefix ## _vsel_reg, \
69 .vsel_shift = prefix ## _vsel_reg ## _ ## _name ## VSEL,\
70 .vsel_mask = prefix ## _vsel_reg ## _ ## _name ## VSEL_M,\
73 #define MC13xxx_FIXED_DEFINE(prefix, _name, _node, _reg, _voltages, _ops) \ argument
74 [prefix ## _name] = { \
[all …]
/drivers/clk/qcom/
Dlcc-msm8960.c91 #define CLK_AIF_OSR_SRC(prefix, _ns, _md) \ argument
92 static struct clk_rcg prefix##_osr_src = { \
116 .name = #prefix "_osr_src", \
125 #define CLK_AIF_OSR_CLK(prefix, _ns, hr, en_bit) \ argument
126 static struct clk_branch prefix##_osr_clk = { \
134 .name = #prefix "_osr_clk", \
136 &prefix##_osr_src.clkr.hw, \
145 #define CLK_AIF_OSR_DIV_CLK(prefix, _ns, _width) \ argument
146 static struct clk_regmap_div prefix##_div_clk = { \
152 .name = #prefix "_div_clk", \
[all …]
Dlcc-mdm9615.c196 #define CLK_AIF_OSR_DIV(prefix, _ns, _md, hr) \ argument
197 static struct clk_rcg prefix##_osr_src = { \
221 .name = #prefix "_osr_src", \
230 static const char * const lcc_##prefix##_parents[] = { \
231 #prefix "_osr_src", \
234 static struct clk_branch prefix##_osr_clk = { \
242 .name = #prefix "_osr_clk", \
243 .parent_names = lcc_##prefix##_parents, \
251 static struct clk_regmap_div prefix##_div_clk = { \
257 .name = #prefix "_div_clk", \
[all …]
/drivers/gpu/drm/amd/amdgpu/
Dsoc15_common.h118 #define WREG32_RLC_EX(prefix, reg, value) \ argument
123 …uint32_t r0 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG0_BASE_IDX] + prefix##SCRATCH_REG0; \
124 …uint32_t r1 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG1; \
125 …uint32_t spare_int = adev->reg_offset[GC_HWIP][0][prefix##RLC_SPARE_INT_BASE_IDX] + prefix##RLC_SP…
156 #define WREG32_SOC15_RLC_SHADOW_EX(prefix, ip, inst, reg, value) \ argument
160 …uint32_t r2 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG2; \
161 …uint32_t r3 = adev->reg_offset[GC_HWIP][0][prefix##SCRATCH_REG1_BASE_IDX] + prefix##SCRATCH_REG3; \
162 …uint32_t grbm_cntl = adev->reg_offset[GC_HWIP][0][prefix##GRBM_GFX_CNTL_BASE_IDX] + prefix##GRBM_G…
163 …uint32_t grbm_idx = adev->reg_offset[GC_HWIP][0][prefix##GRBM_GFX_INDEX_BASE_IDX] + prefix##GRBM_G…
183 #define WREG32_SOC15_RLC_EX(prefix, ip, inst, reg, value) \ argument
[all …]
/drivers/gpu/drm/i915/
Di915_syncmap.c74 u64 prefix; member
163 if (likely(__sync_leaf_prefix(p, id) == p->prefix)) in i915_syncmap_is_later()
172 if (__sync_branch_prefix(p, id) == p->prefix) in i915_syncmap_is_later()
185 if (__sync_branch_prefix(p, id) != p->prefix) in i915_syncmap_is_later()
210 p->prefix = __sync_leaf_prefix(p, id); in __sync_alloc_leaf()
244 GEM_BUG_ON(__sync_leaf_prefix(p, id) == p->prefix); in __sync_set()
253 if (__sync_branch_prefix(p, id) == p->prefix) in __sync_set()
281 if (__sync_branch_prefix(p, id) != p->prefix) { in __sync_set()
291 above = fls64(__sync_branch_prefix(p, id) ^ p->prefix); in __sync_set()
294 next->prefix = __sync_branch_prefix(next, id); in __sync_set()
[all …]
/drivers/net/ethernet/sfc/
Def100_rx.c34 bool ef100_rx_buf_hash_valid(const u8 *prefix) in ef100_rx_buf_hash_valid() argument
36 return PREFIX_FIELD(prefix, RSS_HASH_VALID); in ef100_rx_buf_hash_valid()
39 static bool ef100_has_fcs_error(struct efx_channel *channel, u32 *prefix) in ef100_has_fcs_error() argument
44 rxclass = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, CLASS)); in ef100_has_fcs_error()
66 u32 *prefix; in __ef100_rx_packet() local
68 prefix = (u32 *)(eh - ESE_GZ_RX_PKT_PREFIX_LEN); in __ef100_rx_packet()
70 if (ef100_has_fcs_error(channel, prefix) && in __ef100_rx_packet()
74 rx_buf->len = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, LENGTH)); in __ef100_rx_packet()
83 ing_port = le16_to_cpu((__force __le16) PREFIX_FIELD(prefix, INGRESS_MPORT)); in __ef100_rx_packet()
115 if (PREFIX_FIELD(prefix, NT_OR_INNER_L3_CLASS) == 1) { in __ef100_rx_packet()
[all …]
/drivers/s390/net/
Dsmsgiucv.c22 const char *prefix; member
79 if (strncmp(buffer + 8, cb->prefix, cb->len) == 0) { in smsg_message_pending()
88 int smsg_register_callback(const char *prefix, in smsg_register_callback() argument
96 cb->prefix = prefix; in smsg_register_callback()
97 cb->len = strlen(prefix); in smsg_register_callback()
105 void smsg_unregister_callback(const char *prefix, in smsg_unregister_callback() argument
115 strcmp(tmp->prefix, prefix) == 0) { in smsg_unregister_callback()
/drivers/acpi/acpica/
Dacapps.h42 #define ACPI_COMMON_HEADER(utility_name, prefix) \ argument
44 prefix, ACPICA_NAME, \
45 prefix, utility_name, ((u32) ACPI_CA_VERSION), ACPI_WIDTH, \
46 prefix, ACPICA_COPYRIGHT, \
47 prefix
148 char *ad_generate_filename(char *prefix, char *table_id);
/drivers/hwmon/
Diio_hwmon.c102 const char *prefix; in iio_hwmon_probe() local
117 prefix = "in"; in iio_hwmon_probe()
121 prefix = "temp"; in iio_hwmon_probe()
125 prefix = "curr"; in iio_hwmon_probe()
129 prefix = "power"; in iio_hwmon_probe()
133 prefix = "humidity"; in iio_hwmon_probe()
141 prefix, n); in iio_hwmon_probe()
Dw83l785ts.c221 const char *prefix; in w83l785ts_read_value() local
229 prefix = ""; in w83l785ts_read_value()
232 prefix = "w83l785ts: "; in w83l785ts_read_value()
244 prefix, value, reg); in w83l785ts_read_value()
247 dev_dbg(dev, "%sRead failed, will retry in %d.\n", prefix, i); in w83l785ts_read_value()
251 dev_err(dev, "%sCouldn't read value from register 0x%02x.\n", prefix, in w83l785ts_read_value()
/drivers/misc/genwqe/
Dgenwqe_driver.h60 char prefix[32]; in genwqe_hexdump() local
62 scnprintf(prefix, sizeof(prefix), "%s %s: ", in genwqe_hexdump()
65 print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, in genwqe_hexdump()
/drivers/net/wireless/ath/ath11k/
Ddebug.c79 const char *msg, const char *prefix, in ath11k_dbg_dump() argument
95 (prefix ? prefix : ""), in ath11k_dbg_dump()
105 trace_ath11k_log_dbg_dump(ab, msg ? msg : "", prefix ? prefix : "", in ath11k_dbg_dump()
Dtrace.h249 TP_PROTO(struct ath11k_base *ab, const char *msg, const char *prefix,
252 TP_ARGS(ab, msg, prefix, buf, buf_len),
258 __string(prefix, prefix)
267 __assign_str(prefix, prefix);
276 __get_str(prefix),
/drivers/video/fbdev/omap2/omapfb/dss/
Domapdss-boot-init.c24 static const char prefix[] __initconst = "omapdss,"; variable
68 strcpy(dst, prefix); in omapdss_prefix_strcpy()
69 dst += strlen(prefix); in omapdss_prefix_strcpy()
96 if (strncmp(prefix, prop->value, strlen(prefix)) == 0) in omapdss_omapify_node()
101 new_len = prop->length + strlen(prefix) * num_strs; in omapdss_omapify_node()
/drivers/net/wireless/ti/wlcore/
Ddebug.h78 #define wl1271_dump(level, prefix, buf, len) \ argument
81 print_hex_dump_debug(DRIVER_PREFIX prefix, \
88 #define wl1271_dump_ascii(level, prefix, buf, len) \ argument
91 print_hex_dump_debug(DRIVER_PREFIX prefix, \
/drivers/net/ethernet/intel/ice/
Dice_controlq.c6 #define ICE_CQ_INIT_REGS(qinfo, prefix) \ argument
8 (qinfo)->sq.head = prefix##_ATQH; \
9 (qinfo)->sq.tail = prefix##_ATQT; \
10 (qinfo)->sq.len = prefix##_ATQLEN; \
11 (qinfo)->sq.bah = prefix##_ATQBAH; \
12 (qinfo)->sq.bal = prefix##_ATQBAL; \
13 (qinfo)->sq.len_mask = prefix##_ATQLEN_ATQLEN_M; \
14 (qinfo)->sq.len_ena_mask = prefix##_ATQLEN_ATQENABLE_M; \
15 (qinfo)->sq.len_crit_mask = prefix##_ATQLEN_ATQCRIT_M; \
16 (qinfo)->sq.head_mask = prefix##_ATQH_ATQH_M; \
[all …]
/drivers/staging/media/atomisp/pci/runtime/bufq/src/
Dbufq.c30 static char prefix[BUFQ_DUMP_FILE_NAME_PREFIX_SIZE] = {0}; variable
489 static void bufq_dump_queue_info(const char *prefix, ia_css_queue_t *qhandle) in bufq_dump_queue_info() argument
493 assert(prefix && qhandle); in bufq_dump_queue_info()
497 prefix, used, free); in bufq_dump_queue_info()
508 snprintf(prefix, BUFQ_DUMP_FILE_NAME_PREFIX_SIZE, in ia_css_bufq_dump_queue_info()
510 bufq_dump_queue_info(prefix, in ia_css_bufq_dump_queue_info()
516 snprintf(prefix, BUFQ_DUMP_FILE_NAME_PREFIX_SIZE, in ia_css_bufq_dump_queue_info()
518 bufq_dump_queue_info(prefix, in ia_css_bufq_dump_queue_info()
/drivers/firmware/efi/libstub/
DMakefile138 STUBCOPY_FLAGS-$(CONFIG_ARM64) += --prefix-alloc-sections=.init \
139 --prefix-symbols=__efistub_
145 STUBCOPY_FLAGS-$(CONFIG_RISCV) += --prefix-alloc-sections=.init \
146 --prefix-symbols=__efistub_
151 STUBCOPY_FLAGS-$(CONFIG_LOONGARCH) += --prefix-alloc-sections=.init \
152 --prefix-symbols=__efistub_
/drivers/net/wireless/ath/ath6kl/
Dtrace.h294 TP_PROTO(const char *msg, const char *prefix,
297 TP_ARGS(msg, prefix, buf, buf_len),
301 __string(prefix, prefix)
308 __assign_str(prefix, prefix);
314 "%s/%s\n", __get_str(prefix), __get_str(msg)
/drivers/edac/
Dedac_mc.h48 #define edac_printk(level, prefix, fmt, arg...) \ argument
49 printk(level "EDAC " prefix ": " fmt, ##arg)
54 #define edac_mc_chipset_printk(mci, level, prefix, fmt, arg...) \ argument
55 printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg)
/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c366 prefix, prefix, prefix); in aic_print_reg_dump_types()
377 prefix, in aic_print_reg_dump_start()
410 prefix, in aic_print_reg_dump_end()
412 prefix, in aic_print_reg_dump_end()
428 prefix, in aic_print_reg_dump_end()
429 prefix, in aic_print_reg_dump_end()
431 prefix, in aic_print_reg_dump_end()
433 prefix, in aic_print_reg_dump_end()
/drivers/scsi/
Dsd.h164 #define sd_printk(prefix, sdsk, fmt, a...) \ argument
166 sdev_prefix_printk(prefix, (sdsk)->device, \
168 sdev_printk(prefix, (sdsk)->device, fmt, ##a)
170 #define sd_first_printk(prefix, sdsk, fmt, a...) \ argument
173 sd_printk(prefix, sdsk, fmt, ##a); \
Dscript_asm.pl887 print OUTPUT "static u32 ".$prefix."SCRIPT[] = {\n";
920 if (defined($prefix) && $prefix ne '') {
921 printf OUTPUT "#define A_".$i."_used ".$prefix."A_".$i."_used\n";
948 printf OUTPUT "static u32 ".$prefix."LABELPATCHES[] __attribute((unused)) = {\n";
956 "} ".$prefix."EXTERNAL_PATCHES[] __attribute((unused)) = {\n";
964 printf OUTPUT "static u32 ".$prefix."INSTRUCTIONS __attribute((unused))\t= %d;\n",
966 printf OUTPUT "static u32 ".$prefix."PATCHES __attribute((unused))\t= %d;\n",
968 printf OUTPUT "static u32 ".$prefix."EXTERNAL_PATCHES_LEN __attribute((unused))\t= %d;\n",

12345678