Home
last modified time | relevance | path

Searched refs:features (Results 1 – 200 of 1182) sorted by relevance

123456

/linux-4.1.27/drivers/hid/
Dwacom_sys.c105 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_feature_mapping() local
113 if (!features->touch_max) { in wacom_feature_mapping()
122 features->touch_max = data[1]; in wacom_feature_mapping()
175 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_usage_mapping() local
191 if (features->type != BAMBOO_PT) { in wacom_usage_mapping()
193 if (finger && !features->touch_max) in wacom_usage_mapping()
194 features->touch_max = 1; in wacom_usage_mapping()
199 features->x_max = field->logical_maximum; in wacom_usage_mapping()
201 features->device_type = BTN_TOOL_FINGER; in wacom_usage_mapping()
202 features->x_phy = field->physical_maximum; in wacom_usage_mapping()
[all …]
Dwacom_wac.c115 struct wacom_features *features = &wacom->features; in wacom_pl_irq() local
131 if (features->pressure_max > 255) in wacom_pl_irq()
133 pressure += (features->pressure_max + 1) / 2; in wacom_pl_irq()
298 struct wacom_features *features = &wacom->features; in wacom_graphire_irq() local
307 if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq()
348 if (features->type == GRAPHIRE_BT) in wacom_graphire_irq()
360 if (features->type == WACOM_G4 || in wacom_graphire_irq()
361 features->type == WACOM_MO) { in wacom_graphire_irq()
364 } else if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq()
393 switch (features->type) { in wacom_graphire_irq()
[all …]
/linux-4.1.27/arch/arm/mach-s3c24xx/
Dmach-mini2440.c570 struct mini2440_features_t * features, in mini2440_parse_features() argument
575 features->count = 0; in mini2440_parse_features()
576 features->done = 0; in mini2440_parse_features()
577 features->lcd_index = -1; in mini2440_parse_features()
584 if (features->done & FEATURE_SCREEN) { in mini2440_parse_features()
593 features->optional[features->count++] = in mini2440_parse_features()
595 features->lcd_index = li; in mini2440_parse_features()
598 features->done |= FEATURE_SCREEN; in mini2440_parse_features()
601 if (features->done & FEATURE_BACKLIGHT) in mini2440_parse_features()
605 features->optional[features->count++] = in mini2440_parse_features()
[all …]
/linux-4.1.27/arch/arm/mm/
Dcache-tauros2.c178 static void enable_extra_feature(unsigned int features) in enable_extra_feature() argument
184 if (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature()
189 (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature()
192 if (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature()
197 (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature()
203 static void __init tauros2_internal_init(unsigned int features) in tauros2_internal_init() argument
207 enable_extra_feature(features); in tauros2_internal_init()
280 void __init tauros2_init(unsigned int features) in tauros2_init() argument
297 features = 0; in tauros2_init()
299 features = f; in tauros2_init()
[all …]
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
Datlx.c221 static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl) in __atlx_vlan_mode() argument
223 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atlx_vlan_mode()
233 netdev_features_t features) in atlx_vlan_mode() argument
242 __atlx_vlan_mode(features, &ctrl); in atlx_vlan_mode()
250 atlx_vlan_mode(adapter->netdev, adapter->netdev->features); in atlx_restore_vlan()
254 netdev_features_t features) in atlx_fix_features() argument
260 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atlx_fix_features()
261 features |= NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features()
263 features &= ~NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features()
265 return features; in atlx_fix_features()
[all …]
/linux-4.1.27/arch/powerpc/kernel/
Dkvm.c414 u32 *features = data; in kvm_map_magic_page() local
424 *features = out[0]; in kvm_map_magic_page()
427 static void kvm_check_ins(u32 *inst, u32 features) in kvm_check_ins() argument
469 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
473 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
477 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
481 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
485 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
489 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
493 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins()
[all …]
/linux-4.1.27/drivers/input/touchscreen/
Dwacom_i2c.c47 struct wacom_features *features) in wacom_query_device() argument
81 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device()
82 features->y_max = get_unaligned_le16(&data[5]); in wacom_query_device()
83 features->pressure_max = get_unaligned_le16(&data[11]); in wacom_query_device()
84 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device()
88 features->x_max, features->y_max, in wacom_query_device()
89 features->pressure_max, features->fw_version); in wacom_query_device()
158 struct wacom_features features = { 0 }; in wacom_i2c_probe() local
166 error = wacom_query_device(client, &features); in wacom_i2c_probe()
183 input->id.version = features.fw_version; in wacom_i2c_probe()
[all …]
Ds3c2410_ts.c86 int features; member
177 if (ts.features & FEAT_PEN_IRQ) { in stylus_irq()
328 ts.features = platform_get_device_id(pdev)->driver_data; in s3c2410ts_probe()
/linux-4.1.27/drivers/s390/block/
Ddasd_devmap.c49 unsigned short features; member
193 int features, len, rc; in dasd_feature_list() local
201 features = 0; in dasd_feature_list()
207 features |= DASD_FEATURE_READONLY; in dasd_feature_list()
209 features |= DASD_FEATURE_USEDIAG; in dasd_feature_list()
211 features |= DASD_FEATURE_USERAW; in dasd_feature_list()
213 features |= DASD_FEATURE_ERPLOG; in dasd_feature_list()
215 features |= DASD_FEATURE_FAILFAST; in dasd_feature_list()
235 return features; in dasd_feature_list()
314 int features, rc; in dasd_parse_range() local
[all …]
/linux-4.1.27/arch/arm/mach-s3c64xx/
Dmach-real6410.c256 struct real6410_features_t *features, in real6410_parse_features() argument
261 features->done = 0; in real6410_parse_features()
262 features->lcd_index = 0; in real6410_parse_features()
269 if (features->done & FEATURE_SCREEN) { in real6410_parse_features()
278 features->lcd_index = li; in real6410_parse_features()
281 features->done |= FEATURE_SCREEN; in real6410_parse_features()
290 struct real6410_features_t features = { 0 }; in real6410_machine_init() local
296 real6410_parse_features(&features, real6410_features_str); in real6410_machine_init()
299 real6410_lcd_pdata[features.lcd_index].win[0]->xres, in real6410_machine_init()
300 real6410_lcd_pdata[features.lcd_index].win[0]->yres); in real6410_machine_init()
[all …]
Dmach-mini6410.c286 struct mini6410_features_t *features, in mini6410_parse_features() argument
291 features->done = 0; in mini6410_parse_features()
292 features->lcd_index = 0; in mini6410_parse_features()
299 if (features->done & FEATURE_SCREEN) { in mini6410_parse_features()
308 features->lcd_index = li; in mini6410_parse_features()
311 features->done |= FEATURE_SCREEN; in mini6410_parse_features()
320 struct mini6410_features_t features = { 0 }; in mini6410_machine_init() local
326 mini6410_parse_features(&features, mini6410_features_str); in mini6410_machine_init()
329 mini6410_lcd_pdata[features.lcd_index].win[0]->xres, in mini6410_machine_init()
330 mini6410_lcd_pdata[features.lcd_index].win[0]->yres); in mini6410_machine_init()
[all …]
/linux-4.1.27/drivers/mfd/
Dtwl-core.c678 unsigned num_consumers, unsigned long features) in add_regulator_linked() argument
695 tmp->features |= features; in add_regulator_linked()
698 drv_data.features = features; in add_regulator_linked()
712 unsigned long features) in add_regulator() argument
714 return add_regulator_linked(num, pdata, NULL, 0, features); in add_regulator()
725 unsigned long features) in add_children() argument
810 features); in add_children()
816 features); in add_children()
822 features); in add_children()
871 features); in add_children()
[all …]
Dpalmas.c455 unsigned int *features; member
460 .features = &palmas_features,
465 .features = &tps659038_features,
470 .features = &tps659038_features,
531 palmas->features = *driver_data->features; in palmas_i2c_probe()
/linux-4.1.27/Documentation/networking/
Dnetdev-features.txt1 Netdev features mess and how to get out from it alive
13 verbatim. Today's devices add multiple features and bugs (read: offloads)
16 are commonly referred to as netdev features in Linux kernel world.
18 There are currently three sets of features relevant to the driver, and
21 1. netdev->hw_features set contains features whose state may possibly
26 2. netdev->features set contains features which are currently enabled
30 3. netdev->vlan_features set contains features whose state is inherited
31 by child VLAN devices (limits netdev->features set). This is currently
42 Part II: Controlling enabled features
45 When current feature set (netdev->features) is to be changed, new set
[all …]
Dskfp.txt147 New features:
153 New features:
157 New features:
170 New features:
175 New features:
193 New features:
203 New features:
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7xxx_pci.c795 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pci_config()
811 if ((ahc->features & AHC_DT) != 0) { in ahc_pci_config()
828 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_pci_config()
866 if ((ahc->features & AHC_ULTRA) != 0) { in ahc_pci_config()
872 ahc->features &= ~AHC_ULTRA; in ahc_pci_config()
884 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_pci_config()
942 if ((ahc->features & AHC_DT) != 0) { in ahc_pci_config()
953 if ((ahc->features & AHC_MULTI_FUNC) != 0) in ahc_pci_config()
956 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pci_config()
988 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_ext_scbram_present()
[all …]
Daic7xxx.seq78 if ((ahc->features & AHC_ULTRA2) != 0) {
82 if ((ahc->features & AHC_TWIN) != 0) {
88 if ((ahc->features & AHC_TWIN) != 0) {
95 if ((ahc->features & AHC_QUEUE_REGS) != 0) {
138 if ((ahc->features & AHC_QUEUE_REGS) != 0) {
167 if ((ahc->features & AHC_DT) == 0) {
199 if ((ahc->features & AHC_CMD_CHAN) != 0) {
212 if ((ahc->features & AHC_MULTI_TID) != 0) {
214 } else if ((ahc->features & AHC_ULTRA2) != 0) {
220 if ((ahc->features & AHC_TWIN) != 0) {
[all …]
Daic7xxx_core.c317 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pause_bug_fix()
642 if ((ahc->features & AHC_QUEUE_REGS) != 0) { in ahc_queue_scb()
645 if ((ahc->features & AHC_AUTOPAUSE) == 0) in ahc_queue_scb()
648 if ((ahc->features & AHC_AUTOPAUSE) == 0) in ahc_queue_scb()
793 if (intstat == 0xFF && (ahc->features & AHC_REMOVABLE) != 0) { in ahc_intr()
843 if ((ahc->features & AHC_CMD_CHAN) != 0) { in ahc_restart()
1324 if ((ahc->features & AHC_DT) == 0) { in ahc_handle_seqint()
1431 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_handle_seqint()
1544 if ((ahc->features & AHC_TWIN) != 0 in ahc_handle_scsiint()
1551 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_handle_scsiint()
[all …]
Daic7770.c198 if ((ahc->features & AHC_WIDE) != 0) { in aic7770_config()
324 max_targ = (ahc->features & AHC_WIDE) != 0 ? 16 : 8; in aha2840_load_seeprom()
386 ahc->features = AHC_AIC7770_FE; in ahc_aic7770_setup()
Daic7xxx_proc.c145 if ((ahc->features & AHC_TWIN) != 0) in ahc_dump_target_state()
321 if ((ahc->features & (AHC_WIDE|AHC_TWIN)) == 0) in ahc_linux_show_info()
332 if (i > 7 && (ahc->features & AHC_TWIN) != 0) { in ahc_linux_show_info()
Daic79xx_pci.c915 ahd->features = AHD_AIC7901_FE; in ahd_aic7901_setup()
924 ahd->features = AHD_AIC7901A_FE; in ahd_aic7901A_setup()
932 ahd->features = AHD_AIC7902_FE; in ahd_aic7902_setup()
979 ahd->features |= AHD_RTI|AHD_NEW_IOCELL_OPTS in ahd_aic790X_setup()
986 ahd->features |= AHD_AIC79XXB_SLOWCRC; in ahd_aic790X_setup()
991 if ((ahd->features & AHD_MULTI_FUNC) != 0) in ahd_aic790X_setup()
/linux-4.1.27/drivers/input/tablet/
Dhanwang.c74 const struct hanwang_features *features; member
130 enum hanwang_tablet_type type = hanwang->features->type; in hanwang_parse_packet()
218 hanwang->features->pid); in hanwang_parse_packet()
325 hanwang->features = &features_array[i]; in get_features()
355 hanwang->data = usb_alloc_coherent(dev, hanwang->features->pkg_len, in hanwang_probe()
374 strlcpy(hanwang->name, hanwang->features->name, sizeof(hanwang->name)); in hanwang_probe()
398 0, hanwang->features->max_x, 4, 0); in hanwang_probe()
400 0, hanwang->features->max_y, 4, 0); in hanwang_probe()
402 0, hanwang->features->max_tilt_x, 0, 0); in hanwang_probe()
404 0, hanwang->features->max_tilt_y, 0, 0); in hanwang_probe()
[all …]
Daiptek.c314 struct aiptek_features features; /* tablet's array of features */ member
978 aiptek->features.modelCode = ret & 0xff; in aiptek_program_tablet()
983 aiptek->features.odmCode = ret; in aiptek_program_tablet()
988 aiptek->features.firmwareCode = ret; in aiptek_program_tablet()
1620 return snprintf(buf, PAGE_SIZE, "0x%04x\n", aiptek->features.odmCode); in show_tabletODMCode()
1633 return snprintf(buf, PAGE_SIZE, "0x%04x\n", aiptek->features.modelCode); in show_tabletModelCode()
1647 aiptek->features.firmwareCode); in show_firmwareCode()
1770 usb_make_path(usbdev, aiptek->features.usbPath, in aiptek_probe()
1771 sizeof(aiptek->features.usbPath)); in aiptek_probe()
1772 strlcat(aiptek->features.usbPath, "/input0", in aiptek_probe()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/mrvl/
Dtauros2.txt5 - marvell,tauros2-cache-features : Specify the features supported for the
7 The features including
16 marvell,tauros2-cache-features = <0x3>;
/linux-4.1.27/tools/virtio/
Dvirtio_test.c64 unsigned long long features = dev->vdev.features; in vhost_vq_setup() local
72 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); in vhost_vq_setup()
113 static void vdev_info_init(struct vdev_info* dev, unsigned long long features) in vdev_info_init() argument
117 dev->vdev.features = features; in vdev_info_init()
263 unsigned long long features = (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | in main() local
277 features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); in main()
283 features &= ~(1ULL << VIRTIO_RING_F_INDIRECT_DESC); in main()
286 features &= ~(1ULL << VIRTIO_F_VERSION_1); in main()
298 vdev_info_init(&dev, features); in main()
Dvringh_test.c135 static int parallel_test(u64 features, in parallel_test() argument
188 vringh_init_user(&vrh, features, RINGSIZE, true, in parallel_test()
308 gvdev.vdev.features = features; in parallel_test()
453 vdev.features = 0; in main()
474 return parallel_test(vdev.features, getrange, fast_vringh); in main()
489 vringh_init_user(&vrh, vdev.features, RINGSIZE, true, in main()
/linux-4.1.27/drivers/vhost/
Dtest.c242 static int vhost_test_set_features(struct vhost_test *n, u64 features) in vhost_test_set_features() argument
247 if ((features & (1 << VHOST_F_LOG_ALL)) && in vhost_test_set_features()
254 vq->acked_features = features; in vhost_test_set_features()
267 u64 features; in vhost_test_ioctl() local
275 features = VHOST_FEATURES; in vhost_test_ioctl()
276 if (copy_to_user(featurep, &features, sizeof features)) in vhost_test_ioctl()
280 if (copy_from_user(&features, featurep, sizeof features)) in vhost_test_ioctl()
282 if (features & ~VHOST_FEATURES) in vhost_test_ioctl()
284 return vhost_test_set_features(n, features); in vhost_test_ioctl()
Dnet.c996 static int vhost_net_set_features(struct vhost_net *n, u64 features) in vhost_net_set_features() argument
1001 hdr_len = (features & ((1ULL << VIRTIO_NET_F_MRG_RXBUF) | in vhost_net_set_features()
1005 if (features & (1 << VHOST_NET_F_VIRTIO_NET_HDR)) { in vhost_net_set_features()
1015 if ((features & (1 << VHOST_F_LOG_ALL)) && in vhost_net_set_features()
1022 n->vqs[i].vq.acked_features = features; in vhost_net_set_features()
1059 u64 features; in vhost_net_ioctl() local
1068 features = VHOST_NET_FEATURES; in vhost_net_ioctl()
1069 if (copy_to_user(featurep, &features, sizeof features)) in vhost_net_ioctl()
1073 if (copy_from_user(&features, featurep, sizeof features)) in vhost_net_ioctl()
1075 if (features & ~VHOST_NET_FEATURES) in vhost_net_ioctl()
[all …]
/linux-4.1.27/fs/btrfs/
Dsysfs.c50 enum btrfs_feature_set set, u64 features) in set_features() argument
54 btrfs_set_super_compat_flags(disk_super, features); in set_features()
56 btrfs_set_super_compat_ro_flags(disk_super, features); in set_features()
58 btrfs_set_super_incompat_flags(disk_super, features); in set_features()
99 u64 features = get_features(fs_info, fa->feature_set); in btrfs_feature_attr_show() local
100 if (features & fa->feature_bit) in btrfs_feature_attr_show()
114 u64 features, set, clear; in btrfs_feature_attr_store() local
137 features = get_features(fs_info, fa->feature_set); in btrfs_feature_attr_store()
140 if ((val && (features & fa->feature_bit)) || in btrfs_feature_attr_store()
141 (!val && !(features & fa->feature_bit))) in btrfs_feature_attr_store()
[all …]
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
Dphy.c147 if (phy->features & in genmii_setup_aneg()
227 if (phy->features & in genmii_read_link()
512 phy->features = def->features; in emac_mii_phy_probe()
513 if (!phy->features) { in emac_mii_phy_probe()
516 phy->features |= SUPPORTED_Autoneg; in emac_mii_phy_probe()
518 phy->features |= SUPPORTED_10baseT_Half; in emac_mii_phy_probe()
520 phy->features |= SUPPORTED_10baseT_Full; in emac_mii_phy_probe()
522 phy->features |= SUPPORTED_100baseT_Half; in emac_mii_phy_probe()
524 phy->features |= SUPPORTED_100baseT_Full; in emac_mii_phy_probe()
528 phy->features |= SUPPORTED_1000baseT_Full; in emac_mii_phy_probe()
[all …]
Dphy.h45 u32 features; /* Ethtool SUPPORTED_* defines or member
56 u32 features; /* Copied from mii_phy_def.features member
Dcore.c1972 cmd->supported = dev->phy.features; in emac_ethtool_get_settings()
1992 u32 f = dev->phy.features; in emac_ethtool_set_settings()
2072 if ((dev->phy.features & SUPPORTED_Autoneg) && in emac_ethtool_get_pauseparam()
2407 dev->phy.features = SUPPORTED_MII; in emac_init_phy()
2409 dev->phy.features |= SUPPORTED_1000baseT_Full; in emac_init_phy()
2411 dev->phy.features |= SUPPORTED_100baseT_Full; in emac_init_phy()
2489 dev->phy.def->features &= ~dev->phy_feat_exc; in emac_init_phy()
2490 dev->phy.features &= ~dev->phy_feat_exc; in emac_init_phy()
2493 if (dev->phy.features & SUPPORTED_Autoneg) { in emac_init_phy()
2494 adv = dev->phy.features; in emac_init_phy()
[all …]
Dmal.h215 unsigned int features; member
257 (MAL_FTRS_POSSIBLE & dev->features & feature); in mal_has_feature()
/linux-4.1.27/net/hsr/
Dhsr_device.c203 netdev_features_t features) in hsr_features_recompute() argument
208 mask = features; in hsr_features_recompute()
217 features &= ~NETIF_F_ONE_FOR_ALL; in hsr_features_recompute()
219 features = netdev_increment_features(features, in hsr_features_recompute()
220 port->dev->features, in hsr_features_recompute()
223 return features; in hsr_features_recompute()
227 netdev_features_t features) in hsr_fix_features() argument
231 return hsr_features_recompute(hsr, features); in hsr_fix_features()
403 dev->features = dev->hw_features; in hsr_dev_setup()
406 dev->features |= NETIF_F_LLTX; in hsr_dev_setup()
[all …]
/linux-4.1.27/arch/avr32/kernel/
Dcpu.c258 unsigned long features; in setup_processor() local
309 features = 0; in setup_processor()
311 features |= AVR32_FEATURE_RMW; in setup_processor()
313 features |= AVR32_FEATURE_DSP; in setup_processor()
315 features |= AVR32_FEATURE_SIMD; in setup_processor()
317 features |= AVR32_FEATURE_OCD; in setup_processor()
319 features |= AVR32_FEATURE_PCTR; in setup_processor()
321 features |= AVR32_FEATURE_JAVA; in setup_processor()
323 features |= AVR32_FEATURE_FPU; in setup_processor()
326 if (features & (1 << i)) in setup_processor()
[all …]
/linux-4.1.27/drivers/media/rc/
Dir-lirc-codec.c344 unsigned long features; in ir_lirc_register() local
358 features = LIRC_CAN_REC_MODE2; in ir_lirc_register()
360 features |= LIRC_CAN_SEND_PULSE; in ir_lirc_register()
362 features |= LIRC_CAN_SET_TRANSMITTER_MASK; in ir_lirc_register()
364 features |= LIRC_CAN_SET_SEND_CARRIER; in ir_lirc_register()
366 features |= LIRC_CAN_SET_SEND_DUTY_CYCLE; in ir_lirc_register()
370 features |= LIRC_CAN_SET_REC_CARRIER | in ir_lirc_register()
374 features |= LIRC_CAN_USE_WIDEBAND_RECEIVER; in ir_lirc_register()
377 features |= LIRC_CAN_MEASURE_CARRIER; in ir_lirc_register()
380 features |= LIRC_CAN_SET_REC_TIMEOUT; in ir_lirc_register()
[all …]
Dlirc_dev.c338 if (d->features == 0) in lirc_register_driver()
339 d->features = LIRC_CAN_REC_LIRCCODE; in lirc_register_driver()
597 result = put_user(ir->d.features, (__u32 __user *)arg); in lirc_dev_fop_ioctl()
600 if (!(ir->d.features & LIRC_CAN_REC_MASK)) { in lirc_dev_fop_ioctl()
606 (ir->d.features & LIRC_CAN_REC_MASK), in lirc_dev_fop_ioctl()
610 if (!(ir->d.features & LIRC_CAN_REC_MASK)) { in lirc_dev_fop_ioctl()
616 if (!result && !(LIRC_MODE2REC(mode) & ir->d.features)) in lirc_dev_fop_ioctl()
627 if (!(ir->d.features & LIRC_CAN_SET_REC_TIMEOUT) || in lirc_dev_fop_ioctl()
636 if (!(ir->d.features & LIRC_CAN_SET_REC_TIMEOUT) || in lirc_dev_fop_ioctl()
/linux-4.1.27/arch/arm64/kernel/
Dsetup.c239 u64 features, block; in setup_processor() local
268 features = read_cpuid(ID_AA64ISAR0_EL1); in setup_processor()
269 block = (features >> 4) & 0xf; in setup_processor()
282 block = (features >> 8) & 0xf; in setup_processor()
286 block = (features >> 12) & 0xf; in setup_processor()
290 block = (features >> 16) & 0xf; in setup_processor()
299 features = read_cpuid(ID_ISAR5_EL1); in setup_processor()
300 block = (features >> 4) & 0xf; in setup_processor()
313 block = (features >> 8) & 0xf; in setup_processor()
317 block = (features >> 12) & 0xf; in setup_processor()
[all …]
/linux-4.1.27/arch/sparc/kernel/
Dtime_32.c137 ce->features = CLOCK_EVT_FEAT_PERIODIC; in setup_timer_ce()
227 unsigned int features = CLOCK_EVT_FEAT_PERIODIC; in register_percpu_ce() local
229 if (sparc_config.features & FEAT_L14_ONESHOT) in register_percpu_ce()
230 features |= CLOCK_EVT_FEAT_ONESHOT; in register_percpu_ce()
234 ce->features = features; in register_percpu_ce()
339 if (sparc_config.features & FEAT_L10_CLOCKEVENT) in sparc32_late_time_init()
341 if (sparc_config.features & FEAT_L10_CLOCKSOURCE) in sparc32_late_time_init()
356 sparc_config.features = 0; in time_init()
Dsun4m_irq.c387 sparc_config.features |= FEAT_L14_ONESHOT; in sun4m_init_timers()
390 sparc_config.features |= FEAT_L10_CLOCKEVENT; in sun4m_init_timers()
392 sparc_config.features |= FEAT_L10_CLOCKSOURCE; in sun4m_init_timers()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_fw.c119 if (!(np->features & FE_LED0)) { in sym_fw1_patch()
163 if (!(np->features & FE_LED0)) { in sym_fw2_patch()
203 if (!(np->features & FE_C10)) { in sym_fw2_patch()
352 if (chip->features & FE_LDSTR) in sym_find_firmware()
355 else if (!(chip->features & (FE_PFEN|FE_NOPM|FE_DAC))) in sym_find_firmware()
436 !(np->features & FE_PFEN)) { in sym_fw_bind_script()
444 if (!(np->features & FE_WIDE)) in sym_fw_bind_script()
452 if (!(np->features & FE_WIDE)) in sym_fw_bind_script()
462 if (!(np->features & FE_WIDE)) in sym_fw_bind_script()
471 if (!(np->features & FE_WIDE)) in sym_fw_bind_script()
Dsym_hipd.c157 if (!(np->features & FE_ISTAT1) || !(INB(np, nc_istat1) & SCRUN)) in sym_soft_reset()
232 (np->features & FE_WIDE) ? "dp1,d15-8," : "", in sym_reset_scsi_bus()
263 if (np->features & FE_LCKFRQ) { in sym_selectclock()
331 if (np->features & FE_C10) { in getfreq()
344 if (np->features & FE_C10) { in getfreq()
364 if (np->features & FE_C10) in getfreq()
455 if (np->features & FE_66MHZ) {
513 if ((np->features & (FE_C10|FE_U3EN)) == FE_C10) {
639 if (np->features & FE_C10) { /* Always large DMA fifo + ultra3 */
660 if (np->features & (FE_ULTRA2|FE_ULTRA3))
[all …]
/linux-4.1.27/drivers/isdn/hardware/eicon/
Ddiva.c572 dword features; in diva_xdi_display_adapter_features() local
577 features = IoAdapters[card]->Properties.Features; in diva_xdi_display_adapter_features()
581 (features & DI_FAX3) ? "Y" : "N")) in diva_xdi_display_adapter_features()
583 (features & DI_MODEM) ? "Y" : "N")) in diva_xdi_display_adapter_features()
585 (features & DI_POST) ? "Y" : "N")) in diva_xdi_display_adapter_features()
587 (features & DI_V110) ? "Y" : "N")) in diva_xdi_display_adapter_features()
589 (features & DI_V120) ? "Y" : "N")) in diva_xdi_display_adapter_features()
591 (features & DI_POTS) ? "Y" : "N")) in diva_xdi_display_adapter_features()
593 (features & DI_CODEC) ? "Y" : "N")) in diva_xdi_display_adapter_features()
595 (features & DI_MANAGE) ? "Y" : "N")) in diva_xdi_display_adapter_features()
[all …]
Dxdi_msg.h87 dword features; member
92 dword features; member
117 diva_xdi_um_cfg_cmd_data_set_features_t features; member
Dum_idi.c32 *features);
54 features) in diva_user_mode_idi_adapter_features()
59 features->type = a->d.type; in diva_user_mode_idi_adapter_features()
60 features->features = a->d.features; in diva_user_mode_idi_adapter_features()
61 features->channels = a->d.channels; in diva_user_mode_idi_adapter_features()
62 memset(features->name, 0, sizeof(features->name)); in diva_user_mode_idi_adapter_features()
67 strlcpy(features->name, sync_req.GetName.name, in diva_user_mode_idi_adapter_features()
68 sizeof(features->name)); in diva_user_mode_idi_adapter_features()
74 features->serial_number = sync_req.GetSerial.serial; in diva_user_mode_idi_adapter_features()
139 adapter_nr, a->d.type, a->d.features, a->d.channels)); in diva_user_mode_idi_create_adapter()
[all …]
Dum_xdi.h13 dword features; member
50 diva_um_idi_adapter_features_t features; member
Dos_4bri.c74 dword start_address, dword features);
750 start.features); in diva_4bri_cmd_card_proc()
756 a->xdi_adapter.features = in diva_4bri_cmd_card_proc()
757 cmd->command_data.features.features; in diva_4bri_cmd_card_proc()
759 a->xdi_adapter.features; in diva_4bri_cmd_card_proc()
761 a->xdi_adapter.features)) in diva_4bri_cmd_card_proc()
934 dword start_address, dword features) in diva_4bri_start_adapter() argument
963 IoAdapter->QuadroList->QuadroAdapter[i]->features = in diva_4bri_start_adapter()
964 IoAdapter->features; in diva_4bri_start_adapter()
966 protocol_capabilities = IoAdapter->features; in diva_4bri_start_adapter()
[all …]
Dos_bri.c46 dword start_address, dword features);
487 features); in diva_bri_cmd_card_proc()
491 a->xdi_adapter.features = in diva_bri_cmd_card_proc()
492 cmd->command_data.features.features; in diva_bri_cmd_card_proc()
494 a->xdi_adapter.features; in diva_bri_cmd_card_proc()
497 a->xdi_adapter.features)) ret = 0; in diva_bri_cmd_card_proc()
633 dword start_address, dword features) in diva_bri_start_adapter() argument
737 IoAdapter->Properties.Features = (word) features; in diva_bri_start_adapter()
Dio.c281 if (pI->buffer_length_in_bytes && pI->features) { in request()
282 memset(pI->features, 0x00, pI->buffer_length_in_bytes); in request()
284 for (i = 0; ((pI->features) && (i < pI->buffer_length_in_bytes) && in request()
286 pI->features[i] = extended_xdi_features[i]; in request()
289 (!pI->features)) { in request()
351 syncReq->GetFeatures.features = in request()
352 (unsigned short)IoAdapter->features; in request()
355 syncReq->GetFeatures.features = 0; in request()
Dos_pri.c434 dword start_address, dword features) in diva_pri_start_adapter() argument
512 IoAdapter->Properties.Features = (word) features; in diva_pri_start_adapter()
681 features); in diva_pri_cmd_card_proc()
685 a->xdi_adapter.features = in diva_pri_cmd_card_proc()
686 cmd->command_data.features.features; in diva_pri_cmd_card_proc()
688 a->xdi_adapter.features; in diva_pri_cmd_card_proc()
690 a->xdi_adapter.features)) in diva_pri_cmd_card_proc()
/linux-4.1.27/drivers/s390/kvm/
Dvirtio_ccw.c89 __u32 features; member
709 struct virtio_feature_desc *features; in virtio_ccw_get_features() local
718 features = kzalloc(sizeof(*features), GFP_DMA | GFP_KERNEL); in virtio_ccw_get_features()
719 if (!features) { in virtio_ccw_get_features()
724 features->index = 0; in virtio_ccw_get_features()
727 ccw->count = sizeof(*features); in virtio_ccw_get_features()
728 ccw->cda = (__u32)(unsigned long)features; in virtio_ccw_get_features()
735 rc = le32_to_cpu(features->features); in virtio_ccw_get_features()
741 features->index = 1; in virtio_ccw_get_features()
744 ccw->count = sizeof(*features); in virtio_ccw_get_features()
[all …]
Dkvm_virtio.c86 u32 features = 0; in kvm_get_features() local
92 features |= (1 << i); in kvm_get_features()
93 return features; in kvm_get_features()
107 BUG_ON((u32)vdev->features != vdev->features); in kvm_finalize_features()
110 bits = min_t(unsigned, desc->feature_len, sizeof(vdev->features)) * 8; in kvm_finalize_features()
/linux-4.1.27/drivers/net/phy/
Dvitesse.c230 .features = PHY_GBIT_FEATURES,
242 .features = PHY_GBIT_FEATURES,
254 .features = PHY_GBIT_FEATURES,
266 .features = PHY_GBIT_FEATURES,
278 .features = PHY_GBIT_FEATURES,
291 .features = PHY_GBIT_FEATURES,
304 .features = PHY_GBIT_FEATURES,
Dsmsc.c142 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
165 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
188 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
211 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
233 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
Dbroadcom.c516 .features = PHY_GBIT_FEATURES |
529 .features = PHY_GBIT_FEATURES |
542 .features = PHY_GBIT_FEATURES |
555 .features = PHY_GBIT_FEATURES |
568 .features = PHY_GBIT_FEATURES |
581 .features = PHY_GBIT_FEATURES |
594 .features = PHY_GBIT_FEATURES |
607 .features = PHY_GBIT_FEATURES |
620 .features = PHY_GBIT_FEATURES |
633 .features = PHY_GBIT_FEATURES |
[all …]
Dmicrel.c584 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
599 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause |
616 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause |
633 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
650 .features = PHY_BASIC_FEATURES |
667 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
684 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
700 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
716 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
730 .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause),
[all …]
Drealtek.c72 .features = PHY_BASIC_FEATURES,
81 .features = PHY_GBIT_FEATURES,
92 .features = PHY_GBIT_FEATURES,
Ddavicom.c152 .features = PHY_BASIC_FEATURES,
164 .features = PHY_BASIC_FEATURES,
176 .features = PHY_BASIC_FEATURES,
Dphy_device.c1104 u32 features; in genphy_config_init() local
1106 features = (SUPPORTED_TP | SUPPORTED_MII in genphy_config_init()
1116 features |= SUPPORTED_Autoneg; in genphy_config_init()
1119 features |= SUPPORTED_100baseT_Full; in genphy_config_init()
1121 features |= SUPPORTED_100baseT_Half; in genphy_config_init()
1123 features |= SUPPORTED_10baseT_Full; in genphy_config_init()
1125 features |= SUPPORTED_10baseT_Half; in genphy_config_init()
1133 features |= SUPPORTED_1000baseT_Full; in genphy_config_init()
1135 features |= SUPPORTED_1000baseT_Half; in genphy_config_init()
1138 phydev->supported &= features; in genphy_config_init()
[all …]
Dlxt.c274 .features = PHY_BASIC_FEATURES,
286 .features = PHY_BASIC_FEATURES,
297 .features = PHY_BASIC_FEATURES,
307 .features = PHY_BASIC_FEATURES,
Dmarvell.c942 .features = PHY_GBIT_FEATURES,
956 .features = PHY_GBIT_FEATURES,
971 .features = PHY_GBIT_FEATURES,
986 .features = PHY_GBIT_FEATURES,
1001 .features = PHY_GBIT_FEATURES,
1016 .features = PHY_GBIT_FEATURES,
1033 .features = PHY_GBIT_FEATURES,
1048 .features = PHY_GBIT_FEATURES,
1063 .features = PHY_GBIT_FEATURES,
1078 .features = PHY_GBIT_FEATURES,
[all …]
Dbcm7xxx.c384 .features = PHY_GBIT_FEATURES | \
405 .features = PHY_GBIT_FEATURES |
418 .features = PHY_GBIT_FEATURES |
431 .features = PHY_GBIT_FEATURES |
444 .features = PHY_BASIC_FEATURES |
Dcicada.c110 .features = PHY_GBIT_FEATURES,
122 .features = PHY_GBIT_FEATURES,
Dbcm63xx.c80 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
93 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
Dicplus.c221 .features = PHY_BASIC_FEATURES,
232 .features = PHY_GBIT_FEATURES | SUPPORTED_Pause |
244 .features = PHY_BASIC_FEATURES | SUPPORTED_Pause |
Dste10Xp.c89 .features = PHY_BASIC_FEATURES | SUPPORTED_Pause,
103 .features = PHY_BASIC_FEATURES | SUPPORTED_Pause,
Dphy.c230 static inline unsigned int phy_find_valid(unsigned int idx, u32 features) in phy_find_valid() argument
232 while (idx < MAX_NUM_SETTINGS && !(settings[idx].setting & features)) in phy_find_valid()
247 static inline bool phy_check_valid(int speed, int duplex, u32 features) in phy_check_valid() argument
251 idx = phy_find_valid(phy_find_setting(speed, duplex), features); in phy_check_valid()
254 (settings[idx].setting & features); in phy_check_valid()
267 u32 features = phydev->supported; in phy_sanitize_settings() local
271 if ((features & SUPPORTED_Autoneg) == 0) in phy_sanitize_settings()
275 features); in phy_sanitize_settings()
Dat803x.c307 .features = PHY_GBIT_FEATURES,
326 .features = PHY_GBIT_FEATURES,
345 .features = PHY_GBIT_FEATURES,
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_fcoe.c82 netdev->features |= NETIF_F_FCOE_CRC; in cxgb_fcoe_enable()
84 netdev->features |= NETIF_F_FCOE_MTU; in cxgb_fcoe_enable()
113 netdev->features &= ~NETIF_F_FCOE_CRC; in cxgb_fcoe_disable()
115 netdev->features &= ~NETIF_F_FCOE_MTU; in cxgb_fcoe_disable()
/linux-4.1.27/include/net/
Dvxlan.h154 netdev_features_t features) in vxlan_features_check() argument
159 return features; in vxlan_features_check()
169 return features;; in vxlan_features_check()
177 return features & ~(NETIF_F_ALL_CSUM | NETIF_F_GSO_MASK); in vxlan_features_check()
179 return features; in vxlan_features_check()
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_serial.c93 int features; member
139 .features = (LIRC_CAN_SET_SEND_DUTY_CYCLE |
143 .features = LIRC_CAN_REC_MODE2
155 .features = (LIRC_CAN_SET_SEND_DUTY_CYCLE |
167 .features = (LIRC_CAN_SET_SEND_DUTY_CYCLE |
179 .features = LIRC_CAN_REC_MODE2
191 .features = (LIRC_CAN_SET_SEND_DUTY_CYCLE |
195 .features = LIRC_CAN_REC_MODE2
893 if (!(hardware[type].features & LIRC_CAN_SEND_PULSE)) in lirc_write()
927 if (!(hardware[type].features&LIRC_CAN_SEND_MASK)) in lirc_ioctl()
[all …]
Dlirc_zilog.c246 ir->l.features &= ~LIRC_CAN_REC_LIRCCODE; in release_ir_rx()
291 ir->l.features &= ~LIRC_CAN_SEND_PULSE; in release_ir_tx()
1246 unsigned long mode, features; in ioctl() local
1248 features = ir->l.features; in ioctl()
1255 result = put_user(features, uptr); in ioctl()
1258 if (!(features&LIRC_CAN_REC_MASK)) in ioctl()
1262 (features&LIRC_CAN_REC_MASK), in ioctl()
1266 if (!(features&LIRC_CAN_REC_MASK)) in ioctl()
1270 if (!result && !(LIRC_MODE2REC(mode) & features)) in ioctl()
1274 if (!(features&LIRC_CAN_SEND_MASK)) in ioctl()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/
Dmshyperv.c118 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
122 ms_hyperv.features, ms_hyperv.hints); in ms_hyperv_init_platform()
125 if (ms_hyperv.features & HV_X64_MSR_APIC_FREQUENCY_AVAILABLE) { in ms_hyperv_init_platform()
139 if (ms_hyperv.features & HV_X64_MSR_TIME_REF_COUNT_AVAILABLE) in ms_hyperv_init_platform()
/linux-4.1.27/net/ipv4/
Dudp_offload.c29 netdev_features_t features, in __skb_udp_tunnel_segment() argument
31 netdev_features_t features), in __skb_udp_tunnel_segment() argument
63 (skb->dev->features & in __skb_udp_tunnel_segment()
67 enc_features = skb->dev->hw_enc_features & features; in __skb_udp_tunnel_segment()
141 netdev_features_t features, in skb_udp_tunnel_segment() argument
149 netdev_features_t features); in skb_udp_tunnel_segment()
169 segs = __skb_udp_tunnel_segment(skb, features, gso_inner_segment, in skb_udp_tunnel_segment()
179 netdev_features_t features) in udp4_ufo_fragment() argument
190 segs = skb_udp_tunnel_segment(skb, features, false); in udp4_ufo_fragment()
201 if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { in udp4_ufo_fragment()
[all …]
Dtcp_offload.c33 netdev_features_t features) in tcp4_gso_segment() argument
51 return tcp_gso_segment(skb, features); in tcp4_gso_segment()
55 netdev_features_t features) in tcp_gso_segment() argument
84 if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { in tcp_gso_segment()
115 segs = skb_segment(skb, features); in tcp_gso_segment()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_selftest.c88 gro_enabled = priv->dev->features & NETIF_F_GRO; in mlx4_en_test_loopback()
90 mlx4_en_update_loopback_state(priv->dev, priv->dev->features); in mlx4_en_test_loopback()
91 priv->dev->features &= ~NETIF_F_GRO; in mlx4_en_test_loopback()
115 priv->dev->features |= NETIF_F_GRO; in mlx4_en_test_loopback()
117 mlx4_en_update_loopback_state(priv->dev, priv->dev->features); in mlx4_en_test_loopback()
Den_netdev.c2158 if (mlx4_en_reset_config(dev, config, dev->features)) { in mlx4_en_hwtstamp_set()
2188 netdev_features_t features) in mlx4_en_set_features() argument
2194 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXFCS)) { in mlx4_en_set_features()
2196 (features & NETIF_F_RXFCS) ? "ON" : "OFF"); in mlx4_en_set_features()
2200 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXALL)) { in mlx4_en_set_features()
2201 u8 ignore_fcs_value = (features & NETIF_F_RXALL) ? 1 : 0; in mlx4_en_set_features()
2211 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_HW_VLAN_CTAG_RX)) { in mlx4_en_set_features()
2213 (features & NETIF_F_HW_VLAN_CTAG_RX) ? "ON" : "OFF"); in mlx4_en_set_features()
2217 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_HW_VLAN_CTAG_TX)) in mlx4_en_set_features()
2219 (features & NETIF_F_HW_VLAN_CTAG_TX) ? "ON" : "OFF"); in mlx4_en_set_features()
[all …]
Den_main.c102 netdev_features_t features) in mlx4_en_update_loopback_state() argument
106 if (features & NETIF_F_LOOPBACK) in mlx4_en_update_loopback_state()
118 !(features & NETIF_F_LOOPBACK) && !priv->validate_loopback) in mlx4_en_update_loopback_state()
/linux-4.1.27/kernel/time/
Dtick-common.c68 if (!dev || !(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_is_oneshot_available()
70 if (!(dev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_is_oneshot_available()
141 if ((dev->features & CLOCK_EVT_FEAT_PERIODIC) && in tick_setup_periodic()
232 if (newdev->features & CLOCK_EVT_FEAT_ONESHOT) in tick_install_replacement()
256 if (!(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) { in tick_check_preferred()
257 if (curdev && (curdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_preferred()
324 if (newdev->features & CLOCK_EVT_FEAT_ONESHOT) in tick_check_new_device()
Dtick-broadcast.c74 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device()
75 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device()
76 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_check_broadcast_device()
80 !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_broadcast_device()
113 if (dev->features & CLOCK_EVT_FEAT_ONESHOT) in tick_install_broadcast_device()
186 if (!(dev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_device_uses_broadcast()
352 if (!dev || !(dev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_broadcast_control()
525 if (!(bc->features & CLOCK_EVT_FEAT_DYNIRQ)) in tick_broadcast_set_affinity()
652 if (!(bc->features & CLOCK_EVT_FEAT_HRTIMER)) in broadcast_needs_cpu()
667 if (bc->features & CLOCK_EVT_FEAT_HRTIMER) { in broadcast_shutdown_local()
[all …]
Dclockevents.c114 if (dev->features & CLOCK_EVT_FEAT_DUMMY) in __clockevents_set_state()
127 if (!(dev->features & CLOCK_EVT_FEAT_PERIODIC)) in __clockevents_set_state()
133 if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in __clockevents_set_state()
324 if (dev->features & CLOCK_EVT_FEAT_KTIME) in clockevents_program_event()
454 if (dev->features & CLOCK_EVT_FEAT_DUMMY) in clockevents_sanity_check()
461 if ((dev->features & CLOCK_EVT_FEAT_PERIODIC) && in clockevents_sanity_check()
465 if ((dev->features & CLOCK_EVT_FEAT_ONESHOT) && in clockevents_sanity_check()
504 if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in clockevents_config()
/linux-4.1.27/drivers/i2c/busses/
Di2c-i801.c206 unsigned int features; member
384 if (priv->features & FEATURE_IRQ) { in i801_transaction()
558 if (priv->features & FEATURE_IRQ) { in i801_block_transaction_byte_by_byte()
648 } else if (!(priv->features & FEATURE_I2C_BLOCK_READ)) { in i801_block_transaction()
668 if ((priv->features & FEATURE_BLOCK_BUFFER) in i801_block_transaction()
696 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access()
802 ((priv->features & FEATURE_SMBUS_PEC) ? I2C_FUNC_SMBUS_PEC : 0) | in i801_func()
803 ((priv->features & FEATURE_I2C_BLOCK_READ) ? in i801_func()
955 if (priv->features & FEATURE_IDF) in i801_probe_optional_slaves()
1158 priv->features |= FEATURE_IDF; in i801_probe()
[all …]
/linux-4.1.27/include/net/bluetooth/
Dhci_core.h210 __u8 features[HCI_MAX_PAGES][8]; member
417 __u8 features[HCI_MAX_PAGES][8]; member
1022 #define lmp_encrypt_capable(dev) ((dev)->features[0][0] & LMP_ENCRYPT)
1023 #define lmp_rswitch_capable(dev) ((dev)->features[0][0] & LMP_RSWITCH)
1024 #define lmp_hold_capable(dev) ((dev)->features[0][0] & LMP_HOLD)
1025 #define lmp_sniff_capable(dev) ((dev)->features[0][0] & LMP_SNIFF)
1026 #define lmp_park_capable(dev) ((dev)->features[0][1] & LMP_PARK)
1027 #define lmp_inq_rssi_capable(dev) ((dev)->features[0][3] & LMP_RSSI_INQ)
1028 #define lmp_esco_capable(dev) ((dev)->features[0][3] & LMP_ESCO)
1029 #define lmp_bredr_capable(dev) (!((dev)->features[0][4] & LMP_NO_BREDR))
[all …]
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddss_features.c44 const enum dss_feat_id *features; member
626 .features = omap2_dss_feat_list,
647 .features = omap3430_dss_feat_list,
671 .features = am35xx_dss_feat_list,
691 .features = am43xx_dss_feat_list,
711 .features = omap3630_dss_feat_list,
733 .features = omap4430_es1_0_dss_feat_list,
755 .features = omap4430_es2_0_1_2_dss_feat_list,
777 .features = omap4_dss_feat_list,
799 .features = omap5_dss_feat_list,
[all …]
/linux-4.1.27/include/linux/
Dif_vlan.h274 static inline bool vlan_hw_offload_capable(netdev_features_t features, in vlan_hw_offload_capable() argument
277 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_hw_offload_capable()
279 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) in vlan_hw_offload_capable()
465 if (skb->dev->features & NETIF_F_HW_VLAN_CTAG_TX) { in vlan_get_tag()
617 netdev_features_t features) in vlan_features_check() argument
620 features = netdev_intersect_features(features, in vlan_features_check()
628 return features; in vlan_features_check()
Dpci-ats.h81 int pci_enable_pasid(struct pci_dev *pdev, int features);
88 static inline int pci_enable_pasid(struct pci_dev *pdev, int features) in pci_enable_pasid() argument
Dnetdevice.h1147 netdev_features_t features);
1149 netdev_features_t features);
1205 netdev_features_t features);
1545 netdev_features_t features; member
1985 netdev_features_t features);
3263 if ((dev->features & NETIF_F_LLTX) == 0) { \
3269 (((dev->features & NETIF_F_LLTX) == 0) ? \
3274 if ((dev->features & NETIF_F_LLTX) == 0) { \
3552 netdev_features_t features, bool tx_path);
3554 netdev_features_t features);
[all …]
Ddevice-mapper.h143 uint64_t features; member
180 #define dm_target_needs_singleton(type) ((type)->features & DM_TARGET_SINGLETON)
187 ((type)->features & DM_TARGET_ALWAYS_WRITEABLE)
194 #define dm_target_is_immutable(type) ((type)->features & DM_TARGET_IMMUTABLE)
Dvirtio_config.h101 return vdev->features & BIT_ULL(fbit); in __virtio_test_bit()
118 vdev->features |= BIT_ULL(fbit); in __virtio_set_bit()
135 vdev->features &= ~BIT_ULL(fbit); in __virtio_clear_bit()
/linux-4.1.27/net/bridge/
Dbr_if.c412 netdev_features_t features) in br_features_recompute() argument
418 return features; in br_features_recompute()
420 mask = features; in br_features_recompute()
421 features &= ~NETIF_F_ONE_FOR_ALL; in br_features_recompute()
424 features = netdev_increment_features(features, in br_features_recompute()
425 p->dev->features, mask); in br_features_recompute()
427 features = netdev_add_tso_features(features, mask); in br_features_recompute()
429 return features; in br_features_recompute()
Dbr_device.c221 netdev_features_t features) in br_fix_features() argument
225 return br_features_recompute(br, features); in br_fix_features()
378 dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL | in br_dev_setup()
/linux-4.1.27/tools/virtio/linux/
Dvirtio_config.h15 return vdev->features & (1ULL << fbit); in __virtio_test_bit()
26 vdev->features |= (1ULL << fbit); in __virtio_set_bit()
37 vdev->features &= ~(1ULL << fbit); in __virtio_clear_bit()
/linux-4.1.27/include/linux/ceph/
Dceph_features.h80 static inline u64 ceph_sanitize_features(u64 features) in ceph_sanitize_features() argument
82 if (features & CEPH_FEATURE_RESERVED) { in ceph_sanitize_features()
86 return features; in ceph_sanitize_features()
Dmsgr.h97 __le64 features; /* supported feature bits */ member
109 __le64 features; /* feature bits for this session */ member
/linux-4.1.27/net/openvswitch/
Dvport-internal_dev.c144 netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | in do_setup()
148 netdev->vlan_features = netdev->features; in do_setup()
149 netdev->hw_enc_features = netdev->features; in do_setup()
150 netdev->features |= NETIF_F_HW_VLAN_CTAG_TX; in do_setup()
151 netdev->hw_features = netdev->features & ~NETIF_F_LLTX; in do_setup()
186 netdev_vport->dev->features |= NETIF_F_NETNS_LOCAL; in internal_dev_create()
/linux-4.1.27/arch/unicore32/kernel/
Dpci.c173 u16 features = PCI_COMMAND_SERR in pcibios_fixup_bus() local
196 features &= ~PCI_COMMAND_FAST_BACK; in pcibios_fixup_bus()
199 features &= ~(PCI_COMMAND_SERR in pcibios_fixup_bus()
230 cmd |= features; in pcibios_fixup_bus()
241 if (features & PCI_COMMAND_FAST_BACK) in pcibios_fixup_bus()
243 if (features & PCI_COMMAND_PARITY) in pcibios_fixup_bus()
251 bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis"); in pcibios_fixup_bus()
/linux-4.1.27/net/core/
Ddev.c1466 if (unlikely(dev->features & NETIF_F_LRO)) in dev_disable_lro()
2356 driver, dev ? &dev->features : &null_features, in skb_warn_bad_offload()
2434 netdev_features_t features) in skb_mac_gso_segment() argument
2449 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment()
2486 netdev_features_t features, bool tx_path) in __skb_gso_segment() argument
2507 return skb_mac_gso_segment(skb, features); in __skb_gso_segment()
2532 if (!(dev->features & NETIF_F_HIGHDMA)) { in illegal_highdma()
2561 netdev_features_t features, in net_mpls_features() argument
2565 features &= skb->dev->mpls_features; in net_mpls_features()
2567 return features; in net_mpls_features()
[all …]
Dethtool.c116 struct ethtool_get_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_get_features() local
125 features[i].available = (u32)(dev->hw_features >> (32 * i)); in ethtool_get_features()
126 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()
127 features[i].active = (u32)(dev->features >> (32 * i)); in ethtool_get_features()
128 features[i].never_changed = in ethtool_get_features()
142 if (copy_to_user(useraddr, features, copy_size * sizeof(*features))) in ethtool_get_features()
151 struct ethtool_set_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_set_features() local
162 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features()
166 valid |= (netdev_features_t)features[i].valid << (32 * i); in ethtool_set_features()
167 wanted |= (netdev_features_t)features[i].requested << (32 * i); in ethtool_set_features()
[all …]
/linux-4.1.27/drivers/rtc/
Drtc-m41t80.c89 u8 features; member
196 if (clientdata->features & M41T80_FEATURE_BL) { in m41t80_rtc_proc()
248 if (!(clientdata->features & M41T80_FEATURE_SQ)) in m41t80_sysfs_show_sqwfreq()
252 if (clientdata->features & M41T80_FEATURE_SQ_ALT) in m41t80_sysfs_show_sqwfreq()
278 if (!(clientdata->features & M41T80_FEATURE_SQ)) in m41t80_sysfs_set_sqwfreq()
297 if (clientdata->features & M41T80_FEATURE_SQ_ALT) in m41t80_sysfs_set_sqwfreq()
397 if (clientdata->features & M41T80_FEATURE_WD) in wdt_ping()
650 clientdata->features = id->driver_data; in m41t80_probe()
664 if (clientdata->features & M41T80_FEATURE_HT) { in m41t80_probe()
699 if (clientdata->features & M41T80_FEATURE_HT) { in m41t80_probe()
[all …]
/linux-4.1.27/drivers/input/mouse/
Dlogips2pp.c35 u16 features; member
271 if (model_info->features & PS2PP_SIDE_BTN) in ps2pp_set_model_properties()
274 if (model_info->features & PS2PP_EXTRA_BTN) in ps2pp_set_model_properties()
277 if (model_info->features & PS2PP_TASK_BTN) in ps2pp_set_model_properties()
280 if (model_info->features & PS2PP_NAV_BTN) { in ps2pp_set_model_properties()
285 if (model_info->features & PS2PP_WHEEL) in ps2pp_set_model_properties()
288 if (model_info->features & PS2PP_HWHEEL) in ps2pp_set_model_properties()
/linux-4.1.27/net/8021q/
Dvlan_dev.c550 dev->features |= real_dev->vlan_features | NETIF_F_LLTX | in vlan_dev_init()
553 if (dev->features & NETIF_F_VLAN_FEATURES) in vlan_dev_init()
571 if (vlan_hw_offload_capable(real_dev->features, in vlan_dev_init()
608 netdev_features_t features) in vlan_dev_fix_features() argument
611 netdev_features_t old_features = features; in vlan_dev_fix_features()
613 features = netdev_intersect_features(features, real_dev->vlan_features); in vlan_dev_fix_features()
614 features |= NETIF_F_RXCSUM; in vlan_dev_fix_features()
615 features = netdev_intersect_features(features, real_dev->features); in vlan_dev_fix_features()
617 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_GSO_SOFTWARE); in vlan_dev_fix_features()
618 features |= NETIF_F_LLTX; in vlan_dev_fix_features()
[all …]
/linux-4.1.27/drivers/isdn/mISDN/
Ddsp_cmx.c414 if (dsp->features.pcm_banks < 1) in dsp_cmx_hardware()
463 if (finddsp->features.pcm_id == dsp->features.pcm_id) { in dsp_cmx_hardware()
473 ii = dsp->features.pcm_slots; in dsp_cmx_hardware()
514 same_hfc = member->dsp->features.hfc_id; in dsp_cmx_hardware()
515 same_pcm = member->dsp->features.pcm_id; in dsp_cmx_hardware()
629 if (member->dsp->features.pcm_id < 0) { in dsp_cmx_hardware()
638 if (member->dsp->features.pcm_id != same_pcm) { in dsp_cmx_hardware()
648 if (same_hfc != member->dsp->features.hfc_id) in dsp_cmx_hardware()
714 if (member->dsp->features.pcm_banks > 1 && in dsp_cmx_hardware()
715 nextm->dsp->features.pcm_banks > 1 && in dsp_cmx_hardware()
[all …]
DKconfig21 decryption. It may use hardware features if available.
34 It features:
/linux-4.1.27/drivers/video/fbdev/matrox/
Dmatroxfb_DAC1064.c180 } else if (minfo->crtc2.pixclock == minfo->features.pll.ref_freq) { in g450_set_plls()
375 hw->DACreg[POS1064_XVREFCTRL] = minfo->features.DAC1064.xvrefctrl; in DAC1064_init_1()
588 minfo->features.pll.vco_freq_min = 62000; in MGA1064_ramdac_init()
589 minfo->features.pll.ref_freq = 14318; in MGA1064_ramdac_init()
590 minfo->features.pll.feed_div_min = 100; in MGA1064_ramdac_init()
591 minfo->features.pll.feed_div_max = 127; in MGA1064_ramdac_init()
592 minfo->features.pll.in_div_min = 1; in MGA1064_ramdac_init()
593 minfo->features.pll.in_div_max = 31; in MGA1064_ramdac_init()
594 minfo->features.pll.post_shift_max = 3; in MGA1064_ramdac_init()
595 minfo->features.DAC1064.xvrefctrl = DAC1064_XVREFCTRL_EXTERNAL; in MGA1064_ramdac_init()
[all …]
Dmatroxfb_misc.c546 minfo->features.pll.ref_freq = 14318; in parse_pins1()
556 minfo->features.pll.ref_freq = 14318; in default_pins1()
570 minfo->features.pll.ref_freq = 14318; in parse_pins2()
581 minfo->features.pll.ref_freq = 14318; in default_pins2()
598 minfo->features.pll.ref_freq = (bd->pins[52] & 0x20) ? 14318 : 27000; in parse_pins3()
611 minfo->features.pll.ref_freq = 27000; in default_pins3()
629 minfo->features.pll.ref_freq = (bd->pins[ 92] & 0x01) ? 14318 : 27000; in parse_pins4()
643 minfo->features.pll.ref_freq = 27000; in default_pins4()
667 minfo->features.pll.ref_freq = (bd->pins[110] & 0x01) ? 14318 : 27000; in parse_pins5()
701 minfo->features.pll.ref_freq = 27000; in default_pins5()
Dmatroxfb_Ti3026.c545 minfo->features.pll.vco_freq_min = 110000; in ti3026_ramdac_init()
546 minfo->features.pll.ref_freq = 114545; in ti3026_ramdac_init()
547 minfo->features.pll.feed_div_min = 2; in ti3026_ramdac_init()
548 minfo->features.pll.feed_div_max = 24; in ti3026_ramdac_init()
549 minfo->features.pll.in_div_min = 2; in ti3026_ramdac_init()
550 minfo->features.pll.in_div_max = 63; in ti3026_ramdac_init()
551 minfo->features.pll.post_shift_max = 3; in ti3026_ramdac_init()
Dmatroxfb_misc.h14 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); in PLL_calcclock()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c882 struct sxgbe_hw_features *features = &priv->hw_cap; in sxgbe_get_hw_features() local
887 features->pmt_remote_wake_up = in sxgbe_get_hw_features()
889 features->pmt_magic_frame = SXGBE_HW_FEAT_PMT_MAGIC_PKT(rval); in sxgbe_get_hw_features()
890 features->atime_stamp = SXGBE_HW_FEAT_IEEE1500_2008(rval); in sxgbe_get_hw_features()
891 features->tx_csum_offload = in sxgbe_get_hw_features()
893 features->rx_csum_offload = in sxgbe_get_hw_features()
895 features->multi_macaddr = SXGBE_HW_FEAT_MACADDR_COUNT(rval); in sxgbe_get_hw_features()
896 features->tstamp_srcselect = SXGBE_HW_FEAT_TSTMAP_SRC(rval); in sxgbe_get_hw_features()
897 features->sa_vlan_insert = SXGBE_HW_FEAT_SRCADDR_VLAN(rval); in sxgbe_get_hw_features()
898 features->eee = SXGBE_HW_FEAT_EEE(rval); in sxgbe_get_hw_features()
[all …]
/linux-4.1.27/net/ipv6/
Dudp_offload.c21 netdev_features_t features) in udp6_ufo_fragment() argument
37 if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST)) { in udp6_ufo_fragment()
65 segs = skb_udp_tunnel_segment(skb, features, true); in udp6_ufo_fragment()
122 segs = skb_segment(skb, features); in udp6_ufo_fragment()
Dtcpv6_offload.c45 netdev_features_t features) in tcp6_gso_segment() argument
65 return tcp_gso_segment(skb, features); in tcp6_gso_segment()
Dip6_offload.c58 netdev_features_t features) in ipv6_gso_segment() argument
94 features &= skb->dev->hw_enc_features; in ipv6_gso_segment()
112 segs = ops->callbacks.gso_segment(skb, features); in ipv6_gso_segment()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c1042 netdev_features_t features) in qlcnic_process_flags() argument
1047 features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | in qlcnic_process_flags()
1052 features &= ~NETIF_F_TSO; in qlcnic_process_flags()
1054 features |= NETIF_F_TSO; in qlcnic_process_flags()
1057 features &= ~NETIF_F_TSO6; in qlcnic_process_flags()
1059 features |= NETIF_F_TSO6; in qlcnic_process_flags()
1062 features &= ~(NETIF_F_RXCSUM | in qlcnic_process_flags()
1067 features &= ~(NETIF_F_TSO | NETIF_F_TSO6); in qlcnic_process_flags()
1071 return features; in qlcnic_process_flags()
1075 netdev_features_t features) in qlcnic_fix_features() argument
[all …]
/linux-4.1.27/scripts/
Dcheckkconfigsymbols.py217 features = REGEX_SOURCE_FEATURE.findall(line)
218 for feature in features:
254 features = get_features_in_line(line)
260 features.extend(get_features_in_line(line))
261 for feature in set(features):
/linux-4.1.27/net/switchdev/
Dswitchdev.c146 if (!(dev->features & NETIF_F_HW_SWITCH_OFFLOAD)) in netdev_switch_port_bridge_setlink()
171 if (!(dev->features & NETIF_F_HW_SWITCH_OFFLOAD)) in netdev_switch_port_bridge_dellink()
198 if (!(dev->features & NETIF_F_HW_SWITCH_OFFLOAD)) in ndo_dflt_netdev_switch_port_bridge_setlink()
228 if (!(dev->features & NETIF_F_HW_SWITCH_OFFLOAD)) in ndo_dflt_netdev_switch_port_bridge_dellink()
252 if (dev->features & NETIF_F_HW_SWITCH_OFFLOAD && in netdev_switch_get_lowest_dev()
/linux-4.1.27/arch/ia64/kernel/
Dsetup.c652 char features[128], *cp, *sep; in show_cpuinfo() local
658 mask = c->features; in show_cpuinfo()
661 memcpy(features, "standard", 9); in show_cpuinfo()
662 cp = features; in show_cpuinfo()
663 size = sizeof(features); in show_cpuinfo()
671 size = sizeof(features) - (cp - features); in show_cpuinfo()
700 features, c->ppn, c->number, in show_cpuinfo()
803 u64 features; in identify_cpu() member
835 c->features = cpuid.field.features; in identify_cpu()
/linux-4.1.27/drivers/net/
Dsungem_phy.c902 .features = MII_BASIC_FEATURES,
921 .features = MII_BASIC_FEATURES,
939 .features = MII_BASIC_FEATURES,
958 .features = MII_GBIT_FEATURES,
977 .features = MII_GBIT_FEATURES,
996 .features = MII_GBIT_FEATURES,
1016 .features = MII_GBIT_FEATURES,
1035 .features = MII_GBIT_FEATURES,
1054 .features = MII_GBIT_FEATURES,
1073 .features = MII_GBIT_FEATURES,
[all …]
Dmacvtap.c295 netdev_features_t features = TAP_FEATURES; in macvtap_handle_frame() local
315 features |= vlan->tap_features; in macvtap_handle_frame()
316 if (netif_needs_gso(skb, features)) { in macvtap_handle_frame()
317 struct sk_buff *segs = __skb_gso_segment(skb, features, false); in macvtap_handle_frame()
342 !(features & NETIF_F_ALL_CSUM) && in macvtap_handle_frame()
502 if ((dev->features & NETIF_F_HIGHDMA) && (dev->features & NETIF_F_SG)) in macvtap_open()
948 netdev_features_t features; in set_offload() local
955 features = vlan->dev->features; in set_offload()
982 features |= RX_OFFLOADS; in set_offload()
984 features &= ~RX_OFFLOADS; in set_offload()
[all …]
Dmacvlan.c575 if (lowerdev->features & NETIF_F_HW_L2FW_DOFFLOAD && in macvlan_open()
799 dev->features = lowerdev->features & MACVLAN_FEATURES; in macvlan_init()
800 dev->features |= ALWAYS_ON_FEATURES; in macvlan_init()
950 netdev_features_t features) in macvlan_fix_features() argument
953 netdev_features_t lowerdev_features = vlan->lowerdev->features; in macvlan_fix_features()
956 features |= NETIF_F_ALL_FOR_ALL; in macvlan_fix_features()
957 features &= (vlan->set_features | ~MACVLAN_FEATURES); in macvlan_fix_features()
958 mask = features; in macvlan_fix_features()
960 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
961 features = netdev_increment_features(lowerdev_features, features, mask); in macvlan_fix_features()
[all …]
Dxen-netfront.c227 return dev->features & NETIF_F_SG; in xennet_can_sg()
596 gso->u.gso.features = 0; in xennet_start_xmit()
1112 netdev_features_t features) in xennet_fix_features() argument
1117 if (features & NETIF_F_SG) { in xennet_fix_features()
1123 features &= ~NETIF_F_SG; in xennet_fix_features()
1126 if (features & NETIF_F_IPV6_CSUM) { in xennet_fix_features()
1132 features &= ~NETIF_F_IPV6_CSUM; in xennet_fix_features()
1135 if (features & NETIF_F_TSO) { in xennet_fix_features()
1141 features &= ~NETIF_F_TSO; in xennet_fix_features()
1144 if (features & NETIF_F_TSO6) { in xennet_fix_features()
[all …]
Ddummy.c151 dev->features |= NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_TSO; in dummy_setup()
152 dev->features |= NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_LLTX; in dummy_setup()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-iommu-amd-iommu9 What: /sys/class/iommu/<iommu>/amd-iommu/features
14 Extended features of the IOMMU. Format: %llx
/linux-4.1.27/include/linux/isdn/
Dhdlc.h72 extern void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features);
77 extern void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features);
/linux-4.1.27/Documentation/virtual/kvm/
Dreview-checklist.txt15 5. New features must default to off (userspace should explicitly request them).
18 6. New cpu features should be exposed via KVM_GET_SUPPORTED_CPUID2
33 11. New guest visible features must either be documented in a hardware manual
Dcpuid.txt5 A guest running on a kvm host, can check some of its features using
7 mask-out some, or even all KVM-related cpuid features before launching
/linux-4.1.27/drivers/hwmon/
Dit87.c251 u16 features; member
273 .features = FEAT_OLD_AUTOPWM, /* may need to overwrite */
278 .features = FEAT_OLD_AUTOPWM | FEAT_VID,
284 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID
290 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID
297 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID
304 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS
313 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS
321 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS
332 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS
[all …]
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
Domap4-thermal-data.c70 .features = TI_BANDGAP_FEATURE_MODE_CONFIG |
205 .features = TI_BANDGAP_FEATURE_TSHUT |
238 .features = TI_BANDGAP_FEATURE_TSHUT |
Dti-bandgap.h341 ((b)->conf->features & TI_BANDGAP_FEATURE_ ## f)
364 unsigned int features; member
/linux-4.1.27/drivers/isdn/i4l/
Disdnhdlc.c53 void isdnhdlc_rcv_init(struct isdnhdlc_vars *hdlc, u32 features) in isdnhdlc_rcv_init() argument
57 if (features & HDLC_56KBIT) in isdnhdlc_rcv_init()
59 if (features & HDLC_BITREVERSE) in isdnhdlc_rcv_init()
64 void isdnhdlc_out_init(struct isdnhdlc_vars *hdlc, u32 features) in isdnhdlc_out_init() argument
67 if (features & HDLC_DCHANNEL) { in isdnhdlc_out_init()
76 if (features & HDLC_56KBIT) { in isdnhdlc_out_init()
81 if (features & HDLC_BITREVERSE) in isdnhdlc_out_init()
/linux-4.1.27/arch/arm/kernel/
Dbios32.c301 u16 features = PCI_COMMAND_SERR | PCI_COMMAND_PARITY | PCI_COMMAND_FAST_BACK; in pcibios_fixup_bus() local
319 features &= ~PCI_COMMAND_FAST_BACK; in pcibios_fixup_bus()
322 features &= ~(PCI_COMMAND_SERR | PCI_COMMAND_PARITY); in pcibios_fixup_bus()
347 cmd |= features; in pcibios_fixup_bus()
358 if (features & PCI_COMMAND_FAST_BACK) in pcibios_fixup_bus()
360 if (features & PCI_COMMAND_PARITY) in pcibios_fixup_bus()
368 bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis"); in pcibios_fixup_bus()
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_drv.h61 unsigned int features; member
98 return rcdu->info->features & feature; in rcar_du_has()
Drcar_du_drv.c39 .features = 0,
60 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
88 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
/linux-4.1.27/net/mpls/
Dmpls_gso.c23 netdev_features_t features) in mpls_gso_segment() argument
47 mpls_features = skb->dev->mpls_features & features; in mpls_gso_segment()
/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_msi.c406 const struct fsl_msi_feature *features; in fsl_of_msi_probe() local
413 features = match->data; in fsl_of_msi_probe()
437 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) { in fsl_of_msi_probe()
453 features->msiir_offset + (res.start & 0xfffff); in fsl_of_msi_probe()
460 msi->msiir_offset = features->msiir_offset + in fsl_of_msi_probe()
466 msi->feature = features->fsl_pic_ip; in fsl_of_msi_probe()
469 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) == FSL_PIC_IP_MPIC in fsl_of_msi_probe()
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_drv.c184 if (vsp1->pdata.features & VSP1_HAS_LIF) { in vsp1_create_entities()
194 if (vsp1->pdata.features & VSP1_HAS_LUT) { in vsp1_create_entities()
217 if (vsp1->pdata.features & VSP1_HAS_SRU) { in vsp1_create_entities()
264 if (vsp1->pdata.features & VSP1_HAS_LIF) { in vsp1_create_entities()
437 pdata->features |= VSP1_HAS_LIF; in vsp1_parse_dt()
439 pdata->features |= VSP1_HAS_LUT; in vsp1_parse_dt()
441 pdata->features |= VSP1_HAS_SRU; in vsp1_parse_dt()
/linux-4.1.27/drivers/net/ethernet/xilinx/
Dll_temac_main.c1017 ndev->features = NETIF_F_SG; in temac_of_probe()
1021 ndev->features |= NETIF_F_IP_CSUM; /* Can checksum TCP/UDP over IPv4. */ in temac_of_probe()
1022 ndev->features |= NETIF_F_HW_CSUM; /* Can checksum all the packets. */ in temac_of_probe()
1023 ndev->features |= NETIF_F_IPV6_CSUM; /* Can checksum IPV6 TCP/UDP */ in temac_of_probe()
1024 ndev->features |= NETIF_F_HIGHDMA; /* Can DMA to high memory. */ in temac_of_probe()
1025 ndev->features |= NETIF_F_HW_VLAN_CTAG_TX; /* Transmit VLAN hw accel */ in temac_of_probe()
1026 ndev->features |= NETIF_F_HW_VLAN_CTAG_RX; /* Receive VLAN hw acceleration */ in temac_of_probe()
1027 ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; /* Receive VLAN filtering */ in temac_of_probe()
1028 ndev->features |= NETIF_F_VLAN_CHALLENGED; /* cannot handle VLAN pkts */ in temac_of_probe()
1029 ndev->features |= NETIF_F_GSO; /* Enable software GSO. */ in temac_of_probe()
[all …]
Dxilinx_axienet_main.c672 if (lp->features & XAE_FEATURE_FULL_TX_CSUM) { in axienet_start_xmit()
675 } else if (lp->features & XAE_FEATURE_PARTIAL_RX_CSUM) { in axienet_start_xmit()
751 if (lp->features & XAE_FEATURE_FULL_RX_CSUM) { in axienet_recv()
758 } else if ((lp->features & XAE_FEATURE_PARTIAL_RX_CSUM) != 0 && in axienet_recv()
1492 ndev->features = NETIF_F_SG; in axienet_of_probe()
1508 lp->features = 0; in axienet_of_probe()
1516 lp->features |= XAE_FEATURE_PARTIAL_TX_CSUM; in axienet_of_probe()
1518 ndev->features |= NETIF_F_IP_CSUM; in axienet_of_probe()
1523 lp->features |= XAE_FEATURE_FULL_TX_CSUM; in axienet_of_probe()
1525 ndev->features |= NETIF_F_IP_CSUM; in axienet_of_probe()
[all …]
/linux-4.1.27/drivers/net/xen-netback/
Dinterface.c276 netdev_features_t features) in xenvif_fix_features() argument
281 features &= ~NETIF_F_SG; in xenvif_fix_features()
283 features &= ~NETIF_F_TSO; in xenvif_fix_features()
285 features &= ~NETIF_F_TSO6; in xenvif_fix_features()
287 features &= ~NETIF_F_IP_CSUM; in xenvif_fix_features()
289 features &= ~NETIF_F_IPV6_CSUM; in xenvif_fix_features()
291 return features; in xenvif_fix_features()
429 dev->features = dev->hw_features | NETIF_F_RXCSUM; in xenvif_alloc()
/linux-4.1.27/net/dcb/
DKconfig6 features on DCB capable Ethernet adapters via rtnetlink. Say 'Y'
15 DCB features include:
/linux-4.1.27/tools/perf/Documentation/
Dperf.txt34 covers hardware level (CPU/PMU, Performance Monitoring Unit) features
35 and software features (software counters, tracepoints) as well.
/linux-4.1.27/drivers/pci/
Dats.c276 int pci_enable_pasid(struct pci_dev *pdev, int features) in pci_enable_pasid() argument
294 if ((supported & features) != features) in pci_enable_pasid()
297 control = PCI_PASID_CTRL_ENABLE | features; in pci_enable_pasid()
/linux-4.1.27/drivers/clocksource/
Di8253.c164 .features = CLOCK_EVT_FEAT_PERIODIC,
176 i8253_clockevent.features |= CLOCK_EVT_FEAT_ONESHOT; in clockevent_i8253_init()
Ddummy_timer.c34 evt->features = CLOCK_EVT_FEAT_PERIODIC | in dummy_timer_setup()
/linux-4.1.27/drivers/misc/
Dad525x_dpot.c639 unsigned features, unsigned rdac) in ad_dpot_add_files() argument
643 if (features & F_CMD_EEP) in ad_dpot_add_files()
646 if (features & F_CMD_TOL) in ad_dpot_add_files()
649 if (features & F_CMD_OTP) { in ad_dpot_add_files()
664 unsigned features, unsigned rdac) in ad_dpot_remove_files() argument
668 if (features & F_CMD_EEP) in ad_dpot_remove_files()
671 if (features & F_CMD_TOL) in ad_dpot_remove_files()
674 if (features & F_CMD_OTP) { in ad_dpot_remove_files()
/linux-4.1.27/drivers/isdn/sc/
Dinit.c49 unsigned long features = 0; in sc_init() local
214 features = PRI_FEATURES; in sc_init()
222 features = BRI_FEATURES; in sc_init()
280 interface->features = features; in sc_init()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c316 static void __atl1e_rx_mode(netdev_features_t features, u32 *mac_ctrl_data) in __atl1e_rx_mode() argument
319 if (features & NETIF_F_RXALL) { in __atl1e_rx_mode()
329 netdev_features_t features) in atl1e_rx_mode() argument
338 __atl1e_rx_mode(features, &mac_ctrl_data); in atl1e_rx_mode()
344 static void __atl1e_vlan_mode(netdev_features_t features, u32 *mac_ctrl_data) in __atl1e_vlan_mode() argument
346 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atl1e_vlan_mode()
356 netdev_features_t features) in atl1e_vlan_mode() argument
365 __atl1e_vlan_mode(features, &mac_ctrl_data); in atl1e_vlan_mode()
373 atl1e_vlan_mode(adapter->netdev, adapter->netdev->features); in atl1e_restore_vlan()
403 netdev_features_t features) in atl1e_fix_features() argument
[all …]
/linux-4.1.27/fs/befs/
DKconfig7 BeOS. Notable features include support for arbitrary attributes
9 attributes. (Also note that this driver doesn't make those features
/linux-4.1.27/drivers/gpu/drm/
Ddrm_debugfs.c96 u32 features = files[i].driver_features; in drm_debugfs_create_files() local
98 if (features != 0 && in drm_debugfs_create_files()
99 (dev->driver->driver_features & features) != features) in drm_debugfs_create_files()
/linux-4.1.27/drivers/misc/mic/card/
Dmic_virtio.c74 u32 features = 0; in mic_get_features() local
79 bits = min_t(unsigned, feature_len, sizeof(features)) * 8; in mic_get_features()
82 features |= BIT(i); in mic_get_features()
84 return features; in mic_get_features()
100 BUG_ON((u32)vdev->features != vdev->features); in mic_finalize_features()
104 sizeof(vdev->features)) * 8; in mic_finalize_features()
/linux-4.1.27/drivers/virtio/
Dvirtio_mmio.c118 u64 features; in vm_get_features() local
121 features = readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES); in vm_get_features()
122 features <<= 32; in vm_get_features()
125 features |= readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES); in vm_get_features()
127 return features; in vm_get_features()
145 writel((u32)(vdev->features >> 32), in vm_finalize_features()
149 writel((u32)vdev->features, in vm_finalize_features()
Dvirtio.c53 for (i = 0; i < sizeof(dev->features)*8; i++) in features_show()
59 static DEVICE_ATTR_RO(features);
222 dev->features = driver_features & device_features; in virtio_dev_probe()
224 dev->features = driver_features_legacy & device_features; in virtio_dev_probe()
Dvirtio_pci_legacy.c41 BUG_ON((u32)vdev->features != vdev->features); in vp_finalize_features()
44 iowrite32(vdev->features, vp_dev->ioaddr + VIRTIO_PCI_GUEST_FEATURES); in vp_finalize_features()
Dvirtio_pci_modern.c146 u64 features; in vp_get_features() local
149 features = vp_ioread32(&vp_dev->common->device_feature); in vp_get_features()
151 features |= ((u64)vp_ioread32(&vp_dev->common->device_feature) << 32); in vp_get_features()
153 return features; in vp_get_features()
171 vp_iowrite32((u32)vdev->features, &vp_dev->common->guest_feature); in vp_finalize_features()
173 vp_iowrite32(vdev->features >> 32, &vp_dev->common->guest_feature); in vp_finalize_features()
/linux-4.1.27/drivers/iommu/
Darm-smmu.c290 u32 features; member
481 if (!(smmu->features & ARM_SMMU_FEAT_STREAM_MATCH) && in register_smmu_master()
619 if (smmu->features & ARM_SMMU_FEAT_COHERENT_WALK) { in arm_smmu_flush_pgtable()
848 if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S1)) in arm_smmu_init_domain_context()
850 if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S2)) in arm_smmu_init_domain_context()
1012 if (!(smmu->features & ARM_SMMU_FEAT_STREAM_MATCH)) in arm_smmu_master_configure_smrs()
1112 if ((smmu->features & ARM_SMMU_FEAT_STREAM_MATCH) && !cfg->smrs) in arm_smmu_domain_remove_master()
1277 if (smmu_domain->smmu->features & ARM_SMMU_FEAT_TRANS_OPS && in arm_smmu_iova_to_phys()
1550 smmu->features |= ARM_SMMU_FEAT_TRANS_S1; in arm_smmu_device_cfg_probe()
1555 smmu->features |= ARM_SMMU_FEAT_TRANS_S2; in arm_smmu_device_cfg_probe()
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c265 t1_vlan_mode(adapter, dev->features); in cxgb_open()
851 netdev_features_t features) in t1_fix_features() argument
857 if (features & NETIF_F_HW_VLAN_CTAG_RX) in t1_fix_features()
858 features |= NETIF_F_HW_VLAN_CTAG_TX; in t1_fix_features()
860 features &= ~NETIF_F_HW_VLAN_CTAG_TX; in t1_fix_features()
862 return features; in t1_fix_features()
865 static int t1_set_features(struct net_device *dev, netdev_features_t features) in t1_set_features() argument
867 netdev_features_t changed = dev->features ^ features; in t1_set_features()
871 t1_vlan_mode(adapter, features); in t1_set_features()
1079 netdev->features |= NETIF_F_SG | NETIF_F_IP_CSUM | in init_one()
[all …]
/linux-4.1.27/Documentation/frv/
DREADME.txt10 (*) features.txt
12 A description of the basic features inherent in this architecture port.
/linux-4.1.27/arch/powerpc/kvm/
De500mc.c223 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_PM | in kvmppc_core_get_sregs_e500mc()
227 sregs->u.e.impl.fsl.features = 0; in kvmppc_core_get_sregs_e500mc()
258 if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) in kvmppc_core_set_sregs_e500mc()
261 if (sregs->u.e.features & KVM_SREGS_E_PM) { in kvmppc_core_set_sregs_e500mc()
266 if (sregs->u.e.features & KVM_SREGS_E_PC) { in kvmppc_core_set_sregs_e500mc()
De500.c369 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_SPE | in kvmppc_core_get_sregs_e500()
373 sregs->u.e.impl.fsl.features = 0; in kvmppc_core_get_sregs_e500()
405 if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) in kvmppc_core_set_sregs_e500()
408 if (sregs->u.e.features & KVM_SREGS_E_SPE) { in kvmppc_core_set_sregs_e500()
417 if (sregs->u.e.features & KVM_SREGS_E_PM) { in kvmppc_core_set_sregs_e500()
/linux-4.1.27/arch/x86/kernel/apic/
Dapic.c482 if (evt->features & CLOCK_EVT_FEAT_DUMMY) in lapic_timer_setup()
524 .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT
544 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_C3STOP; in setup_APIC_timer()
553 levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | in setup_APIC_timer()
699 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
775 levt->features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
808 levt->features |= CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
812 if (levt->features & CLOCK_EVT_FEAT_DUMMY) { in calibrate_APIC_clock()
855 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; in setup_boot_APIC_clock()
1633 u32 features, h, l; in apic_verify() local
[all …]
/linux-4.1.27/arch/arm/include/asm/
Dcputype.h257 static inline int __attribute_const__ cpuid_feature_extract_field(u32 features, in cpuid_feature_extract_field() argument
260 int feature = (features >> field) & 15; in cpuid_feature_extract_field()
/linux-4.1.27/Documentation/hwmon/
Dnct790426 Currently, the driver supports only the following features:
52 The following features are not supported in current version:
/linux-4.1.27/Documentation/powerpc/
Dptrace.txt1 GDB intends to support the following hardware debug features of BookE
16 Query for GDB to discover the hardware debug features. The main info to
34 uint64_t features; /* bitmask of the individual flags */
37 features will have bits indicating whether there is support for:
/linux-4.1.27/net/bluetooth/
DKconfig44 bool "Bluetooth Classic (BR/EDR) features"
57 bool "Bluetooth Low Energy (LE) features"
92 legacy SMP as well as the Secure Connections features.
Dhci_event.c495 hdev->features[1][0] |= LMP_HOST_SSP; in hci_cc_write_ssp_mode()
497 hdev->features[1][0] &= ~LMP_HOST_SSP; in hci_cc_write_ssp_mode()
527 hdev->features[1][0] |= LMP_HOST_SC; in hci_cc_write_sc_support()
529 hdev->features[1][0] &= ~LMP_HOST_SC; in hci_cc_write_sc_support()
586 memcpy(hdev->features, rp->features, 8); in hci_cc_read_local_features()
591 if (hdev->features[0][0] & LMP_3SLOT) in hci_cc_read_local_features()
594 if (hdev->features[0][0] & LMP_5SLOT) in hci_cc_read_local_features()
597 if (hdev->features[0][1] & LMP_HV2) { in hci_cc_read_local_features()
602 if (hdev->features[0][1] & LMP_HV3) { in hci_cc_read_local_features()
610 if (hdev->features[0][4] & LMP_EV4) in hci_cc_read_local_features()
[all …]
Dhci_debugfs.c88 hdev->features[p][0], hdev->features[p][1], in features_show()
89 hdev->features[p][2], hdev->features[p][3], in features_show()
90 hdev->features[p][4], hdev->features[p][5], in features_show()
91 hdev->features[p][6], hdev->features[p][7]); in features_show()
/linux-4.1.27/arch/arm/include/asm/hardware/
Dcache-tauros2.h14 extern void __init tauros2_init(unsigned int features);
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c125 struct dcbx_features *features, in bnx2x_dump_dcbx_drv_param() argument
133 "local_mib.features.ets.enabled %x\n", features->ets.enabled); in bnx2x_dump_dcbx_drv_param()
137 DCBX_PG_BW_GET(features->ets.pg_bw_tbl, i)); in bnx2x_dump_dcbx_drv_param()
141 DCBX_PRI_PG_GET(features->ets.pri_pg_tbl, i)); in bnx2x_dump_dcbx_drv_param()
145 features->pfc.pri_en_bitmap); in bnx2x_dump_dcbx_drv_param()
147 features->pfc.pfc_caps); in bnx2x_dump_dcbx_drv_param()
149 features->pfc.enabled); in bnx2x_dump_dcbx_drv_param()
152 features->app.default_pri); in bnx2x_dump_dcbx_drv_param()
154 features->app.tc_supported); in bnx2x_dump_dcbx_drv_param()
156 features->app.enabled); in bnx2x_dump_dcbx_drv_param()
[all …]
/linux-4.1.27/drivers/net/usb/
Dsmsc95xx.c69 u8 features; member
626 netdev_features_t features) in smsc95xx_set_features() argument
636 if (features & NETIF_F_HW_CSUM) in smsc95xx_set_features()
641 if (features & NETIF_F_RXCSUM) in smsc95xx_set_features()
1048 ret = smsc95xx_set_features(dev->net, dev->net->features); in smsc95xx_reset()
1126 dev->net->features |= NETIF_F_HW_CSUM; in smsc95xx_bind()
1128 dev->net->features |= NETIF_F_RXCSUM; in smsc95xx_bind()
1145 pdata->features = (FEATURE_8_WAKEUP_FILTERS | in smsc95xx_bind()
1149 pdata->features = FEATURE_8_WAKEUP_FILTERS; in smsc95xx_bind()
1266 if (pdata->features & FEATURE_PHY_NLP_CROSSOVER) in smsc95xx_enter_suspend1()
[all …]
/linux-4.1.27/fs/nilfs2/
Dsuper.c897 __u64 features; in nilfs_check_feature_compatibility() local
899 features = le64_to_cpu(sbp->s_feature_incompat) & in nilfs_check_feature_compatibility()
901 if (features) { in nilfs_check_feature_compatibility()
904 (unsigned long long)features); in nilfs_check_feature_compatibility()
907 features = le64_to_cpu(sbp->s_feature_compat_ro) & in nilfs_check_feature_compatibility()
909 if (!(sb->s_flags & MS_RDONLY) && features) { in nilfs_check_feature_compatibility()
912 (unsigned long long)features); in nilfs_check_feature_compatibility()
1170 __u64 features; in nilfs_remount() local
1179 features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & in nilfs_remount()
1182 if (features) { in nilfs_remount()
[all …]
/linux-4.1.27/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c260 int vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) in vmxnet3_set_features() argument
264 netdev_features_t changed = features ^ netdev->features; in vmxnet3_set_features()
268 if (features & NETIF_F_RXCSUM) in vmxnet3_set_features()
276 if (features & NETIF_F_LRO) in vmxnet3_set_features()
283 if (features & NETIF_F_HW_VLAN_CTAG_RX) in vmxnet3_set_features()
/linux-4.1.27/arch/arm/kvm/
Darm.c277 bitmap_zero(vcpu->arch.features, KVM_VCPU_MAX_FEATURES); in kvm_arch_vcpu_init()
700 for (i = 0; i < sizeof(init->features) * 8; i++) { in kvm_vcpu_set_target()
701 bool set = (init->features[i / 32] & (1 << (i % 32))); in kvm_vcpu_set_target()
711 test_bit(i, vcpu->arch.features) != set) in kvm_vcpu_set_target()
715 set_bit(i, vcpu->arch.features); in kvm_vcpu_set_target()
746 if (test_bit(KVM_ARM_VCPU_POWER_OFF, vcpu->arch.features)) in kvm_arch_vcpu_ioctl_vcpu_init()
/linux-4.1.27/arch/arm/mach-omap1/
Ddevices.c181 data->slots[0].features = MMC_OMAP7XX; in omap_mmc_add()
183 data->slots[0].features = MMC_OMAP15XX; in omap_mmc_add()
185 data->slots[0].features = MMC_OMAP16XX; in omap_mmc_add()
/linux-4.1.27/drivers/pcmcia/
Dcistpl.c93 if (!(s->features & SS_CAP_STATIC_MAP) && (mem->res == NULL)) { in set_cis_map()
104 if (!(s->features & SS_CAP_STATIC_MAP) && (!s->cis_virt)) in set_cis_map()
117 if (s->features & SS_CAP_STATIC_MAP) { in set_cis_map()
1084 u_char *p, *q, features; in parse_cftable_entry() local
1110 features = *p; p++; in parse_cftable_entry()
1113 if ((features & 3) > 0) { in parse_cftable_entry()
1119 if ((features & 3) > 1) { in parse_cftable_entry()
1125 if ((features & 3) > 2) { in parse_cftable_entry()
1133 if (features & 0x04) { in parse_cftable_entry()
1144 if (features & 0x08) { in parse_cftable_entry()
[all …]
/linux-4.1.27/drivers/net/ipvlan/
Dipvlan_main.c114 dev->features = phy_dev->features & IPVLAN_FEATURES; in ipvlan_init()
115 dev->features |= NETIF_F_LLTX; in ipvlan_init()
200 netdev_features_t features) in ipvlan_fix_features() argument
204 return features & (ipvlan->sfeatures | ~IPVLAN_FEATURES); in ipvlan_fix_features()
594 ipvlan->dev->features = dev->features & IPVLAN_FEATURES; in ipvlan_device_event()
/linux-4.1.27/arch/hexagon/kernel/
Dtime.c124 .features = CLOCK_EVT_FEAT_ONESHOT,
147 dummy_clock_dev->features = CLOCK_EVT_FEAT_DUMMY; in setup_percpu_clockdev()
/linux-4.1.27/drivers/hv/
Dhv.c312 dev->features = CLOCK_EVT_FEAT_ONESHOT; in hv_init_clockevent_device()
468 if (ms_hyperv.features & HV_X64_MSR_SYNTIMER_AVAILABLE) in hv_synic_init()
483 if (!(ms_hyperv.features & HV_X64_MSR_SYNTIMER_AVAILABLE)) in hv_synic_clockevents_cleanup()
505 if (ms_hyperv.features & HV_X64_MSR_SYNTIMER_AVAILABLE) in hv_synic_cleanup()
/linux-4.1.27/arch/x86/include/asm/
Dmshyperv.h9 u32 features; member
/linux-4.1.27/drivers/regulator/
Dtwl-regulator.c61 unsigned long features; member
176 if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) { in twl6030reg_is_enabled()
214 if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) in twl6030reg_enable()
248 if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) in twl6030reg_disable()
342 if (!(twl_class_is_6030() && (info->features & TWL6032_SUBCLASS))) in twl6030reg_set_mode()
388 !((info)->features & TWL4030_ALLOW_UNSUPPORTED))
1138 info->features = drvdata->features; in twlreg_probe()
/linux-4.1.27/drivers/pnp/pnpbios/
DKconfig13 Some features (e.g. event notification, docking station information,
34 Also some buggy systems will fault when accessing certain features
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
DKconfig9 Enable this if you want to use HSA features on AMD GPU devices.
/linux-4.1.27/Documentation/sound/alsa/soc/
Dplatform.txt58 Each SoC DAI driver must provide the following features:-
72 Each SoC DSP driver usually supplies the following features :-
/linux-4.1.27/drivers/parport/
Dparport_ip32.c137 static unsigned int features = ~0U; variable
2081 features &= ~PARPORT_IP32_ENABLE_SPP; in parport_ip32_probe_port()
2082 features &= ~PARPORT_IP32_ENABLE_ECP; in parport_ip32_probe_port()
2084 features &= ~PARPORT_IP32_ENABLE_DMA; in parport_ip32_probe_port()
2088 if (features & PARPORT_IP32_ENABLE_IRQ) { in parport_ip32_probe_port()
2094 features &= ~PARPORT_IP32_ENABLE_DMA; in parport_ip32_probe_port()
2103 if (features & PARPORT_IP32_ENABLE_DMA) { in parport_ip32_probe_port()
2114 if (features & PARPORT_IP32_ENABLE_SPP) { in parport_ip32_probe_port()
2120 if (features & PARPORT_IP32_ENABLE_EPP) { in parport_ip32_probe_port()
2129 if (features & PARPORT_IP32_ENABLE_ECP) { in parport_ip32_probe_port()
[all …]
/linux-4.1.27/drivers/net/ethernet/ibm/
Dibmveth.c746 netdev_features_t features) in ibmveth_fix_features() argument
757 if (!(features & NETIF_F_RXCSUM)) in ibmveth_fix_features()
758 features &= ~NETIF_F_ALL_CSUM; in ibmveth_fix_features()
760 return features; in ibmveth_fix_features()
809 dev->features &= ~NETIF_F_IP_CSUM; in ibmveth_set_csum_offload()
827 dev->features &= ~NETIF_F_IPV6_CSUM; in ibmveth_set_csum_offload()
850 netdev_features_t features) in ibmveth_set_features() argument
853 int rx_csum = !!(features & NETIF_F_RXCSUM); in ibmveth_set_features()
861 dev->features = features & ~(NETIF_F_ALL_CSUM | NETIF_F_RXCSUM); in ibmveth_set_features()
1423 netdev->features |= netdev->hw_features; in ibmveth_probe()
[all …]
/linux-4.1.27/drivers/remoteproc/
Dremoteproc_virtio.c231 BUG_ON((u32)vdev->features != vdev->features); in rproc_virtio_finalize_features()
237 rsc->gfeatures = vdev->features; in rproc_virtio_finalize_features()
/linux-4.1.27/Documentation/ptp/
Dptp.txt8 ancillary features of PTP hardware clocks.
20 + Ancillary clock features
50 ancillary clock features. User space can receive time stamped
/linux-4.1.27/drivers/video/fbdev/aty/
Datyfb.h104 u8 features; member
138 u32 features; member
198 #define M64_HAS(feature) ((par)->features & (M64F_##feature))
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp_gen_header.h46 unsigned features; member
/linux-4.1.27/drivers/media/platform/omap3isp/
Disppreview.c904 params->features |= bit; in preview_config()
906 params->features &= ~bit; in preview_config()
932 u32 features; in preview_setup_hw() local
937 features = (prev->params.params[0].features & active) in preview_setup_hw()
938 | (prev->params.params[1].features & ~active); in preview_setup_hw()
950 if (params->features & bit) { in preview_setup_hw()
1077 u32 features; in preview_config_input_size() local
1087 features = (prev->params.params[0].features & active) in preview_config_input_size()
1088 | (prev->params.params[1].features & ~active); in preview_config_input_size()
1090 if (features & (OMAP3ISP_PREV_DEFECT_COR | OMAP3ISP_PREV_NF)) { in preview_config_input_size()
[all …]
/linux-4.1.27/arch/sh/kernel/
Dlocaltimer.c52 clk->features = CLOCK_EVT_FEAT_ONESHOT | in local_timer_setup()
/linux-4.1.27/drivers/staging/rtl8712/
DTODO2 - merge Realtek's bugfixes and new features into the driver
/linux-4.1.27/Documentation/input/
Dff.txt54 unsigned long features[BITS_TO_LONGS(FF_CNT)];
55 int ioctl(int file_descriptor, int request, unsigned long *features);
57 "request" must be EVIOCGBIT(EV_FF, size of features array in bytes )
59 Returns the features supported by the device. features is a bitfield with the
/linux-4.1.27/net/sunrpc/
Dsunrpc.h53 (dst->dev->features & NETIF_F_LOOPBACK)) in sock_is_loopback()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1015 netdev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; in fm10k_restore_rx_state()
1017 netdev->features |= NETIF_F_HW_VLAN_CTAG_RX; in fm10k_restore_rx_state()
1355 netdev_features_t features) in fm10k_features_check() argument
1358 return features; in fm10k_features_check()
1360 return features & ~(NETIF_F_ALL_CSUM | NETIF_F_GSO_MASK); in fm10k_features_check()
1411 dev->features |= NETIF_F_IP_CSUM | in fm10k_alloc_netdev()
1422 dev->hw_features |= dev->features; in fm10k_alloc_netdev()
1428 dev->vlan_features |= dev->features; in fm10k_alloc_netdev()
1442 dev->features |= NETIF_F_HW_VLAN_CTAG_TX | in fm10k_alloc_netdev()
/linux-4.1.27/include/linux/platform_data/
Dhsmmc-omap.h71 unsigned features; member
/linux-4.1.27/drivers/hwtracing/coresight/
DKconfig31 special enhancement or added features.
50 special enhancement or added features.
/linux-4.1.27/drivers/misc/mic/host/
Dmic_debugfs.c200 __u32 *features; in mic_dp_show() local
245 features = (__u32 *)mic_vq_features(d); in mic_dp_show()
246 seq_printf(s, "Features: Host 0x%x ", features[0]); in mic_dp_show()
247 seq_printf(s, "Guest 0x%x\n", features[1]); in mic_dp_show()
/linux-4.1.27/arch/arm64/kvm/
Dreset.c89 if (test_bit(KVM_ARM_VCPU_EL1_32BIT, vcpu->arch.features)) { in kvm_reset_vcpu()
/linux-4.1.27/drivers/isdn/hisax/
Dst5481_b.c221 u32 features = HDLC_BITREVERSE; in st5481B_mode() local
223 features |= HDLC_56KBIT; in st5481B_mode()
224 isdnhdlc_out_init(&b_out->hdlc_state, features); in st5481B_mode()
/linux-4.1.27/Documentation/filesystems/cifs/
DTODO8 is a partial list of the known problems and missing features:
10 a) SMB3 (and SMB3.02) missing optional features:
66 q) Add tools to take advantage of cifs/smb3 specific ioctls and features
/linux-4.1.27/arch/arm/mach-omap2/
Dhsmmc.c292 mmc->features |= HSMMC_HAS_PBIAS; in omap_hsmmc_pdata_init()
296 if (mmc->features & HSMMC_HAS_PBIAS) { in omap_hsmmc_pdata_init()
325 if (mmc->features & HSMMC_HAS_PBIAS) { in omap_hsmmc_pdata_init()
/linux-4.1.27/tools/lguest/
Dlguest.txt8 minimum of complexity. Nonetheless, it should have sufficient features to
19 Developer features:
32 "Processor type and features":

123456