Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/drivers/regulator/
Dmax14577-regulator.c42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
64 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_set_current_limit()
172 enum maxim_device_type dev_type) in match_init_data() argument
174 switch (dev_type) { in match_init_data()
185 enum maxim_device_type dev_type) in match_of_node() argument
187 switch (dev_type) { in match_of_node()
198 enum maxim_device_type dev_type) in match_init_data() argument
204 enum maxim_device_type dev_type) in match_of_node() argument
219 switch (max14577->dev_type) { in max14577_get_regmap()
243 enum maxim_device_type dev_type = max14577->dev_type; in max14577_regulator_probe() local
[all …]
/Linux-v4.19/tools/testing/selftests/gpio/
Dgpio-mockup.sh16 dev_type=
85 if [ X$dev_type = Xsysfs ]; then
111 dev_type=
137 dev_type=$2
155 if [ X$dev_type != Xsysfs ]; then
156 dev_type="chardev"
/Linux-v4.19/drivers/scsi/aic94xx/
Daic94xx_dev.c87 if (dev->dev_type == SAS_SATA_PM_PORT) in asd_set_ddb_type()
119 if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM_PORT) { in asd_set_dmamode()
143 if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM || in asd_init_sata()
144 dev->dev_type == SAS_SATA_PM_PORT) { in asd_init_sata()
177 if ((dev->dev_type == SAS_SATA_DEV) || in asd_init_target_ddb()
191 (dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || in asd_init_target_ddb()
192 dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE)) in asd_init_target_ddb()
201 if (dev->dev_type == SAS_SATA_PM) in asd_init_target_ddb()
214 if (dev->dev_type == SAS_SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { in asd_init_target_ddb()
222 if (dev->dev_type == SAS_END_DEVICE) { in asd_init_target_ddb()
[all …]
/Linux-v4.19/drivers/hv/
Dchannel_mgmt.c38 static void init_vp_index(struct vmbus_channel *channel, u16 dev_type);
42 { .dev_type = HV_IDE,
48 { .dev_type = HV_SCSI,
54 { .dev_type = HV_FC,
60 { .dev_type = HV_NIC,
66 { .dev_type = HV_ND,
72 { .dev_type = HV_PCIE,
78 { .dev_type = HV_FB,
84 { .dev_type = HV_KBD,
90 { .dev_type = HV_MOUSE,
[all …]
/Linux-v4.19/drivers/scsi/libsas/
Dsas_discover.c41 switch (dev->dev_type) { in sas_init_dev()
96 dev->dev_type = SAS_SATA_PM; in sas_get_port_device()
98 dev->dev_type = SAS_SATA_DEV; in sas_get_port_device()
103 dev->dev_type = id->dev_type; in sas_get_port_device()
111 switch (dev->dev_type) { in sas_get_port_device()
131 printk("ERROR: Unidentified device type %d\n", dev->dev_type); in sas_get_port_device()
159 if (dev_is_sata(dev) || dev->dev_type == SAS_END_DEVICE) in sas_get_port_device()
313 if (dev->dev_type == SAS_EDGE_EXPANDER_DEVICE || dev->dev_type == SAS_FANOUT_EXPANDER_DEVICE) in sas_free_device()
344 if (dev->dev_type == SAS_END_DEVICE && in sas_unregister_common_dev()
462 switch (dev->dev_type) { in sas_discover_domain()
[all …]
Dsas_expander.c211 enum sas_device_type dev_type; in sas_set_ex_phy() local
245 dev_type = phy->attached_dev_type; in sas_set_ex_phy()
337 if (new_phy || phy->attached_dev_type != dev_type || in sas_set_ex_phy()
849 child->dev_type = SAS_END_DEVICE; in sas_ex_discover_end_dev()
964 child->dev_type = phy->attached_dev_type; in sas_ex_discover_expander()
1146 if (child->dev_type != SAS_EDGE_EXPANDER_DEVICE && in sas_check_level_subtractive_boundary()
1147 child->dev_type != SAS_FANOUT_EXPANDER_DEVICE) in sas_check_level_subtractive_boundary()
1224 if (dev->dev_type != SAS_EDGE_EXPANDER_DEVICE) in sas_check_ex_subtractive_boundary()
1269 ex_type[parent->dev_type], in sas_print_parent_topology_bug()
1273 ex_type[child->dev_type], in sas_print_parent_topology_bug()
[all …]
/Linux-v4.19/include/scsi/
Dsas_ata.h35 return dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM || in dev_is_sata()
36 dev->dev_type == SAS_SATA_PM_PORT || dev->dev_type == SAS_SATA_PENDING; in dev_is_sata()
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/s390/crypto/
Dzcrypt_pcixcc.c59 { .dev_type = AP_DEVICE_TYPE_PCIXCC,
61 { .dev_type = AP_DEVICE_TYPE_CEX2C,
63 { .dev_type = AP_DEVICE_TYPE_CEX3C,
71 { .dev_type = AP_DEVICE_TYPE_PCIXCC,
73 { .dev_type = AP_DEVICE_TYPE_CEX2C,
75 { .dev_type = AP_DEVICE_TYPE_CEX3C,
Dzcrypt_cex4.c45 { .dev_type = AP_DEVICE_TYPE_CEX4,
47 { .dev_type = AP_DEVICE_TYPE_CEX5,
49 { .dev_type = AP_DEVICE_TYPE_CEX6,
57 { .dev_type = AP_DEVICE_TYPE_CEX4,
59 { .dev_type = AP_DEVICE_TYPE_CEX5,
61 { .dev_type = AP_DEVICE_TYPE_CEX6,
Dzcrypt_cex2a.c51 { .dev_type = AP_DEVICE_TYPE_CEX2A,
53 { .dev_type = AP_DEVICE_TYPE_CEX3A,
61 { .dev_type = AP_DEVICE_TYPE_CEX2A,
63 { .dev_type = AP_DEVICE_TYPE_CEX3A,
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-core.c192 if (dev->dev_type == TM6010) { in tm6000_set_fourcc_format()
218 if (dev->dev_type == TM6010) { in tm6000_set_vbi()
274 if (dev->dev_type == TM6010) { in tm6000_init_analog_mode()
345 if (dev->dev_type == TM6010) { in tm6000_init_digital_mode()
565 if (dev->dev_type != TM6000) in tm6000_init()
566 dev->dev_type = TM6000; in tm6000_init()
570 if (dev->dev_type != TM6010) in tm6000_init()
571 dev->dev_type = TM6010; in tm6000_init()
579 if (dev->dev_type == TM6010) { in tm6000_init()
629 if (dev->dev_type == TM6010) { in tm6000_set_audio_bitrate()
[all …]
Dtm6000-i2c.c37 if (dev->dev_type == TM6010) in tm6000_i2c_send_regs()
71 if (dev->dev_type == TM6010) in tm6000_i2c_recv_regs()
118 if (dev->dev_type == TM6010) { in tm6000_i2c_recv_regs16()
/Linux-v4.19/drivers/input/misc/
Dmax77693-haptic.c52 enum max77693_types dev_type; member
92 if (haptic->dev_type != TYPE_MAX77843) in max77843_haptic_bias()
114 switch (haptic->dev_type) { in max77693_haptic_configure()
147 if (haptic->dev_type != TYPE_MAX77693) in max77693_haptic_lowsys()
314 haptic->dev_type = platform_get_device_id(pdev)->driver_data; in max77693_haptic_probe()
315 switch (haptic->dev_type) { in max77693_haptic_probe()
324 haptic->dev_type); in max77693_haptic_probe()
/Linux-v4.19/drivers/bluetooth/
Dhci_vhci.c95 __u8 dev_type; in __vhci_create_device() local
101 dev_type = opcode & 0x03; in __vhci_create_device()
103 if (dev_type != HCI_PRIMARY && dev_type != HCI_AMP) in __vhci_create_device()
123 hdev->dev_type = dev_type; in __vhci_create_device()
/Linux-v4.19/drivers/power/supply/
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
Dmax14577_charger.c37 enum maxim_device_type dev_type, u8 val) { in maxim_get_charger_type() argument
48 if (dev_type == MAXIM_DEVICE_TYPE_MAX77836) in maxim_get_charger_type()
143 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_online()
182 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_battery_health()
277 switch (chg->max14577->dev_type) { in max14577_init_eoc()
317 &maxim_charger_currents[chg->max14577->dev_type]; in max14577_init_fast_charge()
445 val->strval = model_names[chg->max14577->dev_type]; in max14577_charger_get_property()
/Linux-v4.19/drivers/mfd/
Dmax14577.c293 max14577->dev_type, device_id, vendor_id); in max14577_print_dev_type()
418 max14577->dev_type = in max14577_i2c_probe()
421 max14577->dev_type = id->driver_data; in max14577_i2c_probe()
426 switch (max14577->dev_type) { in max14577_i2c_probe()
452 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) { in max14577_i2c_probe()
468 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_probe()
482 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_remove()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.c20 enum hnae3_dev_type dev_type) in hnae3_client_match() argument
22 if ((dev_type == HNAE3_DEV_KNIC) && (client_type == HNAE3_CLIENT_KNIC || in hnae3_client_match()
26 if (dev_type == HNAE3_DEV_UNIC && client_type == HNAE3_CLIENT_UNIC) in hnae3_client_match()
81 if (!(hnae3_client_match(client->type, ae_dev->dev_type) && in hnae3_match_n_instantiate()
/Linux-v4.19/arch/s390/include/asm/
Dccwdev.h32 .cu_type=(cu), .cu_model=(cum), .dev_type=(dev), .dev_model=(devm),\
59 && (id->dev_type != match->dev_type)) in ccw_device_id_match()
/Linux-v4.19/usr/
Dgen_init_cpio.c241 uid_t uid, gid_t gid, char dev_type, in cpio_mknod() argument
246 if (dev_type == 'b') in cpio_mknod()
280 char dev_type; in cpio_mknod_line() local
286 name, &mode, &uid, &gid, &dev_type, &maj, &min)) { in cpio_mknod_line()
290 rc = cpio_mknod(name, mode, uid, gid, dev_type, maj, min); in cpio_mknod_line()
/Linux-v4.19/drivers/i2c/busses/
Di2c-mxs.c69 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0)
71 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8)
114 enum mxs_i2c_devtype dev_type; member
358 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_trigger_write_cmd()
547 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_setup_xfer()
620 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_xfer_msg()
814 i2c->dev_type = device_id->driver_data; in mxs_i2c_probe()
/Linux-v4.19/drivers/scsi/hisi_sas/
Dhisi_sas_main.c16 ((!dev) || (dev->dev_type == SAS_PHY_UNUSED))
312 if (device->dev_type != SAS_SATA_DEV) in hisi_sas_task_prep()
538 id->dev_type = phy->identify.device_type; in hisi_sas_bytes_dmaed()
560 if (hisi_hba->devices[i].dev_type == SAS_PHY_UNUSED) { in hisi_sas_alloc_dev()
567 sas_dev->dev_type = device->dev_type; in hisi_sas_alloc_dev()
591 switch (device->dev_type) { in hisi_sas_init_device()
639 if (parent_dev && DEV_IS_EXPANDER(parent_dev->dev_type)) { in hisi_sas_dev_found()
662 sas_dev->device_id, sas_dev->dev_type); in hisi_sas_dev_found()
839 if ((sas_dev->dev_type == SAS_PHY_UNUSED) || in hisi_sas_release_tasks()
862 sas_dev->device_id, sas_dev->dev_type); in hisi_sas_dev_gone()
[all …]
/Linux-v4.19/drivers/scsi/pm8001/
Dpm8001_sas.c355 ((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)))
372 if (dev->dev_type != SAS_SATA_DEV) in pm8001_task_exec()
534 if (pm8001_ha->devices[dev].dev_type == SAS_PHY_UNUSED) { in pm8001_alloc_dev()
570 pm8001_dev->dev_type = SAS_PHY_UNUSED; in pm8001_free_dev()
606 pm8001_device->dev_type = dev->dev_type; in pm8001_dev_found_notify()
608 if (parent_dev && DEV_IS_EXPANDER(parent_dev->dev_type)) { in pm8001_dev_found_notify()
628 if (dev->dev_type == SAS_SATA_DEV) { in pm8001_dev_found_notify()
638 if (dev->dev_type == SAS_END_DEVICE) in pm8001_dev_found_notify()
857 pm8001_dev->device_id, pm8001_dev->dev_type)); in pm8001_dev_gone_notify()
914 if (!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)) in pm8001_open_reject_retry()
/Linux-v4.19/drivers/staging/greybus/
Dspilib.c445 u8 dev_type; in gb_spi_setup_device() local
455 dev_type = response.device_type; in gb_spi_setup_device()
457 if (dev_type == GB_SPI_SPI_DEV) in gb_spi_setup_device()
460 else if (dev_type == GB_SPI_SPI_NOR) in gb_spi_setup_device()
463 else if (dev_type == GB_SPI_SPI_MODALIAS) in gb_spi_setup_device()

12345678