Home
last modified time | relevance | path

Searched refs:obj_desc (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/drivers/bus/fsl-mc/
Ddprc-driver.c26 struct fsl_mc_obj_desc *obj_desc) in fsl_mc_device_match() argument
28 return mc_dev->obj_desc.id == obj_desc->id && in fsl_mc_device_match()
29 strcmp(mc_dev->obj_desc.type, obj_desc->type) == 0; in fsl_mc_device_match()
43 struct fsl_mc_obj_desc *obj_desc = &objs->child_array[i]; in __fsl_mc_device_remove_if_not_in_mc() local
45 if (strlen(obj_desc->type) != 0 && in __fsl_mc_device_remove_if_not_in_mc()
46 fsl_mc_device_match(mc_dev, obj_desc)) in __fsl_mc_device_remove_if_not_in_mc()
101 struct fsl_mc_obj_desc *obj_desc = data; in __fsl_mc_device_match() local
104 return fsl_mc_device_match(mc_dev, obj_desc); in __fsl_mc_device_match()
108 *obj_desc, in fsl_mc_device_lookup()
114 dev = device_find_child(&mc_bus_dev->dev, obj_desc, in fsl_mc_device_lookup()
[all …]
Dfsl-mc-bus.c93 if ((mc_dev->obj_desc.state & FSL_MC_OBJ_STATE_PLUGGED) == 0 && in fsl_mc_bus_match()
102 if (id->vendor == mc_dev->obj_desc.vendor && in fsl_mc_bus_match()
103 strcmp(id->obj_type, mc_dev->obj_desc.type) == 0) { in fsl_mc_bus_match()
123 mc_dev->obj_desc.vendor, in fsl_mc_bus_uevent()
124 mc_dev->obj_desc.type)) in fsl_mc_bus_uevent()
135 return sprintf(buf, "fsl-mc:v%08Xd%s\n", mc_dev->obj_desc.vendor, in modalias_show()
136 mc_dev->obj_desc.type); in modalias_show()
438 struct fsl_mc_obj_desc *obj_desc = &mc_dev->obj_desc; in fsl_mc_device_get_mmio_regions() local
456 regions = kmalloc_array(obj_desc->region_count, in fsl_mc_device_get_mmio_regions()
461 for (i = 0; i < obj_desc->region_count; i++) { in fsl_mc_device_get_mmio_regions()
[all …]
Ddprc.c345 struct fsl_mc_obj_desc *obj_desc) in dprc_get_obj() argument
366 obj_desc->id = le32_to_cpu(rsp_params->id); in dprc_get_obj()
367 obj_desc->vendor = le16_to_cpu(rsp_params->vendor); in dprc_get_obj()
368 obj_desc->irq_count = rsp_params->irq_count; in dprc_get_obj()
369 obj_desc->region_count = rsp_params->region_count; in dprc_get_obj()
370 obj_desc->state = le32_to_cpu(rsp_params->state); in dprc_get_obj()
371 obj_desc->ver_major = le16_to_cpu(rsp_params->version_major); in dprc_get_obj()
372 obj_desc->ver_minor = le16_to_cpu(rsp_params->version_minor); in dprc_get_obj()
373 obj_desc->flags = le16_to_cpu(rsp_params->flags); in dprc_get_obj()
374 strncpy(obj_desc->type, rsp_params->type, 16); in dprc_get_obj()
[all …]
Dmc-io.c25 dpmcp_dev->obj_desc.id, in fsl_mc_io_set_dpmcp()
196 if (dpmcp_dev->obj_desc.ver_major < DPMCP_MIN_VER_MAJOR || in fsl_mc_portal_allocate()
197 (dpmcp_dev->obj_desc.ver_major == DPMCP_MIN_VER_MAJOR && in fsl_mc_portal_allocate()
198 dpmcp_dev->obj_desc.ver_minor < DPMCP_MIN_VER_MINOR)) { in fsl_mc_portal_allocate()
201 dpmcp_dev->obj_desc.ver_major, in fsl_mc_portal_allocate()
202 dpmcp_dev->obj_desc.ver_minor); in fsl_mc_portal_allocate()
Dfsl-mc-msi.c103 owner_mc_dev->obj_desc.type, in __fsl_mc_msi_write_msg()
104 owner_mc_dev->obj_desc.id, in __fsl_mc_msi_write_msg()
Dfsl-mc-allocator.c73 resource->id = mc_dev->obj_desc.id; in fsl_mc_resource_pool_add_device()
441 irq_count = mc_dev->obj_desc.irq_count; in fsl_mc_allocate_irqs()
506 irq_count = mc_dev->obj_desc.irq_count; in fsl_mc_free_irqs()
586 error = object_type_to_pool_type(mc_dev->obj_desc.type, &pool_type); in fsl_mc_allocator_probe()
Dfsl-mc-private.h324 struct fsl_mc_obj_desc *obj_desc);
515 int __must_check fsl_mc_device_add(struct fsl_mc_obj_desc *obj_desc,
/linux-4.19.296/include/scsi/
Dosd_protocol.h578 } __packed obj_desc; member
597 } __packed obj_desc; member
/linux-4.19.296/include/linux/fsl/
Dmc.h192 struct fsl_mc_obj_desc obj_desc; member