Home
last modified time | relevance | path

Searched refs:device_type (Results 1 - 25 of 563) sorted by relevance

12345678910>>...23

/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dkobil_sct.c109 __u16 device_type; member
124 priv->device_type = le16_to_cpu(serial->dev->descriptor.idProduct); in kobil_port_probe()
126 switch (priv->device_type) { in kobil_port_probe()
215 if (priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID || in kobil_open()
216 priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID) { in kobil_open()
244 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID || in kobil_open()
245 priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID || in kobil_open()
246 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) { in kobil_open()
321 if (((priv->device_type != KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 2) && (priv->filled >= (priv->buf[1] + 3))) || in kobil_write()
322 ((priv->device_type in kobil_write()
[all...]
/kernel/linux/linux-6.6/drivers/usb/serial/
H A 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 >= (priv->buf[1] + 3))) || in kobil_write()
321 ((priv->device_type in kobil_write()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/chips/
H A Dcfi_util.c45 unsigned type = cfi->device_type; in cfi_build_cmd_addr()
223 int osf = cfi->interleave * cfi->device_type; /* scale factor */ in cfi_qry_present()
251 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
252 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
257 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
258 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
259 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
263 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
264 cfi_send_gen_cmd(0x98, 0x555, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
268 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NUL in cfi_qry_mode_on()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/chips/
H 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()
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, NUL in cfi_qry_mode_on()
[all...]
/kernel/linux/linux-6.6/drivers/cxl/core/
H A 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;
/kernel/linux/linux-5.10/include/linux/fsl/
H A Dmc.h436 extern struct device_type fsl_mc_bus_dprc_type;
437 extern struct device_type fsl_mc_bus_dpni_type;
438 extern struct device_type fsl_mc_bus_dpio_type;
439 extern struct device_type fsl_mc_bus_dpsw_type;
440 extern struct device_type fsl_mc_bus_dpbp_type;
441 extern struct device_type fsl_mc_bus_dpcon_type;
442 extern struct device_type fsl_mc_bus_dpmcp_type;
443 extern struct device_type fsl_mc_bus_dpmac_type;
444 extern struct device_type fsl_mc_bus_dprtc_type;
445 extern struct device_type fsl_mc_bus_dpseci_typ
[all...]
/kernel/linux/linux-6.6/include/linux/fsl/
H A Dmc.h441 extern struct device_type fsl_mc_bus_dprc_type;
442 extern struct device_type fsl_mc_bus_dpni_type;
443 extern struct device_type fsl_mc_bus_dpio_type;
444 extern struct device_type fsl_mc_bus_dpsw_type;
445 extern struct device_type fsl_mc_bus_dpbp_type;
446 extern struct device_type fsl_mc_bus_dpcon_type;
447 extern struct device_type fsl_mc_bus_dpmcp_type;
448 extern struct device_type fsl_mc_bus_dpmac_type;
449 extern struct device_type fsl_mc_bus_dprtc_type;
450 extern struct device_type fsl_mc_bus_dpseci_typ
[all...]
/kernel/linux/linux-6.6/drivers/usb/typec/
H A 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_typ
[all...]
H A Dclass.h69 extern const struct device_type typec_partner_dev_type;
70 extern const struct device_type typec_cable_dev_type;
71 extern const struct device_type typec_plug_dev_type;
72 extern const struct device_type typec_port_dev_type;
/kernel/linux/linux-5.10/drivers/memory/
H A Dof_memory.h17 u32 device_type, u32 *nr_frequencies);
22 struct device *dev, u32 device_type, u32 *nr_frequencies);
32 u32 device_type, u32 *nr_frequencies) in of_get_ddr_timings()
45 struct device *dev, u32 device_type, u32 *nr_frequencies) in of_lpddr3_get_ddr_timings()
31 of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, u32 device_type, u32 *nr_frequencies) of_get_ddr_timings() argument
44 of_lpddr3_get_ddr_timings(struct device_node *np_ddr, struct device *dev, u32 device_type, u32 *nr_frequencies) of_lpddr3_get_ddr_timings() argument
/kernel/linux/linux-5.10/include/linux/
H A Dgreybus.h109 extern struct device_type greybus_hd_type;
110 extern struct device_type greybus_module_type;
111 extern struct device_type greybus_interface_type;
112 extern struct device_type greybus_control_type;
113 extern struct device_type greybus_bundle_type;
114 extern struct device_type greybus_svc_type;
/kernel/linux/linux-6.6/include/linux/
H A Dgreybus.h109 extern struct device_type greybus_hd_type;
110 extern struct device_type greybus_module_type;
111 extern struct device_type greybus_interface_type;
112 extern struct device_type greybus_control_type;
113 extern struct device_type greybus_bundle_type;
114 extern struct device_type greybus_svc_type;
/kernel/linux/linux-6.6/drivers/memory/
H 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()
48 struct device *dev, u32 device_type, u32 *nr_frequencies) in of_lpddr3_get_ddr_timings()
34 of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, u32 device_type, u32 *nr_frequencies) of_get_ddr_timings() argument
47 of_lpddr3_get_ddr_timings(struct device_node *np_ddr, struct device *dev, u32 device_type, u32 *nr_frequencies) of_lpddr3_get_ddr_timings() argument
/kernel/linux/linux-5.10/drivers/power/supply/
H A 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()
/kernel/linux/linux-6.6/drivers/power/supply/
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A Dsas_internal.h131 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy()
134 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy()
137 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy()
140 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy()
151 phy->identify.device_type = SAS_END_DEVICE; in sas_phy_set_target()
153 phy->identify.device_type = dev->dev_type; in sas_phy_set_target()
156 phy->identify.device_type = SAS_PHY_UNUSED; in sas_phy_set_target()
/kernel/linux/linux-6.6/drivers/scsi/libsas/
H A Dsas_internal.h150 rphy->identify.device_type = SAS_END_DEVICE; in sas_fill_in_rphy()
153 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; in sas_fill_in_rphy()
156 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; in sas_fill_in_rphy()
159 rphy->identify.device_type = SAS_PHY_UNUSED; in sas_fill_in_rphy()
170 phy->identify.device_type = SAS_END_DEVICE; in sas_phy_set_target()
172 phy->identify.device_type = dev->dev_type; in sas_phy_set_target()
175 phy->identify.device_type = SAS_PHY_UNUSED; in sas_phy_set_target()
/kernel/linux/linux-5.10/drivers/mfd/
H A Dsec-core.c265 if (sec_pmic->device_type != S2MPS13X) in sec_pmic_configure()
344 unsigned long device_type; in sec_pmic_probe() local
356 device_type = sec_i2c_get_driver_data(i2c, id); in sec_pmic_probe()
364 pdata->device_type = device_type; in sec_pmic_probe()
367 sec_pmic->device_type = pdata->device_type; in sec_pmic_probe()
373 switch (sec_pmic->device_type) { in sec_pmic_probe()
418 switch (sec_pmic->device_type) { in sec_pmic_probe()
457 sec_pmic->device_type); in sec_pmic_probe()
[all...]
/kernel/linux/linux-6.6/sound/hda/
H A Dintel-nhlt.c138 int intel_nhlt_ssp_endpoint_mask(struct nhlt_acpi_table *nhlt, u8 device_type) in intel_nhlt_ssp_endpoint_mask() argument
144 if (!nhlt || (device_type != NHLT_DEVICE_BT && device_type != NHLT_DEVICE_I2S)) in intel_nhlt_ssp_endpoint_mask()
149 if (epnt->linktype == NHLT_LINK_SSP && epnt->device_type == device_type) { in intel_nhlt_ssp_endpoint_mask()
187 epnt->device_type == NHLT_DEVICE_I2S && in intel_nhlt_ssp_mclk_mask()
277 epnt->direction, epnt->device_type); in nhlt_check_ep_match()
284 /* link of type DMIC bypasses device_type check */ in nhlt_check_ep_match()
286 epnt->device_type == dev_type; in nhlt_check_ep_match()
/kernel/linux/linux-6.6/drivers/bus/fsl-mc/
H A 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_typ
[all...]
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
H A Dfsl-mc-bus.c219 struct device_type fsl_mc_bus_dprc_type = {
224 struct device_type fsl_mc_bus_dpni_type = {
229 struct device_type fsl_mc_bus_dpio_type = {
234 struct device_type fsl_mc_bus_dpsw_type = {
239 struct device_type fsl_mc_bus_dpbp_type = {
244 struct device_type fsl_mc_bus_dpcon_type = {
249 struct device_type fsl_mc_bus_dpmcp_type = {
254 struct device_type fsl_mc_bus_dpmac_type = {
259 struct device_type fsl_mc_bus_dprtc_type = {
264 struct device_type fsl_mc_bus_dpseci_typ
[all...]
/kernel/linux/linux-6.6/sound/pci/
H A Dintel8x0.c339 unsigned int device_type; member
924 switch (chip->device_type) { in snd_intel8x0_setup_pcm_out()
952 if (chip->device_type == DEVICE_NFORCE) { in snd_intel8x0_setup_pcm_out()
962 } else if (chip->device_type == DEVICE_INTEL_ICH4) { in snd_intel8x0_setup_pcm_out()
983 if (chip->device_type == DEVICE_INTEL_ICH4) in snd_intel8x0_pcm_prepare()
1106 if (chip->device_type == DEVICE_SIS) { in snd_intel8x0_pcm_open()
1222 int idx = chip->device_type == DEVICE_NFORCE ? NVD_SPBAR : ICHD_SPBAR; in snd_intel8x0_spdif_open()
1230 int idx = chip->device_type == DEVICE_NFORCE ? NVD_SPBAR : ICHD_SPBAR; in snd_intel8x0_spdif_close()
1585 switch (chip->device_type) { in snd_intel8x0_pcm()
2140 switch (chip->device_type) { in snd_intel8x0_mixer()
2868 snd_intel8x0_init(struct snd_card *card, struct pci_dev *pci, unsigned long device_type) snd_intel8x0_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A 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()
/kernel/linux/linux-6.6/drivers/s390/crypto/
H A 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 in zcrypt_cex4_card_probe()
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A 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...]

Completed in 18 milliseconds

12345678910>>...23