| /drivers/mtd/chips/ |
| A D | cfi_util.c | 44 unsigned type = cfi->device_type; in cfi_build_cmd_addr() 222 int osf = cfi->interleave * cfi->device_type; /* scale factor */ in cfi_qry_present() 250 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() 256 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() 257 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() 262 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() 267 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() 274 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() 288 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_off() 289 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_off() [all …]
|
| A D | cfi_cmdset_0002.c | 139 cfi->device_type, NULL); in cfi_check_err_status() 1281 cfi->device_type, NULL); in otp_enter() 1283 cfi->device_type, NULL); in otp_enter() 1285 cfi->device_type, NULL); in otp_enter() 1296 cfi->device_type, NULL); in otp_exit() 1298 cfi->device_type, NULL); in otp_exit() 1300 cfi->device_type, NULL); in otp_exit() 1302 cfi->device_type, NULL); in otp_exit() 1438 cfi->device_type, NULL); in do_otp_lock() 1440 cfi->device_type, NULL); in do_otp_lock() [all …]
|
| A D | jedec_probe.c | 1924 mask = (1 << (cfi->device_type * 8)) - 1; in jedec_read_mfr() 1940 mask = (1 << (cfi->device_type * 8)) -1; in jedec_read_id() 1978 if (!(jedec_table[index].devtypes & cfi->device_type)) { in cfi_jedec_setup() 1980 jedec_table[index].name, 4 * (1<<cfi->device_type)); in cfi_jedec_setup() 2017 cfi->addr_unlock1 = unlock_addrs[uaddr].addr1 / cfi->device_type; in cfi_jedec_setup() 2018 cfi->addr_unlock2 = unlock_addrs[uaddr].addr2 / cfi->device_type; in cfi_jedec_setup() 2049 switch (cfi->device_type) { in jedec_match() 2075 __func__, cfi->device_type); in jedec_match() 2092 if (! (finfo->devtypes & cfi->device_type)) in jedec_match() 2201 cfi->mfr, cfi->id, cfi_interleave(cfi), cfi->device_type); in jedec_probe_chip() [all …]
|
| A D | cfi_probe.c | 173 map->name, cfi->interleave, cfi->device_type*8, base, in cfi_probe_chip() 198 int ofs_factor = cfi->interleave*cfi->device_type; in cfi_chip_setup() 263 cfi_send_gen_cmd(0xf0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_chip_setup() 264 cfi_send_gen_cmd(0xaa, addr_unlock1, base, map, cfi, cfi->device_type, NULL); in cfi_chip_setup() 265 cfi_send_gen_cmd(0x55, addr_unlock2, base, map, cfi, cfi->device_type, NULL); in cfi_chip_setup() 266 cfi_send_gen_cmd(0x90, addr_unlock1, base, map, cfi, cfi->device_type, NULL); in cfi_chip_setup() 282 map->name, cfi->interleave, cfi->device_type*8, base, in cfi_chip_setup()
|
| /drivers/usb/serial/ |
| A D | kobil_sct.c | 109 __u16 device_type; member 126 switch (priv->device_type) { in kobil_port_probe() 213 priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID) { in kobil_open() 241 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID || in kobil_open() 243 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) { in kobil_open() 350 priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID) { in kobil_write() 376 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID in kobil_tiocmget() 427 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID in kobil_tiocmset() 486 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID || in kobil_set_termios() 487 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) { in kobil_set_termios() [all …]
|
| /drivers/mfd/ |
| A D | sec-i2c.c | 30 int device_type; member 157 return sec_pmic_probe(&client->dev, pdata->device_type, client->irq, in sec_pmic_i2c_probe() 168 .device_type = S2DOS05 173 .device_type = S2MPA01, 178 .device_type = S2MPS11X, 183 .device_type = S2MPS13X, 188 .device_type = S2MPS14X, 193 .device_type = S2MPS15X, 198 .device_type = S2MPU02, 203 .device_type = S2MPU05, [all …]
|
| A D | sec-common.c | 87 if (sec_pmic->device_type == S2MPG10) in sec_pmic_dump_rev() 99 if (sec_pmic->device_type != S2MPS13X) in sec_pmic_configure() 143 int sec_pmic_probe(struct device *dev, int device_type, unsigned int irq, in sec_pmic_probe() argument 157 sec_pmic->device_type = device_type; in sec_pmic_probe() 176 switch (sec_pmic->device_type) { in sec_pmic_probe() 220 sec_pmic->device_type); in sec_pmic_probe() 242 switch (sec_pmic->device_type) { in sec_pmic_shutdown() 254 sec_pmic->device_type); in sec_pmic_shutdown()
|
| /drivers/of/unittest-data/ |
| A D | tests-match.dtsi | 7 name1 { device_type = "type1"; }; 8 a { name2 { device_type = "type1"; }; }; 10 c { name2 { device_type = "type2"; }; }; 15 name7 { compatible = "compat2"; device_type = "type1"; }; 16 name8 { compatible = "compat2"; device_type = "type1"; };
|
| /drivers/rtc/ |
| A D | rtc-s5m.c | 252 switch (info->device_type) { in s5m_check_pending_alarm_interrupt() 301 switch (info->device_type) { in s5m8767_rtc_set_alarm_reg() 354 switch (info->device_type) { in s5m_rtc_read_time() 378 switch (info->device_type) { in s5m_rtc_set_time() 416 switch (info->device_type) { in s5m_rtc_read_alarm() 455 switch (info->device_type) { in s5m_rtc_stop_alarm() 494 switch (info->device_type) { in s5m_rtc_start_alarm() 682 switch (device_type) { in s5m_rtc_probe() 706 device_type); in s5m_rtc_probe() 726 device_type); in s5m_rtc_probe() [all …]
|
| /drivers/usb/typec/ |
| A D | pd.c | 261 static const struct device_type source_battery_type = { 275 static const struct device_type sink_battery_type = { 342 static const struct device_type source_pps_type = { 356 static const struct device_type sink_pps_type = { 374 static const struct device_type *source_type[] = { 380 static const struct device_type *source_apdo_type[] = { 384 static const struct device_type *sink_type[] = { 390 static const struct device_type *sink_apdo_type[] = { 397 const struct device_type *type; in add_pdo() 463 static const struct device_type pd_capabilities_type = { [all …]
|
| A D | class.h | 90 extern const struct device_type typec_partner_dev_type; 91 extern const struct device_type typec_cable_dev_type; 92 extern const struct device_type typec_plug_dev_type; 93 extern const struct device_type typec_port_dev_type;
|
| A D | mux.h | 21 extern const struct device_type typec_switch_dev_type; 22 extern const struct device_type typec_mux_dev_type;
|
| /drivers/cxl/core/ |
| A D | core.h | 10 extern const struct device_type cxl_nvdimm_bridge_type; 11 extern const struct device_type cxl_nvdimm_type; 12 extern const struct device_type cxl_pmu_type; 26 extern const struct device_type cxl_pmem_region_type; 27 extern const struct device_type cxl_dax_region_type; 28 extern const struct device_type cxl_region_type;
|
| /drivers/memory/ |
| A D | of_memory.h | 17 u32 device_type, u32 *nr_frequencies); 22 struct device *dev, u32 device_type, u32 *nr_frequencies); 35 u32 device_type, u32 *nr_frequencies) in of_get_ddr_timings() argument 48 struct device *dev, u32 device_type, u32 *nr_frequencies) in of_lpddr3_get_ddr_timings() argument
|
| /drivers/bus/fsl-mc/ |
| A D | fsl-mc-bus.c | 324 const struct device_type fsl_mc_bus_dprc_type = { 329 const struct device_type fsl_mc_bus_dpni_type = { 334 const struct device_type fsl_mc_bus_dpio_type = { 339 const struct device_type fsl_mc_bus_dpsw_type = { 344 const struct device_type fsl_mc_bus_dpbp_type = { 349 const struct device_type fsl_mc_bus_dpcon_type = { 354 const struct device_type fsl_mc_bus_dpmcp_type = { 359 const struct device_type fsl_mc_bus_dpmac_type = { 364 const struct device_type fsl_mc_bus_dprtc_type = { 389 const struct device_type fsl_mc_bus_dpci_type = { [all …]
|
| /drivers/hid/ |
| A D | hid-logitech-dj.c | 171 u8 device_type; member 737 if (workitem->device_type) { in logi_dj_recv_add_djhid_device() 740 switch (workitem->device_type) { in logi_dj_recv_add_djhid_device() 951 switch (workitem->device_type) { in logi_hidpp_dev_conn_notif_equad() 1017 device_type = "Bluetooth"; in logi_hidpp_recv_queue_notif() 1028 device_type = "27 Mhz"; in logi_hidpp_recv_queue_notif() 1032 device_type = "QUAD or eQUAD"; in logi_hidpp_recv_queue_notif() 1036 device_type = "eQUAD step 4 DJ"; in logi_hidpp_recv_queue_notif() 1040 device_type = "DFU Lite"; in logi_hidpp_recv_queue_notif() 1055 device_type = "eQUAD nano Lite"; in logi_hidpp_recv_queue_notif() [all …]
|
| A D | wacom_sys.c | 455 features->device_type |= WACOM_DEVICETYPE_PEN; in wacom_usage_mapping() 457 features->device_type |= WACOM_DEVICETYPE_TOUCH; in wacom_usage_mapping() 506 features->device_type |= WACOM_DEVICETYPE_DIRECT; in wacom_post_parse_hid() 508 features->device_type &= ~WACOM_DEVICETYPE_DIRECT; in wacom_post_parse_hid() 512 if (features->device_type & WACOM_DEVICETYPE_DIRECT) in wacom_post_parse_hid() 692 if (features->device_type & WACOM_DEVICETYPE_TOUCH) { in _wacom_query_tablet_data() 744 features->device_type = WACOM_DEVICETYPE_WL_MONITOR; in wacom_retrieve_hid_descriptor() 746 features->device_type = WACOM_DEVICETYPE_NONE; in wacom_retrieve_hid_descriptor() 813 if ((features->device_type & WACOM_DEVICETYPE_PEN) && in wacom_are_sibling() 2413 if (features->device_type == WACOM_DEVICETYPE_NONE && in wacom_parse_and_register() [all …]
|
| /drivers/scsi/libsas/ |
| A D | sas_internal.h | 176 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy() 179 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy() 182 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy() 185 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy() 196 phy->identify.device_type = SAS_END_DEVICE; in sas_phy_set_target() 198 phy->identify.device_type = dev->dev_type; in sas_phy_set_target() 201 phy->identify.device_type = SAS_PHY_UNUSED; in sas_phy_set_target()
|
| /drivers/s390/crypto/ |
| A D | zcrypt_cex4.c | 476 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe() 480 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe() 484 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe() 488 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX7) { in zcrypt_cex4_card_probe() 514 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe() 521 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe() 528 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe() 535 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX7) { in zcrypt_cex4_card_probe() 554 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe() 558 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe() [all …]
|
| A D | ap_card.c | 27 return sysfs_emit(buf, "%d\n", ac->ap_dev.device_type); in hwtype_show() 137 return sysfs_emit(buf, "ap:t%02X\n", to_ap_dev(dev)->device_type); in modalias_show() 220 static struct device_type ap_card_type = { 242 ac->ap_dev.device_type = comp_type; in ap_card_create()
|
| /drivers/platform/x86/intel/speed_select_if/ |
| A D | isst_if_common.c | 735 int isst_if_cdev_register(int device_type, struct isst_if_cmd_cb *cb) in isst_if_cdev_register() argument 737 if (device_type >= ISST_IF_DEV_MAX) in isst_if_cdev_register() 740 if (device_type < ISST_IF_DEV_TPMI && isst_hpm_support) in isst_if_cdev_register() 753 memcpy(&punit_callbacks[device_type], cb, sizeof(*cb)); in isst_if_cdev_register() 754 punit_callbacks[device_type].registered = 1; in isst_if_cdev_register() 770 void isst_if_cdev_unregister(int device_type) in isst_if_cdev_unregister() argument 773 punit_callbacks[device_type].def_ioctl = NULL; in isst_if_cdev_unregister() 774 punit_callbacks[device_type].registered = 0; in isst_if_cdev_unregister() 775 if (device_type == ISST_IF_DEV_MBOX) in isst_if_cdev_unregister()
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_phy.h | 131 u32 device_type, u16 *phy_data); 133 u32 device_type, u16 phy_data); 135 u32 device_type, u16 *phy_data); 137 u32 device_type, u16 phy_data);
|
| /drivers/platform/x86/intel/int3472/ |
| A D | tps68470.c | 151 int device_type; in skl_int3472_tps68470_probe() local 176 device_type = skl_int3472_tps68470_calc_type(adev); in skl_int3472_tps68470_probe() 177 switch (device_type) { in skl_int3472_tps68470_probe() 222 return device_type; in skl_int3472_tps68470_probe()
|
| /drivers/usb/core/ |
| A D | usb.h | 147 extern const struct device_type usb_device_type; 148 extern const struct device_type usb_if_device_type; 149 extern const struct device_type usb_ep_device_type; 150 extern const struct device_type usb_port_device_type;
|
| /drivers/scsi/ |
| A D | scsi_transport_sas.c | 549 if (!phy->identify.device_type) in show_sas_device_type() 1206 if (!rphy->identify.device_type) in show_sas_rphy_device_type() 1209 rphy->identify.device_type, buf); in show_sas_rphy_device_type() 1212 static SAS_DEVICE_ATTR(rphy, device_type, S_IRUGO, 1399 rphy->identify.device_type == SAS_END_DEVICE; in sas_end_dev_match() 1486 rdev->rphy.identify.device_type = SAS_END_DEVICE; in sas_end_device_alloc() 1527 rdev->rphy.identify.device_type = type; in sas_expander_alloc() 1564 if (identify->device_type == SAS_END_DEVICE && in sas_rphy_add() 1572 if (identify->device_type == SAS_END_DEVICE && in sas_rphy_add() 1655 switch (rphy->identify.device_type) { in sas_rphy_remove() [all …]
|