/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H 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; \
|
H A D | bfa_defs.h | 39 u32 card_type; member 206 u32 card_type; /* card type */ member
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H 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()
|
H A D | shadowrom.c | 51 if (device->card_type == NV_40 && device->chipset >= 0x4c) in nvbios_prom_init()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H 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()
|
H 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()
|
/openbmc/linux/drivers/pcmcia/ |
H 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()
|
H A D | bcm63xx_pcmcia.h | 41 u8 card_type; member
|
/openbmc/linux/drivers/misc/genwqe/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/xircom/ |
H 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 …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/ |
H A D | corstone1000-fvp.conf | 50 FVP_CONFIG[board.msd_mmc.card_type] ?= "SDHC" 59 FVP_CONFIG[board.msd_mmc_2.card_type] ?= "SDHC"
|
/openbmc/linux/include/uapi/sound/ |
H A D | hdspm.h | 142 __u8 card_type; /* enum hdspm_io_type */ member 171 __u8 card_type; /* enum hdspm_io_type */ member
|
/openbmc/u-boot/board/astro/mcf5373l/ |
H A D | astro.h | 16 char card_type; member
|
/openbmc/linux/drivers/media/pci/zoran/ |
H A D | zoran.h | 63 enum card_type { enum 164 enum card_type type;
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | nv10.c | 43 if (device->card_type >= NV_11 && device->chipset >= 0x17) in nv10_devinit_meminit()
|
/openbmc/linux/drivers/tty/ |
H A D | nozomi.c | 147 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | base.c | 3039 device->card_type = NV_10; in nvkm_device_ctor() 3041 device->card_type = NV_11; in nvkm_device_ctor() 3045 case 0x020: device->card_type = NV_20; break; in nvkm_device_ctor() 3046 case 0x030: device->card_type = NV_30; break; in nvkm_device_ctor() 3048 case 0x060: device->card_type = NV_40; break; in nvkm_device_ctor() 3052 case 0x0a0: device->card_type = NV_50; break; in nvkm_device_ctor() 3054 case 0x0d0: device->card_type = NV_C0; break; in nvkm_device_ctor() 3057 case 0x100: device->card_type = NV_E0; break; in nvkm_device_ctor() 3059 case 0x120: device->card_type = GM100; break; in nvkm_device_ctor() 3060 case 0x130: device->card_type = GP100; break; in nvkm_device_ctor() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H 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()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | mmc.c | 197 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()
|
/openbmc/u-boot/include/faraday/ |
H A D | ftsdc010.h | 55 unsigned int card_type; /* Card type */ member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | ramht.c | 82 if (ramht->device->card_type >= NV_50) in nvkm_ramht_update()
|
/openbmc/linux/sound/pci/ |
H A D | via82xx_modem.c | 1111 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()
|