| /drivers/net/ethernet/brocade/bna/ |
| A D | bfa_defs_mfg_comm.h | 73 #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; \
|
| A D | bfa_defs.h | 39 u32 card_type; member 206 u32 card_type; /* card type */ member
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| A D | fanpwm.c | 43 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/ |
| A D | vga.c | 29 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/ |
| A D | shadowramin.c | 63 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()
|
| A D | shadowrom.c | 51 if (device->card_type == NV_40 && device->chipset >= 0x4c) in nvbios_prom_init()
|
| A D | therm.c | 206 if (bios->subdev.device->card_type >= NV_C0 && in nvbios_therm_fan_parse()
|
| A D | dcb.c | 34 if (device->card_type > NV_04) in dcb_table()
|
| /drivers/pcmcia/ |
| A D | bcm63xx_pcmcia.c | 97 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()
|
| A D | bcm63xx_pcmcia.h | 41 u8 card_type; member
|
| /drivers/net/ethernet/cavium/liquidio/ |
| A D | cn68xx_device.c | 128 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()
|
| A D | octeon_device.c | 37 .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/misc/genwqe/ |
| A D | card_sysfs.c | 76 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/ |
| A D | xirc2ps_cs.c | 273 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() 580 case 5: local->card_type = XIR_CEM56M; in set_card_type() 585 local->card_type = XIR_CEM56 ; in set_card_type() 594 case 2: local->card_type = XIR_CE2; break; in set_card_type() 595 case 3: local->card_type = XIR_CE3; in set_card_type() 600 if (local->card_type == XIR_CE || local->card_type == XIR_CEM) { in set_card_type() [all …]
|
| /drivers/gpu/drm/nouveau/nvkm/engine/device/ |
| A D | base.c | 3205 device->card_type = NV_10; in nvkm_device_ctor() 3207 device->card_type = NV_11; in nvkm_device_ctor() 3211 case 0x020: device->card_type = NV_20; break; in nvkm_device_ctor() 3212 case 0x030: device->card_type = NV_30; break; in nvkm_device_ctor() 3214 case 0x060: device->card_type = NV_40; break; in nvkm_device_ctor() 3218 case 0x0a0: device->card_type = NV_50; break; in nvkm_device_ctor() 3220 case 0x0d0: device->card_type = NV_C0; break; in nvkm_device_ctor() 3223 case 0x100: device->card_type = NV_E0; break; in nvkm_device_ctor() 3225 case 0x120: device->card_type = GM100; break; in nvkm_device_ctor() 3226 case 0x130: device->card_type = GP100; break; in nvkm_device_ctor() [all …]
|
| /drivers/media/pci/zoran/ |
| A D | zoran.h | 63 enum card_type { enum 164 enum card_type type;
|
| /drivers/tty/ |
| A D | nozomi.c | 131 enum card_type { enum 329 enum card_type card_type; member 1223 dc->card_type = size == 2048 ? F32_2 : F32_8; in nozomi_get_card_type() 1225 dev_info(&dc->pdev->dev, "Card type is: %d\n", dc->card_type); in nozomi_get_card_type() 1230 void __iomem *offset = dc->base_addr + dc->card_type / 2; in nozomi_setup_private_data() 1253 return sprintf(buf, "%d\n", dc->card_type); in card_type_show() 1255 static DEVICE_ATTR_RO(card_type); 1326 dc->base_addr = pci_iomap(dc->pdev, 0, dc->card_type); in nozomi_card_init()
|
| /drivers/mmc/core/ |
| A D | mmc.c | 205 u8 card_type = card->ext_csd.raw_card_type; in mmc_select_card_type() local 211 card_type & EXT_CSD_CARD_TYPE_HS_26) { in mmc_select_card_type() 217 card_type & EXT_CSD_CARD_TYPE_HS_52) { in mmc_select_card_type() 223 card_type & EXT_CSD_CARD_TYPE_DDR_1_8V) { in mmc_select_card_type() 229 card_type & EXT_CSD_CARD_TYPE_DDR_1_2V) { in mmc_select_card_type() 235 card_type & EXT_CSD_CARD_TYPE_HS200_1_8V) { in mmc_select_card_type() 241 card_type & EXT_CSD_CARD_TYPE_HS200_1_2V) { in mmc_select_card_type() 247 card_type & EXT_CSD_CARD_TYPE_HS400_1_8V) { in mmc_select_card_type() 253 card_type & EXT_CSD_CARD_TYPE_HS400_1_2V) { in mmc_select_card_type()
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | core_linecards.c | 60 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()
|
| /drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| A D | nv04.c | 320 if (device->card_type < NV_40) { in nv04_fifo_intr_cache_error() 368 if (device->card_type == NV_50) { in nv04_fifo_intr_dma_pusher() 442 if (device->card_type == NV_50) { in nv04_fifo_intr()
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
| A D | nv10.c | 43 if (device->card_type >= NV_11 && device->chipset >= 0x17) in nv10_devinit_meminit()
|
| /drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| A D | nv10.c | 893 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/core/ |
| A D | ramht.c | 82 if (ramht->device->card_type >= NV_50) in nvkm_ramht_update()
|
| /drivers/scsi/bfa/ |
| A D | bfa_ioc.c | 1963 attr->card_type = be32_to_cpu(attr->card_type); in bfa_ioc_getattr_reply() 2687 ad_attr->card_type = ioc_attr->card_type; in bfa_ioc_get_adapter_attr() 2784 (!bfa_mfg_is_mezz(ioc_attr->card_type))) in bfa_ioc_get_adapter_model() 2786 BFA_MFG_NAME, ioc_attr->card_type, nports, "p"); in bfa_ioc_get_adapter_model() 2789 BFA_MFG_NAME, ioc_attr->card_type); in bfa_ioc_get_adapter_model() 2871 if (bfa_mfg_is_old_wwn_mac_model(ioc->attr->card_type)) in bfa_ioc_get_mfg_mac() 4118 if (bfa_mfg_is_mezz(sfp->ioc->attr->card_type)) in bfa_sfp_speed() 6320 fru->ioc->attr->card_type != BFA_MFG_TYPE_CHINOOK2) in bfa_fruvpd_update() 6323 if (fru->ioc->attr->card_type != BFA_MFG_TYPE_CHINOOK) in bfa_fruvpd_update() 6373 fru->ioc->attr->card_type != BFA_MFG_TYPE_CHINOOK2) in bfa_fruvpd_read() [all …]
|
| /drivers/gpu/drm/nouveau/include/nvkm/core/ |
| A D | device.h | 53 } card_type; member
|