Home
last modified time | relevance | path

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

123

/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
/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()
/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()
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dshadowramin.c63 if (device->card_type < NV_50) in pramin_init()
67 if (device->card_type >= GM100) in pramin_init()
70 if (device->card_type >= NV_C0) in pramin_init()
81 if (device->card_type >= GV100) in pramin_init()
Dshadowrom.c51 if (device->card_type == NV_40 && device->chipset >= 0x4c) in prom_init()
Dtherm.c206 if (bios->subdev.device->card_type >= NV_C0 && in nvbios_therm_fan_parse()
Ddcb.c34 if (device->card_type > NV_04) in dcb_table()
/drivers/net/ethernet/cavium/liquidio/
Dcn68xx_device.c129 u16 card_type = LIO_410NV; in lio_setup_cn68xx_octeon_device() local
165 card_type = LIO_210NV; in lio_setup_cn68xx_octeon_device()
168 oct_get_config_info(oct, card_type); in lio_setup_cn68xx_octeon_device()
172 (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,
570 u16 card_type) in __retrieve_octeon_config_info() argument
580 (card_type == LIO_210NV)) { in __retrieve_octeon_config_info()
583 (card_type == LIO_410NV)) { in __retrieve_octeon_config_info()
613 void *oct_get_config_info(struct octeon_device *oct, u16 card_type) in oct_get_config_info() argument
617 conf = __retrieve_octeon_config_info(oct, card_type); in oct_get_config_info()
/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
/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()
/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c273 int card_type; member
564 local->card_type = XIR_UNKNOWN; in set_card_type()
576 case 1: local->card_type = XIR_CEM ; break; in set_card_type()
577 case 2: local->card_type = XIR_CEM2 ; break; in set_card_type()
578 case 3: local->card_type = XIR_CEM3 ; break; in set_card_type()
579 case 4: local->card_type = XIR_CEM33 ; break; in set_card_type()
580 case 5: local->card_type = XIR_CEM56M; in set_card_type()
585 local->card_type = XIR_CEM56 ; in set_card_type()
592 case 1: local->card_type = has_ce2_string(link)? XIR_CE2 : XIR_CE ; in set_card_type()
594 case 2: local->card_type = XIR_CE2; break; in set_card_type()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c154 if (device->card_type < NV_40) { in nv04_fifo_cache_error()
202 if (device->card_type == NV_50) { in nv04_fifo_dma_pusher()
276 if (device->card_type == NV_50) { in nv04_fifo_intr()
/drivers/staging/media/zoran/
Dzoran.h74 enum card_type { enum
171 enum card_type type;
/drivers/tty/
Dnozomi.c151 enum card_type { enum
349 enum card_type card_type; member
1256 dc->card_type = size == 2048 ? F32_2 : F32_8; in nozomi_get_card_type()
1258 dev_info(&dc->pdev->dev, "Card type is: %d\n", dc->card_type); in nozomi_get_card_type()
1263 void __iomem *offset = dc->base_addr + dc->card_type / 2; in nozomi_setup_private_data()
1286 return sprintf(buf, "%d\n", dc->card_type); in card_type_show()
1288 static DEVICE_ATTR_RO(card_type);
1361 dc->base_addr = pci_iomap(dc->pdev, 0, dc->card_type); in nozomi_card_init()
/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c3042 device->card_type = NV_10; in nvkm_device_ctor()
3044 device->card_type = NV_11; in nvkm_device_ctor()
3048 case 0x020: device->card_type = NV_20; break; in nvkm_device_ctor()
3049 case 0x030: device->card_type = NV_30; break; in nvkm_device_ctor()
3051 case 0x060: device->card_type = NV_40; break; in nvkm_device_ctor()
3055 case 0x0a0: device->card_type = NV_50; break; in nvkm_device_ctor()
3057 case 0x0d0: device->card_type = NV_C0; break; in nvkm_device_ctor()
3060 case 0x100: device->card_type = NV_E0; break; in nvkm_device_ctor()
3062 case 0x120: device->card_type = GM100; break; in nvkm_device_ctor()
3063 case 0x130: device->card_type = GP100; break; in nvkm_device_ctor()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv10.c43 if (device->card_type >= NV_11 && device->chipset >= 0x17) in nv10_devinit_meminit()
/drivers/mmc/core/
Dmmc.c188 u8 card_type = card->ext_csd.raw_card_type; in mmc_select_card_type() local
194 card_type & EXT_CSD_CARD_TYPE_HS_26) { in mmc_select_card_type()
200 card_type & EXT_CSD_CARD_TYPE_HS_52) { in mmc_select_card_type()
206 card_type & EXT_CSD_CARD_TYPE_DDR_1_8V) { in mmc_select_card_type()
212 card_type & EXT_CSD_CARD_TYPE_DDR_1_2V) { in mmc_select_card_type()
218 card_type & EXT_CSD_CARD_TYPE_HS200_1_8V) { in mmc_select_card_type()
224 card_type & EXT_CSD_CARD_TYPE_HS200_1_2V) { in mmc_select_card_type()
230 card_type & EXT_CSD_CARD_TYPE_HS400_1_8V) { in mmc_select_card_type()
236 card_type & EXT_CSD_CARD_TYPE_HS400_1_2V) { in mmc_select_card_type()
/drivers/misc/habanalabs/include/common/
Dcpucp_if.h431 __le32 card_type; member
/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()
/drivers/gpu/drm/nouveau/nvkm/engine/dma/
Duser.c115 if (device->card_type >= NV_50) in nvkm_dmaobj_ctor()
/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h401 enum card_type { enum
404 } card_type; member
/drivers/gpu/drm/nouveau/nvkm/core/
Dramht.c82 if (ramht->device->card_type >= NV_50) in nvkm_ramht_update()

123