/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | pci_hotplug_core.c | 49 #define GET_STATUS(name, type) \ 50 static int get_##name(struct hotplug_slot *slot, type *value) \ 56 if (ops->get_##name) \ 57 retval = ops->get_##name(slot, value); \ 119 .attr = {.name = "power", .mode = S_IFREG | S_IRUGO | S_IWUSR}, 164 .attr = {.name = "attention", .mode = S_IFREG | S_IRUGO | S_IWUSR}, 182 .attr = {.name = "latch", .mode = S_IFREG | S_IRUGO}, 199 .attr = {.name = "adapter", .mode = S_IFREG | S_IRUGO}, 230 .attr = {.name = "test", .mode = S_IFREG | S_IRUGO | S_IWUSR}, 378 static struct hotplug_slot *get_slot_from_name(const char *name) in get_slot_from_name() argument 404 __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_register() argument 438 __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_initialize() argument [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | of_regulator.c | 41 constraints->name = of_get_property(np, "regulator-name", NULL); in of_get_regulation_constraints() 323 * or otherwise the child node's name. Note that the match table is modified 335 const char *name; in of_regulator_match() local 360 name = of_get_property(child, in of_regulator_match() 362 if (!name) in of_regulator_match() 363 name = child->name; in of_regulator_match() 369 if (strcmp(match->name, name)) in of_regulator_match() 397 const char *name; regulator_of_get_init_node() local [all...] |
H A D | tps65090-regulator.c | 187 .name = "TPS65090_RAILS"#_id, \ 295 { .name = "dcdc1", }, 296 { .name = "dcdc2", }, 297 { .name = "dcdc3", }, 298 { .name = "fet1", }, 299 { .name = "fet2", }, 300 { .name = "fet3", }, 301 { .name = "fet4", }, 302 { .name = "fet5", }, 303 { .name [all...] |
/kernel/linux/linux-5.10/drivers/rpmsg/ |
H A D | rpmsg_core.c | 302 if (strncmp(chinfo->name, rpdev->id.name, RPMSG_NAME_SIZE)) in rpmsg_device_match() 368 rpmsg_show_attr(name, id.name, "%s\n"); 384 return sprintf(buf, RPMSG_DEVICE_MODALIAS_FMT "\n", rpdev->id.name); in modalias_show() 399 /* rpmsg devices and drivers are matched using the service name */ 403 return strncmp(id->name, rpdev->id.name, RPMSG_NAME_SIZE) == 0; in rpmsg_id_match() 415 return !strcmp(rpdev->driver_override, drv->name); in rpmsg_dev_match() 418 for (i = 0; ids[i].name[ in rpmsg_dev_match() [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | tps6586x.c | 105 .name = "tps6586x-gpio", 108 .name = "tps6586x-regulator", 111 .name = "tps6586x-rtc", 116 .name = "tps6586x-onkey", 279 .name = "tps6586x", 390 pdev = platform_device_alloc(subdev->name, subdev->id); in tps6586x_add_subdevs() 471 const char *name; in tps6586x_print_version() local 475 name = "TPS658621A"; in tps6586x_print_version() 478 name = "TPS658621C/D"; in tps6586x_print_version() 481 name in tps6586x_print_version() [all...] |
H A D | intel-lpss.c | 105 .name = LPSS_IDMA64_DRIVER_NAME, 111 .name = "i2c_designware", 117 .name = "dw-apb-uart", 123 .name = "pxa2xx-spi", 293 char name[32]; in intel_lpss_register_clock_divider() local 296 snprintf(name, sizeof(name), "%s-enable", devname); in intel_lpss_register_clock_divider() 297 tmp = clk_register_gate(NULL, name, __clk_get_name(tmp), 0, in intel_lpss_register_clock_divider() 302 snprintf(name, sizeof(name), " in intel_lpss_register_clock_divider() [all...] |
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | tda9887.c | 50 char *name; member 140 .name = "PAL-BGHN", 151 .name = "PAL-I", 162 .name = "PAL-DK", 173 .name = "PAL-M/Nc", 184 .name = "SECAM-BGH", 192 .name = "SECAM-L", 201 .name = "SECAM-L'", 211 .name = "SECAM-DK", 222 .name [all...] |
/kernel/linux/linux-6.6/drivers/net/arcnet/ |
H A D | com20020-pci.c | 52 static char device[9]; /* use eg. device="arc1" to change name */ 113 .name = NULL, 179 arc_printk(D_NORMAL, dev, "%s Controls\n", ci->name); in com20020pci_probe() 213 if (!strncmp(ci->name, "EAE PLX-PCI FB2", 15)) in com20020pci_probe() 218 if (!strncmp(ci->name, "EAE PLX-PCI MA1", 15)) in com20020pci_probe() 221 snprintf(dev->name, sizeof(dev->name), "arc%d-%d", dev->dev_id, i); in com20020pci_probe() 253 card->tx_led.name = devm_kasprintf(&pdev->dev, GFP_KERNEL, in com20020pci_probe() 262 card->recon_led.name = devm_kasprintf(&pdev->dev, GFP_KERNEL, in com20020pci_probe() 309 .name [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | nic.c | 85 efx->name, efx); in efx_nic_init_interrupt() 112 efx->msi_context[channel->channel].name, in efx_nic_init_interrupt() 182 #define REGISTER(name, arch, min_rev, max_rev) { \ 183 arch ## R_ ## min_rev ## max_rev ## _ ## name, \ 187 #define REGISTER_DZ(name) REGISTER(name, E, D, Z) 209 #define REGISTER_TABLE(name, arch, min_rev, max_rev) \ 211 name, arch ## R_ ## min_rev ## max_rev ## _ ## name, \ 213 arch ## R_ ## min_rev ## max_rev ## _ ## name ## _STE [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | devtmpfs.c | 11 * By default, all devices are named after the name of the device, 50 const char *name; member 83 .name = "devtmpfs", 93 .name = "devtmpfs", 125 req.name = device_get_devnode(dev, &req.mode, &req.uid, &req.gid, &tmp); in devtmpfs_create_node() 126 if (!req.name) in devtmpfs_create_node() 149 req.name = device_get_devnode(dev, NULL, NULL, NULL, &tmp); in devtmpfs_delete_node() 150 if (!req.name) in devtmpfs_delete_node() 159 static int dev_mkdir(const char *name, umode_t mode) in dev_mkdir() argument 165 dentry = kern_path_create(AT_FDCWD, name, in dev_mkdir() 239 dev_rmdir(const char *name) dev_rmdir() argument 380 handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, struct device *dev) handle() argument [all...] |
/kernel/linux/linux-6.6/fs/afs/ |
H A D | volume.c | 96 memcpy(volume->name, vldb->name, vldb->name_len + 1); in afs_alloc_volume() 162 * The volume name can be one of the following: 171 * The cell name is optional, and defaults to the current cell. 295 char *name; in afs_activate_volume() local 297 name = kasprintf(GFP_KERNEL, "afs,%s,%llx", in afs_activate_volume() 298 volume->cell->name, volume->vid); in afs_activate_volume() 299 if (!name) in afs_activate_volume() 302 vcookie = fscache_acquire_volume(name, NULL, NULL, 0); in afs_activate_volume() 305 kfree(name); in afs_activate_volume() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | seqlock.h | 71 static inline void __seqcount_init(seqcount_t *s, const char *name, in __seqcount_init() argument 77 lockdep_init_map(&s->dep_map, name, key, 0); in __seqcount_init() 84 .dep_map = { .name = #lockname } 115 * @name: Name of the seqcount_t instance 117 #define SEQCNT_ZERO(name) { .sequence = 0, SEQCOUNT_DEP_MAP_INIT(name) } 281 * @name: Name of the seqcount_LOCKNAME_t instance 290 #define SEQCNT_RAW_SPINLOCK_ZERO(name, lock) SEQCOUNT_LOCKNAME_ZERO(name, lock) 291 #define SEQCNT_SPINLOCK_ZERO(name, loc [all...] |
/kernel/linux/linux-6.6/drivers/rpmsg/ |
H A D | rpmsg_core.c | 28 * using its name and address info. 50 * using its name and address info. 389 if (strncmp(chinfo->name, rpdev->id.name, RPMSG_NAME_SIZE)) in rpmsg_device_match() 455 rpmsg_show_attr(name, id.name, "%s\n"); 471 return sprintf(buf, RPMSG_DEVICE_MODALIAS_FMT "\n", rpdev->id.name); in modalias_show() 486 /* rpmsg devices and drivers are matched using the service name */ 490 return strncmp(id->name, rpdev->id.name, RPMSG_NAME_SIZ in rpmsg_id_match() [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | tps65090-regulator.c | 187 .name = "TPS65090_RAILS"#_id, \ 295 { .name = "dcdc1", }, 296 { .name = "dcdc2", }, 297 { .name = "dcdc3", }, 298 { .name = "fet1", }, 299 { .name = "fet2", }, 300 { .name = "fet3", }, 301 { .name = "fet4", }, 302 { .name = "fet5", }, 303 { .name [all...] |
/kernel/linux/linux-6.6/drivers/usb/musb/ |
H A D | musb_trace.h | 30 __string(name, dev_name(musb->controller)) 34 __assign_str(name, dev_name(musb->controller)); 37 TP_printk("%s: %s", __get_str(name), __get_str(msg)) 44 __string(name, dev_name(musb->controller)) 49 __assign_str(name, dev_name(musb->controller)); 53 TP_printk("%s: devctl: %02x %s", __get_str(name), __entry->devctl, 157 __string(name, dev_name(musb->controller)) 163 __assign_str(name, dev_name(musb->controller)); 169 __get_str(name), __entry->int_usb, 178 __string(name, dev_nam [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-composite.c | 238 const char *name, const char * const *parent_names, in __clk_hw_register_composite() 255 init.name = name; in __clk_hw_register_composite() 354 struct clk_hw *clk_hw_register_composite(struct device *dev, const char *name, in clk_hw_register_composite() argument 361 return __clk_hw_register_composite(dev, name, parent_names, NULL, in clk_hw_register_composite() 369 const char *name, in clk_hw_register_composite_pdata() 377 return __clk_hw_register_composite(dev, name, NULL, parent_data, in clk_hw_register_composite_pdata() 383 struct clk *clk_register_composite(struct device *dev, const char *name, in clk_register_composite() argument 392 hw = clk_hw_register_composite(dev, name, parent_names, num_parents, in clk_register_composite() 401 struct clk *clk_register_composite_pdata(struct device *dev, const char *name, in clk_register_composite_pdata() argument 237 __clk_hw_register_composite(struct device *dev, const char *name, const char * const *parent_names, const struct clk_parent_data *pdata, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) __clk_hw_register_composite() argument 368 clk_hw_register_composite_pdata(struct device *dev, const char *name, const struct clk_parent_data *parent_data, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_hw_register_composite_pdata() argument 450 __devm_clk_hw_register_composite(struct device *dev, const char *name, const char * const *parent_names, const struct clk_parent_data *pdata, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) __devm_clk_hw_register_composite() argument 479 devm_clk_hw_register_composite_pdata(struct device *dev, const char *name, const struct clk_parent_data *parent_data, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) devm_clk_hw_register_composite_pdata() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/davinci/ |
H A D | psc.c | 91 * best_dev_name - get the "best" device name. 94 * Returns the device tree compatible name if the device has a DT node, 95 * otherwise return the device name. This is mainly needed because clkdev 226 * @name: name of this clock 227 * @parent_name: name of clock's parent 234 davinci_lpsc_clk_register(struct device *dev, const char *name, in davinci_lpsc_clk_register() argument 247 init.name = name; in davinci_lpsc_clk_register() 277 ret = clk_hw_register_clkdev(&lpsc->hw, name, best_dev_nam in davinci_lpsc_clk_register() [all...] |
/kernel/linux/linux-6.6/drivers/clk/hisilicon/ |
H A D | clk.c | 98 clk = clk_register_fixed_rate(NULL, clks[i].name, in hisi_clk_register_fixed_rate() 104 __func__, clks[i].name); in hisi_clk_register_fixed_rate() 128 clk = clk_register_fixed_factor(NULL, clks[i].name, in hisi_clk_register_fixed_factor() 134 __func__, clks[i].name); in hisi_clk_register_fixed_factor() 160 clk = clk_register_mux_table(NULL, clks[i].name, in hisi_clk_register_mux() 168 __func__, clks[i].name); in hisi_clk_register_mux() 201 clks[i].name); in hisi_clk_register_phase() 220 clk = clk_register_divider_table(NULL, clks[i].name, in hisi_clk_register_divider() 230 __func__, clks[i].name); in hisi_clk_register_divider() 258 clk = clk_register_gate(NULL, clks[i].name, in hisi_clk_register_gate() [all...] |
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | krait-cc.c | 106 init.name = kasprintf(GFP_KERNEL, "hfpll%s_div", s); in krait_add_div() 107 if (!init.name) in krait_add_div() 118 p_data[0].name = parent_name; in krait_add_div() 138 kfree(init.name); in krait_add_div() 150 { .name = "qsb", .fw_name = "qsb" }, in krait_add_sec_mux() 182 init.name = kasprintf(GFP_KERNEL, "krait%s_sec_mux", s); in krait_add_sec_mux() 183 if (!init.name) in krait_add_sec_mux() 193 sec_mux_list[1].name = parent_name; in krait_add_sec_mux() 195 sec_mux_list[1].name = "apu_aux"; in krait_add_sec_mux() 223 kfree(init.name); in krait_add_sec_mux() [all...] |
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | edac_device.c | 113 snprintf(dev_ctl->name, sizeof(dev_ctl->name),"%s", dev_name); in edac_device_alloc_ctl_info() 123 /* name of this instance */ in edac_device_alloc_ctl_info() 124 snprintf(inst->name, sizeof(inst->name), "%s%u", dev_name, instance); in edac_device_alloc_ctl_info() 130 snprintf(blk->name, sizeof(blk->name), in edac_device_alloc_ctl_info() 133 edac_dbg(4, "instance=%d inst_p=%p block=#%d block_p=%p name='%s'\n", in edac_device_alloc_ctl_info() 134 instance, inst, block, blk, blk->name); in edac_device_alloc_ctl_info() 167 edac_dbg(4, "alloc-attrib=%p attrib_name='%s' attrib-spec=%p spec-name in edac_device_alloc_ctl_info() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/tw68/ |
H A D | tw68-core.c | 204 dev->name, orig, tw_readl(TW68_INTSTAT)); in tw68_irq() 206 dev->name, dev->pci_irqmask, dev->board_virqmask); in tw68_irq() 236 dev->name = dev->v4l2_dev.name; in tw68_initdev() 240 dev->name, latency); in tw68_initdev() 248 dev->name, pci_name(pci_dev), dev->pci_rev, pci_dev->irq, in tw68_initdev() 253 pr_info("%s: Oops: no 32bit PCI DMA ???\n", dev->name); in tw68_initdev() 279 dev->name)) { in tw68_initdev() 282 dev->name, in tw68_initdev() 292 dev->name); in tw68_initdev() [all...] |
/kernel/linux/linux-6.6/drivers/of/ |
H A D | of_reserved_mem.c | 72 rmem->name = uname; in fdt_reserved_mem_save_node() 244 rmem->name, compat); in __reserved_mem_init_node() 300 this->name, &this->base, &this_end, in __rmem_check_for_overlap() 301 next->name, &next->base, &next_end); in __rmem_check_for_overlap() 332 err = __reserved_mem_alloc_size(node, rmem->name, in fdt_init_reserved_mem() 338 rmem->name); in fdt_init_reserved_mem() 353 rmem->name ? rmem->name : "unknown"); in fdt_init_reserved_mem() 391 * should allocate child devices and initialize regions by name for each of 435 dev_info(dev, "assigned reserved memory node %s\n", rmem->name); in of_reserved_mem_device_init_by_idx() 453 of_reserved_mem_device_init_by_name(struct device *dev, struct device_node *np, const char *name) of_reserved_mem_device_init_by_name() argument 502 const char *name; of_reserved_mem_lookup() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | pci_hotplug_core.c | 49 #define GET_STATUS(name, type) \ 50 static int get_##name(struct hotplug_slot *slot, type *value) \ 56 if (ops->get_##name) \ 57 retval = ops->get_##name(slot, value); \ 119 .attr = {.name = "power", .mode = S_IFREG | S_IRUGO | S_IWUSR}, 164 .attr = {.name = "attention", .mode = S_IFREG | S_IRUGO | S_IWUSR}, 182 .attr = {.name = "latch", .mode = S_IFREG | S_IRUGO}, 199 .attr = {.name = "adapter", .mode = S_IFREG | S_IRUGO}, 230 .attr = {.name = "test", .mode = S_IFREG | S_IRUGO | S_IWUSR}, 378 static struct hotplug_slot *get_slot_from_name(const char *name) in get_slot_from_name() argument 404 __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_register() argument 438 __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_initialize() argument [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | synaptics_usb.c | 87 char name[128]; member 357 strscpy(synusb->name, udev->manufacturer, in synusb_probe() 358 sizeof(synusb->name)); in synusb_probe() 362 strlcat(synusb->name, " ", sizeof(synusb->name)); in synusb_probe() 363 strlcat(synusb->name, udev->product, sizeof(synusb->name)); in synusb_probe() 366 if (!strlen(synusb->name)) in synusb_probe() 367 snprintf(synusb->name, sizeof(synusb->name), in synusb_probe() [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | avs.h | 78 const char *name; member 91 char *name; member 228 const char *name, int error) in avs_ipc_err() 237 dev_dbg(adev->dev, "%s 0x%08x 0x%08x failed: %d\n", name, in avs_ipc_err() 240 dev_err(adev->dev, "%s 0x%08x 0x%08x failed: %d\n", name, in avs_ipc_err() 280 int avs_request_firmware(struct avs_dev *adev, const struct firmware **fw_p, const char *name); 326 int avs_soc_component_register(struct device *dev, const char *name, 329 int avs_dmic_platform_register(struct avs_dev *adev, const char *name); 330 int avs_i2s_platform_register(struct avs_dev *adev, const char *name, unsigned long port_mask, 332 int avs_hda_platform_register(struct avs_dev *adev, const char *name); 227 avs_ipc_err(struct avs_dev *adev, struct avs_ipc_msg *tx, const char *name, int error) avs_ipc_err() argument 402 avs_probe_platform_register(struct avs_dev *adev, const char *name) avs_probe_platform_register() argument [all...] |