Home
last modified time | relevance | path

Searched full:dca (Results 1 – 25 of 105) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/dca/
Ddca-core.c7 * This driver supports an interface for DCA clients and providers to meet.
13 #include <linux/dca.h>
79 struct dca_provider *dca, *_dca; in unregister_dca_providers() local
99 list_for_each_entry_safe(dca, _dca, &domain->dca_providers, node) in unregister_dca_providers()
100 list_move(&dca->node, &unregistered_providers); in unregister_dca_providers()
106 list_for_each_entry_safe(dca, _dca, &unregistered_providers, node) { in unregister_dca_providers()
107 dca_sysfs_remove_provider(dca); in unregister_dca_providers()
108 list_del(&dca->node); in unregister_dca_providers()
141 struct dca_provider *dca; in dca_find_provider_by_dev() local
159 list_for_each_entry(dca, &domain->dca_providers, node) in dca_find_provider_by_dev()
[all …]
Ddca-sysfs.c12 #include <linux/dca.h>
20 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot) in dca_sysfs_add_req() argument
25 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, in dca_sysfs_add_req()
30 void dca_sysfs_remove_req(struct dca_provider *dca, int slot) in dca_sysfs_remove_req() argument
35 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev) in dca_sysfs_add_provider() argument
43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
45 dca->id = ret; in dca_sysfs_add_provider()
52 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
55 idr_remove(&dca_idr, dca->id); in dca_sysfs_add_provider()
59 dca->cd = cd; in dca_sysfs_add_provider()
[all …]
DMakefile2 obj-$(CONFIG_DCA) += dca.o
3 dca-objs := dca-core.o dca-sysfs.o
DKconfig3 # DCA server configuration
6 config DCA config
/kernel/linux/linux-6.6/drivers/dca/
Ddca-core.c7 * This driver supports an interface for DCA clients and providers to meet.
13 #include <linux/dca.h>
79 struct dca_provider *dca, *_dca; in unregister_dca_providers() local
99 list_for_each_entry_safe(dca, _dca, &domain->dca_providers, node) in unregister_dca_providers()
100 list_move(&dca->node, &unregistered_providers); in unregister_dca_providers()
106 list_for_each_entry_safe(dca, _dca, &unregistered_providers, node) { in unregister_dca_providers()
107 dca_sysfs_remove_provider(dca); in unregister_dca_providers()
108 list_del(&dca->node); in unregister_dca_providers()
141 struct dca_provider *dca; in dca_find_provider_by_dev() local
159 list_for_each_entry(dca, &domain->dca_providers, node) in dca_find_provider_by_dev()
[all …]
Ddca-sysfs.c12 #include <linux/dca.h>
20 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot) in dca_sysfs_add_req() argument
25 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, in dca_sysfs_add_req()
30 void dca_sysfs_remove_req(struct dca_provider *dca, int slot) in dca_sysfs_remove_req() argument
35 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev) in dca_sysfs_add_provider() argument
43 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
45 dca->id = ret; in dca_sysfs_add_provider()
52 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
55 idr_remove(&dca_idr, dca->id); in dca_sysfs_add_provider()
59 dca->cd = cd; in dca_sysfs_add_provider()
[all …]
DMakefile2 obj-$(CONFIG_DCA) += dca.o
3 dca-objs := dca-core.o dca-sysfs.o
/kernel/linux/linux-5.10/drivers/dma/ioat/
Ddca.c11 #include <linux/dca.h>
25 * contain the bit number of the APIC ID to map into the DCA tag. If the valid
44 * "Legacy" DCA systems do not implement the DCA register set in the
59 /* CPUID level 9 returns DCA configuration */ in dca_enabled_in_bios()
60 /* Bit 0 indicates DCA enabled by the BIOS */ in dca_enabled_in_bios()
67 dev_dbg(&pdev->dev, "DCA is disabled in BIOS\n"); in dca_enabled_in_bios()
98 static int ioat_dca_dev_managed(struct dca_provider *dca, in ioat_dca_dev_managed() argument
101 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_dev_managed()
113 static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev) in ioat_dca_add_requester() argument
115 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_add_requester()
[all …]
/kernel/linux/linux-6.6/drivers/dma/ioat/
Ddca.c11 #include <linux/dca.h>
25 * contain the bit number of the APIC ID to map into the DCA tag. If the valid
44 * "Legacy" DCA systems do not implement the DCA register set in the
59 /* CPUID level 9 returns DCA configuration */ in dca_enabled_in_bios()
60 /* Bit 0 indicates DCA enabled by the BIOS */ in dca_enabled_in_bios()
67 dev_dbg(&pdev->dev, "DCA is disabled in BIOS\n"); in dca_enabled_in_bios()
98 static int ioat_dca_dev_managed(struct dca_provider *dca, in ioat_dca_dev_managed() argument
101 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_dev_managed()
113 static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev) in ioat_dca_add_requester() argument
115 struct ioat_dca_priv *ioatdca = dca_priv(dca); in ioat_dca_add_requester()
[all …]
/kernel/linux/linux-6.6/include/linux/
Ddca.h10 /* DCA Provider API */
12 /* DCA Notifier Interface */
42 void free_dca_provider(struct dca_provider *dca);
43 int register_dca_provider(struct dca_provider *dca, struct device *dev);
44 void unregister_dca_provider(struct dca_provider *dca, struct device *dev);
46 static inline void *dca_priv(struct dca_provider *dca) in dca_priv() argument
48 return (void *)dca + sizeof(struct dca_provider); in dca_priv()
61 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev);
62 void dca_sysfs_remove_provider(struct dca_provider *dca);
63 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot);
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddca.h10 /* DCA Provider API */
12 /* DCA Notifier Interface */
42 void free_dca_provider(struct dca_provider *dca);
43 int register_dca_provider(struct dca_provider *dca, struct device *dev);
44 void unregister_dca_provider(struct dca_provider *dca, struct device *dev);
46 static inline void *dca_priv(struct dca_provider *dca) in dca_priv() argument
48 return (void *)dca + sizeof(struct dca_provider); in dca_priv()
61 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev);
62 void dca_sysfs_remove_provider(struct dca_provider *dca);
63 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot);
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/myricom/
DKconfig37 bool "Direct Cache Access (DCA) Support"
39 depends on MYRI10GE && DCA && !(MYRI10GE=y && DCA=m)
41 Say Y here if you want to use Direct Cache Access (DCA) in the
42 driver. DCA is a method for warming the CPU cache before data
/kernel/linux/linux-6.6/drivers/net/ethernet/myricom/
DKconfig37 bool "Direct Cache Access (DCA) Support"
39 depends on MYRI10GE && DCA && !(MYRI10GE=y && DCA=m)
41 Say Y here if you want to use Direct Cache Access (DCA) in the
42 driver. DCA is a method for warming the CPU cache before data
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
DKconfig12 bool "QIB DCA support"
13 depends on INFINIBAND_QIB && DCA && SMP && !(INFINIBAND_QIB=y && DCA=m)
16 Setting this enables DCA support on some Intel chip sets
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
DKconfig12 bool "QIB DCA support"
13 depends on INFINIBAND_QIB && DCA && SMP && !(INFINIBAND_QIB=y && DCA=m)
16 Setting this enables DCA support on some Intel chip sets
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
De1000_82575.h147 /* Direct Cache Access (DCA) definitions */
148 #define E1000_DCA_CTRL_DCA_MODE_DISABLE 0x01 /* DCA Disable */
149 #define E1000_DCA_CTRL_DCA_MODE_CB2 0x02 /* DCA Mode CB2 */
152 #define E1000_DCA_RXCTRL_DESC_DCA_EN BIT(5) /* DCA Rx Desc enable */
153 #define E1000_DCA_RXCTRL_HEAD_DCA_EN BIT(6) /* DCA Rx Desc header enable */
154 #define E1000_DCA_RXCTRL_DATA_DCA_EN BIT(7) /* DCA Rx Desc payload enable */
155 #define E1000_DCA_RXCTRL_DESC_RRO_EN BIT(9) /* DCA Rx rd Desc Relax Order */
158 #define E1000_DCA_TXCTRL_DESC_DCA_EN BIT(5) /* DCA Tx Desc enable */
163 /* Additional DCA related definitions, note change in position of CPUID */
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_82575.h147 /* Direct Cache Access (DCA) definitions */
148 #define E1000_DCA_CTRL_DCA_MODE_DISABLE 0x01 /* DCA Disable */
149 #define E1000_DCA_CTRL_DCA_MODE_CB2 0x02 /* DCA Mode CB2 */
152 #define E1000_DCA_RXCTRL_DESC_DCA_EN BIT(5) /* DCA Rx Desc enable */
153 #define E1000_DCA_RXCTRL_HEAD_DCA_EN BIT(6) /* DCA Rx Desc header enable */
154 #define E1000_DCA_RXCTRL_DATA_DCA_EN BIT(7) /* DCA Rx Desc payload enable */
155 #define E1000_DCA_RXCTRL_DESC_RRO_EN BIT(9) /* DCA Rx rd Desc Relax Order */
158 #define E1000_DCA_TXCTRL_DESC_DCA_EN BIT(5) /* DCA Tx Desc enable */
163 /* Additional DCA related definitions, note change in position of CPUID */
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_llh_internal.h136 /* register address for bitfield dca{d}_cpuid[7:0] */
137 #define HW_ATL_RDM_DCADCPUID_ADR(dca) (0x00006100 + (dca) * 0x4) argument
138 /* bitmask for bitfield dca{d}_cpuid[7:0] */
140 /* lower bit position of bitfield dca{d}_cpuid[7:0] */
201 /* rx dca{d}_desc_en bitfield definitions
202 * preprocessor definitions for the bitfield "dca{d}_desc_en".
203 * parameter: dca {d} | stride size 0x4 | range [0, 31]
207 /* register address for bitfield dca{d}_desc_en */
208 #define HW_ATL_RDM_DCADDESC_EN_ADR(dca) (0x00006100 + (dca) * 0x4) argument
209 /* bitmask for bitfield dca{d}_desc_en */
[all …]
Dhw_atl_llh.h165 void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
167 /* set rx dca enable */
170 /* set rx dca mode */
178 /* set rx descriptor dca enable */
180 u32 dca);
202 /* set rx header dca enable */
204 u32 dca);
206 /* set rx payload dca enable */
208 u32 dca);
582 void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_llh_internal.h136 /* register address for bitfield dca{d}_cpuid[7:0] */
137 #define HW_ATL_RDM_DCADCPUID_ADR(dca) (0x00006100 + (dca) * 0x4) argument
138 /* bitmask for bitfield dca{d}_cpuid[7:0] */
140 /* lower bit position of bitfield dca{d}_cpuid[7:0] */
201 /* rx dca{d}_desc_en bitfield definitions
202 * preprocessor definitions for the bitfield "dca{d}_desc_en".
203 * parameter: dca {d} | stride size 0x4 | range [0, 31]
207 /* register address for bitfield dca{d}_desc_en */
208 #define HW_ATL_RDM_DCADDESC_EN_ADR(dca) (0x00006100 + (dca) * 0x4) argument
209 /* bitmask for bitfield dca{d}_desc_en */
[all …]
Dhw_atl_llh.h165 void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
167 /* set rx dca enable */
170 /* set rx dca mode */
178 /* set rx descriptor dca enable */
180 u32 dca);
202 /* set rx header dca enable */
204 u32 dca);
206 /* set rx payload dca enable */
208 u32 dca);
582 void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/
DKconfig118 bool "Direct Cache Access (DCA) Support"
120 depends on IGB && DCA && !(IGB=y && DCA=m)
122 Say Y here if you want to use Direct Cache Access (DCA) in the
123 driver. DCA is a method for warming the CPU cache before data
187 bool "Direct Cache Access (DCA) Support"
189 depends on IXGBE && DCA && !(IXGBE=y && DCA=m)
191 Say Y here if you want to use Direct Cache Access (DCA) in the
192 driver. DCA is a method for warming the CPU cache before data
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/
DKconfig118 bool "Direct Cache Access (DCA) Support"
120 depends on IGB && DCA && !(IGB=y && DCA=m)
122 Say Y here if you want to use Direct Cache Access (DCA) in the
123 driver. DCA is a method for warming the CPU cache before data
170 bool "Direct Cache Access (DCA) Support"
172 depends on IXGBE && DCA && !(IXGBE=y && DCA=m)
174 Say Y here if you want to use Direct Cache Access (DCA) in the
175 driver. DCA is a method for warming the CPU cache before data
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
D8250_hp300.c63 /* Offset to UART registers from base of DCA */
131 pr_info("Serial console is HP DCA at select code %d\n", scode); in hp300_setup_serial_console()
145 pr_warn("Serial console is DCA but support is disabled (CONFIG_HPDCA)!\n"); in hp300_setup_serial_console()
184 "8250_hp300: register_serial() DCA scode %d irq %d failed\n", in hpdca_init_one()
193 /* Reset the DCA */ in hpdca_init_one()
231 * Port 1 is either the console or the DCA. in hp300_8250_init()
235 * mapped to DCA. in hp300_8250_init()
322 MODULE_DESCRIPTION("HP DCA/APCI serial driver");
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_hp300.c63 /* Offset to UART registers from base of DCA */
131 pr_info("Serial console is HP DCA at select code %d\n", scode); in hp300_setup_serial_console()
145 pr_warn("Serial console is DCA but support is disabled (CONFIG_HPDCA)!\n"); in hp300_setup_serial_console()
184 "8250_hp300: register_serial() DCA scode %d irq %d failed\n", in hpdca_init_one()
193 /* Reset the DCA */ in hpdca_init_one()
231 * Port 1 is either the console or the DCA. in hp300_8250_init()
235 * mapped to DCA. in hp300_8250_init()
322 MODULE_DESCRIPTION("HP DCA/APCI serial driver");

12345