Home
last modified time | relevance | path

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

1234567

/linux-4.4.14/drivers/hid/
Dwacom_sys.c117 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_feature_mapping() local
125 if (!features->touch_max) { in wacom_feature_mapping()
134 features->touch_max = data[1]; in wacom_feature_mapping()
136 features->touch_max = 16; in wacom_feature_mapping()
140 features->touch_max); in wacom_feature_mapping()
194 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_usage_mapping() local
204 features->device_type |= WACOM_DEVICETYPE_PEN; in wacom_usage_mapping()
206 features->device_type |= WACOM_DEVICETYPE_TOUCH; in wacom_usage_mapping()
214 if (features->type > BAMBOO_PT) { in wacom_usage_mapping()
216 if (finger && !features->touch_max) in wacom_usage_mapping()
[all …]
Dwacom_wac.c115 struct wacom_features *features = &wacom->features; in wacom_pl_irq() local
152 if (features->pressure_max > 255) in wacom_pl_irq()
154 pressure += (features->pressure_max + 1) / 2; in wacom_pl_irq()
284 struct wacom_features *features = &wacom->features; in wacom_graphire_irq() local
293 if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq()
334 if (features->type == GRAPHIRE_BT) in wacom_graphire_irq()
346 if (features->type == WACOM_G4 || in wacom_graphire_irq()
347 features->type == WACOM_MO) { in wacom_graphire_irq()
350 } else if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq()
379 switch (features->type) { in wacom_graphire_irq()
[all …]
/linux-4.4.14/arch/arm/mach-omap2/
Dclock.c181 struct ti_clk_features features = { 0 }; in ti_clk_init_features() local
184 features.fint_min = OMAP3430_DPLL_FINT_BAND1_MIN; in ti_clk_init_features()
185 features.fint_max = OMAP3430_DPLL_FINT_BAND2_MAX; in ti_clk_init_features()
186 features.fint_band1_max = OMAP3430_DPLL_FINT_BAND1_MAX; in ti_clk_init_features()
187 features.fint_band2_min = OMAP3430_DPLL_FINT_BAND2_MIN; in ti_clk_init_features()
189 features.fint_min = OMAP3PLUS_DPLL_FINT_MIN; in ti_clk_init_features()
190 features.fint_max = OMAP3PLUS_DPLL_FINT_MAX; in ti_clk_init_features()
195 features.dpll_bypass_vals |= in ti_clk_init_features()
199 features.dpll_bypass_vals |= in ti_clk_init_features()
204 features.dpll_bypass_vals |= in ti_clk_init_features()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/arch/arm64/include/asm/
Dcpufeature.h120 cpuid_feature_extract_field_width(u64 features, int field, int width) in cpuid_feature_extract_field_width() argument
122 return (s64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_field_width()
126 cpuid_feature_extract_field(u64 features, int field) in cpuid_feature_extract_field() argument
128 return cpuid_feature_extract_field_width(features, field, 4); in cpuid_feature_extract_field()
132 cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) in cpuid_feature_extract_unsigned_field_width() argument
134 return (u64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_unsigned_field_width()
138 cpuid_feature_extract_unsigned_field(u64 features, int field) in cpuid_feature_extract_unsigned_field() argument
140 return cpuid_feature_extract_unsigned_field_width(features, field, 4); in cpuid_feature_extract_unsigned_field()
/linux-4.4.14/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
809 features); in add_children()
815 features); in add_children()
821 features); in add_children()
870 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.4.14/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.4.14/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.4.14/drivers/media/rc/
Dir-lirc-codec.c341 unsigned long features; in ir_lirc_register() local
355 features = LIRC_CAN_REC_MODE2; in ir_lirc_register()
357 features |= LIRC_CAN_SEND_PULSE; in ir_lirc_register()
359 features |= LIRC_CAN_SET_TRANSMITTER_MASK; in ir_lirc_register()
361 features |= LIRC_CAN_SET_SEND_CARRIER; in ir_lirc_register()
363 features |= LIRC_CAN_SET_SEND_DUTY_CYCLE; in ir_lirc_register()
367 features |= LIRC_CAN_SET_REC_CARRIER | in ir_lirc_register()
371 features |= LIRC_CAN_USE_WIDEBAND_RECEIVER; in ir_lirc_register()
374 features |= LIRC_CAN_MEASURE_CARRIER; in ir_lirc_register()
377 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.4.14/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.4.14/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.4.14/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()
281 if (copy_from_user(&features, featurep, sizeof features)) in vhost_test_ioctl()
284 if (features & ~VHOST_FEATURES) in vhost_test_ioctl()
287 return vhost_test_set_features(n, features); in vhost_test_ioctl()
Dnet.c995 static int vhost_net_set_features(struct vhost_net *n, u64 features) in vhost_net_set_features() argument
1000 hdr_len = (features & ((1ULL << VIRTIO_NET_F_MRG_RXBUF) | in vhost_net_set_features()
1004 if (features & (1 << VHOST_NET_F_VIRTIO_NET_HDR)) { in vhost_net_set_features()
1014 if ((features & (1 << VHOST_F_LOG_ALL)) && in vhost_net_set_features()
1021 n->vqs[i].vq.acked_features = features; in vhost_net_set_features()
1058 u64 features; in vhost_net_ioctl() local
1067 features = VHOST_NET_FEATURES; in vhost_net_ioctl()
1068 if (copy_to_user(featurep, &features, sizeof features)) in vhost_net_ioctl()
1072 if (copy_from_user(&features, featurep, sizeof features)) in vhost_net_ioctl()
1074 if (features & ~VHOST_NET_FEATURES) in vhost_net_ioctl()
[all …]
/linux-4.4.14/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.4.14/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()
2406 dev->phy.features = SUPPORTED_MII; in emac_init_phy()
2408 dev->phy.features |= SUPPORTED_1000baseT_Full; in emac_init_phy()
2410 dev->phy.features |= SUPPORTED_100baseT_Full; in emac_init_phy()
2488 dev->phy.def->features &= ~dev->phy_feat_exc; in emac_init_phy()
2489 dev->phy.features &= ~dev->phy_feat_exc; in emac_init_phy()
2492 if (dev->phy.features & SUPPORTED_Autoneg) { in emac_init_phy()
2493 adv = dev->phy.features; in emac_init_phy()
[all …]
/linux-4.4.14/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.4.14/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.4.14/arch/sparc/kernel/
Dtime_32.c126 ce->features = CLOCK_EVT_FEAT_PERIODIC; in setup_timer_ce()
214 unsigned int features = CLOCK_EVT_FEAT_PERIODIC; in register_percpu_ce() local
216 if (sparc_config.features & FEAT_L14_ONESHOT) in register_percpu_ce()
217 features |= CLOCK_EVT_FEAT_ONESHOT; in register_percpu_ce()
221 ce->features = features; in register_percpu_ce()
328 if (sparc_config.features & FEAT_L10_CLOCKEVENT) in sparc32_late_time_init()
330 if (sparc_config.features & FEAT_L10_CLOCKSOURCE) in sparc32_late_time_init()
345 sparc_config.features = 0; in time_init()
Dsun4m_irq.c389 sparc_config.features |= FEAT_L14_ONESHOT; in sun4m_init_timers()
392 sparc_config.features |= FEAT_L10_CLOCKEVENT; in sun4m_init_timers()
394 sparc_config.features |= FEAT_L10_CLOCKSOURCE; in sun4m_init_timers()
/linux-4.4.14/kernel/time/
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()
228 if (bc && !(bc->features & CLOCK_EVT_FEAT_HRTIMER)) in tick_device_uses_broadcast()
284 local = !(bc->features & CLOCK_EVT_FEAT_HRTIMER); in tick_do_broadcast()
367 if (!dev || !(dev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_broadcast_control()
392 if (bc && !(bc->features & CLOCK_EVT_FEAT_HRTIMER) && in tick_broadcast_control()
[all …]
Dtick-common.c69 if (!dev || !(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_is_oneshot_available()
71 if (!(dev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_is_oneshot_available()
152 if ((dev->features & CLOCK_EVT_FEAT_PERIODIC) && in tick_setup_periodic()
243 if (newdev->features & CLOCK_EVT_FEAT_ONESHOT) in tick_install_replacement()
267 if (!(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) { in tick_check_preferred()
268 if (curdev && (curdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_preferred()
332 if (newdev->features & CLOCK_EVT_FEAT_ONESHOT) in tick_check_new_device()
358 if (!(td->evtdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_broadcast_oneshot_control()
Dclockevents.c100 if (dev->features & CLOCK_EVT_FEAT_DUMMY) in __clockevents_switch_state()
115 if (!(dev->features & CLOCK_EVT_FEAT_PERIODIC)) in __clockevents_switch_state()
123 if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in __clockevents_switch_state()
328 if (dev->features & CLOCK_EVT_FEAT_KTIME) in clockevents_program_event()
475 if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in clockevents_config()
/linux-4.4.14/fs/btrfs/
Dsysfs.c51 enum btrfs_feature_set set, u64 features) in set_features() argument
55 btrfs_set_super_compat_flags(disk_super, features); in set_features()
57 btrfs_set_super_compat_ro_flags(disk_super, features); in set_features()
59 btrfs_set_super_incompat_flags(disk_super, features); in set_features()
100 u64 features = get_features(fs_info, fa->feature_set); in btrfs_feature_attr_show() local
101 if (features & fa->feature_bit) in btrfs_feature_attr_show()
115 u64 features, set, clear; in btrfs_feature_attr_store() local
138 features = get_features(fs_info, fa->feature_set); in btrfs_feature_attr_store()
141 if ((val && (features & fa->feature_bit)) || in btrfs_feature_attr_store()
142 (!val && !(features & fa->feature_bit))) in btrfs_feature_attr_store()
[all …]
/linux-4.4.14/drivers/net/phy/
Dvitesse.c232 .features = PHY_GBIT_FEATURES,
244 .features = PHY_GBIT_FEATURES,
256 .features = PHY_GBIT_FEATURES,
268 .features = PHY_GBIT_FEATURES,
280 .features = PHY_GBIT_FEATURES,
292 .features = PHY_GBIT_FEATURES,
305 .features = PHY_GBIT_FEATURES,
318 .features = PHY_GBIT_FEATURES,
Dbroadcom.c455 .features = PHY_GBIT_FEATURES |
468 .features = PHY_GBIT_FEATURES |
481 .features = PHY_GBIT_FEATURES |
494 .features = PHY_GBIT_FEATURES |
507 .features = PHY_GBIT_FEATURES |
520 .features = PHY_GBIT_FEATURES |
533 .features = PHY_GBIT_FEATURES |
546 .features = PHY_GBIT_FEATURES |
559 .features = PHY_GBIT_FEATURES |
572 .features = PHY_GBIT_FEATURES |
[all …]
Drealtek.c123 .features = PHY_BASIC_FEATURES,
132 .features = PHY_GBIT_FEATURES,
143 .features = PHY_GBIT_FEATURES,
156 .features = PHY_GBIT_FEATURES,
169 .features = PHY_GBIT_FEATURES,
Dsmsc.c158 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
181 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
204 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
227 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
249 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
Ddavicom.c152 .features = PHY_BASIC_FEATURES,
164 .features = PHY_BASIC_FEATURES,
176 .features = PHY_BASIC_FEATURES,
188 .features = PHY_BASIC_FEATURES,
Daquantia.c124 .features = PHY_AQUANTIA_FEATURES,
137 .features = PHY_AQUANTIA_FEATURES,
150 .features = PHY_AQUANTIA_FEATURES,
163 .features = PHY_AQUANTIA_FEATURES,
Dmicrel.c637 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
652 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause |
669 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause |
686 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
703 .features = PHY_BASIC_FEATURES |
720 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause
737 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
753 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
769 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
783 .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause),
[all …]
Dlxt.c274 .features = PHY_BASIC_FEATURES,
286 .features = PHY_BASIC_FEATURES,
297 .features = PHY_BASIC_FEATURES,
307 .features = PHY_BASIC_FEATURES,
Dbcm7xxx.c320 .features = PHY_GBIT_FEATURES | \
341 .features = PHY_GBIT_FEATURES |
354 .features = PHY_GBIT_FEATURES |
367 .features = PHY_GBIT_FEATURES |
380 .features = PHY_BASIC_FEATURES |
Dphy_device.c1170 u32 features; in genphy_config_init() local
1172 features = (SUPPORTED_TP | SUPPORTED_MII in genphy_config_init()
1182 features |= SUPPORTED_Autoneg; in genphy_config_init()
1185 features |= SUPPORTED_100baseT_Full; in genphy_config_init()
1187 features |= SUPPORTED_100baseT_Half; in genphy_config_init()
1189 features |= SUPPORTED_10baseT_Full; in genphy_config_init()
1191 features |= SUPPORTED_10baseT_Half; in genphy_config_init()
1199 features |= SUPPORTED_1000baseT_Full; in genphy_config_init()
1201 features |= SUPPORTED_1000baseT_Half; in genphy_config_init()
1204 phydev->supported &= features; in genphy_config_init()
[all …]
Dmarvell.c994 .features = PHY_GBIT_FEATURES,
1008 .features = PHY_GBIT_FEATURES,
1023 .features = PHY_GBIT_FEATURES,
1038 .features = PHY_GBIT_FEATURES,
1053 .features = PHY_GBIT_FEATURES,
1068 .features = PHY_GBIT_FEATURES,
1085 .features = PHY_GBIT_FEATURES,
1100 .features = PHY_GBIT_FEATURES,
1115 .features = PHY_GBIT_FEATURES,
1130 .features = PHY_GBIT_FEATURES,
[all …]
Dbcm63xx.c52 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
65 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
Dcicada.c110 .features = PHY_GBIT_FEATURES,
122 .features = PHY_GBIT_FEATURES,
Dicplus.c218 .features = PHY_BASIC_FEATURES,
229 .features = PHY_GBIT_FEATURES | SUPPORTED_Pause |
241 .features = PHY_BASIC_FEATURES | SUPPORTED_Pause |
Dste10Xp.c89 .features = PHY_BASIC_FEATURES | SUPPORTED_Pause,
103 .features = PHY_BASIC_FEATURES | SUPPORTED_Pause,
Dphy.c255 static inline unsigned int phy_find_valid(unsigned int idx, u32 features) in phy_find_valid() argument
257 while (idx < MAX_NUM_SETTINGS && !(settings[idx].setting & features)) in phy_find_valid()
272 static inline bool phy_check_valid(int speed, int duplex, u32 features) in phy_check_valid() argument
276 idx = phy_find_valid(phy_find_setting(speed, duplex), features); in phy_check_valid()
279 (settings[idx].setting & features); in phy_check_valid()
292 u32 features = phydev->supported; in phy_sanitize_settings() local
296 if ((features & SUPPORTED_Autoneg) == 0) in phy_sanitize_settings()
300 features); in phy_sanitize_settings()
Dat803x.c307 .features = PHY_GBIT_FEATURES,
328 .features = PHY_GBIT_FEATURES,
349 .features = PHY_GBIT_FEATURES,
/linux-4.4.14/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.4.14/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.4.14/drivers/s390/virtio/
Dvirtio_ccw.c90 __u32 features; member
726 struct virtio_feature_desc *features; in virtio_ccw_get_features() local
735 features = kzalloc(sizeof(*features), GFP_DMA | GFP_KERNEL); in virtio_ccw_get_features()
736 if (!features) { in virtio_ccw_get_features()
741 features->index = 0; in virtio_ccw_get_features()
744 ccw->count = sizeof(*features); in virtio_ccw_get_features()
745 ccw->cda = (__u32)(unsigned long)features; in virtio_ccw_get_features()
752 rc = le32_to_cpu(features->features); in virtio_ccw_get_features()
758 features->index = 1; in virtio_ccw_get_features()
761 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.4.14/drivers/i2c/busses/
Di2c-i801.c228 unsigned int features; member
408 if (priv->features & FEATURE_IRQ) { in i801_transaction()
582 if (priv->features & FEATURE_IRQ) { in i801_block_transaction_byte_by_byte()
672 } else if (!(priv->features & FEATURE_I2C_BLOCK_READ)) { in i801_block_transaction()
692 if ((priv->features & FEATURE_BLOCK_BUFFER) in i801_block_transaction()
720 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access()
826 ((priv->features & FEATURE_SMBUS_PEC) ? I2C_FUNC_SMBUS_PEC : 0) | in i801_func()
827 ((priv->features & FEATURE_I2C_BLOCK_READ) ? in i801_func()
983 if (priv->features & FEATURE_IDF) in i801_probe_optional_slaves()
1180 if (!(priv->features & FEATURE_TCO)) in i801_add_tco()
[all …]
/linux-4.4.14/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.4.14/drivers/net/
Ddummy.c150 dev->features |= NETIF_F_SG | NETIF_F_FRAGLIST; in dummy_setup()
151 dev->features |= NETIF_F_ALL_TSO | NETIF_F_UFO; in dummy_setup()
152 dev->features |= NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_LLTX; in dummy_setup()
153 dev->features |= NETIF_F_GSO_ENCAP_ALL; in dummy_setup()
154 dev->hw_features |= dev->features; in dummy_setup()
155 dev->hw_enc_features |= dev->features; in dummy_setup()
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.c344 netdev_features_t features = TAP_FEATURES; in macvtap_handle_frame() local
364 features |= vlan->tap_features; in macvtap_handle_frame()
365 if (netif_needs_gso(skb, features)) { in macvtap_handle_frame()
366 struct sk_buff *segs = __skb_gso_segment(skb, features, false); in macvtap_handle_frame()
391 !(features & NETIF_F_ALL_CSUM) && in macvtap_handle_frame()
551 if ((dev->features & NETIF_F_HIGHDMA) && (dev->features & NETIF_F_SG)) in macvtap_open()
1008 netdev_features_t features; in set_offload() local
1015 features = vlan->dev->features; in set_offload()
1042 features |= RX_OFFLOADS; in set_offload()
1044 features &= ~RX_OFFLOADS; in set_offload()
[all …]
Dmacvlan.c577 if (lowerdev->features & NETIF_F_HW_L2FW_DOFFLOAD && in macvlan_open()
801 dev->features = lowerdev->features & MACVLAN_FEATURES; in macvlan_init()
802 dev->features |= ALWAYS_ON_FEATURES; in macvlan_init()
952 netdev_features_t features) in macvlan_fix_features() argument
955 netdev_features_t lowerdev_features = vlan->lowerdev->features; in macvlan_fix_features()
958 features |= NETIF_F_ALL_FOR_ALL; in macvlan_fix_features()
959 features &= (vlan->set_features | ~MACVLAN_FEATURES); in macvlan_fix_features()
960 mask = features; in macvlan_fix_features()
962 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
963 features = netdev_increment_features(lowerdev_features, features, mask); in macvlan_fix_features()
[all …]
Dxen-netfront.c226 return dev->features & NETIF_F_SG; in xennet_can_sg()
647 gso->u.gso.features = 0; in xennet_start_xmit()
1163 netdev_features_t features) in xennet_fix_features() argument
1168 if (features & NETIF_F_SG) { in xennet_fix_features()
1174 features &= ~NETIF_F_SG; in xennet_fix_features()
1177 if (features & NETIF_F_IPV6_CSUM) { in xennet_fix_features()
1183 features &= ~NETIF_F_IPV6_CSUM; in xennet_fix_features()
1186 if (features & NETIF_F_TSO) { in xennet_fix_features()
1192 features &= ~NETIF_F_TSO; in xennet_fix_features()
1195 if (features & NETIF_F_TSO6) { in xennet_fix_features()
[all …]
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_serial.c93 int features; member
131 .features = (LIRC_CAN_SET_SEND_DUTY_CYCLE |
135 .features = LIRC_CAN_REC_MODE2
147 .features = (LIRC_CAN_SET_SEND_DUTY_CYCLE |
159 .features = (LIRC_CAN_SET_SEND_DUTY_CYCLE |
171 .features = LIRC_CAN_REC_MODE2
183 .features = (LIRC_CAN_SET_SEND_DUTY_CYCLE |
187 .features = LIRC_CAN_REC_MODE2
829 if (!(hardware[type].features & LIRC_CAN_SEND_PULSE)) in lirc_write()
863 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.4.14/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.4.14/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.c2177 if (mlx4_en_reset_config(dev, config, dev->features)) { in mlx4_en_hwtstamp_set()
2207 netdev_features_t features) in mlx4_en_fix_features() argument
2216 if (features & NETIF_F_HW_VLAN_CTAG_RX && in mlx4_en_fix_features()
2218 features |= NETIF_F_HW_VLAN_STAG_RX; in mlx4_en_fix_features()
2220 features &= ~NETIF_F_HW_VLAN_STAG_RX; in mlx4_en_fix_features()
2222 return features; in mlx4_en_fix_features()
2226 netdev_features_t features) in mlx4_en_set_features() argument
2232 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXFCS)) { in mlx4_en_set_features()
2234 (features & NETIF_F_RXFCS) ? "ON" : "OFF"); in mlx4_en_set_features()
2238 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXALL)) { 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()
133 int loopback = !!(features & NETIF_F_LOOPBACK); in mlx4_en_update_loopback_state()
Den_resources.c77 if (!(dev->features & NETIF_F_LOOPBACK)) in mlx4_en_fill_qp_context()
82 if (!(dev->features & NETIF_F_HW_VLAN_CTAG_RX)) in mlx4_en_fill_qp_context()
Den_rx.c844 if (likely(dev->features & NETIF_F_RXCSUM)) { in mlx4_en_process_rx_cq()
879 (dev->features & NETIF_F_GRO)) { in mlx4_en_process_rx_cq()
893 dev->features)) { in mlx4_en_process_rx_cq()
910 (dev->features & NETIF_F_HW_VLAN_CTAG_RX)) { in mlx4_en_process_rx_cq()
916 (dev->features & NETIF_F_HW_VLAN_STAG_RX)) { in mlx4_en_process_rx_cq()
922 if (dev->features & NETIF_F_RXHASH) in mlx4_en_process_rx_cq()
956 if (check_csum(cqe, skb, skb->data, dev->features)) { in mlx4_en_process_rx_cq()
970 if (dev->features & NETIF_F_RXHASH) in mlx4_en_process_rx_cq()
979 (dev->features & NETIF_F_HW_VLAN_CTAG_RX)) in mlx4_en_process_rx_cq()
983 (dev->features & NETIF_F_HW_VLAN_STAG_RX)) in mlx4_en_process_rx_cq()
[all …]
/linux-4.4.14/net/core/
Ddev.c1498 if (unlikely(dev->features & NETIF_F_LRO)) in dev_disable_lro()
2419 name, dev ? &dev->features : &null_features, in skb_warn_bad_offload()
2497 netdev_features_t features) in skb_mac_gso_segment() argument
2512 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment()
2549 netdev_features_t features, bool tx_path) in __skb_gso_segment() argument
2570 return skb_mac_gso_segment(skb, features); in __skb_gso_segment()
2595 if (!(dev->features & NETIF_F_HIGHDMA)) { in illegal_highdma()
2624 netdev_features_t features, in net_mpls_features() argument
2628 features &= skb->dev->mpls_features; in net_mpls_features()
2630 return features; in net_mpls_features()
[all …]
Dethtool.c122 struct ethtool_get_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_get_features() local
131 features[i].available = (u32)(dev->hw_features >> (32 * i)); in ethtool_get_features()
132 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()
133 features[i].active = (u32)(dev->features >> (32 * i)); in ethtool_get_features()
134 features[i].never_changed = in ethtool_get_features()
148 if (copy_to_user(useraddr, features, copy_size * sizeof(*features))) in ethtool_get_features()
157 struct ethtool_set_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_set_features() local
168 if (copy_from_user(features, useraddr, sizeof(features))) in ethtool_set_features()
172 valid |= (netdev_features_t)features[i].valid << (32 * i); in ethtool_set_features()
173 wanted |= (netdev_features_t)features[i].requested << (32 * i); in ethtool_set_features()
[all …]
/linux-4.4.14/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.4.14/include/net/
Dvxlan.h212 netdev_features_t features) in vxlan_features_check() argument
217 return features; in vxlan_features_check()
227 return features;; in vxlan_features_check()
235 return features & ~(NETIF_F_ALL_CSUM | NETIF_F_GSO_MASK); in vxlan_features_check()
237 return features; in vxlan_features_check()
/linux-4.4.14/net/bridge/
Dbr_if.c416 netdev_features_t features) in br_features_recompute() argument
422 return features; in br_features_recompute()
424 mask = features; in br_features_recompute()
425 features &= ~NETIF_F_ONE_FOR_ALL; in br_features_recompute()
428 features = netdev_increment_features(features, in br_features_recompute()
429 p->dev->features, mask); in br_features_recompute()
431 features = netdev_add_tso_features(features, mask); in br_features_recompute()
433 return features; in br_features_recompute()
/linux-4.4.14/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.h99 __le64 features; /* supported feature bits */ member
111 __le64 features; /* feature bits for this session */ member
/linux-4.4.14/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.4.14/arch/x86/kernel/cpu/
Dmshyperv.c160 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
165 ms_hyperv.features, ms_hyperv.hints); in ms_hyperv_init_platform()
168 if (ms_hyperv.features & HV_X64_MSR_APIC_FREQUENCY_AVAILABLE) { in ms_hyperv_init_platform()
182 if (ms_hyperv.features & HV_X64_MSR_TIME_REF_COUNT_AVAILABLE) in ms_hyperv_init_platform()
/linux-4.4.14/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.4.14/include/net/bluetooth/
Dhci_core.h216 __u8 features[HCI_MAX_PAGES][8]; member
429 __u8 features[HCI_MAX_PAGES][8]; member
1103 #define lmp_encrypt_capable(dev) ((dev)->features[0][0] & LMP_ENCRYPT)
1104 #define lmp_rswitch_capable(dev) ((dev)->features[0][0] & LMP_RSWITCH)
1105 #define lmp_hold_capable(dev) ((dev)->features[0][0] & LMP_HOLD)
1106 #define lmp_sniff_capable(dev) ((dev)->features[0][0] & LMP_SNIFF)
1107 #define lmp_park_capable(dev) ((dev)->features[0][1] & LMP_PARK)
1108 #define lmp_inq_rssi_capable(dev) ((dev)->features[0][3] & LMP_RSSI_INQ)
1109 #define lmp_esco_capable(dev) ((dev)->features[0][3] & LMP_ESCO)
1110 #define lmp_bredr_capable(dev) (!((dev)->features[0][4] & LMP_NO_BREDR))
[all …]
/linux-4.4.14/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.h32 int pci_enable_pasid(struct pci_dev *pdev, int features);
39 static inline int pci_enable_pasid(struct pci_dev *pdev, int features) in pci_enable_pasid() argument
Dnetdevice.h1173 netdev_features_t features);
1175 netdev_features_t features);
1231 netdev_features_t features);
1578 netdev_features_t features; member
2033 netdev_features_t features);
3346 if ((dev->features & NETIF_F_LLTX) == 0) { \
3352 (((dev->features & NETIF_F_LLTX) == 0) ? \
3357 if ((dev->features & NETIF_F_LLTX) == 0) { \
3635 netdev_features_t features, bool tx_path);
3637 netdev_features_t features);
[all …]
Ddevice-mapper.h142 uint64_t features; member
178 #define dm_target_needs_singleton(type) ((type)->features & DM_TARGET_SINGLETON)
185 ((type)->features & DM_TARGET_ALWAYS_WRITEABLE)
192 #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.4.14/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.4.14/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.4.14/net/openvswitch/
Dvport-internal_dev.c167 netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | in do_setup()
171 netdev->vlan_features = netdev->features; in do_setup()
172 netdev->hw_enc_features = netdev->features; in do_setup()
173 netdev->features |= NETIF_F_HW_VLAN_CTAG_TX; in do_setup()
174 netdev->hw_features = netdev->features & ~NETIF_F_LLTX; in do_setup()
209 vport->dev->features |= NETIF_F_NETNS_LOCAL; in internal_dev_create()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/Documentation/kbuild/
DKconfig.recursion-issue-0210 # of the recursive limitation is that drivers cannot negate features from other
15 # annotate this, all features that driver A selects cannot now be negated by
19 # core requirements are not carefully synced, as drivers evolve features
24 # describes a simple driver core layout of example features a kernel might
43 # problem consisted on matching semantics with newly introduced features.
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_drv.c75 static unsigned int features[] = { variable
86 .feature_table = features,
87 .feature_table_size = ARRAY_SIZE(features),
/linux-4.4.14/arch/ia64/kernel/
Dsetup.c640 char features[128], *cp, *sep; in show_cpuinfo() local
646 mask = c->features; in show_cpuinfo()
649 memcpy(features, "standard", 9); in show_cpuinfo()
650 cp = features; in show_cpuinfo()
651 size = sizeof(features); in show_cpuinfo()
659 size = sizeof(features) - (cp - features); in show_cpuinfo()
688 features, c->ppn, c->number, in show_cpuinfo()
791 u64 features; in identify_cpu() member
823 c->features = cpuid.field.features; in identify_cpu()
/linux-4.4.14/drivers/hwmon/
Dit87.c254 u16 features; member
277 .features = FEAT_OLD_AUTOPWM, /* may need to overwrite */
282 .features = FEAT_OLD_AUTOPWM | FEAT_VID,
288 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID
294 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID
301 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID
308 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS
317 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS
325 .features = FEAT_NEWER_AUTOPWM | FEAT_16BIT_FANS
334 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-iommu-amd-iommu9 What: /sys/class/iommu/<iommu>/amd-iommu/features
14 Extended features of the IOMMU. Format: %llx
Dsysfs-hypervisor-pmu21 Describes Xen PMU features (as an integer). A set bit indicates
23 include/xen/interface/xenpmu.h for available features
/linux-4.4.14/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.4.14/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.4.14/drivers/pci/
Dats.c237 int pci_enable_pasid(struct pci_dev *pdev, int features) in pci_enable_pasid() argument
255 if ((supported & features) != features) in pci_enable_pasid()
258 control = PCI_PASID_CTRL_ENABLE | features; in pci_enable_pasid()
/linux-4.4.14/drivers/ras/
DKconfig2 bool "Reliability, Availability and Serviceability (RAS) features"
6 of RAS have a multitude of features that protect data integrity
12 enhanced by features that help to avoid, detect and repair hardware
/linux-4.4.14/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 |
Domap3-thermal-data.c80 .features = TI_BANDGAP_FEATURE_CLK_CTRL | TI_BANDGAP_FEATURE_UNRELIABLE,
153 .features = TI_BANDGAP_FEATURE_CLK_CTRL | TI_BANDGAP_FEATURE_UNRELIABLE,
Dti-bandgap.h344 ((b)->conf->features & TI_BANDGAP_FEATURE_ ## f)
367 unsigned int features; member
/linux-4.4.14/drivers/iommu/
Darm-smmu-v3.c574 u32 features; member
892 bool wfe = !!(smmu->features & ARM_SMMU_FEAT_SEV); in arm_smmu_cmdq_issue_cmd()
1511 if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S1)) in arm_smmu_domain_finalise()
1513 if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S2)) in arm_smmu_domain_finalise()
1575 if (smmu->features & ARM_SMMU_FEAT_2_LVL_STRTAB) { in arm_smmu_get_step_for_sid()
1778 if (smmu->features & ARM_SMMU_FEAT_2_LVL_STRTAB) in arm_smmu_sid_in_range()
1839 if (smmu->features & ARM_SMMU_FEAT_2_LVL_STRTAB) { in arm_smmu_add_device()
1973 if (smmu->features & ARM_SMMU_FEAT_PRI) in arm_smmu_free_queues()
1995 if (!(smmu->features & ARM_SMMU_FEAT_PRI)) in arm_smmu_init_queues()
2141 if (smmu->features & ARM_SMMU_FEAT_2_LVL_STRTAB) in arm_smmu_init_strtab()
[all …]
Darm-smmu.c300 u32 features; member
491 if (!(smmu->features & ARM_SMMU_FEAT_STREAM_MATCH) && in register_smmu_master()
829 if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S1)) in arm_smmu_init_domain_context()
831 if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S2)) in arm_smmu_init_domain_context()
994 if (!(smmu->features & ARM_SMMU_FEAT_STREAM_MATCH)) in arm_smmu_master_configure_smrs()
1094 if ((smmu->features & ARM_SMMU_FEAT_STREAM_MATCH) && !cfg->smrs) in arm_smmu_domain_remove_master()
1257 if (smmu_domain->smmu->features & ARM_SMMU_FEAT_TRANS_OPS && in arm_smmu_iova_to_phys()
1546 smmu->features |= ARM_SMMU_FEAT_TRANS_S1; in arm_smmu_device_cfg_probe()
1551 smmu->features |= ARM_SMMU_FEAT_TRANS_S2; in arm_smmu_device_cfg_probe()
1556 smmu->features |= ARM_SMMU_FEAT_TRANS_NESTED; in arm_smmu_device_cfg_probe()
[all …]
/linux-4.4.14/scripts/
Dcheckkconfigsymbols.py274 features = REGEX_SOURCE_FEATURE.findall(line)
275 for feature in features:
311 features = get_features_in_line(line)
317 features.extend(get_features_in_line(line))
318 for feature in set(features):
/linux-4.4.14/arch/arm/kernel/
Dbios32.c292 u16 features = PCI_COMMAND_SERR | PCI_COMMAND_PARITY | PCI_COMMAND_FAST_BACK; in pcibios_fixup_bus() local
310 features &= ~PCI_COMMAND_FAST_BACK; in pcibios_fixup_bus()
313 features &= ~(PCI_COMMAND_SERR | PCI_COMMAND_PARITY); in pcibios_fixup_bus()
338 cmd |= features; in pcibios_fixup_bus()
349 if (features & PCI_COMMAND_FAST_BACK) in pcibios_fixup_bus()
351 if (features & PCI_COMMAND_PARITY) in pcibios_fixup_bus()
359 bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis"); in pcibios_fixup_bus()
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_drv.h61 unsigned int features; member
104 return rcdu->info->features & feature; in rcar_du_has()
Drcar_du_drv.c39 .features = 0,
60 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
89 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
111 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
/linux-4.4.14/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()
444 pdata->features |= VSP1_HAS_LIF; in vsp1_parse_dt()
446 pdata->features |= VSP1_HAS_LUT; in vsp1_parse_dt()
448 pdata->features |= VSP1_HAS_SRU; in vsp1_parse_dt()
/linux-4.4.14/arch/powerpc/sysdev/
Dfsl_msi.c406 const struct fsl_msi_feature *features; in fsl_of_msi_probe() local
414 features = match->data; in fsl_of_msi_probe()
438 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) { in fsl_of_msi_probe()
454 features->msiir_offset + (res.start & 0xfffff); in fsl_of_msi_probe()
461 msi->msiir_offset = features->msiir_offset + in fsl_of_msi_probe()
467 msi->feature = features->fsl_pic_ip; in fsl_of_msi_probe()
470 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) == FSL_PIC_IP_MPIC in fsl_of_msi_probe()
/linux-4.4.14/net/bluetooth/
DKconfig44 bool "Bluetooth Classic (BR/EDR) features"
57 bool "Bluetooth High Speed (HS) features"
62 bool "Bluetooth Low Energy (LE) features"
97 legacy SMP as well as the Secure Connections features.
Dhci_event.c500 hdev->features[1][0] |= LMP_HOST_SSP; in hci_cc_write_ssp_mode()
502 hdev->features[1][0] &= ~LMP_HOST_SSP; in hci_cc_write_ssp_mode()
532 hdev->features[1][0] |= LMP_HOST_SC; in hci_cc_write_sc_support()
534 hdev->features[1][0] &= ~LMP_HOST_SC; in hci_cc_write_sc_support()
591 memcpy(hdev->features, rp->features, 8); in hci_cc_read_local_features()
596 if (hdev->features[0][0] & LMP_3SLOT) in hci_cc_read_local_features()
599 if (hdev->features[0][0] & LMP_5SLOT) in hci_cc_read_local_features()
602 if (hdev->features[0][1] & LMP_HV2) { in hci_cc_read_local_features()
607 if (hdev->features[0][1] & LMP_HV3) { in hci_cc_read_local_features()
615 if (hdev->features[0][4] & LMP_EV4) in hci_cc_read_local_features()
[all …]
/linux-4.4.14/drivers/hv/
Dhv.c242 if (ms_hyperv.features & HV_X64_MSR_REFERENCE_TSC_AVAILABLE) { in hv_init()
295 if (ms_hyperv.features & HV_X64_MSR_REFERENCE_TSC_AVAILABLE) { in hv_cleanup()
391 dev->features = CLOCK_EVT_FEAT_ONESHOT; in hv_init_clockevent_device()
557 if (ms_hyperv.features & HV_X64_MSR_SYNTIMER_AVAILABLE) in hv_synic_init()
572 if (!(ms_hyperv.features & HV_X64_MSR_SYNTIMER_AVAILABLE)) in hv_synic_clockevents_cleanup()
594 if (ms_hyperv.features & HV_X64_MSR_SYNTIMER_AVAILABLE) in hv_synic_cleanup()
/linux-4.4.14/drivers/net/ethernet/xilinx/
Dll_temac_main.c1015 ndev->features = NETIF_F_SG; in temac_of_probe()
1019 ndev->features |= NETIF_F_IP_CSUM; /* Can checksum TCP/UDP over IPv4. */ in temac_of_probe()
1020 ndev->features |= NETIF_F_HW_CSUM; /* Can checksum all the packets. */ in temac_of_probe()
1021 ndev->features |= NETIF_F_IPV6_CSUM; /* Can checksum IPV6 TCP/UDP */ in temac_of_probe()
1022 ndev->features |= NETIF_F_HIGHDMA; /* Can DMA to high memory. */ in temac_of_probe()
1023 ndev->features |= NETIF_F_HW_VLAN_CTAG_TX; /* Transmit VLAN hw accel */ in temac_of_probe()
1024 ndev->features |= NETIF_F_HW_VLAN_CTAG_RX; /* Receive VLAN hw acceleration */ in temac_of_probe()
1025 ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; /* Receive VLAN filtering */ in temac_of_probe()
1026 ndev->features |= NETIF_F_VLAN_CHALLENGED; /* cannot handle VLAN pkts */ in temac_of_probe()
1027 ndev->features |= NETIF_F_GSO; /* Enable software GSO. */ in temac_of_probe()
[all …]
Dxilinx_axienet_main.c676 if (lp->features & XAE_FEATURE_FULL_TX_CSUM) { in axienet_start_xmit()
679 } else if (lp->features & XAE_FEATURE_PARTIAL_RX_CSUM) { in axienet_start_xmit()
755 if (lp->features & XAE_FEATURE_FULL_RX_CSUM) { in axienet_recv()
762 } else if ((lp->features & XAE_FEATURE_PARTIAL_RX_CSUM) != 0 && in axienet_recv()
1521 ndev->features = NETIF_F_SG; in axienet_probe()
1539 lp->features = 0; in axienet_probe()
1547 lp->features |= XAE_FEATURE_PARTIAL_TX_CSUM; in axienet_probe()
1549 ndev->features |= NETIF_F_IP_CSUM; in axienet_probe()
1554 lp->features |= XAE_FEATURE_FULL_TX_CSUM; in axienet_probe()
1556 ndev->features |= NETIF_F_IP_CSUM; in axienet_probe()
[all …]
/linux-4.4.14/drivers/net/xen-netback/
Dinterface.c289 netdev_features_t features) in xenvif_fix_features() argument
294 features &= ~NETIF_F_SG; in xenvif_fix_features()
296 features &= ~NETIF_F_TSO; in xenvif_fix_features()
298 features &= ~NETIF_F_TSO6; in xenvif_fix_features()
300 features &= ~NETIF_F_IP_CSUM; in xenvif_fix_features()
302 features &= ~NETIF_F_IPV6_CSUM; in xenvif_fix_features()
304 return features; in xenvif_fix_features()
443 dev->features = dev->hw_features | NETIF_F_RXCSUM; in xenvif_alloc()
/linux-4.4.14/net/dcb/
DKconfig6 features on DCB capable Ethernet adapters via rtnetlink. Say 'Y'
15 DCB features include:
/linux-4.4.14/drivers/net/ethernet/ibm/
Dibmveth.c754 netdev_features_t features) in ibmveth_fix_features() argument
765 if (!(features & NETIF_F_RXCSUM)) in ibmveth_fix_features()
766 features &= ~NETIF_F_ALL_CSUM; in ibmveth_fix_features()
768 return features; in ibmveth_fix_features()
817 dev->features &= ~NETIF_F_IP_CSUM; in ibmveth_set_csum_offload()
835 dev->features &= ~NETIF_F_IPV6_CSUM; in ibmveth_set_csum_offload()
895 dev->features &= ~(NETIF_F_TSO | NETIF_F_TSO6); in ibmveth_set_tso()
907 dev->features &= ~NETIF_F_TSO6; in ibmveth_set_tso()
920 netdev_features_t features) in ibmveth_set_features() argument
923 int rx_csum = !!(features & NETIF_F_RXCSUM); in ibmveth_set_features()
[all …]
/linux-4.4.14/tools/perf/Documentation/
Dperf.txt42 covers hardware level (CPU/PMU, Performance Monitoring Unit) features
43 and software features (software counters, tracepoints) as well.
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/x86/kernel/apic/
Dapic.c477 if (evt->features & CLOCK_EVT_FEAT_DUMMY) in lapic_timer_shutdown()
491 if (evt->features & CLOCK_EVT_FEAT_DUMMY) in lapic_timer_set_periodic_oneshot()
524 .features = CLOCK_EVT_FEAT_PERIODIC |
547 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_C3STOP; in setup_APIC_timer()
556 levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | in setup_APIC_timer()
702 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
778 levt->features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
812 levt->features |= CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
816 if (levt->features & CLOCK_EVT_FEAT_DUMMY) { in calibrate_APIC_clock()
859 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; in setup_boot_APIC_clock()
[all …]
/linux-4.4.14/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.4.14/drivers/clocksource/
Di8253.c160 .features = CLOCK_EVT_FEAT_PERIODIC,
173 i8253_clockevent.features |= CLOCK_EVT_FEAT_ONESHOT; in clockevent_i8253_init()
/linux-4.4.14/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.4.14/drivers/virtio/
Dvirtio_mmio.c119 u64 features; in vm_get_features() local
122 features = readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES); in vm_get_features()
123 features <<= 32; in vm_get_features()
126 features |= readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES); in vm_get_features()
128 return features; in vm_get_features()
146 writel((u32)(vdev->features >> 32), in vm_finalize_features()
150 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.4.14/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.4.14/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.4.14/Documentation/frv/
DREADME.txt10 (*) features.txt
12 A description of the basic features inherent in this architecture port.
/linux-4.4.14/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.c370 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_SPE | in kvmppc_core_get_sregs_e500()
374 sregs->u.e.impl.fsl.features = 0; in kvmppc_core_get_sregs_e500()
406 if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) in kvmppc_core_set_sregs_e500()
409 if (sregs->u.e.features & KVM_SREGS_E_SPE) { in kvmppc_core_set_sregs_e500()
418 if (sregs->u.e.features & KVM_SREGS_E_PM) { in kvmppc_core_set_sregs_e500()
/linux-4.4.14/Documentation/hwmon/
Dnct790426 Currently, the driver supports only the following features:
52 The following features are not supported in current version:
/linux-4.4.14/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.4.14/drivers/hwmon/pmbus/
Dltc2978.c113 u32 features; member
120 #define has_clear_peaks(d) ((d)->features & FEAT_CLEAR_PEAKS)
121 #define needs_polling(d) ((d)->features & FEAT_NEEDS_POLLING)
687 data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING; in ltc2978_probe()
702 data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING; in ltc2978_probe()
717 data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING; in ltc2978_probe()
728 data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING; in ltc2978_probe()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c546 if (!(netdev->features & NETIF_F_RXHASH)) in nicvf_set_rxhash()
628 if (napi && (netdev->features & NETIF_F_GRO)) in nicvf_rcv_pkt_handler()
1407 netdev_features_t features) in nicvf_config_loopback() argument
1413 mbx.lbk.enable = (features & NETIF_F_LOOPBACK) != 0; in nicvf_config_loopback()
1419 netdev_features_t features) in nicvf_fix_features() argument
1423 if ((features & NETIF_F_LOOPBACK) && in nicvf_fix_features()
1425 features &= ~NETIF_F_LOOPBACK; in nicvf_fix_features()
1427 return features; in nicvf_fix_features()
1431 netdev_features_t features) in nicvf_set_features() argument
1434 netdev_features_t changed = features ^ netdev->features; in nicvf_set_features()
[all …]
/linux-4.4.14/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.4.14/arch/arm/include/asm/hardware/
Dcache-tauros2.h14 extern void __init tauros2_init(unsigned int features);
/linux-4.4.14/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.4.14/fs/nilfs2/
Dsuper.c900 __u64 features; in nilfs_check_feature_compatibility() local
902 features = le64_to_cpu(sbp->s_feature_incompat) & in nilfs_check_feature_compatibility()
904 if (features) { in nilfs_check_feature_compatibility()
907 (unsigned long long)features); in nilfs_check_feature_compatibility()
910 features = le64_to_cpu(sbp->s_feature_compat_ro) & in nilfs_check_feature_compatibility()
912 if (!(sb->s_flags & MS_RDONLY) && features) { in nilfs_check_feature_compatibility()
915 (unsigned long long)features); in nilfs_check_feature_compatibility()
1173 __u64 features; in nilfs_remount() local
1182 features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & in nilfs_remount()
1185 if (features) { in nilfs_remount()
[all …]
/linux-4.4.14/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.4.14/drivers/pcmcia/
Dcistpl.c93 if (!(s->features & SS_CAP_STATIC_MAP) && (mem->res == NULL)) { in set_cis_map()
103 if (!(s->features & SS_CAP_STATIC_MAP) && (!s->cis_virt)) in set_cis_map()
116 if (s->features & SS_CAP_STATIC_MAP) { in set_cis_map()
1082 u_char *p, *q, features; in parse_cftable_entry() local
1108 features = *p; p++; in parse_cftable_entry()
1111 if ((features & 3) > 0) { in parse_cftable_entry()
1117 if ((features & 3) > 1) { in parse_cftable_entry()
1123 if ((features & 3) > 2) { in parse_cftable_entry()
1131 if (features & 0x04) { in parse_cftable_entry()
1142 if (features & 0x08) { in parse_cftable_entry()
[all …]
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_main.c119 dev->features = phy_dev->features & IPVLAN_FEATURES; in ipvlan_init()
120 dev->features |= NETIF_F_LLTX; in ipvlan_init()
203 netdev_features_t features) in ipvlan_fix_features() argument
207 return features & (ipvlan->sfeatures | ~IPVLAN_FEATURES); in ipvlan_fix_features()
589 ipvlan->dev->features = dev->features & IPVLAN_FEATURES; in ipvlan_device_event()
/linux-4.4.14/arch/hexagon/kernel/
Dtime.c111 .features = CLOCK_EVT_FEAT_ONESHOT,
133 dummy_clock_dev->features = CLOCK_EVT_FEAT_DUMMY; in setup_percpu_clockdev()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c127 struct dcbx_features *features, in bnx2x_dump_dcbx_drv_param() argument
135 "local_mib.features.ets.enabled %x\n", features->ets.enabled); in bnx2x_dump_dcbx_drv_param()
139 DCBX_PG_BW_GET(features->ets.pg_bw_tbl, i)); in bnx2x_dump_dcbx_drv_param()
143 DCBX_PRI_PG_GET(features->ets.pri_pg_tbl, i)); in bnx2x_dump_dcbx_drv_param()
147 features->pfc.pri_en_bitmap); in bnx2x_dump_dcbx_drv_param()
149 features->pfc.pfc_caps); in bnx2x_dump_dcbx_drv_param()
151 features->pfc.enabled); in bnx2x_dump_dcbx_drv_param()
154 features->app.default_pri); in bnx2x_dump_dcbx_drv_param()
156 features->app.tc_supported); in bnx2x_dump_dcbx_drv_param()
158 features->app.enabled); in bnx2x_dump_dcbx_drv_param()
[all …]
/linux-4.4.14/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.4.14/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.4.14/arch/x86/include/asm/
Dmshyperv.h9 u32 features; member
/linux-4.4.14/arch/arm/kvm/
Darm.c288 bitmap_zero(vcpu->arch.features, KVM_VCPU_MAX_FEATURES); in kvm_arch_vcpu_init()
763 for (i = 0; i < sizeof(init->features) * 8; i++) { in kvm_vcpu_set_target()
764 bool set = (init->features[i / 32] & (1 << (i % 32))); in kvm_vcpu_set_target()
774 test_bit(i, vcpu->arch.features) != set) in kvm_vcpu_set_target()
778 set_bit(i, vcpu->arch.features); in kvm_vcpu_set_target()
809 if (test_bit(KVM_ARM_VCPU_POWER_OFF, vcpu->arch.features)) in kvm_arch_vcpu_ioctl_vcpu_init()
/linux-4.4.14/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.4.14/drivers/misc/mic/host/
Dmic_debugfs.c109 __u32 *features; in mic_dp_show() local
157 features = (__u32 *)mic_vq_features(d); in mic_dp_show()
158 seq_printf(s, "Features: Host 0x%x ", features[0]); in mic_dp_show()
159 seq_printf(s, "Guest 0x%x\n", features[1]); in mic_dp_show()
/linux-4.4.14/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.4.14/drivers/gpu/drm/amd/amdkfd/
DKconfig9 Enable this if you want to use HSA features on AMD GPU devices.
/linux-4.4.14/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.4.14/drivers/video/fbdev/aty/
Datyfb.h104 u8 features; member
138 u32 features; member
195 #define M64_HAS(feature) ((par)->features & (M64F_##feature))
/linux-4.4.14/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.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp_gen_header.h46 unsigned features; member
/linux-4.4.14/arch/sh/kernel/
Dlocaltimer.c47 clk->features = CLOCK_EVT_FEAT_ONESHOT | in local_timer_setup()
/linux-4.4.14/drivers/clk/ti/
Dclk.c417 void __init ti_clk_setup_features(struct ti_clk_features *features) in ti_clk_setup_features() argument
419 memcpy(&ti_clk_features, features, sizeof(*features)); in ti_clk_setup_features()
/linux-4.4.14/drivers/xen/
Dsys-hypervisor.c348 HYPERVISOR_ATTR_RO(features);
440 uint32_t features; in pmu_features_store() local
443 ret = kstrtou32(buffer, 0, &features); in pmu_features_store()
447 xp.val = features; in pmu_features_store()
/linux-4.4.14/drivers/staging/rtl8712/
DTODO2 - merge Realtek's bugfixes and new features into the driver
/linux-4.4.14/Documentation/vm/
Duserfaultfd.txt49 userland intends to speak on the UFFD and the uffdio_api.features
52 requested features are going to be enabled) will return into
53 uffdio_api.features and uffdio_api.ioctls two 64bit bitmasks of
54 respectively all the available features of the read(2) protocol and
94 Guest async page faults, FOLL_NOWAIT and all other GUP features work
/linux-4.4.14/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.4.14/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c262 int vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) in vmxnet3_set_features() argument
266 netdev_features_t changed = features ^ netdev->features; in vmxnet3_set_features()
270 if (features & NETIF_F_RXCSUM) in vmxnet3_set_features()
278 if (features & NETIF_F_LRO) in vmxnet3_set_features()
285 if (features & NETIF_F_HW_VLAN_CTAG_RX) in vmxnet3_set_features()

1234567