Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 25 of 126) sorted by relevance

123456

/linux-3.4.99/drivers/scsi/aic94xx/
Daic94xx_dev.c87 if (dev->dev_type == SATA_PM_PORT) in asd_set_ddb_type()
119 if (dev->dev_type == SATA_DEV || dev->dev_type == SATA_PM_PORT) { in asd_set_dmamode()
143 if (dev->dev_type == SATA_DEV || dev->dev_type == SATA_PM || in asd_init_sata()
144 dev->dev_type == SATA_PM_PORT) { in asd_init_sata()
177 if ((dev->dev_type == SATA_DEV) || in asd_init_target_ddb()
191 (dev->dev_type == EDGE_DEV || in asd_init_target_ddb()
192 dev->dev_type == FANOUT_DEV)) in asd_init_target_ddb()
201 if (dev->dev_type == SATA_PM) in asd_init_target_ddb()
214 if (dev->dev_type == SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { in asd_init_target_ddb()
222 if (dev->dev_type == SAS_END_DEV) { in asd_init_target_ddb()
[all …]
/linux-3.4.99/include/scsi/
Dsas_ata.h35 return dev->dev_type == SATA_DEV || dev->dev_type == SATA_PM || in dev_is_sata()
36 dev->dev_type == SATA_PM_PORT || dev->dev_type == SATA_PENDING; in dev_is_sata()
/linux-3.4.99/drivers/staging/tidspbridge/rmgr/
Ddisp.c92 u8 dev_type; in disp_create() local
117 status = dev_get_dev_type(hdev_obj, &dev_type); in disp_create()
122 if (dev_type != DSP_UNIT) { in disp_create()
228 u8 dev_type; in disp_node_create() local
230 status = dev_get_dev_type(disp_obj->dev_obj, &dev_type); in disp_node_create()
235 if (dev_type != DSP_UNIT) { in disp_node_create()
237 __func__, dev_type); in disp_node_create()
423 u8 dev_type; in disp_node_delete() local
425 status = dev_get_dev_type(disp_obj->dev_obj, &dev_type); in disp_node_delete()
429 if (dev_type == DSP_UNIT) { in disp_node_delete()
[all …]
Dmgr.c187 u8 dev_type; in mgr_enum_processor_info() local
205 status = dev_get_dev_type(hdev_obj, (u8 *) &dev_type); in mgr_enum_processor_info()
207 if (dev_type != DSP_UNIT) in mgr_enum_processor_info()
256 if (dev_type == DSP_UNIT) { in mgr_enum_processor_info()
260 } else if (dev_type == IVA_UNIT) { in mgr_enum_processor_info()
Dproc.c277 u8 dev_type; in proc_attach() local
298 status = dev_get_dev_type(hdev_obj, &dev_type); in proc_attach()
312 p_proc_object->processor_id = dev_type; in proc_attach()
384 u8 dev_type; in get_exec_file() local
388 dev_get_dev_type(hdev_obj, (u8 *) &dev_type); in get_exec_file()
393 if (dev_type == DSP_UNIT) { in get_exec_file()
401 } else if (dev_type == IVA_UNIT && iva_img) { in get_exec_file()
434 u8 dev_type; in proc_auto_start() local
466 dev_get_dev_type(hdev_obj, (u8 *) &dev_type); in proc_auto_start()
467 p_proc_object->processor_id = dev_type; in proc_auto_start()
/linux-3.4.99/drivers/scsi/libsas/
Dsas_discover.c40 switch (dev->dev_type) { in sas_init_dev()
100 dev->dev_type = SATA_PM; in sas_get_port_device()
102 dev->dev_type = SATA_DEV; in sas_get_port_device()
107 dev->dev_type = id->dev_type; in sas_get_port_device()
115 switch (dev->dev_type) { in sas_get_port_device()
135 printk("ERROR: Unidentified device type %d\n", dev->dev_type); in sas_get_port_device()
163 if (dev_is_sata(dev) || dev->dev_type == SAS_END_DEV) in sas_get_port_device()
276 if (dev->dev_type == EDGE_DEV || dev->dev_type == FANOUT_DEV) in sas_free_device()
405 switch (dev->dev_type) { in sas_discover_domain()
424 SAS_DPRINTK("unhandled device %d\n", dev->dev_type); in sas_discover_domain()
Dsas_expander.c200 enum sas_dev_type dev_type; in sas_set_ex_phy() local
234 dev_type = phy->attached_dev_type; in sas_set_ex_phy()
325 if (new_phy || phy->attached_dev_type != dev_type || in sas_set_ex_phy()
836 child->dev_type = SAS_END_DEV; in sas_ex_discover_end_dev()
951 child->dev_type = phy->attached_dev_type; in sas_ex_discover_expander()
1133 if (child->dev_type != EDGE_DEV && in sas_check_level_subtractive_boundary()
1134 child->dev_type != FANOUT_DEV) in sas_check_level_subtractive_boundary()
1211 if (dev->dev_type != EDGE_DEV) in sas_check_ex_subtractive_boundary()
1256 ex_type[parent->dev_type], in sas_print_parent_topology_bug()
1260 ex_type[child->dev_type], in sas_print_parent_topology_bug()
[all …]
/linux-3.4.99/arch/powerpc/platforms/ps3/
Ddevice-init.c49 dev->dev_type = PS3_DEVICE_TYPE_LPM; in ps3_register_lpm_devices()
137 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_GELIC); in ps3_setup_gelic_device()
147 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_gelic_device()
208 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_USB); in ps3_setup_uhc_device()
218 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_uhc_device()
313 p->dev.dev_type = PS3_DEVICE_TYPE_VUART; in ps3_setup_vuart_device()
354 repo->dev_index, repo->dev_type, port, blk_size, num_blocks, in ps3_setup_storage_dev()
366 p->sbd.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_storage_dev()
467 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_sound_devices()
503 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_graphics_devices()
[all …]
Drepository.c239 unsigned int dev_index, enum ps3_dev_type *dev_type) in ps3_repository_read_dev_type() argument
250 *dev_type = v1; in ps3_repository_read_dev_type()
340 &tmp.dev_type); in ps3_repository_find_device()
357 __func__, __LINE__, tmp.dev_type, tmp.dev_index, tmp.dev_id); in ps3_repository_find_device()
427 &tmp.dev_type); in ps3_repository_find_device_by_id()
434 __func__, __LINE__, tmp.bus_type, tmp.dev_type, tmp.bus_index, in ps3_repository_find_device_by_id()
1119 repo->dev_index, &repo->dev_type); in dump_device_info()
1140 repo->dev_type, (unsigned long)repo->dev_id); in dump_device_info()
Dplatform.h121 unsigned int dev_index, enum ps3_dev_type *dev_type);
141 enum ps3_dev_type dev_type; member
/linux-3.4.99/drivers/media/video/tm6000/
Dtm6000-core.c203 if (dev->dev_type == TM6010) { in tm6000_set_fourcc_format()
229 if (dev->dev_type == TM6010) { in tm6000_set_vbi()
285 if (dev->dev_type == TM6010) { in tm6000_init_analog_mode()
356 if (dev->dev_type == TM6010) { in tm6000_init_digital_mode()
576 if (dev->dev_type != TM6000) in tm6000_init()
577 dev->dev_type = TM6000; in tm6000_init()
581 if (dev->dev_type != TM6010) in tm6000_init()
582 dev->dev_type = TM6010; in tm6000_init()
590 if (dev->dev_type == TM6010) { in tm6000_init()
640 if (dev->dev_type == TM6010) { in tm6000_set_audio_bitrate()
[all …]
Dtm6000-i2c.c51 if (dev->dev_type == TM6010) in tm6000_i2c_send_regs()
85 if (dev->dev_type == TM6010) in tm6000_i2c_recv_regs()
132 if (dev->dev_type == TM6010) { in tm6000_i2c_recv_regs16()
/linux-3.4.99/drivers/power/
Dpower_supply.h19 extern void power_supply_init_attrs(struct device_type *dev_type);
24 static inline void power_supply_init_attrs(struct device_type *dev_type) {} in power_supply_init_attrs() argument
/linux-3.4.99/arch/s390/include/asm/
Dccwdev.h30 .cu_type=(cu), .cu_model=(cum), .dev_type=(dev), .dev_model=(devm),\
57 && (id->dev_type != match->dev_type)) in ccw_device_id_match()
Ddasd.h35 unsigned int dev_type : 16; /* from SenseID */ member
99 unsigned int dev_type : 16; /* from SenseID */ member
/linux-3.4.99/arch/arm/mach-omap2/
Did.c122 u8 dev_type, rev; in omap2xxx_check_revision() local
129 dev_type = (prod_id >> 16) & 0x0f; in omap2xxx_check_revision()
140 prod_id, dev_type); in omap2xxx_check_revision()
154 if (dev_type == omap_ids[j].dev) in omap2xxx_check_revision()
/linux-3.4.99/usr/
Dgen_init_cpio.c240 uid_t uid, gid_t gid, char dev_type, in cpio_mknod() argument
245 if (dev_type == 'b') in cpio_mknod()
279 char dev_type; in cpio_mknod_line() local
285 name, &mode, &uid, &gid, &dev_type, &maj, &min)) { in cpio_mknod_line()
289 rc = cpio_mknod(name, mode, uid, gid, dev_type, maj, min); in cpio_mknod_line()
/linux-3.4.99/include/rdma/
Dib_addr.h66 unsigned short dev_type; member
130 return dev_addr->dev_type == ARPHRD_INFINIBAND ? 4 : 0; in rdma_addr_gid_offset()
173 dev_addr->dev_type != ARPHRD_INFINIBAND) in rdma_addr_get_sgid()
/linux-3.4.99/drivers/scsi/pm8001/
Dpm8001_sas.c355 ((!pm8001_dev || (pm8001_dev->dev_type == NO_DEVICE)))
373 if (dev->dev_type != SATA_DEV) in pm8001_task_exec()
551 if (pm8001_ha->devices[dev].dev_type == NO_DEVICE) { in pm8001_alloc_dev()
569 pm8001_dev->dev_type = NO_DEVICE; in pm8001_free_dev()
605 pm8001_device->dev_type = dev->dev_type; in pm8001_dev_found_notify()
607 if (parent_dev && DEV_IS_EXPANDER(parent_dev->dev_type)) { in pm8001_dev_found_notify()
627 if (dev->dev_type == SATA_DEV) { in pm8001_dev_found_notify()
637 if (dev->dev_type == SAS_END_DEV) in pm8001_dev_found_notify()
850 pm8001_dev->device_id, pm8001_dev->dev_type)); in pm8001_dev_gone_notify()
907 if (!pm8001_dev || (pm8001_dev->dev_type == NO_DEVICE)) in pm8001_open_reject_retry()
/linux-3.4.99/drivers/scsi/isci/
Dremote_device.h289 return dev->dev_type == EDGE_DEV || dev->dev_type == FANOUT_DEV; in dev_is_expander()
Dremote_node_context.c134 if (dev->dev_type == SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { in sci_remote_node_context_construct_buffer()
223 (dev->dev_type == SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP))) { in sci_remote_node_context_validate_context_buffer()
290 if ((dev->dev_type == SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) && in sci_remote_node_context_resuming_state_enter()
552 if (dev->dev_type == SAS_END_DEV || dev_is_expander(dev)) in sci_remote_node_context_resume()
554 else if (dev->dev_type == SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { in sci_remote_node_context_resume()
/linux-3.4.99/drivers/media/dvb/mantis/
Dmantis_vp3028.c33 .dev_type = MANTIS_DEV_TYPE,
/linux-3.4.99/drivers/hid/
Dhid-lgff.c39 struct dev_type { struct
61 static const struct dev_type devices[] = { argument
/linux-3.4.99/drivers/bluetooth/
Dbtmrvl_main.c123 priv->btmrvl_dev.dev_type = HCI_AMP; in btmrvl_process_event()
125 priv->btmrvl_dev.dev_type = HCI_BREDR; in btmrvl_process_event()
127 BT_DBG("dev_type: %d", priv->btmrvl_dev.dev_type); in btmrvl_process_event()
557 hdev->dev_type = priv->btmrvl_dev.dev_type; in btmrvl_register_hdev()
/linux-3.4.99/drivers/staging/tidspbridge/pmgr/
Ddev.c58 u8 dev_type; /* Device Type */ member
170 dev_obj->dev_type = DSP_UNIT; in dev_create_device()
886 int dev_get_dev_type(struct dev_object *dev_obj, u8 *dev_type) in dev_get_dev_type() argument
888 *dev_type = dev_obj->dev_type; in dev_get_dev_type()

123456