/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c3xxxvf/ |
D | adf_c3xxxvf_hw_data.c | 68 void adf_init_hw_data_c3xxxiov(struct adf_hw_device_data *hw_data) in adf_init_hw_data_c3xxxiov() argument 70 hw_data->dev_class = &c3xxxiov_class; in adf_init_hw_data_c3xxxiov() 71 hw_data->num_banks = ADF_C3XXXIOV_ETR_MAX_BANKS; in adf_init_hw_data_c3xxxiov() 72 hw_data->num_accel = ADF_C3XXXIOV_MAX_ACCELERATORS; in adf_init_hw_data_c3xxxiov() 73 hw_data->num_logical_accel = 1; in adf_init_hw_data_c3xxxiov() 74 hw_data->num_engines = ADF_C3XXXIOV_MAX_ACCELENGINES; in adf_init_hw_data_c3xxxiov() 75 hw_data->tx_rx_gap = ADF_C3XXXIOV_RX_RINGS_OFFSET; in adf_init_hw_data_c3xxxiov() 76 hw_data->tx_rings_mask = ADF_C3XXXIOV_TX_RINGS_MASK; in adf_init_hw_data_c3xxxiov() 77 hw_data->alloc_irq = adf_vf_isr_resource_alloc; in adf_init_hw_data_c3xxxiov() 78 hw_data->free_irq = adf_vf_isr_resource_free; in adf_init_hw_data_c3xxxiov() [all …]
|
D | adf_drv.c | 78 struct adf_hw_device_data *hw_data; in adf_probe() local 112 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe() 114 if (!hw_data) { in adf_probe() 118 accel_dev->hw_device = hw_data; in adf_probe() 122 hw_data->accel_mask = hw_data->get_accel_mask(hw_data->fuses); in adf_probe() 123 hw_data->ae_mask = hw_data->get_ae_mask(hw_data->fuses); in adf_probe() 124 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe() 128 hw_data->dev_class->name, pci_name(pdev)); in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_dh895xccvf/ |
D | adf_dh895xccvf_hw_data.c | 68 void adf_init_hw_data_dh895xcciov(struct adf_hw_device_data *hw_data) in adf_init_hw_data_dh895xcciov() argument 70 hw_data->dev_class = &dh895xcciov_class; in adf_init_hw_data_dh895xcciov() 71 hw_data->num_banks = ADF_DH895XCCIOV_ETR_MAX_BANKS; in adf_init_hw_data_dh895xcciov() 72 hw_data->num_accel = ADF_DH895XCCIOV_MAX_ACCELERATORS; in adf_init_hw_data_dh895xcciov() 73 hw_data->num_logical_accel = 1; in adf_init_hw_data_dh895xcciov() 74 hw_data->num_engines = ADF_DH895XCCIOV_MAX_ACCELENGINES; in adf_init_hw_data_dh895xcciov() 75 hw_data->tx_rx_gap = ADF_DH895XCCIOV_RX_RINGS_OFFSET; in adf_init_hw_data_dh895xcciov() 76 hw_data->tx_rings_mask = ADF_DH895XCCIOV_TX_RINGS_MASK; in adf_init_hw_data_dh895xcciov() 77 hw_data->alloc_irq = adf_vf_isr_resource_alloc; in adf_init_hw_data_dh895xcciov() 78 hw_data->free_irq = adf_vf_isr_resource_free; in adf_init_hw_data_dh895xcciov() [all …]
|
D | adf_drv.c | 78 struct adf_hw_device_data *hw_data; in adf_probe() local 112 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe() 114 if (!hw_data) { in adf_probe() 118 accel_dev->hw_device = hw_data; in adf_probe() 122 hw_data->accel_mask = hw_data->get_accel_mask(hw_data->fuses); in adf_probe() 123 hw_data->ae_mask = hw_data->get_ae_mask(hw_data->fuses); in adf_probe() 124 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe() 128 hw_data->dev_class->name, pci_name(pdev)); in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c62xvf/ |
D | adf_c62xvf_hw_data.c | 68 void adf_init_hw_data_c62xiov(struct adf_hw_device_data *hw_data) in adf_init_hw_data_c62xiov() argument 70 hw_data->dev_class = &c62xiov_class; in adf_init_hw_data_c62xiov() 71 hw_data->num_banks = ADF_C62XIOV_ETR_MAX_BANKS; in adf_init_hw_data_c62xiov() 72 hw_data->num_accel = ADF_C62XIOV_MAX_ACCELERATORS; in adf_init_hw_data_c62xiov() 73 hw_data->num_logical_accel = 1; in adf_init_hw_data_c62xiov() 74 hw_data->num_engines = ADF_C62XIOV_MAX_ACCELENGINES; in adf_init_hw_data_c62xiov() 75 hw_data->tx_rx_gap = ADF_C62XIOV_RX_RINGS_OFFSET; in adf_init_hw_data_c62xiov() 76 hw_data->tx_rings_mask = ADF_C62XIOV_TX_RINGS_MASK; in adf_init_hw_data_c62xiov() 77 hw_data->alloc_irq = adf_vf_isr_resource_alloc; in adf_init_hw_data_c62xiov() 78 hw_data->free_irq = adf_vf_isr_resource_free; in adf_init_hw_data_c62xiov() [all …]
|
D | adf_drv.c | 78 struct adf_hw_device_data *hw_data; in adf_probe() local 112 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe() 114 if (!hw_data) { in adf_probe() 118 accel_dev->hw_device = hw_data; in adf_probe() 122 hw_data->accel_mask = hw_data->get_accel_mask(hw_data->fuses); in adf_probe() 123 hw_data->ae_mask = hw_data->get_ae_mask(hw_data->fuses); in adf_probe() 124 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe() 128 hw_data->dev_class->name, pci_name(pdev)); in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c3xxx/ |
D | adf_c3xxx_hw_data.c | 154 void adf_init_hw_data_c3xxx(struct adf_hw_device_data *hw_data) in adf_init_hw_data_c3xxx() argument 156 hw_data->dev_class = &c3xxx_class; in adf_init_hw_data_c3xxx() 157 hw_data->instance_id = c3xxx_class.instances++; in adf_init_hw_data_c3xxx() 158 hw_data->num_banks = ADF_C3XXX_ETR_MAX_BANKS; in adf_init_hw_data_c3xxx() 159 hw_data->num_accel = ADF_C3XXX_MAX_ACCELERATORS; in adf_init_hw_data_c3xxx() 160 hw_data->num_logical_accel = 1; in adf_init_hw_data_c3xxx() 161 hw_data->num_engines = ADF_C3XXX_MAX_ACCELENGINES; in adf_init_hw_data_c3xxx() 162 hw_data->tx_rx_gap = ADF_C3XXX_RX_RINGS_OFFSET; in adf_init_hw_data_c3xxx() 163 hw_data->tx_rings_mask = ADF_C3XXX_TX_RINGS_MASK; in adf_init_hw_data_c3xxx() 164 hw_data->alloc_irq = adf_isr_resource_alloc; in adf_init_hw_data_c3xxx() [all …]
|
D | adf_drv.c | 76 struct adf_hw_device_data *hw_data; in adf_probe() local 117 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe() 119 if (!hw_data) { in adf_probe() 124 accel_dev->hw_device = hw_data; in adf_probe() 128 &hw_data->fuses); in adf_probe() 131 hw_data->accel_mask = hw_data->get_accel_mask(hw_data->fuses); in adf_probe() 132 hw_data->ae_mask = hw_data->get_ae_mask(hw_data->fuses); in adf_probe() 133 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe() 135 if (!hw_data->accel_mask || !hw_data->ae_mask || in adf_probe() 136 ((~hw_data->ae_mask) & 0x01)) { in adf_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c62x/ |
D | adf_c62x_hw_data.c | 164 void adf_init_hw_data_c62x(struct adf_hw_device_data *hw_data) in adf_init_hw_data_c62x() argument 166 hw_data->dev_class = &c62x_class; in adf_init_hw_data_c62x() 167 hw_data->instance_id = c62x_class.instances++; in adf_init_hw_data_c62x() 168 hw_data->num_banks = ADF_C62X_ETR_MAX_BANKS; in adf_init_hw_data_c62x() 169 hw_data->num_accel = ADF_C62X_MAX_ACCELERATORS; in adf_init_hw_data_c62x() 170 hw_data->num_logical_accel = 1; in adf_init_hw_data_c62x() 171 hw_data->num_engines = ADF_C62X_MAX_ACCELENGINES; in adf_init_hw_data_c62x() 172 hw_data->tx_rx_gap = ADF_C62X_RX_RINGS_OFFSET; in adf_init_hw_data_c62x() 173 hw_data->tx_rings_mask = ADF_C62X_TX_RINGS_MASK; in adf_init_hw_data_c62x() 174 hw_data->alloc_irq = adf_isr_resource_alloc; in adf_init_hw_data_c62x() [all …]
|
D | adf_drv.c | 76 struct adf_hw_device_data *hw_data; in adf_probe() local 117 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe() 119 if (!hw_data) { in adf_probe() 124 accel_dev->hw_device = hw_data; in adf_probe() 128 &hw_data->fuses); in adf_probe() 131 hw_data->accel_mask = hw_data->get_accel_mask(hw_data->fuses); in adf_probe() 132 hw_data->ae_mask = hw_data->get_ae_mask(hw_data->fuses); in adf_probe() 133 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe() 135 if (!hw_data->accel_mask || !hw_data->ae_mask || in adf_probe() 136 ((~hw_data->ae_mask) & 0x01)) { in adf_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_dh895xcc_hw_data.c | 177 void adf_init_hw_data_dh895xcc(struct adf_hw_device_data *hw_data) in adf_init_hw_data_dh895xcc() argument 179 hw_data->dev_class = &dh895xcc_class; in adf_init_hw_data_dh895xcc() 180 hw_data->instance_id = dh895xcc_class.instances++; in adf_init_hw_data_dh895xcc() 181 hw_data->num_banks = ADF_DH895XCC_ETR_MAX_BANKS; in adf_init_hw_data_dh895xcc() 182 hw_data->num_accel = ADF_DH895XCC_MAX_ACCELERATORS; in adf_init_hw_data_dh895xcc() 183 hw_data->num_logical_accel = 1; in adf_init_hw_data_dh895xcc() 184 hw_data->num_engines = ADF_DH895XCC_MAX_ACCELENGINES; in adf_init_hw_data_dh895xcc() 185 hw_data->tx_rx_gap = ADF_DH895XCC_RX_RINGS_OFFSET; in adf_init_hw_data_dh895xcc() 186 hw_data->tx_rings_mask = ADF_DH895XCC_TX_RINGS_MASK; in adf_init_hw_data_dh895xcc() 187 hw_data->alloc_irq = adf_isr_resource_alloc; in adf_init_hw_data_dh895xcc() [all …]
|
D | adf_drv.c | 76 struct adf_hw_device_data *hw_data; in adf_probe() local 117 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe() 119 if (!hw_data) { in adf_probe() 124 accel_dev->hw_device = hw_data; in adf_probe() 128 &hw_data->fuses); in adf_probe() 131 hw_data->accel_mask = hw_data->get_accel_mask(hw_data->fuses); in adf_probe() 132 hw_data->ae_mask = hw_data->get_ae_mask(hw_data->fuses); in adf_probe() 133 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe() 135 if (!hw_data->accel_mask || !hw_data->ae_mask || in adf_probe() 136 ((~hw_data->ae_mask) & 0x01)) { in adf_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/video/backlight/ |
D | apple_bl.c | 31 struct hw_data { struct 40 static const struct hw_data *hw_data; argument 81 static const struct hw_data intel_chipset_data = { 126 static const struct hw_data nvidia_chipset_data = { 151 hw_data = &intel_chipset_data; in apple_bl_add() 153 hw_data = &nvidia_chipset_data; in apple_bl_add() 157 if (!hw_data) { in apple_bl_add() 164 intensity = hw_data->backlight_ops.get_brightness(NULL); in apple_bl_add() 167 hw_data->set_brightness(1); in apple_bl_add() 168 if (!hw_data->backlight_ops.get_brightness(NULL)) in apple_bl_add() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
D | adf_pf2vf_msg.c | 17 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_pf2vf_interrupts() local 19 pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)].virt_addr; in adf_enable_pf2vf_interrupts() 21 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_vintmsk_offset(0), 0x0); in adf_enable_pf2vf_interrupts() 27 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_pf2vf_interrupts() local 29 pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)].virt_addr; in adf_disable_pf2vf_interrupts() 31 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_vintmsk_offset(0), 0x2); in adf_disable_pf2vf_interrupts() 37 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_vf2pf_interrupts() local 39 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_enable_vf2pf_interrupts() 60 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_vf2pf_interrupts() local 62 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_disable_vf2pf_interrupts() [all …]
|
D | adf_init.c | 63 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_init() local 66 if (!hw_data) { in adf_dev_init() 82 if (hw_data->init_admin_comms && hw_data->init_admin_comms(accel_dev)) { in adf_dev_init() 87 if (hw_data->init_arb && hw_data->init_arb(accel_dev)) { in adf_dev_init() 92 hw_data->enable_ints(accel_dev); in adf_dev_init() 108 if (hw_data->alloc_irq(accel_dev)) { in adf_dev_init() 130 hw_data->enable_error_correction(accel_dev); in adf_dev_init() 131 ret = hw_data->enable_vf2pf_comms(accel_dev); in adf_dev_init() 149 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_start() local 161 if (hw_data->send_admin_init(accel_dev)) { in adf_dev_start() [all …]
|
D | adf_isr.c | 23 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_msix() local 30 msix_num_entries += hw_data->num_banks; in adf_enable_msix() 35 hw_data->num_banks; in adf_enable_msix() 68 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_msix_isr_ae() local 70 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_msix_isr_ae() 123 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_request_irqs() local 131 for (i = 0; i < hw_data->num_banks; i++) { in adf_request_irqs() 147 cpu = ((accel_dev->accel_id * hw_data->num_banks) + in adf_request_irqs() 171 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_free_irqs() local 177 for (i = 0; i < hw_data->num_banks; i++) { in adf_free_irqs() [all …]
|
D | adf_hw_arbiter.c | 37 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_arb() local 49 for (i = 0; i < hw_data->num_engines; i++) in adf_init_arb() 53 hw_data->get_arb_mapping(accel_dev, &thd_2_arb_cfg); in adf_init_arb() 58 for (i = 0; i < hw_data->num_engines; i++) in adf_init_arb() 74 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_exit_arb() local 88 for (i = 0; i < hw_data->num_engines; i++) in adf_exit_arb() 92 for (i = 0; i < hw_data->num_engines; i++) in adf_exit_arb()
|
D | adf_ctl_drv.c | 345 struct adf_hw_device_data *hw_data; in adf_ctl_ioctl_get_status() local 359 hw_data = accel_dev->hw_device; in adf_ctl_ioctl_get_status() 361 dev_info.num_ae = hw_data->get_num_aes(hw_data); in adf_ctl_ioctl_get_status() 362 dev_info.num_accel = hw_data->get_num_accels(hw_data); in adf_ctl_ioctl_get_status() 363 dev_info.num_logical_accel = hw_data->num_logical_accel; in adf_ctl_ioctl_get_status() 364 dev_info.banks_per_accel = hw_data->num_banks in adf_ctl_ioctl_get_status() 365 / hw_data->num_logical_accel; in adf_ctl_ioctl_get_status() 366 strlcpy(dev_info.name, hw_data->dev_class->name, sizeof(dev_info.name)); in adf_ctl_ioctl_get_status() 367 dev_info.instance_id = hw_data->instance_id; in adf_ctl_ioctl_get_status() 368 dev_info.type = hw_data->dev_class->type; in adf_ctl_ioctl_get_status()
|
D | adf_vf_isr.c | 74 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_pf2vf_bh_handler() local 76 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_pf2vf_bh_handler() 81 msg = ADF_CSR_RD(pmisc_bar_addr, hw_data->get_pf2vf_offset(0)); in adf_pf2vf_bh_handler() 113 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_pf2vf_offset(0), msg); in adf_pf2vf_bh_handler() 133 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_pf2vf_offset(0), msg); in adf_pf2vf_bh_handler() 164 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr() local 166 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_isr()
|
D | adf_accel_engine.c | 76 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_ae_start() local 79 if (!hw_data->fw_name) in adf_ae_start() 83 if (hw_data->ae_mask & (1 << ae)) { in adf_ae_start() 97 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_ae_stop() local 100 if (!hw_data->fw_name) in adf_ae_stop() 104 if (hw_data->ae_mask & (1 << ae)) { in adf_ae_stop()
|
/kernel/linux/linux-5.10/net/core/ |
D | drop_monitor.c | 306 net_dm_hw_reset_per_cpu_data(struct per_cpu_dm_data *hw_data) in net_dm_hw_reset_per_cpu_data() argument 318 mod_timer(&hw_data->send_timer, jiffies + HZ / 10); in net_dm_hw_reset_per_cpu_data() 321 spin_lock_irqsave(&hw_data->lock, flags); in net_dm_hw_reset_per_cpu_data() 322 swap(hw_data->hw_entries, hw_entries); in net_dm_hw_reset_per_cpu_data() 323 spin_unlock_irqrestore(&hw_data->lock, flags); in net_dm_hw_reset_per_cpu_data() 414 struct per_cpu_dm_data *hw_data; in net_dm_hw_summary_work() local 418 hw_data = container_of(work, struct per_cpu_dm_data, dm_alert_work); in net_dm_hw_summary_work() 420 hw_entries = net_dm_hw_reset_per_cpu_data(hw_data); in net_dm_hw_summary_work() 447 struct per_cpu_dm_data *hw_data; in net_dm_hw_trap_summary_probe() local 454 hw_data = this_cpu_ptr(&dm_hw_cpu_data); in net_dm_hw_trap_summary_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/uniphier/ |
D | clk-uniphier-core.c | 45 struct clk_hw_onecell_data *hw_data; in uniphier_clk_probe() local 67 hw_data = devm_kzalloc(dev, struct_size(hw_data, hws, clk_num), in uniphier_clk_probe() 69 if (!hw_data) in uniphier_clk_probe() 72 hw_data->num = clk_num; in uniphier_clk_probe() 76 hw_data->hws[clk_num] = ERR_PTR(-EINVAL); in uniphier_clk_probe() 87 hw_data->hws[p->idx] = hw; in uniphier_clk_probe() 91 hw_data); in uniphier_clk_probe()
|
/kernel/linux/linux-5.10/drivers/clk/keystone/ |
D | syscon-clk.c | 95 struct clk_hw_onecell_data *hw_data; in ti_syscon_gate_clk_probe() local 116 hw_data = devm_kzalloc(dev, struct_size(hw_data, hws, num_clks), in ti_syscon_gate_clk_probe() 118 if (!hw_data) in ti_syscon_gate_clk_probe() 121 hw_data->num = num_clks; in ti_syscon_gate_clk_probe() 124 hw_data->hws[i] = ti_syscon_gate_clk_register(dev, regmap, in ti_syscon_gate_clk_probe() 126 if (IS_ERR(hw_data->hws[i])) in ti_syscon_gate_clk_probe() 132 hw_data); in ti_syscon_gate_clk_probe()
|
/kernel/linux/linux-5.10/include/sound/ |
D | pcm-indirect.h | 17 unsigned int hw_data; /* Offset to next dst (or src) in hw ring buffer */ member 53 unsigned int hw_to_end = rec->hw_buffer_size - rec->hw_data; in snd_pcm_indirect_playback_transfer() 65 rec->hw_data += bytes; in snd_pcm_indirect_playback_transfer() 66 if (rec->hw_data == rec->hw_buffer_size) in snd_pcm_indirect_playback_transfer() 67 rec->hw_data = 0; in snd_pcm_indirect_playback_transfer() 121 size_t hw_to_end = rec->hw_buffer_size - rec->hw_data; in snd_pcm_indirect_capture_transfer() 133 rec->hw_data += bytes; in snd_pcm_indirect_capture_transfer() 134 if ((int)rec->hw_data == rec->hw_buffer_size) in snd_pcm_indirect_capture_transfer() 135 rec->hw_data = 0; in snd_pcm_indirect_capture_transfer()
|
/kernel/linux/linux-5.10/drivers/clk/meson/ |
D | meson-aoclk.c | 76 for (clkid = 0; clkid < data->hw_data->num; clkid++) { in meson_aoclkc_probe() 77 if (!data->hw_data->hws[clkid]) in meson_aoclkc_probe() 80 ret = devm_clk_hw_register(dev, data->hw_data->hws[clkid]); in meson_aoclkc_probe() 88 (void *) data->hw_data); in meson_aoclkc_probe()
|