Home
last modified time | relevance | path

Searched full:features (Results 1 – 25 of 2633) sorted by relevance

12345678910>>...106

/Linux-v5.10/drivers/gpu/drm/panfrost/
Dpanfrost_gpu.c141 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.10/arch/arm/mach-omap2/
Dclock.c80 * ti_clk_init_features - init clock features struct for the SoC
82 * Initializes the clock features struct based on the SoC type.
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()
[all …]
/Linux-v5.10/drivers/hid/
Dwacom_sys.c95 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 …]
Dwacom_wac.c134 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 …]
/Linux-v5.10/Documentation/networking/
Dnetdev-features.rst4 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.10/Documentation/devicetree/bindings/powerpc/
Dibm,powerpc-cpu-features.txt3 (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.10/arch/powerpc/kernel/
Dkvm.c405 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.10/drivers/input/touchscreen/
Dwacom_i2c.c41 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()
152 struct wacom_features features = { 0 }; in wacom_i2c_probe() local
160 error = wacom_query_device(client, &features); in wacom_i2c_probe()
177 input->id.version = features.fw_version; in wacom_i2c_probe()
[all …]
/Linux-v5.10/net/ipv4/
Desp4_offload.c111 netdev_features_t features) in xfrm4_tunnel_gso_segment() argument
114 return skb_mac_gso_segment(skb, features); in xfrm4_tunnel_gso_segment()
119 netdev_features_t features) in xfrm4_transport_gso_segment() argument
128 segs = ops->callbacks.gso_segment(skb, features); in xfrm4_transport_gso_segment()
135 netdev_features_t features) in xfrm4_beet_gso_segment() argument
166 segs = ops->callbacks.gso_segment(skb, features); in xfrm4_beet_gso_segment()
173 netdev_features_t features) in xfrm4_outer_mode_gso_segment() argument
177 return xfrm4_tunnel_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
179 return xfrm4_transport_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
181 return xfrm4_beet_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
[all …]
Dudp_offload.c15 netdev_features_t features, in __skb_udp_tunnel_segment() argument
17 netdev_features_t features), in __skb_udp_tunnel_segment() argument
65 (skb->dev->features & in __skb_udp_tunnel_segment()
69 features &= skb->dev->hw_enc_features; in __skb_udp_tunnel_segment()
76 features &= ~NETIF_F_CSUM_MASK; in __skb_udp_tunnel_segment()
78 features |= NETIF_F_HW_CSUM; in __skb_udp_tunnel_segment()
82 segs = gso_inner_segment(skb, features); in __skb_udp_tunnel_segment()
149 netdev_features_t features, in skb_udp_tunnel_segment() argument
157 netdev_features_t features); in skb_udp_tunnel_segment()
177 segs = __skb_udp_tunnel_segment(skb, features, gso_inner_segment, in skb_udp_tunnel_segment()
[all …]
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_catalog.h74 * MDP TOP BLOCK features
94 * SSPP sub-blocks/features
134 * MIXER sub-blocks/features
203 * VBIF sub-blocks and features
220 * @features bit mask identifying sub-blocks/features
227 unsigned long features
245 * @info: HW register and features supported by this sub-blk
253 * @info: HW register and features supported by this sub-blk
267 * @info: HW register and features supported by this sub-blk
448 * @features bit mask identifying sub-blocks/features
[all …]
/Linux-v5.10/arch/arm/mm/
Dcache-tauros2.c183 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()
220 * located in the CPU Extra Features register. in tauros2_internal_init()
285 void __init tauros2_init(unsigned int features) in tauros2_init() argument
296 ret = of_property_read_u32(node, "marvell,tauros2-cache-features", &f); in tauros2_init()
[all …]
/Linux-v5.10/net/ipv6/
Desp6_offload.c145 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.10/drivers/net/ethernet/atheros/atlx/
Datlx.c208 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.10/arch/arm/mach-s3c/
Dmach-mini2440.c643 struct mini2440_features_t *features, in mini2440_parse_features() argument
648 features->count = 0; in mini2440_parse_features()
649 features->done = 0; in mini2440_parse_features()
650 features->lcd_index = -1; in mini2440_parse_features()
657 if (features->done & FEATURE_SCREEN) { in mini2440_parse_features()
667 features->optional[features->count++] = in mini2440_parse_features()
669 features->lcd_index = li; in mini2440_parse_features()
672 features->done |= FEATURE_SCREEN; in mini2440_parse_features()
675 if (features->done & FEATURE_BACKLIGHT) in mini2440_parse_features()
679 features->optional[features->count++] = in mini2440_parse_features()
[all …]
Dmach-real6410.c250 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 …]
Dmach-mini6410.c280 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.10/drivers/pci/controller/dwc/
DKconfig34 host-specific features PCI_DRA7XX_HOST must be selected and in order
35 to enable device-specific features PCI_DRA7XX_EP must be selected.
49 host-specific features PCI_DRA7XX_HOST must be selected and in order
50 to enable device-specific features PCI_DRA7XX_EP must be selected.
66 host-specific features PCIE_DW_PLAT_HOST must be selected and in
67 order to enable device-specific features PCI_DW_PLAT_EP must be
81 host-specific features PCIE_DW_PLAT_HOST must be selected and in
82 order to enable device-specific features PCI_DW_PLAT_EP must be
264 enable host-specific features PCIE_TEGRA194_HOST must be selected and
265 in order to enable device-specific features PCIE_TEGRA194_EP must be
[all …]
/Linux-v5.10/drivers/scsi/aic7xxx/
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 …]
/Linux-v5.10/net/bluetooth/
Dmsft.c19 __le64 features; member
25 __u64 features; member
42 bt_dev_err(hdev, "Failed to read MSFT supported features (%ld)", in read_supported_features()
48 bt_dev_err(hdev, "MSFT supported features length mismatch"); in read_supported_features()
65 msft->features = __le64_to_cpu(rp->features); in read_supported_features()
148 return msft ? msft->features : 0; in msft_get_features()
/Linux-v5.10/Documentation/x86/
Dcpuinfo.rst13 an X86_FEATURE_* defined. These flags represent hardware features as
14 well as software features.
29 shows features which the kernel supports. For a full list of CPUID flags
45 b: Flags can be from scattered CPUID-based features.
47 Hardware features enumerated in sparsely populated CPUID leaves get
55 [EAX=7, ECX=0] has 30 features and is dense, but the CPUID leaf [EAX=7, EAX=1]
60 c: Flags can be created synthetically under certain conditions for hardware features.
62 Examples of conditions include whether certain features are present in
64 conditions are met, the features are enabled by the set_cpu_cap or
70 d: Flags can represent purely software features.
[all …]
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_fcoe.c63 * cxgb_fcoe_enable - enable FCoE offload features
80 dev_info(adap->pdev_dev, "Enabling FCoE offload features\n"); in cxgb_fcoe_enable()
82 netdev->features |= NETIF_F_FCOE_CRC; in cxgb_fcoe_enable()
84 netdev->features |= NETIF_F_FCOE_MTU; in cxgb_fcoe_enable()
109 dev_info(adap->pdev_dev, "Disabling FCoE offload features\n"); in cxgb_fcoe_disable()
113 netdev->features &= ~NETIF_F_FCOE_CRC; in cxgb_fcoe_disable()
115 netdev->features &= ~NETIF_F_FCOE_MTU; in cxgb_fcoe_disable()
/Linux-v5.10/drivers/s390/block/
Ddasd_devmap.c38 * dasd_devmap_t is used to store the features and the relation
51 unsigned short features; member
180 * Read colon separated list of dasd features.
184 int features, len, rc; in dasd_feature_list() local
186 features = 0; in dasd_feature_list()
196 features |= DASD_FEATURE_READONLY; in dasd_feature_list()
198 features |= DASD_FEATURE_USEDIAG; in dasd_feature_list()
200 features |= DASD_FEATURE_USERAW; in dasd_feature_list()
202 features |= DASD_FEATURE_ERPLOG; in dasd_feature_list()
204 features |= DASD_FEATURE_FAILFAST; in dasd_feature_list()
[all …]
/Linux-v5.10/include/linux/
Dnetdev_features.h3 * Network device features.
92 * in Documentation/networking/netdev-features.rst.
182 /* Features valid for ethtool to change */
196 /* List of IP checksum features. Note that NETIF_F_HW_CSUM should not be
197 * set in features when NETIF_F_IP_CSUM or NETIF_F_IPV6_CSUM are set--
209 /* List of features with software fallbacks. */
214 * If one device supports one of these features, then enable them
222 * If one device doesn't support one of these features, then disable it
228 * If upper/master device has these features disabled, they must be disabled
233 /* changeable features with no special hardware requirements */
[all …]
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c141 netdev_features_t features) in aq_ndev_set_features() argument
143 bool is_vlan_tx_insert = !!(features & NETIF_F_HW_VLAN_CTAG_TX); in aq_ndev_set_features()
144 bool is_vlan_rx_strip = !!(features & NETIF_F_HW_VLAN_CTAG_RX); in aq_ndev_set_features()
153 if (!(features & NETIF_F_NTUPLE)) { in aq_ndev_set_features()
154 if (aq_nic->ndev->features & NETIF_F_NTUPLE) { in aq_ndev_set_features()
160 if (!(features & NETIF_F_HW_VLAN_CTAG_FILTER)) { in aq_ndev_set_features()
161 if (aq_nic->ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) { in aq_ndev_set_features()
168 aq_cfg->features = features; in aq_ndev_set_features()
171 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
179 if ((aq_nic->ndev->features ^ features) & NETIF_F_RXCSUM) { in aq_ndev_set_features()

12345678910>>...106