Home
last modified time | relevance | path

Searched refs:match_id (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.4/crypto/asymmetric_keys/
Dasymmetric_type.c193 const struct asymmetric_key_id *match_id, in asymmetric_match_key_ids() argument
199 if (!kids || !match_id) in asymmetric_match_key_ids()
202 if (match(kids->id[i], match_id)) in asymmetric_match_key_ids()
209 struct asymmetric_key_id *match_id, in __asymmetric_key_hex_to_key_id() argument
212 match_id->len = hexlen; in __asymmetric_key_hex_to_key_id()
213 return hex2bin(match_id->data, id, hexlen); in __asymmetric_key_hex_to_key_id()
222 struct asymmetric_key_id *match_id; in asymmetric_key_hex_to_key_id() local
232 match_id = kmalloc(sizeof(struct asymmetric_key_id) + asciihexlen / 2, in asymmetric_key_hex_to_key_id()
234 if (!match_id) in asymmetric_key_hex_to_key_id()
236 ret = __asymmetric_key_hex_to_key_id(id, match_id, asciihexlen / 2); in asymmetric_key_hex_to_key_id()
[all …]
Dasymmetric_keys.h13 struct asymmetric_key_id *match_id,
/Linux-v5.4/drivers/cpuidle/
Ddt_idle_states.c22 const struct of_device_id *match_id, in init_state_node() argument
33 idle_state->enter = match_id->data; in init_state_node()
39 idle_state->enter_s2idle = match_id->data; in init_state_node()
156 const struct of_device_id *match_id; in dt_init_idle_driver() local
177 match_id = of_match_node(matches, state_node); in dt_init_idle_driver()
178 if (!match_id) { in dt_init_idle_driver()
201 err = init_state_node(idle_state, match_id, state_node); in dt_init_idle_driver()
Dcpuidle-big_little.c167 const struct of_device_id *match_id; in bl_idle_init() local
175 match_id = of_match_node(compatible_machine_match, root); in bl_idle_init()
179 if (!match_id) in bl_idle_init()
/Linux-v5.4/arch/powerpc/platforms/ps3/
Dsystem-bus.c156 pr_debug("%s:%d: match_id: %u\n", __func__, __LINE__, dev->match_id); in ps3_open_hv_device()
158 switch (dev->match_id) { in ps3_open_hv_device()
174 __LINE__, dev->match_id); in ps3_open_hv_device()
185 dev->match_id); in ps3_open_hv_device()
194 pr_debug("%s:%d: match_id: %u\n", __func__, __LINE__, dev->match_id); in ps3_close_hv_device()
196 switch (dev->match_id) { in ps3_close_hv_device()
212 __LINE__, dev->match_id); in ps3_close_hv_device()
223 dev->match_id); in ps3_close_hv_device()
342 result = dev->match_id == drv->match_id; in ps3_system_bus_match()
345 dev->match_id == drv->match_id; in ps3_system_bus_match()
[all …]
Ddevice-init.c36 dev->match_id = PS3_MATCH_ID_LPM; in ps3_register_lpm_devices()
134 p->dev.match_id = PS3_MATCH_ID_GELIC; in ps3_setup_gelic_device()
181 const struct ps3_repository_device *repo, enum ps3_match_id match_id, in ps3_setup_uhc_device() argument
205 p->dev.match_id = match_id; in ps3_setup_uhc_device()
284 static int __init ps3_setup_vuart_device(enum ps3_match_id match_id, in ps3_setup_vuart_device() argument
293 match_id, port_number); in ps3_setup_vuart_device()
300 p->dev.match_id = match_id; in ps3_setup_vuart_device()
321 enum ps3_match_id match_id) in ps3_setup_storage_dev() argument
328 pr_debug(" -> %s:%u: match_id %u\n", __func__, __LINE__, match_id); in ps3_setup_storage_dev()
351 p->sbd.match_id = match_id; in ps3_setup_storage_dev()
[all …]
Dos-area.c396 struct os_area_db_id match_id; member
419 const struct os_area_db_id *match_id, struct db_iterator *i) in db_for_each_64() argument
424 i->match_id = match_id ? *match_id : os_area_db_id_any; in db_for_each_64()
439 if (i->match_id.owner != OS_AREA_DB_OWNER_ANY in db_for_each_64()
440 && i->match_id.owner != (int)i->idx->owner) in db_for_each_64()
442 if (i->match_id.key != OS_AREA_DB_KEY_ANY in db_for_each_64()
443 && i->match_id.key != (int)i->idx->key) in db_for_each_64()
/Linux-v5.4/drivers/soc/qcom/
Dspm.c205 const struct of_device_id *match_id; in qcom_cpuidle_init() local
231 match_id = of_match_node(qcom_idle_state_match, state_node); in qcom_cpuidle_init()
232 if (!match_id) in qcom_cpuidle_init()
235 idle_fns[state_count] = match_id->data; in qcom_cpuidle_init()
238 if (match_id->data == qcom_cpu_spc) in qcom_cpuidle_init()
324 const struct of_device_id *match_id; in spm_dev_probe() local
337 match_id = of_match_node(spm_match_table, pdev->dev.of_node); in spm_dev_probe()
338 if (!match_id) in spm_dev_probe()
341 drv->reg_data = match_id->data; in spm_dev_probe()
/Linux-v5.4/drivers/gpu/drm/panfrost/
Dpanfrost_device.h127 s32 match_id = pfdev->features.id; in panfrost_model_cmp() local
129 if (match_id & 0xf000) in panfrost_model_cmp()
130 match_id &= 0xf00f; in panfrost_model_cmp()
131 return match_id - id; in panfrost_model_cmp()
/Linux-v5.4/drivers/ps3/
Dps3stor_lib.c34 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) in ps3stor_open_hv_device()
37 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_open_hv_device()
47 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK in ps3stor_close_hv_device()
59 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_close_hv_device()
62 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) { in ps3stor_close_hv_device()
81 if (dev->sbd.match_id == PS3_MATCH_ID_STOR_ROM) { in ps3stor_probe_access()
Dps3-vuart.c1116 dev->match_id); in ps3_vuart_remove()
1167 dev->match_id); in ps3_vuart_shutdown()
1230 BUG_ON(!drv->core.match_id); in ps3_vuart_port_driver_register()
Dps3-sys-manager.c734 .core.match_id = PS3_MATCH_ID_SYSTEM_MANAGER,
Dps3-lpm.c1215 .match_id = PS3_MATCH_ID_LPM,
/Linux-v5.4/arch/x86/kernel/
Dprobe_roms.c81 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() function
105 if (device && match_id(pdev, vendor, device)) in probe_list()
137 if (match_id(pdev, vendor, device)) { in find_oprom()
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Dnpc.h248 u64 match_id :16; member
256 u64 match_id :16;
/Linux-v5.4/sound/ppc/
Dsnd_ps3.c920 if (WARN_ON(dev->match_id != PS3_MATCH_ID_SOUND)) in snd_ps3_driver_probe()
1074 pr_info("%s:start id=%d\n", __func__, dev->match_id); in snd_ps3_driver_remove()
1075 if (dev->match_id != PS3_MATCH_ID_SOUND) in snd_ps3_driver_remove()
1098 pr_info("%s:end id=%d\n", __func__, dev->match_id); in snd_ps3_driver_remove()
1103 .match_id = PS3_MATCH_ID_SOUND,
/Linux-v5.4/drivers/base/
Dplatform.c1473 int match_id; in early_platform_driver_probe_id() local
1483 match_id = epdrv->requested_id; in early_platform_driver_probe_id()
1487 match_id = id; in early_platform_driver_probe_id()
1497 match_id = EARLY_PLATFORM_ID_UNSET; in early_platform_driver_probe_id()
1501 switch (match_id) { in early_platform_driver_probe_id()
1510 match = early_platform_match(epdrv, match_id); in early_platform_driver_probe_id()
/Linux-v5.4/arch/powerpc/include/asm/
Dps3.h348 enum ps3_match_id match_id; member
377 enum ps3_match_id match_id; member
/Linux-v5.4/drivers/usb/host/
Dehci-ps3.c252 .match_id = PS3_MATCH_ID_EHCI,
Dohci-ps3.c237 .match_id = PS3_MATCH_ID_OHCI,
/Linux-v5.4/drivers/scsi/
Dps3rom.c419 .match_id = PS3_MATCH_ID_STOR_ROM,
/Linux-v5.4/drivers/char/
Dps3flash.c421 .match_id = PS3_MATCH_ID_STOR_FLASH,
/Linux-v5.4/drivers/perf/
Dxgene_pmu.c1544 const struct acpi_device_id *match_id = NULL; in xgene_pmu_acpi_match_type() local
1549 match_id = id; in xgene_pmu_acpi_match_type()
1550 else if (match_id) in xgene_pmu_acpi_match_type()
1554 return match_id; in xgene_pmu_acpi_match_type()
/Linux-v5.4/drivers/block/
Dps3disk.c534 .match_id = PS3_MATCH_ID_STOR_DISK,
/Linux-v5.4/sound/soc/codecs/
Drt5677.c5277 const struct of_device_id *match_id; in rt5677_i2c_probe() local
5279 match_id = of_match_device(rt5677_of_match, &i2c->dev); in rt5677_i2c_probe()
5280 if (match_id) in rt5677_i2c_probe()
5281 rt5677->type = (enum rt5677_type)match_id->data; in rt5677_i2c_probe()

12