| /Linux-v4.19/arch/arm/mach-omap2/ |
| D | clock.c | 89 struct ti_clk_features features = { 0 }; in ti_clk_init_features() local 92 features.fint_min = OMAP3430_DPLL_FINT_BAND1_MIN; in ti_clk_init_features() 93 features.fint_max = OMAP3430_DPLL_FINT_BAND2_MAX; in ti_clk_init_features() 94 features.fint_band1_max = OMAP3430_DPLL_FINT_BAND1_MAX; in ti_clk_init_features() 95 features.fint_band2_min = OMAP3430_DPLL_FINT_BAND2_MIN; in ti_clk_init_features() 97 features.fint_min = OMAP3PLUS_DPLL_FINT_MIN; in ti_clk_init_features() 98 features.fint_max = OMAP3PLUS_DPLL_FINT_MAX; in ti_clk_init_features() 103 features.dpll_bypass_vals |= in ti_clk_init_features() 107 features.dpll_bypass_vals |= in ti_clk_init_features() 112 features.dpll_bypass_vals |= in ti_clk_init_features() [all …]
|
| /Linux-v4.19/drivers/hid/ |
| D | wacom_wac.c | 138 struct wacom_features *features = &wacom->features; in wacom_pl_irq() local 176 if (features->pressure_max > 255) in wacom_pl_irq() 178 pressure += (features->pressure_max + 1) / 2; in wacom_pl_irq() 309 struct wacom_features *features = &wacom->features; in wacom_graphire_irq() local 318 if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq() 359 if (features->type == GRAPHIRE_BT) in wacom_graphire_irq() 371 if (features->type == WACOM_G4 || in wacom_graphire_irq() 372 features->type == WACOM_MO) { in wacom_graphire_irq() 375 } else if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq() 404 switch (features->type) { in wacom_graphire_irq() [all …]
|
| D | wacom_sys.c | 98 struct wacom_features *features = &wacom_wac->features; in wacom_wac_pen_serial_enforce() local 103 if (wacom_wac->serial[0] || !(features->quirks & WACOM_QUIRK_TOOLSERIAL)) in wacom_wac_pen_serial_enforce() 217 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_hid_usage_quirk() local 239 if (features->type == HID_GENERIC && in wacom_hid_usage_quirk() 268 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_feature_mapping() local 280 if (!features->touch_max) { in wacom_feature_mapping() 289 features->touch_max = data[1]; in wacom_feature_mapping() 291 features->touch_max = 16; in wacom_feature_mapping() 295 features->touch_max); in wacom_feature_mapping() 394 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_usage_mapping() local [all …]
|
| /Linux-v4.19/arch/arm/mach-s3c24xx/ |
| D | mach-mini2440.c | 586 struct mini2440_features_t * features, in mini2440_parse_features() argument 591 features->count = 0; in mini2440_parse_features() 592 features->done = 0; in mini2440_parse_features() 593 features->lcd_index = -1; in mini2440_parse_features() 600 if (features->done & FEATURE_SCREEN) { in mini2440_parse_features() 609 features->optional[features->count++] = in mini2440_parse_features() 611 features->lcd_index = li; in mini2440_parse_features() 614 features->done |= FEATURE_SCREEN; in mini2440_parse_features() 617 if (features->done & FEATURE_BACKLIGHT) in mini2440_parse_features() 621 features->optional[features->count++] = in mini2440_parse_features() [all …]
|
| /Linux-v4.19/arch/arm/mm/ |
| D | cache-tauros2.c | 183 static void enable_extra_feature(unsigned int features) in enable_extra_feature() argument 189 if (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature() 194 (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature() 197 if (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature() 202 (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature() 208 static void __init tauros2_internal_init(unsigned int features) in tauros2_internal_init() argument 212 enable_extra_feature(features); in tauros2_internal_init() 285 void __init tauros2_init(unsigned int features) in tauros2_init() argument 300 features = 0; in tauros2_init() 302 features = f; in tauros2_init() [all …]
|
| /Linux-v4.19/arch/powerpc/kernel/ |
| D | kvm.c | 415 u32 *features = data; in kvm_map_magic_page() local 425 *features = out[0]; in kvm_map_magic_page() 428 static void kvm_check_ins(u32 *inst, u32 features) in kvm_check_ins() argument 470 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 474 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 478 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 482 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 486 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 490 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 494 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() [all …]
|
| /Linux-v4.19/drivers/net/ethernet/atheros/atlx/ |
| D | atlx.c | 221 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-v4.19/arch/arm64/include/asm/ |
| D | cpufeature.h | 401 cpuid_feature_extract_signed_field_width(u64 features, int field, int width) in cpuid_feature_extract_signed_field_width() argument 403 return (s64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_signed_field_width() 407 cpuid_feature_extract_signed_field(u64 features, int field) in cpuid_feature_extract_signed_field() argument 409 return cpuid_feature_extract_signed_field_width(features, field, 4); in cpuid_feature_extract_signed_field() 413 cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) in cpuid_feature_extract_unsigned_field_width() argument 415 return (u64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_unsigned_field_width() 419 cpuid_feature_extract_unsigned_field(u64 features, int field) in cpuid_feature_extract_unsigned_field() argument 421 return cpuid_feature_extract_unsigned_field_width(features, field, 4); in cpuid_feature_extract_unsigned_field() 435 cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign) in cpuid_feature_extract_field_width() argument 438 cpuid_feature_extract_signed_field_width(features, field, width) : in cpuid_feature_extract_field_width() [all …]
|
| /Linux-v4.19/drivers/input/touchscreen/ |
| D | wacom_i2c.c | 47 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 …]
|
| /Linux-v4.19/arch/arm/mach-s3c64xx/ |
| D | mach-real6410.c | 251 struct real6410_features_t *features, in real6410_parse_features() argument 256 features->done = 0; in real6410_parse_features() 257 features->lcd_index = 0; in real6410_parse_features() 264 if (features->done & FEATURE_SCREEN) { in real6410_parse_features() 273 features->lcd_index = li; in real6410_parse_features() 276 features->done |= FEATURE_SCREEN; in real6410_parse_features() 285 struct real6410_features_t features = { 0 }; in real6410_machine_init() local 291 real6410_parse_features(&features, real6410_features_str); in real6410_machine_init() 294 real6410_lcd_pdata[features.lcd_index].win[0]->xres, in real6410_machine_init() 295 real6410_lcd_pdata[features.lcd_index].win[0]->yres); in real6410_machine_init() [all …]
|
| D | mach-mini6410.c | 281 struct mini6410_features_t *features, in mini6410_parse_features() argument 286 features->done = 0; in mini6410_parse_features() 287 features->lcd_index = 0; in mini6410_parse_features() 294 if (features->done & FEATURE_SCREEN) { in mini6410_parse_features() 303 features->lcd_index = li; in mini6410_parse_features() 306 features->done |= FEATURE_SCREEN; in mini6410_parse_features() 315 struct mini6410_features_t features = { 0 }; in mini6410_machine_init() local 321 mini6410_parse_features(&features, mini6410_features_str); in mini6410_machine_init() 324 mini6410_lcd_pdata[features.lcd_index].win[0]->xres, in mini6410_machine_init() 325 mini6410_lcd_pdata[features.lcd_index].win[0]->yres); in mini6410_machine_init() [all …]
|
| /Linux-v4.19/drivers/mfd/ |
| D | twl-core.c | 675 unsigned num_consumers, unsigned long features) in add_regulator_linked() argument 692 tmp->features |= features; in add_regulator_linked() 695 drv_data.features = features; in add_regulator_linked() 709 unsigned long features) in add_regulator() argument 711 return add_regulator_linked(num, pdata, NULL, 0, features); in add_regulator() 722 unsigned long features) in add_children() argument 806 features); in add_children() 812 features); in add_children() 818 features); in add_children() 867 features); in add_children() [all …]
|
| /Linux-v4.19/drivers/scsi/aic7xxx/ |
| D | aic7xxx_pci.c | 795 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 …]
|
| /Linux-v4.19/Documentation/networking/ |
| D | netdev-features.txt | 1 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 …]
|
| /Linux-v4.19/net/ipv4/ |
| D | udp_offload.c | 18 netdev_features_t features, in __skb_udp_tunnel_segment() argument 20 netdev_features_t features), in __skb_udp_tunnel_segment() argument 68 (skb->dev->features & in __skb_udp_tunnel_segment() 72 features &= skb->dev->hw_enc_features; in __skb_udp_tunnel_segment() 79 features &= ~NETIF_F_CSUM_MASK; in __skb_udp_tunnel_segment() 81 features |= NETIF_F_HW_CSUM; in __skb_udp_tunnel_segment() 85 segs = gso_inner_segment(skb, features); in __skb_udp_tunnel_segment() 152 netdev_features_t features, in skb_udp_tunnel_segment() argument 160 netdev_features_t features); in skb_udp_tunnel_segment() 180 segs = __skb_udp_tunnel_segment(skb, features, gso_inner_segment, in skb_udp_tunnel_segment() [all …]
|
| /Linux-v4.19/drivers/net/phy/ |
| D | realtek.c | 219 .features = PHY_BASIC_FEATURES, 225 .features = PHY_BASIC_FEATURES, 237 .features = PHY_GBIT_FEATURES, 245 .features = PHY_GBIT_FEATURES, 257 .features = PHY_GBIT_FEATURES, 265 .features = PHY_GBIT_FEATURES, 275 .features = PHY_GBIT_FEATURES, 285 .features = PHY_GBIT_FEATURES, 298 .features = PHY_GBIT_FEATURES,
|
| D | vitesse.c | 401 .features = PHY_GBIT_FEATURES, 411 .features = PHY_GBIT_FEATURES, 421 .features = PHY_GBIT_FEATURES, 431 .features = PHY_GBIT_FEATURES, 441 .features = PHY_GBIT_FEATURES, 451 .features = PHY_GBIT_FEATURES, 460 .features = PHY_GBIT_FEATURES, 469 .features = PHY_GBIT_FEATURES, 478 .features = PHY_GBIT_FEATURES, 487 .features = PHY_GBIT_FEATURES, [all …]
|
| /Linux-v4.19/drivers/input/tablet/ |
| D | hanwang.c | 70 const struct hanwang_features *features; member 126 enum hanwang_tablet_type type = hanwang->features->type; in hanwang_parse_packet() 214 hanwang->features->pid); in hanwang_parse_packet() 321 hanwang->features = &features_array[i]; in get_features() 354 hanwang->data = usb_alloc_coherent(dev, hanwang->features->pkg_len, in hanwang_probe() 373 strlcpy(hanwang->name, hanwang->features->name, sizeof(hanwang->name)); in hanwang_probe() 397 0, hanwang->features->max_x, 4, 0); in hanwang_probe() 399 0, hanwang->features->max_y, 4, 0); in hanwang_probe() 401 0, hanwang->features->max_tilt_x, 0, 0); in hanwang_probe() 403 0, hanwang->features->max_tilt_y, 0, 0); in hanwang_probe() [all …]
|
| /Linux-v4.19/Documentation/devicetree/bindings/powerpc/ |
| D | ibm,powerpc-cpu-features.txt | 3 (skiboot/doc/device-tree/ibm,powerpc-cpu-features/binding.txt) 5 There is more complete overview and documentation of features in that 9 ibm,powerpc-cpu-features binding 12 This device tree binding describes CPU features available to software, with 16 found in design.txt, which also points to documentation of specific features. 19 /cpus/ibm,powerpc-cpu-features node binding 22 Node: ibm,powerpc-cpu-features 26 The node name must be "ibm,powerpc-cpu-features". 38 Definition: "ibm,powerpc-cpu-features" 66 /cpus/ibm,powerpc-cpu-features/example-feature node bindings [all …]
|
| /Linux-v4.19/drivers/vhost/ |
| D | test.c | 242 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()
|
| /Linux-v4.19/tools/virtio/ |
| D | virtio_test.c | 65 unsigned long long features = dev->vdev.features; in vhost_vq_setup() local 73 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); in vhost_vq_setup() 114 static void vdev_info_init(struct vdev_info* dev, unsigned long long features) in vdev_info_init() argument 118 dev->vdev.features = features; in vdev_info_init() 264 unsigned long long features = (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | in main() local 278 features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); in main() 284 features &= ~(1ULL << VIRTIO_RING_F_INDIRECT_DESC); in main() 287 features &= ~(1ULL << VIRTIO_F_VERSION_1); in main() 299 vdev_info_init(&dev, features); in main()
|
| /Linux-v4.19/drivers/i2c/busses/ |
| D | i2c-i801.c | 259 unsigned int features; member 347 if (priv->features & FEATURE_SMBUS_PEC) { in i801_check_pre() 421 if ((priv->features & FEATURE_SMBUS_PEC) && in i801_check_post() 493 if (priv->features & FEATURE_IRQ) { in i801_transaction() 636 if (priv->features & FEATURE_HOST_NOTIFY) { in i801_isr() 693 if (priv->features & FEATURE_IRQ) { in i801_block_transaction_byte_by_byte() 783 } else if (!(priv->features & FEATURE_I2C_BLOCK_READ)) { in i801_block_transaction() 803 if ((priv->features & FEATURE_BLOCK_BUFFER) in i801_block_transaction() 839 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access() 958 ((priv->features & FEATURE_SMBUS_PEC) ? I2C_FUNC_SMBUS_PEC : 0) | in i801_func() [all …]
|
| /Linux-v4.19/drivers/clk/sunxi-ng/ |
| D | ccu_frac.c | 19 if (!(common->features & CCU_FEATURE_FRACTIONAL)) in ccu_frac_helper_is_enabled() 31 if (!(common->features & CCU_FEATURE_FRACTIONAL)) in ccu_frac_helper_enable() 46 if (!(common->features & CCU_FEATURE_FRACTIONAL)) in ccu_frac_helper_disable() 59 if (!(common->features & CCU_FEATURE_FRACTIONAL)) in ccu_frac_helper_has_rate() 72 if (!(common->features & CCU_FEATURE_FRACTIONAL)) in ccu_frac_helper_read_rate() 93 if (!(common->features & CCU_FEATURE_FRACTIONAL)) in ccu_frac_helper_set_rate()
|
| /Linux-v4.19/Documentation/devicetree/bindings/arm/mrvl/ |
| D | tauros2.txt | 5 - marvell,tauros2-cache-features : Specify the features supported for the 7 The features including 16 marvell,tauros2-cache-features = <0x3>;
|
| /Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_catalog.c | 72 .features = 0, 101 .features = BIT(DPU_CTL_SPLIT_DISPLAY) 106 .features = BIT(DPU_CTL_SPLIT_DISPLAY) 111 .features = 0 116 .features = 0 121 .features = 0 181 .features = VIG_SDM845_MASK, \ 192 .features = DMA_SDM845_MASK, \ 234 .features = MIXER_SDM845_MASK, \ 265 .features = DPU_SSPP_SCALER_QSEED3, \ [all …]
|