/kernel/linux/linux-5.10/drivers/firmware/broadcom/ |
H A D | bcm47xx_sprom.c | 36 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() 43 else if (postfix) in create_key() 44 snprintf(buf, len, "%s%s", name, postfix); 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() 59 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var() 67 const char *postfix, const char *name, \ 74 err = get_nvram_var(prefix, postfix, nam 412 char postfix[2]; bcm47xx_fill_sprom_path_r4589() local 463 char postfix[2]; bcm47xx_fill_sprom_path_r45() local [all...] |
/kernel/linux/linux-6.6/drivers/firmware/broadcom/ |
H A D | bcm47xx_sprom.c | 36 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() 43 else if (postfix) in create_key() 44 snprintf(buf, len, "%s%s", name, postfix); 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() 59 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var() 67 const char *postfix, const char *name, \ 74 err = get_nvram_var(prefix, postfix, nam 412 char postfix[2]; bcm47xx_fill_sprom_path_r4589() local 463 char postfix[2]; bcm47xx_fill_sprom_path_r45() local [all...] |
/kernel/linux/linux-5.10/tools/iio/ |
H A D | lsiio.c | 34 static inline int check_postfix(const char *str, const char *postfix) in check_postfix() argument 36 return strlen(str) > strlen(postfix) && in check_postfix() 37 strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in check_postfix()
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-i2c.c | 33 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() 37 if (!postfix) in v4l2_i2c_subdev_set_name() 38 postfix = ""; in v4l2_i2c_subdev_set_name() 40 snprintf(sd->name, sizeof(sd->name), "%s%s %d-%04x", devname, postfix, in v4l2_i2c_subdev_set_name() 31 v4l2_i2c_subdev_set_name(struct v4l2_subdev *sd, struct i2c_client *client, const char *devname, const char *postfix) v4l2_i2c_subdev_set_name() argument
|
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-i2c.c | 33 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() 37 if (!postfix) in v4l2_i2c_subdev_set_name() 38 postfix = ""; in v4l2_i2c_subdev_set_name() 40 snprintf(sd->name, sizeof(sd->name), "%s%s %d-%04x", devname, postfix, in v4l2_i2c_subdev_set_name() 31 v4l2_i2c_subdev_set_name(struct v4l2_subdev *sd, struct i2c_client *client, const char *devname, const char *postfix) v4l2_i2c_subdev_set_name() argument
|
/kernel/linux/linux-6.6/tools/iio/ |
H A D | lsiio.c | 34 static inline int check_postfix(const char *str, const char *postfix) in check_postfix() argument 36 return strlen(str) > strlen(postfix) && in check_postfix() 37 strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in check_postfix()
|
/kernel/linux/linux-5.10/scripts/mod/ |
H A D | modpost.h | 184 static inline bool strends(const char *str, const char *postfix) in strends() argument 186 if (strlen(str) < strlen(postfix)) in strends() 189 return strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in strends()
|
/kernel/linux/linux-5.10/drivers/clk/ti/ |
H A D | adpll.c | 184 const char *postfix) in ti_adpll_clk_get_name() 198 d->pa, postfix); in ti_adpll_clk_get_name() 211 const char *postfix = NULL; in ti_adpll_setup_clock() local 218 postfix = strrchr(name, '.'); in ti_adpll_setup_clock() 219 if (postfix && strlen(postfix) > 1) { in ti_adpll_setup_clock() 220 if (strlen(postfix) > ADPLL_MAX_CON_ID) in ti_adpll_setup_clock() 223 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock() 495 const char *postfix; in ti_adpll_init_dco() local 506 postfix in ti_adpll_init_dco() 182 ti_adpll_clk_get_name(struct ti_adpll_data *d, int output_index, const char *postfix) ti_adpll_clk_get_name() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/ti/ |
H A D | adpll.c | 175 const char *postfix) in ti_adpll_clk_get_name() 189 d->pa, postfix); in ti_adpll_clk_get_name() 202 const char *postfix = NULL; in ti_adpll_setup_clock() local 209 postfix = strrchr(name, '.'); in ti_adpll_setup_clock() 210 if (postfix && strlen(postfix) > 1) { in ti_adpll_setup_clock() 211 if (strlen(postfix) > ADPLL_MAX_CON_ID) in ti_adpll_setup_clock() 214 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock() 486 const char *postfix; in ti_adpll_init_dco() local 497 postfix in ti_adpll_init_dco() 173 ti_adpll_clk_get_name(struct ti_adpll_data *d, int output_index, const char *postfix) ti_adpll_clk_get_name() argument [all...] |
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | btrtl.h | 53 const char *postfix); 67 const char *postfix) in btrtl_initialize() 66 btrtl_initialize(struct hci_dev *hdev, const char *postfix) btrtl_initialize() argument
|
H A D | btbcm.c | 476 char postfix[16] = ""; in btbcm_initialize() local 534 snprintf(postfix, sizeof(postfix), "-%4.4x-%4.4x", vid, pid); in btbcm_initialize() 543 "brcm/%s%s.hcd", hw_name, postfix); in btbcm_initialize() 548 "brcm/BCM%s.hcd", postfix); in btbcm_initialize()
|
/kernel/linux/linux-5.10/drivers/iio/ |
H A D | industrialio-event.c | 358 char *postfix; in iio_device_add_event() local 365 postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in iio_device_add_event() 370 postfix = kasprintf(GFP_KERNEL, "%s_%s", in iio_device_add_event() 373 if (postfix == NULL) in iio_device_add_event() 384 ret = __iio_add_chan_devattr(postfix, chan, show, store, in iio_device_add_event() 387 kfree(postfix); in iio_device_add_event()
|
H A D | iio_core.h | 20 int __iio_add_chan_devattr(const char *postfix,
|
/kernel/linux/linux-6.6/drivers/iio/ |
H A D | industrialio-event.c | 370 char *postfix; in iio_device_add_event() local 377 postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in iio_device_add_event() 382 postfix = kasprintf(GFP_KERNEL, "%s_%s", in iio_device_add_event() 385 if (postfix == NULL) in iio_device_add_event() 396 ret = __iio_add_chan_devattr(postfix, chan, show, store, in iio_device_add_event() 400 kfree(postfix); in iio_device_add_event()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btbcm.c | 580 char postfix[16] = ""; in btbcm_initialize() local 647 snprintf(postfix, sizeof(postfix), "-%4.4x-%4.4x", vid, pid); in btbcm_initialize() 657 "brcm/%s%s.%s.hcd", hw_name, postfix, board_name); in btbcm_initialize() 661 "brcm/%s%s.hcd", hw_name, postfix); in btbcm_initialize() 667 "brcm/BCM%s.%s.hcd", postfix, board_name); in btbcm_initialize() 671 "brcm/BCM%s.hcd", postfix); in btbcm_initialize()
|
H A D | btrtl.h | 138 const char *postfix); 155 const char *postfix) in btrtl_initialize() 154 btrtl_initialize(struct hci_dev *hdev, const char *postfix) btrtl_initialize() argument
|
/kernel/linux/linux-6.6/tools/thermal/thermometer/ |
H A D | thermometer.c | 42 char postfix[PATH_MAX]; member 188 printf("\t-p, --postfix <string>\tpostfix to be happened at the end of the files\n"); in usage() 205 { "postfix", required_argument, NULL, 'p' }, in options_init() 212 strftime(options->postfix, sizeof(options->postfix), in options_init() 237 strcpy(options->postfix, optarg); in options_init() 373 thermometer->tz[i].name, options->postfix); in thermometer_start()
|
/kernel/linux/linux-6.6/tools/testing/memblock/tests/ |
H A D | common.c | 154 void print_prefixes(const char *postfix) in print_prefixes() argument 158 test_print(postfix); in print_prefixes()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | bitops.h | 109 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ 122 postfix \
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | bitops.h | 151 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ 164 postfix \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_request.c | 239 if (rq->postfix < head) { in __i915_request_fill() 243 memset(vaddr + head, val, rq->postfix - head); in __i915_request_fill() 301 rq->ring->head = rq->postfix; in i915_request_retire() 488 if (rq->infix == rq->postfix) in __i915_request_skip() 497 rq->infix = rq->postfix; in __i915_request_skip() 576 request->ring->vaddr + request->postfix); in __i915_request_submit() 1571 rq->postfix = intel_ring_offset(rq, cs); in __i915_request_commit()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_request.c | 227 if (rq->postfix < head) { in __i915_request_fill() 231 memset(vaddr + head, val, rq->postfix - head); in __i915_request_fill() 384 rq->ring->head = rq->postfix; in i915_request_retire() 557 if (rq->infix == rq->postfix) in __i915_request_skip() 568 rq->infix = rq->postfix; in __i915_request_skip() 663 request->ring->vaddr + request->postfix); in __i915_request_submit() 1812 rq->postfix = intel_ring_offset(rq, cs); in __i915_request_commit()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | data.h | 77 * perf.data.<postfix>, continue write on original data. 83 const char *postfix,
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | data.h | 88 * perf.data.<postfix>, continue write on original data. 94 const char *postfix,
|
/kernel/linux/linux-5.10/drivers/firmware/imx/ |
H A D | scu-pd.c | 80 bool postfix; member 271 if (pd_ranges->postfix) in imx_scu_add_pm_domain()
|