/Linux-v5.15/drivers/gpu/drm/panfrost/ |
D | panfrost_gpu.c | 141 pfdev->features.revision >= 0x2000) in panfrost_gpu_init_quirks() 144 pfdev->features.coherency_features == COHERENCY_ACE) in panfrost_gpu_init_quirks() 162 u64 features; member 174 .features = hw_features_##_name, \ 221 pfdev->features.l2_features = gpu_read(pfdev, GPU_L2_FEATURES); in panfrost_gpu_init_features() 222 pfdev->features.core_features = gpu_read(pfdev, GPU_CORE_FEATURES); in panfrost_gpu_init_features() 223 pfdev->features.tiler_features = gpu_read(pfdev, GPU_TILER_FEATURES); in panfrost_gpu_init_features() 224 pfdev->features.mem_features = gpu_read(pfdev, GPU_MEM_FEATURES); in panfrost_gpu_init_features() 225 pfdev->features.mmu_features = gpu_read(pfdev, GPU_MMU_FEATURES); in panfrost_gpu_init_features() 226 pfdev->features.thread_features = gpu_read(pfdev, GPU_THREAD_FEATURES); in panfrost_gpu_init_features() [all …]
|
/Linux-v5.15/arch/arm/mach-omap2/ |
D | clock.c | 86 struct ti_clk_features features = { 0 }; in ti_clk_init_features() local 89 features.fint_min = OMAP3430_DPLL_FINT_BAND1_MIN; in ti_clk_init_features() 90 features.fint_max = OMAP3430_DPLL_FINT_BAND2_MAX; in ti_clk_init_features() 91 features.fint_band1_max = OMAP3430_DPLL_FINT_BAND1_MAX; in ti_clk_init_features() 92 features.fint_band2_min = OMAP3430_DPLL_FINT_BAND2_MIN; in ti_clk_init_features() 94 features.fint_min = OMAP3PLUS_DPLL_FINT_MIN; in ti_clk_init_features() 95 features.fint_max = OMAP3PLUS_DPLL_FINT_MAX; in ti_clk_init_features() 100 features.dpll_bypass_vals |= in ti_clk_init_features() 104 features.dpll_bypass_vals |= in ti_clk_init_features() 109 features.dpll_bypass_vals |= in ti_clk_init_features() [all …]
|
/Linux-v5.15/drivers/hid/ |
D | wacom_wac.c | 134 struct wacom_features *features = &wacom->features; in wacom_pl_irq() local 172 if (features->pressure_max > 255) in wacom_pl_irq() 174 pressure += (features->pressure_max + 1) / 2; in wacom_pl_irq() 305 struct wacom_features *features = &wacom->features; in wacom_graphire_irq() local 314 if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq() 355 if (features->type == GRAPHIRE_BT) in wacom_graphire_irq() 367 if (features->type == WACOM_G4 || in wacom_graphire_irq() 368 features->type == WACOM_MO) { in wacom_graphire_irq() 371 } else if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq() 400 switch (features->type) { in wacom_graphire_irq() [all …]
|
D | wacom_sys.c | 95 struct wacom_features *features = &wacom_wac->features; in wacom_wac_pen_serial_enforce() local 100 if (wacom_wac->serial[0] || !(features->quirks & WACOM_QUIRK_TOOLSERIAL)) in wacom_wac_pen_serial_enforce() 215 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_hid_usage_quirk() local 237 if (features->type == HID_GENERIC && in wacom_hid_usage_quirk() 273 features->quirks |= WACOM_QUIRK_AESPEN; in wacom_hid_usage_quirk() 298 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_feature_mapping() local 313 if (!features->touch_max) { in wacom_feature_mapping() 322 if (ret == n && features->type == HID_GENERIC) { in wacom_feature_mapping() 325 } else if (ret == 2 && features->type != HID_GENERIC) { in wacom_feature_mapping() 326 features->touch_max = data[1]; in wacom_feature_mapping() [all …]
|
/Linux-v5.15/arch/arm/mach-s3c/ |
D | mach-mini2440.c | 647 struct mini2440_features_t *features, in mini2440_parse_features() argument 652 features->count = 0; in mini2440_parse_features() 653 features->done = 0; in mini2440_parse_features() 654 features->lcd_index = -1; in mini2440_parse_features() 661 if (features->done & FEATURE_SCREEN) { in mini2440_parse_features() 671 features->optional[features->count++] = in mini2440_parse_features() 673 features->lcd_index = li; in mini2440_parse_features() 676 features->done |= FEATURE_SCREEN; in mini2440_parse_features() 679 if (features->done & FEATURE_BACKLIGHT) in mini2440_parse_features() 683 features->optional[features->count++] = in mini2440_parse_features() [all …]
|
D | mach-real6410.c | 250 struct real6410_features_t *features, in real6410_parse_features() argument 255 features->done = 0; in real6410_parse_features() 256 features->lcd_index = 0; in real6410_parse_features() 263 if (features->done & FEATURE_SCREEN) { in real6410_parse_features() 272 features->lcd_index = li; in real6410_parse_features() 275 features->done |= FEATURE_SCREEN; in real6410_parse_features() 284 struct real6410_features_t features = { 0 }; in real6410_machine_init() local 290 real6410_parse_features(&features, real6410_features_str); in real6410_machine_init() 293 real6410_lcd_pdata[features.lcd_index].win[0]->xres, in real6410_machine_init() 294 real6410_lcd_pdata[features.lcd_index].win[0]->yres); in real6410_machine_init() [all …]
|
D | mach-mini6410.c | 280 struct mini6410_features_t *features, in mini6410_parse_features() argument 285 features->done = 0; in mini6410_parse_features() 286 features->lcd_index = 0; in mini6410_parse_features() 293 if (features->done & FEATURE_SCREEN) { in mini6410_parse_features() 302 features->lcd_index = li; in mini6410_parse_features() 305 features->done |= FEATURE_SCREEN; in mini6410_parse_features() 314 struct mini6410_features_t features = { 0 }; in mini6410_machine_init() local 320 mini6410_parse_features(&features, mini6410_features_str); in mini6410_machine_init() 323 mini6410_lcd_pdata[features.lcd_index].win[0]->xres, in mini6410_machine_init() 324 mini6410_lcd_pdata[features.lcd_index].win[0]->yres); in mini6410_machine_init() [all …]
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | kvm.c | 405 u32 *features = data; in kvm_map_magic_page() local 415 *features = out[0]; in kvm_map_magic_page() 418 static void __init kvm_check_ins(u32 *inst, u32 features) in kvm_check_ins() argument 460 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 464 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 468 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 472 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 476 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 480 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 484 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() [all …]
|
/Linux-v5.15/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-v5.15/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 208 static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl) in __atlx_vlan_mode() argument 210 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atlx_vlan_mode() 220 netdev_features_t features) in atlx_vlan_mode() argument 229 __atlx_vlan_mode(features, &ctrl); in atlx_vlan_mode() 237 atlx_vlan_mode(adapter->netdev, adapter->netdev->features); in atlx_restore_vlan() 241 netdev_features_t features) in atlx_fix_features() argument 247 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atlx_fix_features() 248 features |= NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features() 250 features &= ~NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features() 252 return features; in atlx_fix_features() [all …]
|
/Linux-v5.15/drivers/input/touchscreen/ |
D | wacom_i2c.c | 41 struct wacom_features *features) in wacom_query_device() argument 75 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device() 76 features->y_max = get_unaligned_le16(&data[5]); in wacom_query_device() 77 features->pressure_max = get_unaligned_le16(&data[11]); in wacom_query_device() 78 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device() 82 features->x_max, features->y_max, in wacom_query_device() 83 features->pressure_max, features->fw_version); in wacom_query_device() 153 struct wacom_features features = { 0 }; in wacom_i2c_probe() local 161 error = wacom_query_device(client, &features); in wacom_i2c_probe() 180 input->id.version = features.fw_version; in wacom_i2c_probe() [all …]
|
/Linux-v5.15/arch/arm64/include/asm/ |
D | cpufeature.h | 520 cpuid_feature_extract_signed_field_width(u64 features, int field, int width) in cpuid_feature_extract_signed_field_width() argument 522 return (s64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_signed_field_width() 526 cpuid_feature_extract_signed_field(u64 features, int field) in cpuid_feature_extract_signed_field() argument 528 return cpuid_feature_extract_signed_field_width(features, field, 4); in cpuid_feature_extract_signed_field() 532 cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) in cpuid_feature_extract_unsigned_field_width() argument 534 return (u64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_unsigned_field_width() 538 cpuid_feature_extract_unsigned_field(u64 features, int field) in cpuid_feature_extract_unsigned_field() argument 540 return cpuid_feature_extract_unsigned_field_width(features, field, 4); in cpuid_feature_extract_unsigned_field() 549 cpuid_feature_cap_perfmon_field(u64 features, int field, u64 cap) in cpuid_feature_cap_perfmon_field() argument 551 u64 val = cpuid_feature_extract_unsigned_field(features, field); in cpuid_feature_cap_perfmon_field() [all …]
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_flows.c | 340 req->features = BIT_ULL(NPC_DMAC); in otx2_do_add_macfilter() 506 req->features |= BIT_ULL(NPC_SIP_IPV4); in otx2_prepare_ipv4_flow() 513 req->features |= BIT_ULL(NPC_DIP_IPV4); in otx2_prepare_ipv4_flow() 518 req->features |= BIT_ULL(NPC_TOS); in otx2_prepare_ipv4_flow() 523 req->features |= BIT_ULL(NPC_IPPROTO_ICMP); in otx2_prepare_ipv4_flow() 526 req->features |= BIT_ULL(NPC_IPPROTO_TCP); in otx2_prepare_ipv4_flow() 529 req->features |= BIT_ULL(NPC_IPPROTO_UDP); in otx2_prepare_ipv4_flow() 532 req->features |= BIT_ULL(NPC_IPPROTO_SCTP); in otx2_prepare_ipv4_flow() 535 req->features |= BIT_ULL(NPC_IPPROTO_AH); in otx2_prepare_ipv4_flow() 538 req->features |= BIT_ULL(NPC_IPPROTO_ESP); in otx2_prepare_ipv4_flow() [all …]
|
/Linux-v5.15/net/ipv6/ |
D | esp6_offload.c | 145 netdev_features_t features) in xfrm6_tunnel_gso_segment() argument 148 return skb_mac_gso_segment(skb, features); in xfrm6_tunnel_gso_segment() 153 netdev_features_t features) in xfrm6_transport_gso_segment() argument 162 segs = ops->callbacks.gso_segment(skb, features); in xfrm6_transport_gso_segment() 169 netdev_features_t features) in xfrm6_beet_gso_segment() argument 204 segs = ops->callbacks.gso_segment(skb, features); in xfrm6_beet_gso_segment() 211 netdev_features_t features) in xfrm6_outer_mode_gso_segment() argument 215 return xfrm6_tunnel_gso_segment(x, skb, features); in xfrm6_outer_mode_gso_segment() 217 return xfrm6_transport_gso_segment(x, skb, features); in xfrm6_outer_mode_gso_segment() 219 return xfrm6_beet_gso_segment(x, skb, features); in xfrm6_outer_mode_gso_segment() [all …]
|
/Linux-v5.15/net/ipv4/ |
D | esp4_offload.c | 110 netdev_features_t features) in xfrm4_tunnel_gso_segment() argument 113 return skb_mac_gso_segment(skb, features); in xfrm4_tunnel_gso_segment() 118 netdev_features_t features) in xfrm4_transport_gso_segment() argument 127 segs = ops->callbacks.gso_segment(skb, features); in xfrm4_transport_gso_segment() 134 netdev_features_t features) in xfrm4_beet_gso_segment() argument 165 segs = ops->callbacks.gso_segment(skb, features); in xfrm4_beet_gso_segment() 172 netdev_features_t features) in xfrm4_outer_mode_gso_segment() argument 176 return xfrm4_tunnel_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment() 178 return xfrm4_transport_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment() 180 return xfrm4_beet_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment() [all …]
|
D | udp_offload.c | 15 netdev_features_t features, in __skb_udp_tunnel_segment() argument 17 netdev_features_t features), in __skb_udp_tunnel_segment() argument 66 (skb->dev->features & in __skb_udp_tunnel_segment() 70 features &= skb->dev->hw_enc_features; in __skb_udp_tunnel_segment() 72 features &= ~NETIF_F_SCTP_CRC; 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() [all …]
|
/Linux-v5.15/drivers/mfd/ |
D | twl-core.c | 662 unsigned num_consumers, unsigned long features) in add_regulator_linked() argument 679 tmp->features |= features; in add_regulator_linked() 682 drv_data.features = features; in add_regulator_linked() 696 unsigned long features) in add_regulator() argument 698 return add_regulator_linked(num, pdata, NULL, 0, features); in add_regulator() 709 unsigned long features) in add_children() argument 793 features); in add_children() 799 features); in add_children() 805 features); in add_children() 854 features); in add_children() [all …]
|
/Linux-v5.15/drivers/gpu/drm/rcar-du/ |
D | rcar_du_drv.c | 39 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK 61 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK 82 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK 108 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK 137 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK 166 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK 192 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK 221 .features = RCAR_DU_FEATURE_INTERLACED 242 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK 272 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK [all …]
|
/Linux-v5.15/drivers/scsi/aic7xxx/ |
D | aic7xxx_pci.c | 788 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pci_config() 804 if ((ahc->features & AHC_DT) != 0) { in ahc_pci_config() 821 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_pci_config() 859 if ((ahc->features & AHC_ULTRA) != 0) { in ahc_pci_config() 865 ahc->features &= ~AHC_ULTRA; in ahc_pci_config() 877 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_pci_config() 935 if ((ahc->features & AHC_DT) != 0) { in ahc_pci_config() 946 if ((ahc->features & AHC_MULTI_FUNC) != 0) in ahc_pci_config() 949 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pci_config() 981 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_ext_scbram_present() [all …]
|
/Linux-v5.15/drivers/i2c/busses/ |
D | i2c-i801.c | 262 unsigned int features; member 352 if (priv->features & FEATURE_SMBUS_PEC) { in i801_check_pre() 424 if ((priv->features & FEATURE_SMBUS_PEC) && in i801_check_post() 489 if (priv->features & FEATURE_IRQ) { in i801_transaction() 631 if (priv->features & FEATURE_HOST_NOTIFY) { in i801_isr() 690 if (priv->features & FEATURE_IRQ) { in i801_block_transaction_byte_by_byte() 772 } else if (!(priv->features & FEATURE_I2C_BLOCK_READ)) { in i801_block_transaction() 792 if ((priv->features & FEATURE_BLOCK_BUFFER) in i801_block_transaction() 829 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access() 959 ((priv->features & FEATURE_SMBUS_PEC) ? I2C_FUNC_SMBUS_PEC : 0) | in i801_func() [all …]
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_fs.c | 297 u64 *features; in npc_handle_multi_layer_fields() local 302 features = &mcam->rx_features; in npc_handle_multi_layer_fields() 306 features = &mcam->tx_features; in npc_handle_multi_layer_fields() 359 *features |= BIT_ULL(NPC_ETYPE); in npc_handle_multi_layer_fields() 383 *features |= BIT_ULL(NPC_OUTER_VID); in npc_handle_multi_layer_fields() 456 u64 *features = &mcam->rx_features; in npc_set_features() local 461 features = &mcam->tx_features; in npc_set_features() 465 *features |= BIT_ULL(hdr); in npc_set_features() 473 if (*features & tcp_udp_sctp) { in npc_set_features() 475 *features &= ~tcp_udp_sctp; in npc_set_features() [all …]
|
/Linux-v5.15/Documentation/networking/ |
D | netdev-features.rst | 4 Netdev features mess and how to get out from it alive 16 verbatim. Today's devices add multiple features and bugs (read: offloads) 19 are commonly referred to as netdev features in Linux kernel world. 21 There are currently three sets of features relevant to the driver, and 24 1. netdev->hw_features set contains features whose state may possibly 29 2. netdev->features set contains features which are currently enabled 33 3. netdev->vlan_features set contains features whose state is inherited 34 by child VLAN devices (limits netdev->features set). This is currently 45 Part II: Controlling enabled features 48 When current feature set (netdev->features) is to be changed, new set [all …]
|
/Linux-v5.15/drivers/input/tablet/ |
D | hanwang.c | 56 const struct hanwang_features *features; member 112 enum hanwang_tablet_type type = hanwang->features->type; in hanwang_parse_packet() 200 hanwang->features->pid); in hanwang_parse_packet() 307 hanwang->features = &features_array[i]; in get_features() 340 hanwang->data = usb_alloc_coherent(dev, hanwang->features->pkg_len, in hanwang_probe() 359 strlcpy(hanwang->name, hanwang->features->name, sizeof(hanwang->name)); in hanwang_probe() 383 0, hanwang->features->max_x, 4, 0); in hanwang_probe() 385 0, hanwang->features->max_y, 4, 0); in hanwang_probe() 387 0, hanwang->features->max_tilt_x, 0, 0); in hanwang_probe() 389 0, hanwang->features->max_tilt_y, 0, 0); in hanwang_probe() [all …]
|
/Linux-v5.15/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-v5.15/kernel/time/ |
D | tick-broadcast.c | 88 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device() 89 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device() 90 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_check_broadcast_device() 94 !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_broadcast_device() 123 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_set_oneshot_wakeup_device() 124 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_set_oneshot_wakeup_device() 127 if (!(newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_set_oneshot_wakeup_device() 128 !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_set_oneshot_wakeup_device() 182 if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_install_broadcast_device() 274 if (!(dev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_device_uses_broadcast() [all …]
|