/drivers/dio/ |
D | dio-driver.c | 29 dio_match_device(const struct dio_device_id *ids, in dio_match_device() argument 32 while (ids->id) { in dio_match_device() 33 if (ids->id == DIO_WILDCARD) in dio_match_device() 34 return ids; in dio_match_device() 35 if (DIO_NEEDSSECID(ids->id & 0xff)) { in dio_match_device() 36 if (ids->id == d->id) in dio_match_device() 37 return ids; in dio_match_device() 39 if ((ids->id & 0xff) == (d->id & 0xff)) in dio_match_device() 40 return ids; in dio_match_device() 42 ids++; in dio_match_device() [all …]
|
/drivers/zorro/ |
D | zorro-driver.c | 30 zorro_match_device(const struct zorro_device_id *ids, in zorro_match_device() argument 33 while (ids->id) { in zorro_match_device() 34 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_match_device() 35 return ids; in zorro_match_device() 36 ids++; in zorro_match_device() 130 const struct zorro_device_id *ids = zorro_drv->id_table; in zorro_bus_match() local 132 if (!ids) in zorro_bus_match() 135 while (ids->id) { in zorro_bus_match() 136 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_bus_match() 138 ids++; in zorro_bus_match()
|
/drivers/pci/ |
D | pci-stub.c | 22 static char ids[1024] __initdata; variable 24 module_param_string(ids, ids, sizeof(ids), 0); 25 MODULE_PARM_DESC(ids, "Initial PCI IDs to add to the stub driver, format is " 51 if (ids[0] == '\0') in pci_stub_init() 55 p = ids; in pci_stub_init()
|
D | search.c | 374 int pci_dev_present(const struct pci_device_id *ids) in pci_dev_present() argument 379 while (ids->vendor || ids->subvendor || ids->class_mask) { in pci_dev_present() 380 found = pci_get_dev_by_id(ids, NULL); in pci_dev_present() 385 ids++; in pci_dev_present()
|
D | pci-driver.c | 103 const struct pci_device_id *ids = pdrv->id_table; in store_new_id() local 138 if (ids) { in store_new_id() 140 while (ids->vendor || ids->subvendor || ids->class_mask) { in store_new_id() 141 if (driver_data == ids->driver_data) { in store_new_id() 145 ids++; in store_new_id() 222 const struct pci_device_id *pci_match_id(const struct pci_device_id *ids, in pci_match_id() argument 225 if (ids) { in pci_match_id() 226 while (ids->vendor || ids->subvendor || ids->class_mask) { in pci_match_id() 227 if (pci_match_one_device(ids, dev)) in pci_match_id() 228 return ids; in pci_match_id() [all …]
|
/drivers/regulator/ |
D | max8907-regulator.c | 49 #define REG_LDO(ids, supply, base, min, max, step) \ argument 50 [MAX8907_##ids] = { \ 51 .name = #ids, \ 53 .id = MAX8907_##ids, \ 66 #define REG_FIXED(ids, supply, voltage) \ argument 67 [MAX8907_##ids] = { \ 68 .name = #ids, \ 70 .id = MAX8907_##ids, \ 78 #define REG_OUT5V(ids, supply, base, voltage) \ argument 79 [MAX8907_##ids] = { \ [all …]
|
/drivers/sh/superhyway/ |
D | superhyway.c | 124 superhyway_match_id(const struct superhyway_device_id *ids, in superhyway_match_id() argument 127 while (ids->id) { in superhyway_match_id() 128 if (ids->id == dev->id.id) in superhyway_match_id() 129 return ids; in superhyway_match_id() 131 ids++; in superhyway_match_id() 198 const struct superhyway_device_id *ids = shyway_drv->id_table; in superhyway_bus_match() local 200 if (!ids) in superhyway_bus_match() 202 if (superhyway_match_id(ids, shyway_dev)) in superhyway_bus_match()
|
/drivers/mmc/core/ |
D | sdio_bus.c | 86 const struct sdio_device_id *ids; in sdio_match_device() local 88 ids = sdrv->id_table; in sdio_match_device() 90 if (ids) { in sdio_match_device() 91 while (ids->class || ids->vendor || ids->device) { in sdio_match_device() 92 if (sdio_match_one(func, ids)) in sdio_match_device() 93 return ids; in sdio_match_device() 94 ids++; in sdio_match_device()
|
/drivers/scsi/libfc/ |
D | fc_disc.c | 400 struct fc_rport_identifiers ids; in fc_disc_gpn_ft_parse() local 444 ids.port_id = ntoh24(np->fp_fid); in fc_disc_gpn_ft_parse() 445 ids.port_name = ntohll(np->fp_wwpn); in fc_disc_gpn_ft_parse() 447 if (ids.port_id != lport->port_id && in fc_disc_gpn_ft_parse() 448 ids.port_name != lport->wwpn) { in fc_disc_gpn_ft_parse() 449 rdata = lport->tt.rport_create(lport, ids.port_id); in fc_disc_gpn_ft_parse() 451 rdata->ids.port_name = ids.port_name; in fc_disc_gpn_ft_parse() 456 "(%6.6x)\n", ids.port_id); in fc_disc_gpn_ft_parse() 610 if (rdata->ids.port_name == -1) in fc_disc_gpn_id_resp() 611 rdata->ids.port_name = port_name; in fc_disc_gpn_id_resp() [all …]
|
D | fc_rport.c | 108 if (tmp_rdata->ids.port_id == port_id && in fc_rport_lookup() 139 rdata->ids.node_name = -1; in fc_rport_create() 140 rdata->ids.port_name = -1; in fc_rport_create() 141 rdata->ids.port_id = port_id; in fc_rport_create() 142 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_create() 255 struct fc_rport_identifiers ids; in fc_rport_work() local 269 ids = rdata->ids; in fc_rport_work() 276 rport = fc_remote_port_add(lport->host, 0, &ids); in fc_rport_work() 321 port_id = rdata->ids.port_id; in fc_rport_work() 461 u32 port_id = rdata->ids.port_id; in fc_rport_logoff() [all …]
|
/drivers/scsi/csiostor/ |
D | csio_attr.c | 63 struct fc_rport_identifiers ids; in csio_reg_rnode() local 67 ids.node_name = wwn_to_u64(csio_rn_wwnn(rn)); in csio_reg_rnode() 68 ids.port_name = wwn_to_u64(csio_rn_wwpn(rn)); in csio_reg_rnode() 69 ids.port_id = rn->nport_id; in csio_reg_rnode() 70 ids.roles = FC_RPORT_ROLE_UNKNOWN; in csio_reg_rnode() 78 rn->rport = fc_remote_port_add(shost, 0, &ids); in csio_reg_rnode() 99 ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR; in csio_reg_rnode() 101 ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in csio_reg_rnode() 103 if (ids.roles != FC_RPORT_ROLE_UNKNOWN) in csio_reg_rnode() 104 fc_remote_port_rolechg(rport, ids.roles); in csio_reg_rnode() [all …]
|
/drivers/acpi/ |
D | acpi_pnp.c | 358 .ids = acpi_pnp_device_ids, 370 static const struct acpi_device_id ids[] = { in is_cmos_rtc_device() local 376 return !acpi_match_device_ids(adev, ids); in is_cmos_rtc_device()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | binding.c | 74 u16 ids[MAX_MACS_IN_BINDING]; member 97 cmd.macs[i] = cpu_to_le32(FW_CMD_ID_AND_COLOR(data->ids[i], in iwl_mvm_binding_cmd() 132 data->ids[data->idx] = mvmvif->id; in iwl_mvm_iface_iterator() 171 data.ids[data.idx] = mvmvif->id; in iwl_mvm_binding_update()
|
/drivers/input/touchscreen/ |
D | cyttsp_core.c | 287 static void cyttsp_extract_track_ids(struct cyttsp_xydata *xy_data, int *ids) in cyttsp_extract_track_ids() argument 289 ids[0] = xy_data->touch12_id >> 4; in cyttsp_extract_track_ids() 290 ids[1] = xy_data->touch12_id & 0xF; in cyttsp_extract_track_ids() 291 ids[2] = xy_data->touch34_id >> 4; in cyttsp_extract_track_ids() 292 ids[3] = xy_data->touch34_id & 0xF; in cyttsp_extract_track_ids() 318 int ids[CY_MAX_ID]; in cyttsp_report_tchdata() local 336 cyttsp_extract_track_ids(xy_data, ids); in cyttsp_report_tchdata() 343 input_mt_slot(input, ids[i]); in cyttsp_report_tchdata() 349 __set_bit(ids[i], used); in cyttsp_report_tchdata()
|
/drivers/staging/media/pulse8-cec/ |
D | TODO | 41 diff -urN linuxconsoletools-1.4.9/utils/serio-ids.h linuxconsoletools-1.4.9.new/utils/serio-ids.h 42 --- linuxconsoletools-1.4.9/utils/serio-ids.h 2015-04-26 18:29:42.000000000 +0200 43 +++ linuxconsoletools-1.4.9.new/utils/serio-ids.h 2016-03-20 11:41:00.153558539 +0100
|
/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 2110 rdata->ids.port_id, event); in fcoe_ctlr_vn_rport_callback() 2124 rdata->ids.port_id); in fcoe_ctlr_vn_rport_callback() 2327 rdata->ids.node_name = get_unaligned_be64(&wwn->fd_wwn); in fcoe_ctlr_vn_parse() 2334 rdata->ids.port_id = ntoh24(vn->fd_fc_id); in fcoe_ctlr_vn_parse() 2335 rdata->ids.port_name = get_unaligned_be64(&vn->fd_wwpn); in fcoe_ctlr_vn_parse() 2390 if (rdata->ids.port_id != fip->port_id) in fcoe_ctlr_vn_probe_req() 2408 if (fip->lp->wwpn > rdata->ids.port_name && in fcoe_ctlr_vn_probe_req() 2433 if (rdata->ids.port_id != fip->port_id) in fcoe_ctlr_vn_probe_reply() 2461 struct fc_rport_identifiers *ids; in fcoe_ctlr_vn_add() local 2465 port_id = new->ids.port_id; in fcoe_ctlr_vn_add() [all …]
|
/drivers/input/serio/ |
D | serio.c | 89 static int serio_match_port(const struct serio_device_id *ids, struct serio *serio) in serio_match_port() argument 91 while (ids->type || ids->proto) { in serio_match_port() 92 if ((ids->type == SERIO_ANY || ids->type == serio->id.type) && in serio_match_port() 93 (ids->proto == SERIO_ANY || ids->proto == serio->id.proto) && in serio_match_port() 94 (ids->extra == SERIO_ANY || ids->extra == serio->id.extra) && in serio_match_port() 95 (ids->id == SERIO_ANY || ids->id == serio->id.id)) in serio_match_port() 97 ids++; in serio_match_port()
|
/drivers/mcb/ |
D | mcb-core.c | 20 static const struct mcb_device_id *mcb_match_id(const struct mcb_device_id *ids, in mcb_match_id() argument 23 if (ids) { in mcb_match_id() 24 while (ids->device) { in mcb_match_id() 25 if (ids->device == dev->id) in mcb_match_id() 26 return ids; in mcb_match_id() 27 ids++; in mcb_match_id()
|
/drivers/misc/mic/bus/ |
D | vop_bus.c | 80 const struct vop_device_id *ids; in vop_dev_match() local 82 ids = drv_to_vop(dr)->id_table; in vop_dev_match() 83 for (i = 0; ids[i].device; i++) in vop_dev_match() 84 if (vop_id_match(dev, &ids[i])) in vop_dev_match()
|
D | mic_bus.c | 78 const struct mbus_device_id *ids; in mbus_dev_match() local 80 ids = drv_to_mbus(dr)->id_table; in mbus_dev_match() 81 for (i = 0; ids[i].device; i++) in mbus_dev_match() 82 if (mbus_id_match(dev, &ids[i])) in mbus_dev_match()
|
D | scif_bus.c | 77 const struct scif_hw_dev_id *ids; in scif_dev_match() local 79 ids = drv_to_scif(dr)->id_table; in scif_dev_match() 80 for (i = 0; ids[i].device; i++) in scif_dev_match() 81 if (scif_id_match(dev, &ids[i])) in scif_dev_match()
|
/drivers/ipack/ |
D | ipack.c | 43 ipack_match_id(const struct ipack_device_id *ids, struct ipack_device *idev) in ipack_match_id() argument 45 if (ids) { in ipack_match_id() 46 while (ids->vendor || ids->device) { in ipack_match_id() 47 if (ipack_match_one_device(ids, idev)) in ipack_match_id() 48 return ids; in ipack_match_id() 49 ids++; in ipack_match_id()
|
/drivers/gpu/drm/radeon/ |
D | radeon_vm.c | 181 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_grab_id() 241 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_flush() 246 trace_radeon_vm_flush(pd_addr, ring, vm->ids[ring].id); in radeon_vm_flush() 272 unsigned vm_id = vm->ids[fence->ring].id; in radeon_vm_fence() 277 radeon_fence_unref(&vm->ids[fence->ring].last_id_use); in radeon_vm_fence() 278 vm->ids[fence->ring].last_id_use = radeon_fence_ref(fence); in radeon_vm_fence() 1008 radeon_sync_fence(&ib.sync, vm->ids[i].last_id_use); in radeon_vm_bo_update() 1183 vm->ids[i].id = 0; in radeon_vm_init() 1184 vm->ids[i].flushed_updates = NULL; in radeon_vm_init() 1185 vm->ids[i].last_id_use = NULL; in radeon_vm_init() [all …]
|
/drivers/misc/ |
D | tifm_core.c | 50 struct tifm_device_id *ids = fm_drv->id_table; in tifm_bus_match() local 52 if (ids) { in tifm_bus_match() 53 while (ids->type) { in tifm_bus_match() 54 if (tifm_dev_match(sock, ids)) in tifm_bus_match() 56 ++ids; in tifm_bus_match()
|
/drivers/uio/ |
D | uio_aec.c | 48 static struct pci_device_id ids[] = { variable 52 MODULE_DEVICE_TABLE(pci, ids); 157 .id_table = ids,
|