| /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
|
| H A D | bfa_ioc.c | 2107 attr->card_type = ntohl(attr->card_type); in bfa_ioc_getattr_reply() 2772 ad_attr->card_type = ioc_attr->card_type; in bfa_ioc_get_adapter_attr() 2773 ad_attr->is_mezz = bfa_mfg_is_mezz(ioc_attr->card_type); in bfa_ioc_get_adapter_attr() 2856 BFA_MFG_NAME, ioc_attr->card_type); in bfa_ioc_get_adapter_model()
|
| /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()
|
| /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()
|
| /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()
|
| H A D | therm.c | 206 if (bios->subdev.device->card_type >= NV_C0 && in nvbios_therm_fan_parse()
|
| H A D | dcb.c | 34 if (device->card_type > NV_04) in dcb_table()
|
| /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()
|
| H A D | octeon_config.h | 406 u16 card_type; member
|
| /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
|
| H A D | socket_sysfs.c | 45 static DEVICE_ATTR(card_type, 0444, pccard_show_type, NULL);
|
| /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()
|
| H A D | card_utils.c | 657 u64 card_type = cd->slu_unitcfg; in genwqe_card_type() local 659 return (u8)((card_type & IO_SLU_UNITCFG_TYPE_MASK) >> 20); in genwqe_card_type()
|
| /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() 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 …]
|
| /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
|
| /linux/drivers/tty/ |
| H 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()
|
| /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()
|
| /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() 622 mlxsw_linecard_provision_set(struct mlxsw_linecard *linecard, u8 card_type, in mlxsw_linecard_provision_set() argument 629 type = mlxsw_linecard_types_lookup(linecards, card_type); in mlxsw_linecard_provision_set() 722 u8 slot_index, card_type; in mlxsw_linecard_status_process() local 728 &card_type); in mlxsw_linecard_status_process() 742 err = mlxsw_linecard_provision_set(linecard, card_type, in mlxsw_linecard_status_process()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H 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()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | ramht.c | 82 if (ramht->device->card_type >= NV_50) in nvkm_ramht_update()
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_defs.h | 268 u32 card_type; member 603 u32 card_type; /*!< card type */ member
|