Home
last modified time | relevance | path

Searched full:device_type (Results 1 – 25 of 258) sorted by relevance

1234567891011

/drivers/gpu/drm/ci/
Dtest.yml92 DEVICE_TYPE: sc7180-trogdor-lazor-limozeen
150 DEVICE_TYPE: rk3288-veyron-jaq
151 DTB: ${DEVICE_TYPE}
164 DEVICE_TYPE: rk3399-gru-kevin
165 DTB: ${DEVICE_TYPE}
186 DEVICE_TYPE: asus-C523NA-A20057-coral
195 DEVICE_TYPE: hp-x360-12b-ca0010nr-n4020-octopus
204 DEVICE_TYPE: asus-C433TA-AJ0005-rammus
213 DEVICE_TYPE: hp-x360-14-G1-sona
222 DEVICE_TYPE: dell-latitude-5400-8665U-sarien
[all …]
/drivers/mtd/chips/
Dcfi_util.c44 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()
251 cfi_send_gen_cmd(0x98, 0x55, 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()
258 cfi_send_gen_cmd(0x98, 0x55, 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()
263 cfi_send_gen_cmd(0x98, 0x555, 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()
[all …]
Dcfi_cmdset_0002.c139 cfi->device_type, NULL); in cfi_check_err_status()
541 ((cfi->device_type == CFI_DEVICETYPE_X8 && (cfi->id & 0xff) == 0x7e) || in is_m29ew()
542 (cfi->device_type == CFI_DEVICETYPE_X16 && cfi->id == 0x227e))) in is_m29ew()
845 cfi->device_type, NULL); in chip_ready()
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()
[all …]
Djedec_probe.c1924 mask = (1 << (cfi->device_type * 8)) - 1; in jedec_read_mfr()
1940 mask = (1 << (cfi->device_type * 8)) -1; in jedec_read_id()
1958 cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); in jedec_reset()
1959 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL); in jedec_reset()
1962 cfi_send_gen_cmd(0xF0, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); in jedec_reset()
1968 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); in jedec_reset()
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()
[all …]
Dcfi_probe.c173 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/
Dkobil_sct.c110 __u16 device_type; member
125 priv->device_type = le16_to_cpu(serial->dev->descriptor.idProduct); in kobil_port_probe()
127 switch (priv->device_type) { in kobil_port_probe()
214 if (priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID || in kobil_open()
215 priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID) { in kobil_open()
243 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID || in kobil_open()
244 priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID || in kobil_open()
245 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) { in kobil_open()
320 …if (((priv->device_type != KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 2) && (priv->filled >= (… in kobil_write()
321 …((priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 3) && (priv->filled >= (priv… in kobil_write()
[all …]
/drivers/of/unittest-data/
Dtests-match.dtsi7 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/cxl/core/
Dcore.h7 extern const struct device_type cxl_nvdimm_bridge_type;
8 extern const struct device_type cxl_nvdimm_type;
9 extern const struct device_type cxl_pmu_type;
18 extern const struct device_type cxl_pmem_region_type;
19 extern const struct device_type cxl_dax_region_type;
20 extern const struct device_type cxl_region_type;
/drivers/usb/typec/
Dpd.c162 static struct device_type source_fixed_supply_type = {
187 static struct device_type sink_fixed_supply_type = {
218 static struct device_type source_variable_supply_type = {
232 static struct device_type sink_variable_supply_type = {
263 static struct device_type source_battery_type = {
277 static struct device_type sink_battery_type = {
344 static struct device_type source_pps_type = {
358 static struct device_type sink_pps_type = {
376 static struct device_type *source_type[] = {
382 static struct device_type *source_apdo_type[] = {
[all …]
Dclass.h74 extern const struct device_type typec_partner_dev_type;
75 extern const struct device_type typec_cable_dev_type;
76 extern const struct device_type typec_plug_dev_type;
77 extern const struct device_type typec_port_dev_type;
/drivers/scsi/libsas/
Dsas_internal.h164 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy()
167 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy()
170 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy()
173 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy()
184 phy->identify.device_type = SAS_END_DEVICE; in sas_phy_set_target()
186 phy->identify.device_type = dev->dev_type; in sas_phy_set_target()
189 phy->identify.device_type = SAS_PHY_UNUSED; in sas_phy_set_target()
/drivers/memory/
Dof_memory.h17 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/
Dfsl-mc-bus.c323 struct device_type fsl_mc_bus_dprc_type = {
328 struct device_type fsl_mc_bus_dpni_type = {
333 struct device_type fsl_mc_bus_dpio_type = {
338 struct device_type fsl_mc_bus_dpsw_type = {
343 struct device_type fsl_mc_bus_dpbp_type = {
348 struct device_type fsl_mc_bus_dpcon_type = {
353 struct device_type fsl_mc_bus_dpmcp_type = {
358 struct device_type fsl_mc_bus_dpmac_type = {
363 struct device_type fsl_mc_bus_dprtc_type = {
368 struct device_type fsl_mc_bus_dpseci_type = {
[all …]
/drivers/rtc/
Drtc-s5m.c154 enum sec_device_type device_type; member
237 switch (info->device_type) { in s5m_check_peding_alarm_interrupt()
300 switch (info->device_type) { in s5m8767_rtc_set_alarm_reg()
323 if (info->device_type == S2MPS13X) in s5m8767_rtc_set_alarm_reg()
353 switch (info->device_type) { in s5m_rtc_read_time()
376 switch (info->device_type) { in s5m_rtc_set_time()
413 switch (info->device_type) { in s5m_rtc_read_alarm()
451 switch (info->device_type) { in s5m_rtc_stop_alarm()
489 switch (info->device_type) { in s5m_rtc_start_alarm()
526 switch (info->device_type) { in s5m_rtc_set_alarm()
[all …]
/drivers/platform/x86/intel/speed_select_if/
Disst_if_common.c774 * @device_type: The device type this callback handling.
787 int isst_if_cdev_register(int device_type, struct isst_if_cmd_cb *cb) in isst_if_cdev_register() argument
791 if (device_type >= ISST_IF_DEV_MAX) in isst_if_cdev_register()
804 memcpy(&punit_callbacks[device_type], cb, sizeof(*cb)); in isst_if_cdev_register()
805 punit_callbacks[device_type].registered = 1; in isst_if_cdev_register()
814 punit_callbacks[device_type].registered = 0; in isst_if_cdev_register()
823 * @device_type: The device type to unregister.
830 void isst_if_cdev_unregister(int device_type) in isst_if_cdev_unregister() argument
834 punit_callbacks[device_type].def_ioctl = NULL; in isst_if_cdev_unregister()
835 punit_callbacks[device_type].registered = 0; in isst_if_cdev_unregister()
[all …]
/drivers/power/supply/
Dpower_supply.h13 struct device_type;
18 extern void power_supply_init_attrs(struct device_type *dev_type);
23 static inline void power_supply_init_attrs(struct device_type *dev_type) {} in power_supply_init_attrs()
/drivers/mfd/
Dsec-core.c227 if (sec_pmic->device_type != S2MPS13X) in sec_pmic_configure()
295 sec_pmic->device_type = (unsigned long)of_device_get_match_data(sec_pmic->dev); in sec_pmic_probe()
298 switch (sec_pmic->device_type) { in sec_pmic_probe()
337 switch (sec_pmic->device_type) { in sec_pmic_probe()
368 sec_pmic->device_type); in sec_pmic_probe()
390 switch (sec_pmic->device_type) { in sec_pmic_shutdown()
402 sec_pmic->device_type); in sec_pmic_shutdown()
/drivers/s390/crypto/
Dzcrypt_cex4.c477 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
481 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe()
485 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe()
489 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX7) { in zcrypt_cex4_card_probe()
516 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
523 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe()
530 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX6) { in zcrypt_cex4_card_probe()
537 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX7) { in zcrypt_cex4_card_probe()
556 if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX4) { in zcrypt_cex4_card_probe()
560 } else if (ac->ap_dev.device_type == AP_DEVICE_TYPE_CEX5) { in zcrypt_cex4_card_probe()
[all …]
Dap_card.c27 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/hid/
Dwacom_sys.c440 features->device_type |= WACOM_DEVICETYPE_PEN; in wacom_usage_mapping()
442 features->device_type |= WACOM_DEVICETYPE_TOUCH; in wacom_usage_mapping()
491 features->device_type |= WACOM_DEVICETYPE_DIRECT; in wacom_post_parse_hid()
493 features->device_type &= ~WACOM_DEVICETYPE_DIRECT; in wacom_post_parse_hid()
497 if (features->device_type & WACOM_DEVICETYPE_DIRECT) in wacom_post_parse_hid()
677 if (features->device_type & WACOM_DEVICETYPE_TOUCH) { in _wacom_query_tablet_data()
692 } else if (features->device_type & WACOM_DEVICETYPE_PEN) { in _wacom_query_tablet_data()
729 features->device_type = WACOM_DEVICETYPE_WL_MONITOR; in wacom_retrieve_hid_descriptor()
731 features->device_type = WACOM_DEVICETYPE_NONE; in wacom_retrieve_hid_descriptor()
785 if ((features->device_type & WACOM_DEVICETYPE_DIRECT) && in wacom_are_sibling()
[all …]
Dhid-logitech-dj.c171 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()
921 * only 1 paired device with a device_type of REPORT_TYPE_KEYBOARD. For the
924 * device with a device_type of REPORT_TYPE_MOUSE as we normally would).
947 workitem->device_type = hidpp_report->params[HIDPP_PARAM_DEVICE_INFO] & in logi_hidpp_dev_conn_notif_equad()
951 switch (workitem->device_type) { in logi_hidpp_dev_conn_notif_equad()
982 workitem->device_type = HIDPP_DEVICE_TYPE_MOUSE; in logi_hidpp_dev_conn_notif_27mhz()
994 workitem->device_type = HIDPP_DEVICE_TYPE_KEYBOARD; in logi_hidpp_dev_conn_notif_27mhz()
1009 const char *device_type = "UNKNOWN"; in logi_hidpp_recv_queue_notif() local
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.h129 u32 device_type, u16 *phy_data);
131 u32 device_type, u16 phy_data);
133 u32 device_type, u16 *phy_data);
135 u32 device_type, u16 phy_data);
/drivers/usb/core/
Dusb.h147 extern struct device_type usb_device_type;
148 extern struct device_type usb_if_device_type;
149 extern struct device_type usb_ep_device_type;
150 extern struct device_type usb_port_device_type;
/drivers/scsi/
Dscsi_transport_sas.c130 sas_bitfield_name_search(device_type, sas_device_type_names)
166 BUG_ON(rphy->identify.device_type != SAS_END_DEVICE); in sas_bitfield_name_search()
547 if (!phy->identify.device_type) in show_sas_device_type()
549 return get_sas_device_type_names(phy->identify.device_type, buf); in show_sas_device_type()
551 static DEVICE_ATTR(device_type, S_IRUGO, show_sas_device_type, NULL);
1202 if (!rphy->identify.device_type) in show_sas_rphy_device_type()
1205 rphy->identify.device_type, buf); in show_sas_rphy_device_type()
1208 static SAS_DEVICE_ATTR(rphy, device_type, S_IRUGO,
1395 rphy->identify.device_type == SAS_END_DEVICE; in sas_end_dev_match()
1418 (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in sas_expander_match()
[all …]
/drivers/platform/x86/intel/int3472/
Dtps68470.c151 int device_type; in skl_int3472_tps68470_probe() local
173 device_type = skl_int3472_tps68470_calc_type(adev); in skl_int3472_tps68470_probe()
174 switch (device_type) { in skl_int3472_tps68470_probe()
219 return device_type; in skl_int3472_tps68470_probe()

1234567891011