Home
last modified time | relevance | path

Searched refs:device_type (Results 1 – 25 of 263) sorted by relevance

1234567891011

/drivers/mtd/chips/
A 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()
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 Dcfi_cmdset_0002.c139 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 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()
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 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/
A Dkobil_sct.c109 __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 Dsec-i2c.c30 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 Dsec-common.c87 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 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/rtc/
A Drtc-s5m.c252 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 Dpd.c261 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 Dclass.h90 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 Dmux.h21 extern const struct device_type typec_switch_dev_type;
22 extern const struct device_type typec_mux_dev_type;
/drivers/cxl/core/
A Dcore.h10 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 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/
A Dfsl-mc-bus.c324 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 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()
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 Dwacom_sys.c455 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 Dsas_internal.h176 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 Dzcrypt_cex4.c476 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 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/platform/x86/intel/speed_select_if/
A Disst_if_common.c735 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 Dixgbe_phy.h131 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 Dtps68470.c151 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 Dusb.h147 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 Dscsi_transport_sas.c549 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 …]

Completed in 82 milliseconds

1234567891011