Home
last modified time | relevance | path

Searched refs:card_type (Results 1 – 25 of 65) sorted by relevance

123

/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbfa_defs_mfg_comm.h73 #define bfa_mfg_adapter_prop_init_gpio(gpio, card_type, prop) \ argument
86 (card_type) = BFA_MFG_TYPE_FC8P2; \
91 (card_type) = BFA_MFG_TYPE_FC8P1; \
96 (card_type) = BFA_MFG_TYPE_FC4P2; \
101 (card_type) = BFA_MFG_TYPE_FC4P1; \
105 (card_type) = BFA_MFG_TYPE_INVALID; \
Dbfa_defs.h39 u32 card_type; member
206 u32 card_type; /* card type */ member
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dfanpwm.c43 int card_type = device->card_type; in nvkm_fanpwm_get() local
50 if (card_type <= NV_40 || (fan->func.log[0] & 1)) in nvkm_fanpwm_get()
62 int card_type = therm->subdev.device->card_type; in nvkm_fanpwm_set() local
75 if (card_type <= NV_40 || (fan->func.log[0] & 1)) in nvkm_fanpwm_set()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dshadowramin.c63 if (device->card_type < NV_50) in pramin_init()
67 if (device->card_type >= GA100) in pramin_init()
70 if (device->card_type >= GM100) in pramin_init()
73 if (device->card_type >= NV_C0) in pramin_init()
84 if (device->card_type >= GV100) in pramin_init()
Dshadowrom.c51 if (device->card_type == NV_40 && device->chipset >= 0x4c) in nvbios_prom_init()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dvga.c29 if (device->card_type >= NV_50) in nvkm_rdport()
40 if (device->card_type < NV_40) in nvkm_rdport()
51 if (device->card_type >= NV_50) in nvkm_wrport()
62 if (device->card_type < NV_40) in nvkm_wrport()
132 if (device->card_type < NV_50) in nvkm_lockvgac()
164 if (device->card_type < NV_50) { in nvkm_rdvgaowner()
190 if (device->card_type < NV_50) { in nvkm_wrvgaowner()
Dudisp.c60 if (disp->engine.subdev.device->card_type >= NV_50) in nvkm_udisp_mthd()
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Dcn68xx_device.c128 u16 card_type = LIO_410NV; in lio_setup_cn68xx_octeon_device() local
164 card_type = LIO_210NV; in lio_setup_cn68xx_octeon_device()
167 oct_get_config_info(oct, card_type); in lio_setup_cn68xx_octeon_device()
171 (card_type == LIO_410NV) ? LIO_410NV_NAME : in lio_setup_cn68xx_octeon_device()
Docteon_device.c37 .card_type = LIO_210SV,
146 .card_type = LIO_410NV,
311 .card_type = LIO_210NV,
416 .card_type = LIO_23XX,
569 u16 card_type) in __retrieve_octeon_config_info() argument
579 (card_type == LIO_210NV)) { in __retrieve_octeon_config_info()
582 (card_type == LIO_410NV)) { in __retrieve_octeon_config_info()
612 void *oct_get_config_info(struct octeon_device *oct, u16 card_type) in oct_get_config_info() argument
616 conf = __retrieve_octeon_config_info(oct, card_type); in oct_get_config_info()
/linux-6.1.9/drivers/pcmcia/
Dbcm63xx_pcmcia.c97 if (skt->card_detected && (skt->card_type & CARD_CARDBUS)) in bcm63xx_pcmcia_set_socket()
213 skt->card_type = vscd_to_cardtype[stat]; in __get_socket_status()
214 if (!skt->card_type) in __get_socket_status()
222 if (skt->card_type & CARD_PCCARD) in __get_socket_status()
232 if (skt->card_type & CARD_CARDBUS) in __get_socket_status()
234 if (skt->card_type & CARD_3V) in __get_socket_status()
236 if (skt->card_type & CARD_XV) in __get_socket_status()
Dbcm63xx_pcmcia.h41 u8 card_type; member
/linux-6.1.9/drivers/misc/genwqe/
Dcard_sysfs.c76 u8 card_type; in type_show() local
79 card_type = genwqe_card_type(cd); in type_show()
80 return sprintf(buf, "%s\n", (card_type >= ARRAY_SIZE(genwqe_types)) ? in type_show()
81 "invalid" : genwqe_types[card_type]); in type_show()
/linux-6.1.9/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c273 int card_type; member
559 local->card_type = XIR_UNKNOWN; in set_card_type()
571 case 1: local->card_type = XIR_CEM ; break; in set_card_type()
572 case 2: local->card_type = XIR_CEM2 ; break; in set_card_type()
573 case 3: local->card_type = XIR_CEM3 ; break; in set_card_type()
574 case 4: local->card_type = XIR_CEM33 ; break; in set_card_type()
575 case 5: local->card_type = XIR_CEM56M; in set_card_type()
580 local->card_type = XIR_CEM56 ; in set_card_type()
587 case 1: local->card_type = has_ce2_string(link)? XIR_CE2 : XIR_CE ; in set_card_type()
589 case 2: local->card_type = XIR_CE2; break; in set_card_type()
[all …]
/linux-6.1.9/include/uapi/sound/
Dhdspm.h142 __u8 card_type; /* enum hdspm_io_type */ member
171 __u8 card_type; /* enum hdspm_io_type */ member
/linux-6.1.9/drivers/media/pci/zoran/
Dzoran.h63 enum card_type { enum
164 enum card_type type;
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c186 if (device->card_type < NV_40) { in nv04_fifo_cache_error()
234 if (device->card_type == NV_50) { in nv04_fifo_dma_pusher()
308 if (device->card_type == NV_50) { in nv04_fifo_intr()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c2968 device->card_type = NV_10; in nvkm_device_ctor()
2970 device->card_type = NV_11; in nvkm_device_ctor()
2974 case 0x020: device->card_type = NV_20; break; in nvkm_device_ctor()
2975 case 0x030: device->card_type = NV_30; break; in nvkm_device_ctor()
2977 case 0x060: device->card_type = NV_40; break; in nvkm_device_ctor()
2981 case 0x0a0: device->card_type = NV_50; break; in nvkm_device_ctor()
2983 case 0x0d0: device->card_type = NV_C0; break; in nvkm_device_ctor()
2986 case 0x100: device->card_type = NV_E0; break; in nvkm_device_ctor()
2988 case 0x120: device->card_type = GM100; break; in nvkm_device_ctor()
2989 case 0x130: device->card_type = GP100; break; in nvkm_device_ctor()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv10.c43 if (device->card_type >= NV_11 && device->chipset >= 0x17) in nv10_devinit_meminit()
/linux-6.1.9/drivers/tty/
Dnozomi.c147 enum card_type { enum
345 enum card_type card_type; member
1242 dc->card_type = size == 2048 ? F32_2 : F32_8; in nozomi_get_card_type()
1244 dev_info(&dc->pdev->dev, "Card type is: %d\n", dc->card_type); in nozomi_get_card_type()
1249 void __iomem *offset = dc->base_addr + dc->card_type / 2; in nozomi_setup_private_data()
1272 return sprintf(buf, "%d\n", dc->card_type); in card_type_show()
1274 static DEVICE_ATTR_RO(card_type);
1345 dc->base_addr = pci_iomap(dc->pdev, 0, dc->card_type); in nozomi_card_init()
/linux-6.1.9/drivers/mmc/core/
Dmmc.c197 u8 card_type = card->ext_csd.raw_card_type; in mmc_select_card_type() local
203 card_type & EXT_CSD_CARD_TYPE_HS_26) { in mmc_select_card_type()
209 card_type & EXT_CSD_CARD_TYPE_HS_52) { in mmc_select_card_type()
215 card_type & EXT_CSD_CARD_TYPE_DDR_1_8V) { in mmc_select_card_type()
221 card_type & EXT_CSD_CARD_TYPE_DDR_1_2V) { in mmc_select_card_type()
227 card_type & EXT_CSD_CARD_TYPE_HS200_1_8V) { in mmc_select_card_type()
233 card_type & EXT_CSD_CARD_TYPE_HS200_1_2V) { in mmc_select_card_type()
239 card_type & EXT_CSD_CARD_TYPE_HS400_1_8V) { in mmc_select_card_type()
245 card_type & EXT_CSD_CARD_TYPE_HS400_1_2V) { in mmc_select_card_type()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_linecards.c60 mlxsw_linecard_types_lookup(struct mlxsw_linecards *linecards, u8 card_type) in mlxsw_linecard_types_lookup() argument
71 if (ini_file->format.type == card_type) in mlxsw_linecard_types_lookup()
620 mlxsw_linecard_provision_set(struct mlxsw_linecard *linecard, u8 card_type, in mlxsw_linecard_provision_set() argument
627 type = mlxsw_linecard_types_lookup(linecards, card_type); in mlxsw_linecard_provision_set()
720 u8 slot_index, card_type; in mlxsw_linecard_status_process() local
726 &card_type); in mlxsw_linecard_status_process()
740 err = mlxsw_linecard_provision_set(linecard, card_type, in mlxsw_linecard_status_process()
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h401 enum card_type { enum
404 } card_type; member
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv10.c893 if (device->card_type >= NV_11 && device->chipset >= 0x17) { in nv10_gr_load_context()
919 if (device->card_type >= NV_11 && device->chipset >= 0x17) { in nv10_gr_unload_context()
1024 if (device->card_type >= NV_11 && device->chipset >= 0x17) { in nv10_gr_chan_new()
1151 if (device->card_type >= NV_11 && device->chipset >= 0x17) { in nv10_gr_init()
/linux-6.1.9/sound/pci/
Dvia82xx_modem.c1111 int chip_type = 0, card_type; in __snd_via82xx_probe() local
1121 card_type = pci_id->driver_data; in __snd_via82xx_probe()
1122 switch (card_type) { in __snd_via82xx_probe()
1128 dev_err(card->dev, "invalid card type %d\n", card_type); in __snd_via82xx_probe()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/core/
Dramht.c82 if (ramht->device->card_type >= NV_50) in nvkm_ramht_update()

123