Home
last modified time | relevance | path

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

12

/linux/crypto/asymmetric_keys/
H A Dasymmetric_type.c205 const struct asymmetric_key_id *match_id, in asymmetric_match_key_ids() argument
211 if (!kids || !match_id) in asymmetric_match_key_ids()
214 if (match(kids->id[i], match_id)) in asymmetric_match_key_ids()
221 struct asymmetric_key_id *match_id, in __asymmetric_key_hex_to_key_id() argument
224 match_id->len = hexlen; in __asymmetric_key_hex_to_key_id()
225 return hex2bin(match_id->data, id, hexlen); in __asymmetric_key_hex_to_key_id()
234 struct asymmetric_key_id *match_id; in asymmetric_key_hex_to_key_id() local
244 match_id = kmalloc(sizeof(struct asymmetric_key_id) + asciihexlen / 2, in asymmetric_key_hex_to_key_id()
246 if (!match_id) in asymmetric_key_hex_to_key_id()
248 ret = __asymmetric_key_hex_to_key_id(id, match_id, asciihexlen / 2); in asymmetric_key_hex_to_key_id()
[all …]
H A Dasymmetric_keys.h13 struct asymmetric_key_id *match_id,
/linux/drivers/cpuidle/
H A Ddt_idle_states.c21 const struct of_device_id *match_id, in init_state_node() argument
32 idle_state->enter = match_id->data; in init_state_node()
38 idle_state->enter_s2idle = match_id->data; in init_state_node()
150 const struct of_device_id *match_id; in dt_init_idle_driver() local
171 match_id = of_match_node(matches, state_node); in dt_init_idle_driver()
172 if (!match_id) { in dt_init_idle_driver()
195 err = init_state_node(idle_state, match_id, state_node); in dt_init_idle_driver()
/linux/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c68 __func__, __LINE__, dev->match_id, dev->match_sub_id, in ps3_open_hv_device_sb()
157 pr_debug("%s:%d: match_id: %u\n", __func__, __LINE__, dev->match_id); in ps3_open_hv_device()
159 switch (dev->match_id) { in ps3_open_hv_device()
175 __LINE__, dev->match_id); in ps3_open_hv_device()
186 dev->match_id); in ps3_open_hv_device()
195 pr_debug("%s:%d: match_id: %u\n", __func__, __LINE__, dev->match_id); in ps3_close_hv_device()
197 switch (dev->match_id) { in ps3_close_hv_device()
213 __LINE__, dev->match_id); in ps3_close_hv_device()
224 dev->match_id); in ps3_close_hv_device()
343 result = dev->match_id == drv->match_id; in ps3_system_bus_match()
[all …]
H A Ddevice-init.c38 dev->match_id = PS3_MATCH_ID_LPM; in ps3_register_lpm_devices()
136 p->dev.match_id = PS3_MATCH_ID_GELIC; in ps3_setup_gelic_device()
183 const struct ps3_repository_device *repo, enum ps3_match_id match_id, in ps3_setup_uhc_device() argument
207 p->dev.match_id = match_id; in ps3_setup_uhc_device()
286 static int __init ps3_setup_vuart_device(enum ps3_match_id match_id, in ps3_setup_vuart_device() argument
295 match_id, port_number); in ps3_setup_vuart_device()
302 p->dev.match_id = match_id; in ps3_setup_vuart_device()
323 enum ps3_match_id match_id) in ps3_setup_storage_dev() argument
330 pr_debug(" -> %s:%u: match_id %u\n", __func__, __LINE__, match_id); in ps3_setup_storage_dev()
353 p->sbd.match_id = match_id; in ps3_setup_storage_dev()
[all …]
H A Dos-area.c394 struct os_area_db_id match_id; member
417 const struct os_area_db_id *match_id, struct db_iterator *i) in db_for_each_64() argument
422 i->match_id = match_id ? *match_id : os_area_db_id_any; in db_for_each_64()
437 if (i->match_id.owner != OS_AREA_DB_OWNER_ANY in db_for_each_64()
438 && i->match_id.owner != (int)i->idx->owner) in db_for_each_64()
440 if (i->match_id.key != OS_AREA_DB_KEY_ANY in db_for_each_64()
441 && i->match_id.key != (int)i->idx->key) in db_for_each_64()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_mbx.c25 hdev->mbx_resp.match_id++; in hclgevf_reset_mbx_resp_status()
27 if (hdev->mbx_resp.match_id == 0) in hclgevf_reset_mbx_resp_status()
28 hdev->mbx_resp.match_id = HCLGEVF_MBX_MATCH_ID_START; in hclgevf_reset_mbx_resp_status()
130 req->match_id = cpu_to_le16(hdev->mbx_resp.match_id); in hclgevf_send_mbx_msg()
172 u16 match_id = le16_to_cpu(req->match_id); in hclgevf_handle_mbx_response() local
188 if (match_id) { in hclgevf_handle_mbx_response()
194 if (match_id == resp->match_id) in hclgevf_handle_mbx_response()
/linux/arch/sh/drivers/
H A Dplatform_early.c213 int match_id; in sh_early_platform_driver_probe_id() local
223 match_id = epdrv->requested_id; in sh_early_platform_driver_probe_id()
227 match_id = id; in sh_early_platform_driver_probe_id()
237 match_id = EARLY_PLATFORM_ID_UNSET; in sh_early_platform_driver_probe_id()
241 switch (match_id) { in sh_early_platform_driver_probe_id()
250 match = sh_early_platform_match(epdrv, match_id); in sh_early_platform_driver_probe_id()
/linux/drivers/nvme/common/
H A Dkeyring.c53 const char *match_id; in nvme_tls_psk_match() local
64 match_id = match_data->raw_data; in nvme_tls_psk_match()
65 match_len = strlen(match_id); in nvme_tls_psk_match()
67 __func__, match_id, key->description, match_len); in nvme_tls_psk_match()
68 return !memcmp(key->description, match_id, match_len); in nvme_tls_psk_match()
/linux/drivers/ps3/
H A Dps3stor_lib.c35 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) in ps3stor_open_hv_device()
38 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_open_hv_device()
48 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK in ps3stor_close_hv_device()
60 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) in ps3stor_close_hv_device()
63 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) { in ps3stor_close_hv_device()
82 if (dev->sbd.match_id == PS3_MATCH_ID_STOR_ROM) { in ps3stor_probe_access()
H A Dps3-vuart.c1114 dev->match_id); in ps3_vuart_remove()
1164 dev->match_id); in ps3_vuart_shutdown()
1226 BUG_ON(!drv->core.match_id); in ps3_vuart_port_driver_register()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhclge_mbx.h105 u16 match_id; member
161 __le16 match_id; member
172 __le16 match_id; member
/linux/arch/x86/kernel/
H A Dprobe_roms.c82 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() function
106 if (device && match_id(pdev, vendor, device)) in probe_list()
138 if (match_id(pdev, vendor, device)) { in find_oprom()
/linux/drivers/virt/coco/
H A Dtsm-core.c15 static int match_id(struct device *dev, const void *data) in match_id() function
25 struct device *dev = class_find_device(tsm_class, NULL, &id, match_id); in find_tsm_dev()
/linux/drivers/soc/qcom/
H A Dspm.c510 const struct of_device_id *match_id; in spm_dev_probe() local
522 match_id = of_match_node(spm_match_table, pdev->dev.of_node); in spm_dev_probe()
523 if (!match_id) in spm_dev_probe()
526 drv->reg_data = match_id->data; in spm_dev_probe()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dnpc.h400 u64 match_id :16; member
408 u64 match_id :16;
458 u64 match_id :16; member
466 u64 match_id :16;
H A Drvu_npc_fs.c1156 action.match_id = req->match_id; in npc_update_rx_entry()
1172 if (req->match_id) in npc_update_rx_entry()
1173 action.match_id = req->match_id; in npc_update_rx_entry()
1218 action.match_id = req->match_id; in npc_update_tx_entry()
1384 if (is_npc_intf_rx(req->intf) && req->match_id && in npc_install_flow()
1387 req->index, req->match_id); in npc_install_flow()
H A Drvu_nix.c5765 ipolicer->match_id = devm_kcalloc(rvu->dev, in nix_setup_ipolicers()
5768 if (!ipolicer->match_id) in nix_setup_ipolicers()
5943 ipolicer->match_id[prof_idx]) in nix_free_all_bandprof()
5947 ipolicer->match_id[prof_idx] = 0; in nix_free_all_bandprof()
5993 ipolicer->match_id[prof_idx]) in rvu_mbox_handler_nix_bandprof_free()
5997 ipolicer->match_id[prof_idx] = 0; in rvu_mbox_handler_nix_bandprof_free()
6048 u16 rq_idx, u16 match_id) in rvu_nix_setup_ratelimit_aggr() argument
6082 ipolicer->match_id[leaf_prof] = match_id; in rvu_nix_setup_ratelimit_aggr()
6088 if (ipolicer->match_id[idx] != match_id) in rvu_nix_setup_ratelimit_aggr()
/linux/arch/powerpc/include/asm/
H A Dps3.h350 enum ps3_match_id match_id; member
379 enum ps3_match_id match_id; member
/linux/drivers/usb/host/
H A Dehci-ps3.c250 .match_id = PS3_MATCH_ID_EHCI,
H A Dohci-ps3.c235 .match_id = PS3_MATCH_ID_OHCI,
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_struct.h130 u64 match_id : 16; member
H A Dotx2_tc.c344 req->match_id = mark & 0xFFFFULL; in otx2_tc_act_set_police()
525 req->match_id = mark & OTX2_RX_MATCH_ID_MASK; in otx2_tc_parse_actions()
1205 if (flow_node->req.match_id) in otx2_tc_del_flow()
/linux/drivers/char/
H A Dps3flash.c420 .match_id = PS3_MATCH_ID_STOR_FLASH,
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c58 resp_pf_to_vf->match_id = vf_to_pf_req->match_id; in hclge_gen_resp_to_vf()

12