Searched defs:device_type (Results 1 - 25 of 38) sorted by relevance

12

/drivers/memory/
H A Dof_memory.h20 u32 device_type, u32 *nr_frequencies);
30 u32 device_type, u32 *nr_frequencies)
29 of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, u32 device_type, u32 *nr_frequencies) argument
H A Dof_memory.c98 * @device_type: Type of ddr(LPDDR2 S2/S4)
107 struct device *dev, u32 device_type, u32 *nr_frequencies)
114 switch (device_type) {
106 of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, u32 device_type, u32 *nr_frequencies) argument
/drivers/media/pci/mantis/
H A Dmantis_core.h43 u8 device_type; member in struct:devicetype
/drivers/mfd/
H A Dsec-core.c291 unsigned long device_type; local
303 device_type = sec_i2c_get_driver_data(i2c, id);
311 pdata->device_type = device_type;
314 sec_pmic->device_type = pdata->device_type;
321 switch (sec_pmic->device_type) {
360 switch (sec_pmic->device_type) {
435 switch (sec_pmic->device_type) {
/drivers/usb/serial/
H A Dkobil_sct.c112 __u16 device_type; member in struct:kobil_private
127 priv->device_type = le16_to_cpu(serial->dev->descriptor.idProduct);
129 switch (priv->device_type) {
214 if (priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID ||
215 priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID) {
243 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID ||
244 priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID ||
245 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) {
320 if (((priv->device_type != KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 2) && (priv->filled >= (priv->buf[1] + 3))) ||
321 ((priv->device_type
[all...]
/drivers/block/xen-blkback/
H A Dxenbus.c619 char *device_type; local
653 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL);
654 if (!IS_ERR(device_type)) {
655 cdrom = strcmp(device_type, "cdrom") == 0;
656 kfree(device_type);
/drivers/ide/
H A Dide-atapi.c39 u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; local
44 device_type = gcw[1] & 0x1F;
51 if (drive->media == ide_floppy && device_type == 5 &&
54 device_type = 0;
60 else if ((drive->media == ide_floppy && device_type != 0) ||
61 (drive->media == ide_tape && device_type != 1))
63 s, drive->name, device_type);
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_hw.c66 u32 device_type);
742 u32 device_type)
750 ASSERT(device_type <= IXGB_MAX_PHY_DEV_TYPE);
754 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) |
781 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) |
821 * device_type - Also known as the Device ID or DID.
835 u32 device_type,
843 ASSERT(device_type <= IXGB_MAX_PHY_DEV_TYPE);
850 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) |
877 (device_type << IXGB_MSCA_DEV_TYPE_SHIF
739 ixgb_read_phy_reg(struct ixgb_hw *hw, u32 reg_address, u32 phy_address, u32 device_type) argument
832 ixgb_write_phy_reg(struct ixgb_hw *hw, u32 reg_address, u32 phy_address, u32 device_type, u16 data) argument
[all...]
/drivers/rtc/
H A Drtc-s5m.c97 int device_type; member in struct:s5m_rtc_info
188 switch (info->device_type) {
225 if (info->device_type == S5M8763X || info->device_type == S5M8767X)
252 switch (info->device_type) {
314 if (info->device_type == S2MPS14X) {
330 switch (info->device_type) {
357 switch (info->device_type) {
398 switch (info->device_type) {
451 switch (info->device_type) {
[all...]
/drivers/video/fbdev/
H A Dsunxvr500.c245 const char *device_type; local
258 device_type = of_get_property(of_node, "device_type", NULL);
259 if (!device_type) {
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c239 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, argument
246 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) |
274 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) |
315 u32 device_type, u16 *phy_data)
326 status = ixgbe_read_phy_reg_mdi(hw, reg_addr, device_type,
341 * @device_type: 5 bit device type
345 u32 device_type, u16 phy_data)
354 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) |
383 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) |
414 * @device_type
314 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
344 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
417 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
[all...]
/drivers/s390/crypto/
H A Dap_bus.h163 int device_type; /* AP device type. */ member in struct:ap_device
H A Dap_bus.c187 * @device_type: Pointer to device type value
192 ap_test_queue(ap_qid_t qid, int *queue_depth, int *device_type) argument
200 *device_type = (int) (reg2 >> 24);
514 * @device_type: Pointer to device type value
518 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type) argument
529 *device_type = t_device_type;
663 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->device_type);
732 return sprintf(buf, "ap:t%02X", to_ap_dev(dev)->device_type);
780 (id->dev_type != ap_dev->device_type))
804 retval = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type);
1199 int queue_depth, device_type, count, max_count, best_domain; local
1369 int queue_depth, device_type; local
[all...]
/drivers/target/
H A Dtarget_core_device.c1475 int i, device_type; local
1503 device_type = dev->transport->get_device_type(dev);
1504 pr_debug(" Type: %s ", scsi_device_type(device_type));
/drivers/hid/
H A Dwacom_wac.h131 int device_type; member in struct:wacom_features
/drivers/media/pci/bt8xx/
H A Ddst.c1092 static u8 device_type[8] = {0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff}; local
1095 device_type[7] = dst_check_sum(device_type, 7);
1097 if (write_dst(state, device_type, FIXED_COMM))
/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c175 /* device_type */
178 identify->device_type = SAS_PHY_UNUSED;
181 identify->device_type = SAS_END_DEVICE;
184 identify->device_type = SAS_EDGE_EXPANDER_DEVICE;
187 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE;
481 enum sas_device_type device_type = local
482 mpt2sas_port->remote_identify.device_type;
489 if (device_type == SAS_END_DEVICE)
491 else if (device_type == SAS_EDGE_EXPANDER_DEVICE ||
492 device_type
[all...]
/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c179 /* device_type */
182 identify->device_type = SAS_PHY_UNUSED;
185 identify->device_type = SAS_END_DEVICE;
188 identify->device_type = SAS_EDGE_EXPANDER_DEVICE;
191 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE;
473 enum sas_device_type device_type = local
474 mpt3sas_port->remote_identify.device_type;
481 if (device_type == SAS_END_DEVICE)
483 else if (device_type == SAS_EDGE_EXPANDER_DEVICE ||
484 device_type
[all...]
/drivers/scsi/qla4xxx/
H A Dql4_83xx.c433 int device_type; member in struct:device_info
463 device_map[i].device_type = func_nibble & 0x3;
466 if (device_map[i].device_type == NIC_CLASS) {
471 } else if (device_map[i].device_type == ISCSI_CLASS) {
/drivers/video/fbdev/via/
H A Dioctl.h192 unsigned int device_type; member in struct:_panel_size_pos_info
/drivers/acpi/
H A Dscan.c982 if (device->device_type == ACPI_BUS_TYPE_POWER_BUTTON)
987 else if (device->device_type == ACPI_BUS_TYPE_SLEEP_BUTTON)
1005 if (device->device_type == ACPI_BUS_TYPE_POWER_BUTTON)
1008 else if (device->device_type == ACPI_BUS_TYPE_SLEEP_BUTTON)
1673 switch (device->device_type) {
1829 int device_type)
1836 switch (device_type) {
1923 device->device_type = type;
1828 acpi_set_pnp_ids(acpi_handle handle, struct acpi_device_pnp *pnp, int device_type) argument
H A Dvideo.c1029 int status, device_type; local
1077 device_type = acpi_video_get_device_type(video, device_id);
1079 switch (device_type & 0xffe2ffff) {
/drivers/memstick/core/
H A Dms_block.h104 unsigned char device_type; member in struct:ms_boot_attr_info
H A Dmspro_block.c99 unsigned char device_type; member in struct:mspro_sys_info
388 x_sys->device_type);
/drivers/staging/lustre/lustre/lclient/
H A Dlcommon_cl.c278 int ccc_global_init(struct lu_device_type *device_type) argument
286 result = lu_device_type_init(device_type);
300 lu_device_type_fini(device_type);
306 void ccc_global_fini(struct lu_device_type *device_type) argument
312 lu_device_type_fini(device_type);

Completed in 733 milliseconds

12