/drivers/crypto/qat/qat_dh895xccvf/ |
D | adf_dh895xccvf_hw_data.c | 136 void adf_init_hw_data_dh895xcciov(struct adf_hw_device_data *hw_data) in adf_init_hw_data_dh895xcciov() argument 138 hw_data->dev_class = &dh895xcciov_class; in adf_init_hw_data_dh895xcciov() 139 hw_data->instance_id = dh895xcciov_class.instances++; in adf_init_hw_data_dh895xcciov() 140 hw_data->num_banks = ADF_DH895XCCIOV_ETR_MAX_BANKS; in adf_init_hw_data_dh895xcciov() 141 hw_data->num_accel = ADF_DH895XCCIOV_MAX_ACCELERATORS; in adf_init_hw_data_dh895xcciov() 142 hw_data->num_logical_accel = 1; in adf_init_hw_data_dh895xcciov() 143 hw_data->num_engines = ADF_DH895XCCIOV_MAX_ACCELENGINES; in adf_init_hw_data_dh895xcciov() 144 hw_data->tx_rx_gap = ADF_DH895XCCIOV_RX_RINGS_OFFSET; in adf_init_hw_data_dh895xcciov() 145 hw_data->tx_rings_mask = ADF_DH895XCCIOV_TX_RINGS_MASK; in adf_init_hw_data_dh895xcciov() 146 hw_data->alloc_irq = adf_vf_isr_resource_alloc; in adf_init_hw_data_dh895xcciov() [all …]
|
D | adf_drv.c | 206 struct adf_hw_device_data *hw_data; in adf_probe() local 239 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe() 241 if (!hw_data) { in adf_probe() 245 accel_dev->hw_device = hw_data; in adf_probe() 256 hw_data->accel_mask = hw_data->get_accel_mask(hw_data->fuses); in adf_probe() 257 hw_data->ae_mask = hw_data->get_ae_mask(hw_data->fuses); in adf_probe() 258 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe() 262 ADF_DEVICE_NAME_PREFIX, hw_data->dev_class->name, in adf_probe()
|
D | adf_drv.h | 52 void adf_init_hw_data_dh895xcciov(struct adf_hw_device_data *hw_data); 53 void adf_clean_hw_data_dh895xcciov(struct adf_hw_device_data *hw_data);
|
/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_dh895xcc_hw_data.c | 222 void adf_init_hw_data_dh895xcc(struct adf_hw_device_data *hw_data) in adf_init_hw_data_dh895xcc() argument 224 hw_data->dev_class = &dh895xcc_class; in adf_init_hw_data_dh895xcc() 225 hw_data->instance_id = dh895xcc_class.instances++; in adf_init_hw_data_dh895xcc() 226 hw_data->num_banks = ADF_DH895XCC_ETR_MAX_BANKS; in adf_init_hw_data_dh895xcc() 227 hw_data->num_accel = ADF_DH895XCC_MAX_ACCELERATORS; in adf_init_hw_data_dh895xcc() 228 hw_data->num_logical_accel = 1; in adf_init_hw_data_dh895xcc() 229 hw_data->num_engines = ADF_DH895XCC_MAX_ACCELENGINES; in adf_init_hw_data_dh895xcc() 230 hw_data->tx_rx_gap = ADF_DH895XCC_RX_RINGS_OFFSET; in adf_init_hw_data_dh895xcc() 231 hw_data->tx_rings_mask = ADF_DH895XCC_TX_RINGS_MASK; in adf_init_hw_data_dh895xcc() 232 hw_data->alloc_irq = adf_isr_resource_alloc; in adf_init_hw_data_dh895xcc() [all …]
|
D | adf_drv.c | 208 struct adf_hw_device_data *hw_data; in adf_probe() local 248 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe() 250 if (!hw_data) { in adf_probe() 255 accel_dev->hw_device = hw_data; in adf_probe() 265 &hw_data->fuses); in adf_probe() 268 hw_data->accel_mask = hw_data->get_accel_mask(hw_data->fuses); in adf_probe() 269 hw_data->ae_mask = hw_data->get_ae_mask(hw_data->fuses); in adf_probe() 270 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe() 272 if (!hw_data->accel_mask || !hw_data->ae_mask || in adf_probe() 273 ((~hw_data->ae_mask) & 0x01)) { in adf_probe() [all …]
|
D | adf_isr.c | 67 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_msix() local 74 msix_num_entries += hw_data->num_banks; in adf_enable_msix() 79 hw_data->num_banks; in adf_enable_msix() 166 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_request_irqs() local 174 for (i = 0; i < hw_data->num_banks; i++) { in adf_request_irqs() 190 cpu = ((accel_dev->accel_id * hw_data->num_banks) + in adf_request_irqs() 214 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_free_irqs() local 220 for (i = 0; i < hw_data->num_banks; i++) { in adf_free_irqs() 234 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr_alloc_msix_entry_table() local 239 msix_num_entries += hw_data->num_banks; in adf_isr_alloc_msix_entry_table() [all …]
|
D | adf_drv.h | 52 void adf_init_hw_data_dh895xcc(struct adf_hw_device_data *hw_data); 53 void adf_clean_hw_data_dh895xcc(struct adf_hw_device_data *hw_data);
|
/drivers/video/backlight/ |
D | apple_bl.c | 34 struct hw_data { struct 43 static const struct hw_data *hw_data; argument 84 static const struct hw_data intel_chipset_data = { 129 static const struct hw_data nvidia_chipset_data = { 154 hw_data = &intel_chipset_data; in apple_bl_add() 156 hw_data = &nvidia_chipset_data; in apple_bl_add() 160 if (!hw_data) { in apple_bl_add() 167 intensity = hw_data->backlight_ops.get_brightness(NULL); in apple_bl_add() 170 hw_data->set_brightness(1); in apple_bl_add() 171 if (!hw_data->backlight_ops.get_brightness(NULL)) in apple_bl_add() [all …]
|
/drivers/crypto/qat/qat_common/ |
D | adf_pf2vf_msg.c | 70 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_pf2vf_interrupts() local 72 pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)].virt_addr; in adf_enable_pf2vf_interrupts() 74 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_vintmsk_offset(0), 0x0); in adf_enable_pf2vf_interrupts() 87 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_pf2vf_interrupts() local 89 pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)].virt_addr; in adf_disable_pf2vf_interrupts() 91 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_vintmsk_offset(0), 0x2); in adf_disable_pf2vf_interrupts() 98 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_vf2pf_interrupts() local 100 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_enable_vf2pf_interrupts() 127 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_vf2pf_interrupts() local 129 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_disable_vf2pf_interrupts() [all …]
|
D | adf_init.c | 123 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_init() local 126 if (!hw_data) { in adf_dev_init() 142 if (hw_data->init_admin_comms && hw_data->init_admin_comms(accel_dev)) { in adf_dev_init() 147 if (hw_data->init_arb && hw_data->init_arb(accel_dev)) { in adf_dev_init() 152 hw_data->enable_ints(accel_dev); in adf_dev_init() 168 if (hw_data->alloc_irq(accel_dev)) { in adf_dev_init() 190 hw_data->enable_error_correction(accel_dev); in adf_dev_init() 191 ret = hw_data->enable_vf2pf_comms(accel_dev); in adf_dev_init() 209 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_dev_start() local 221 if (hw_data->send_admin_init(accel_dev)) { in adf_dev_start() [all …]
|
D | adf_hw_arbiter.c | 90 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_arb() local 111 for (i = 0; i < hw_data->num_engines; i++) in adf_init_arb() 115 hw_data->get_arb_mapping(accel_dev, &thd_2_arb_cfg); in adf_init_arb() 120 for (i = 0; i < hw_data->num_engines; i++) in adf_init_arb() 143 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_exit_arb() local 157 for (i = 0; i < hw_data->num_engines; i++) in adf_exit_arb() 161 for (i = 0; i < hw_data->num_engines; i++) in adf_exit_arb()
|
D | adf_ctl_drv.c | 390 struct adf_hw_device_data *hw_data; in adf_ctl_ioctl_get_status() local 404 hw_data = accel_dev->hw_device; in adf_ctl_ioctl_get_status() 406 dev_info.num_ae = hw_data->get_num_aes(hw_data); in adf_ctl_ioctl_get_status() 407 dev_info.num_accel = hw_data->get_num_accels(hw_data); in adf_ctl_ioctl_get_status() 408 dev_info.num_logical_accel = hw_data->num_logical_accel; in adf_ctl_ioctl_get_status() 409 dev_info.banks_per_accel = hw_data->num_banks in adf_ctl_ioctl_get_status() 410 / hw_data->num_logical_accel; in adf_ctl_ioctl_get_status() 411 strlcpy(dev_info.name, hw_data->dev_class->name, sizeof(dev_info.name)); in adf_ctl_ioctl_get_status() 412 dev_info.instance_id = hw_data->instance_id; in adf_ctl_ioctl_get_status() 413 dev_info.type = hw_data->dev_class->type; in adf_ctl_ioctl_get_status()
|
D | adf_accel_engine.c | 117 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_ae_start() local 120 if (!hw_data->fw_name) in adf_ae_start() 124 if (hw_data->ae_mask & (1 << ae)) { in adf_ae_start() 138 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_ae_stop() local 141 if (!hw_data->fw_name) in adf_ae_stop() 145 if (hw_data->ae_mask & (1 << ae)) { in adf_ae_stop()
|
D | adf_transport.c | 183 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_ring() local 205 if (hw_data->tx_rings_mask & (1 << ring->ring_number)) in adf_init_ring() 403 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_bank() local 428 if (hw_data->tx_rings_mask & (1 << i)) { in adf_init_bank() 436 if (i < hw_data->tx_rx_gap) { in adf_init_bank() 441 tx_ring = &bank->rings[i - hw_data->tx_rx_gap]; in adf_init_bank() 456 if (hw_data->tx_rings_mask & (1 << i)) in adf_init_bank() 475 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_etr_data() local 496 i = hw_data->get_etr_bar_id(hw_data); in adf_init_etr_data() 535 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in cleanup_bank() local [all …]
|
D | adf_sriov.c | 114 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_sriov() local 116 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_enable_sriov() 173 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_sriov() local 175 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_disable_sriov()
|
D | adf_admin.c | 233 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_admin_comms() local 235 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_init_admin_comms()
|
D | qat_hal.c | 680 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in qat_hal_init() local 682 &pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)]; in qat_hal_init() 684 &pci_info->pci_bars[hw_data->get_sram_bar_id(hw_data)]; in qat_hal_init() 703 handle->hal_handle->ae_mask = hw_data->ae_mask; in qat_hal_init() 704 handle->hal_handle->slice_mask = hw_data->accel_mask; in qat_hal_init() 709 if (!(hw_data->ae_mask & (1 << ae))) in qat_hal_init() 732 if (!(hw_data->ae_mask & (1 << ae))) in qat_hal_init()
|
D | adf_dev_mgr.c | 138 void adf_devmgr_update_class_index(struct adf_hw_device_data *hw_data) in adf_devmgr_update_class_index() argument 140 struct adf_hw_device_class *class = hw_data->dev_class; in adf_devmgr_update_class_index()
|
D | adf_common_drv.h | 115 void adf_devmgr_update_class_index(struct adf_hw_device_data *hw_data);
|
/drivers/net/ethernet/ti/ |
D | cpmac.c | 183 u32 hw_data; member 397 desc->hw_data = (u32)desc->data_mapping; in cpmac_rx_one() 581 desc->hw_data = (u32)desc->data_mapping; in cpmac_start_xmit() 999 desc->hw_data = (u32)desc->data_mapping; in cpmac_open()
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 3568 } hw_data[] = { variable 3810 for (i = 0; i < ARRAY_SIZE(hw_data); i++) { in show_registers() 3811 read_register(dev, hw_data[i].addr, &val); in show_registers() 3813 hw_data[i].name, hw_data[i].addr, val); in show_registers()
|