/Linux-v5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_if.c | 38 int hinic_msix_attr_set(struct hinic_hwif *hwif, u16 msix_index, in hinic_msix_attr_set() 72 int hinic_msix_attr_get(struct hinic_hwif *hwif, u16 msix_index, in hinic_msix_attr_get() 100 int hinic_msix_attr_cnt_clear(struct hinic_hwif *hwif, u16 msix_index) in hinic_msix_attr_cnt_clear() 121 void hinic_set_pf_action(struct hinic_hwif *hwif, enum hinic_pf_action action) in hinic_set_pf_action() 135 enum hinic_outbound_state hinic_outbound_state_get(struct hinic_hwif *hwif) in hinic_outbound_state_get() 142 void hinic_outbound_state_set(struct hinic_hwif *hwif, in hinic_outbound_state_set() 153 enum hinic_db_state hinic_db_state_get(struct hinic_hwif *hwif) in hinic_db_state_get() 160 void hinic_db_state_set(struct hinic_hwif *hwif, in hinic_db_state_set() 171 void hinic_set_msix_state(struct hinic_hwif *hwif, u16 msix_idx, in hinic_set_msix_state() 193 static int hwif_ready(struct hinic_hwif *hwif) in hwif_ready() [all …]
|
D | hinic_hw_api_cmd.c | 92 struct hinic_hwif *hwif = chain->hwif; in set_prod_idx() local 143 struct hinic_hwif *hwif = chain->hwif; in chain_busy() local 228 struct hinic_hwif *hwif = chain->hwif; in prepare_api_cmd() local 290 struct hinic_hwif *hwif = chain->hwif; in api_cmd_status_update() local 348 struct hinic_hwif *hwif = chain->hwif; in wait_for_api_cmd_completion() local 436 struct hinic_hwif *hwif = chain->hwif; in api_cmd_hw_restart() local 471 struct hinic_hwif *hwif = chain->hwif; in api_cmd_ctrl_init() local 501 struct hinic_hwif *hwif = chain->hwif; in api_cmd_set_status_addr() local 519 struct hinic_hwif *hwif = chain->hwif; in api_cmd_set_num_cells() local 533 struct hinic_hwif *hwif = chain->hwif; in api_cmd_head_init() local [all …]
|
D | hinic_port.c | 42 struct hinic_hwif *hwif = hwdev->hwif; in change_mac() local 121 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_get_mac() local 153 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_mtu() local 255 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_link_state() local 287 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_state() local 321 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_func_state() local 352 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_get_cap() local 382 struct hinic_hwif *hwif = hwdev->hwif; in hinic_port_set_tso() local 409 struct hinic_hwif *hwif; in hinic_set_rx_csum_offload() local 438 struct hinic_hwif *hwif; in hinic_set_rx_vlan_offload() local [all …]
|
D | hinic_hw_if.h | 146 #define HINIC_HWIF_NUM_AEQS(hwif) ((hwif)->attr.num_aeqs) argument 147 #define HINIC_HWIF_NUM_CEQS(hwif) ((hwif)->attr.num_ceqs) argument 148 #define HINIC_HWIF_NUM_IRQS(hwif) ((hwif)->attr.num_irqs) argument 149 #define HINIC_HWIF_FUNC_IDX(hwif) ((hwif)->attr.func_idx) argument 150 #define HINIC_HWIF_PCI_INTF(hwif) ((hwif)->attr.pci_intf_idx) argument 151 #define HINIC_HWIF_PF_IDX(hwif) ((hwif)->attr.pf_idx) argument 152 #define HINIC_HWIF_PPF_IDX(hwif) ((hwif)->attr.ppf_idx) argument 154 #define HINIC_FUNC_TYPE(hwif) ((hwif)->attr.func_type) argument 155 #define HINIC_IS_VF(hwif) (HINIC_FUNC_TYPE(hwif) == HINIC_VF) argument 156 #define HINIC_IS_PF(hwif) (HINIC_FUNC_TYPE(hwif) == HINIC_PF) argument [all …]
|
D | hinic_hw_dev.c | 103 struct hinic_hwif *hwif = hwdev->hwif; in get_capability() local 130 struct hinic_hwif *hwif = hwdev->hwif; in get_dev_cap() local 162 struct hinic_hwif *hwif = hwdev->hwif; in init_msix() local 198 struct hinic_hwif *hwif = hwdev->hwif; in disable_msix() local 248 struct hinic_hwif *hwif = hwdev->hwif; in init_fw_ctxt() local 280 struct hinic_hwif *hwif = hwdev->hwif; in set_hw_ioctxt() local 309 struct hinic_hwif *hwif = hwdev->hwif; in wait_for_outbound_state() local 329 struct hinic_hwif *hwif = hwdev->hwif; in wait_for_db_state() local 357 struct hinic_hwif *hwif = hwdev->hwif; in clear_io_resources() local 392 struct hinic_hwif *hwif = hwdev->hwif; in set_resources_state() local [all …]
|
D | hinic_hw_wq.c | 102 static int queue_alloc_page(struct hinic_hwif *hwif, u64 **vaddr, u64 *paddr, in queue_alloc_page() 151 struct hinic_hwif *hwif = wqs->hwif; in wqs_free_page() local 182 struct hinic_hwif *hwif = cmdq_pages->hwif; in cmdq_free_page() local 193 struct hinic_hwif *hwif = wqs->hwif; in alloc_page_arrays() local 224 struct hinic_hwif *hwif = wqs->hwif; in free_page_arrays() local 306 struct hinic_hwif *hwif) in hinic_wqs_alloc() 359 struct hinic_hwif *hwif = wqs->hwif; in hinic_wqs_free() local 379 struct hinic_hwif *hwif = wq->hwif; in alloc_wqes_shadow() local 406 struct hinic_hwif *hwif = wq->hwif; in free_wqes_shadow() local 419 static void free_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwif, in free_wq_pages() [all …]
|
/Linux-v5.10/drivers/ide/ |
D | ide-probe.c | 195 ide_hwif_t *hwif = drive->hwif; in do_identify() local 254 ide_hwif_t *hwif = drive->hwif; in ide_dev_read_id() local 334 ide_hwif_t *hwif = drive->hwif; in ide_busy_sleep() local 384 ide_hwif_t *hwif = drive->hwif; in do_probe() local 540 ide_hwif_t *hwif = container_of(dev, ide_hwif_t, gendev); in hwif_release_dev() local 545 static int ide_register_port(ide_hwif_t *hwif) in ide_register_port() 599 static int ide_port_wait_ready(ide_hwif_t *hwif) in ide_port_wait_ready() 680 static int ide_probe_port(ide_hwif_t *hwif) in ide_probe_port() 723 static void ide_port_tune_devices(ide_hwif_t *hwif) in ide_port_tune_devices() 766 ide_hwif_t *hwif = drive->hwif; in ide_init_queue() local [all …]
|
D | ide-dma-sff.c | 23 ide_hwif_t *hwif = drive->hwif; in config_drive_for_dma() local 54 u8 ide_dma_sff_read_status(ide_hwif_t *hwif) in ide_dma_sff_read_status() 65 static void ide_dma_sff_write_status(ide_hwif_t *hwif, u8 val) in ide_dma_sff_write_status() 85 ide_hwif_t *hwif = drive->hwif; in ide_dma_host_set() local 117 ide_hwif_t *hwif = drive->hwif; in ide_build_dmatable() local 190 ide_hwif_t *hwif = drive->hwif; in ide_dma_setup() local 240 ide_hwif_t *hwif = drive->hwif; in ide_dma_sff_timer_expiry() local 266 ide_hwif_t *hwif = drive->hwif; in ide_dma_start() local 288 ide_hwif_t *hwif = drive->hwif; in ide_dma_end() local 319 ide_hwif_t *hwif = drive->hwif; in ide_dma_test_irq() local
|
D | ide-io-std.c | 42 void ide_exec_command(ide_hwif_t *hwif, u8 cmd) in ide_exec_command() 51 u8 ide_read_status(ide_hwif_t *hwif) in ide_read_status() 60 u8 ide_read_altstatus(ide_hwif_t *hwif) in ide_read_altstatus() 69 void ide_write_devctl(ide_hwif_t *hwif, u8 ctl) in ide_write_devctl() 80 ide_hwif_t *hwif = drive->hwif; in ide_dev_select() local 92 ide_hwif_t *hwif = drive->hwif; in ide_tf_load() local 119 ide_hwif_t *hwif = drive->hwif; in ide_tf_read() local 168 ide_hwif_t *hwif = drive->hwif; in ide_input_data() local 212 ide_hwif_t *hwif = drive->hwif; in ide_output_data() local
|
D | ide-dma.c | 93 ide_hwif_t *hwif = drive->hwif; in ide_dma_intr() local 135 ide_hwif_t *hwif = drive->hwif; in ide_dma_map_sg() local 166 ide_hwif_t *hwif = drive->hwif; in ide_dma_unmap_sg() local 240 ide_hwif_t *hwif = drive->hwif; in ide_get_mode_mask() local 313 ide_hwif_t *hwif = drive->hwif; in ide_find_dma_mode() local 353 ide_hwif_t *hwif = drive->hwif; in ide_tune_dma() local 380 ide_hwif_t *hwif = drive->hwif; in ide_dma_check() local 448 ide_hwif_t *hwif = drive->hwif; in ide_dma_timeout_retry() local 495 void ide_release_dma_engine(ide_hwif_t *hwif) in ide_release_dma_engine() 507 int ide_allocate_dma_engine(ide_hwif_t *hwif) in ide_allocate_dma_engine()
|
D | pdc202xx_old.c | 25 static void pdc202xx_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pdc202xx_set_mode() 80 static void pdc202xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in pdc202xx_set_pio_mode() 86 static int pdc202xx_test_irq(ide_hwif_t *hwif) in pdc202xx_test_irq() 107 static u8 pdc2026x_cable_detect(ide_hwif_t *hwif) in pdc2026x_cable_detect() 126 static void pdc_old_enable_66MHz_clock(ide_hwif_t *hwif) in pdc_old_enable_66MHz_clock() 134 static void pdc_old_disable_66MHz_clock(ide_hwif_t *hwif) in pdc_old_disable_66MHz_clock() 142 static void pdc2026x_init_hwif(ide_hwif_t *hwif) in pdc2026x_init_hwif() 152 ide_hwif_t *hwif = drive->hwif; in pdc202xx_dma_start() local 172 ide_hwif_t *hwif = drive->hwif; in pdc202xx_dma_end() local
|
D | ide-io.c | 127 ide_hwif_t *hwif = drive->hwif; in ide_complete_rq() local 235 ide_hwif_t *hwif = drive->hwif; in ide_map_sg() local 409 static inline int ide_lock_port(ide_hwif_t *hwif) in ide_lock_port() 419 static inline void ide_unlock_port(ide_hwif_t *hwif) in ide_unlock_port() 424 static inline int ide_lock_host(struct ide_host *host, ide_hwif_t *hwif) in ide_lock_host() 462 ide_hwif_t *hwif = drive->hwif; in ide_issue_rq() local 572 ide_hwif_t *hwif = drive->hwif; in ide_queue_rq() local 587 ide_hwif_t *hwif = drive->hwif; in drive_is_ready() local 624 ide_hwif_t *hwif = from_timer(hwif, t, timer); in ide_timer_expiry() local 736 static void unexpected_intr(int irq, ide_hwif_t *hwif) in unexpected_intr() [all …]
|
D | tx4939ide.c | 105 #define TX4939IDE_BASE(hwif) ((void __iomem *)(hwif)->extra_base) argument 107 static void tx4939ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tx4939ide_set_pio_mode() 128 static void tx4939ide_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tx4939ide_set_dma_mode() 149 static u16 tx4939ide_check_error_ints(ide_hwif_t *hwif) in tx4939ide_check_error_ints() 175 ide_hwif_t *hwif; in tx4939ide_clear_irq() local 191 static u8 tx4939ide_cable_detect(ide_hwif_t *hwif) in tx4939ide_cable_detect() 202 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_host_set() local 236 ide_hwif_t *hwif = drive->hwif; in tx4939ide_build_dmatable() local 289 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_setup() local 316 ide_hwif_t *hwif = drive->hwif; in tx4939ide_dma_end() local [all …]
|
D | tc86c001.c | 17 static void tc86c001_set_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tc86c001_set_mode() 45 static void tc86c001_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in tc86c001_set_pio_mode() 67 ide_hwif_t *hwif = drive->hwif; in tc86c001_timer_expiry() local 114 ide_hwif_t *hwif = drive->hwif; in tc86c001_dma_start() local 134 static u8 tc86c001_cable_detect(ide_hwif_t *hwif) in tc86c001_cable_detect() 147 static void init_hwif_tc86c001(ide_hwif_t *hwif) in init_hwif_tc86c001()
|
D | siimage.c | 76 static inline int is_sata(ide_hwif_t *hwif) in is_sata() 92 static unsigned long siimage_selreg(ide_hwif_t *hwif, int r) in siimage_selreg() 116 ide_hwif_t *hwif = drive->hwif; in siimage_seldev() local 197 ide_hwif_t *hwif = drive->hwif; in sil_pata_udma_filter() local 239 static void sil_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sil_set_pio_mode() 298 static void sil_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sil_set_dma_mode() 341 static int sil_test_irq(ide_hwif_t *hwif) in sil_test_irq() 361 ide_hwif_t *hwif = drive->hwif; in siimage_mmio_dma_test_irq() local 411 ide_hwif_t *hwif = drive->hwif; in sil_sata_reset_poll() local 549 static void init_mmio_iops_siimage(ide_hwif_t *hwif) in init_mmio_iops_siimage() [all …]
|
D | it821x.c | 114 ide_hwif_t *hwif = drive->hwif; in it821x_program() local 140 ide_hwif_t *hwif = drive->hwif; in it821x_program_udma() local 170 ide_hwif_t *hwif = drive->hwif; in it821x_clock_strategy() local 239 static void it821x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it821x_set_pio_mode() 283 ide_hwif_t *hwif = drive->hwif; in it821x_tune_mwdma() local 320 ide_hwif_t *hwif = drive->hwif; in it821x_tune_udma() local 363 ide_hwif_t *hwif = drive->hwif; in it821x_dma_start() local 385 ide_hwif_t *hwif = drive->hwif; in it821x_dma_end() local 403 static void it821x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in it821x_set_dma_mode() 427 static u8 it821x_cable_detect(ide_hwif_t *hwif) in it821x_cable_detect() [all …]
|
D | cmd64x.c | 57 ide_hwif_t *hwif = drive->hwif; in cmd64x_program_timings() local 137 static void cmd64x_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd64x_set_pio_mode() 151 static void cmd64x_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cmd64x_set_dma_mode() 192 ide_hwif_t *hwif = drive->hwif; in cmd648_clear_irq() local 206 ide_hwif_t *hwif = drive->hwif; in cmd64x_clear_irq() local 218 static int cmd648_test_irq(ide_hwif_t *hwif) in cmd648_test_irq() 232 static int cmd64x_test_irq(ide_hwif_t *hwif) in cmd64x_test_irq() 255 ide_hwif_t *hwif = drive->hwif; in cmd646_1_dma_end() local 292 static u8 cmd64x_cable_detect(ide_hwif_t *hwif) in cmd64x_cable_detect()
|
D | cs5530.c | 40 #define CS5530_BASEREG(hwif) (((hwif)->dma_base & ~0xf) + ((hwif)->channel ? 0x30 : 0x20)) argument 53 static void cs5530_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5530_set_pio_mode() 83 ide_hwif_t *hwif = drive->hwif; in cs5530_udma_filter() local 103 static void cs5530_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in cs5530_set_dma_mode() 229 static void init_hwif_cs5530 (ide_hwif_t *hwif) in init_hwif_cs5530()
|
D | ide-xfer-mode.c | 125 ide_hwif_t *hwif = drive->hwif; in ide_set_pio_mode() local 159 ide_hwif_t *hwif = drive->hwif; in ide_set_dma_mode() local 185 ide_hwif_t *hwif = drive->hwif; in ide_set_pio() local 225 ide_hwif_t *hwif = drive->hwif; in ide_rate_filter() local 252 ide_hwif_t *hwif = drive->hwif; in ide_set_xfer_rate() local
|
D | ide-eh.c | 11 ide_hwif_t *hwif = drive->hwif; in ide_ata_error() local 67 ide_hwif_t *hwif = drive->hwif; in ide_atapi_error() local 170 ide_hwif_t *hwif = drive->hwif; in atapi_reset_pollfunc() local 199 static void ide_reset_report_error(ide_hwif_t *hwif, u8 err) in ide_reset_report_error() 226 ide_hwif_t *hwif = drive->hwif; in reset_pollfunc() local 337 ide_hwif_t *hwif = drive->hwif; in do_reset1() local
|
D | ns87415.c | 55 static u8 superio_read_status(ide_hwif_t *hwif) in superio_read_status() 60 static u8 superio_dma_sff_read_status(ide_hwif_t *hwif) in superio_dma_sff_read_status() 100 static void superio_init_iops(struct hwif_s *hwif) in superio_init_iops() 125 ide_hwif_t *hwif = drive->hwif; in ns87415_prepare_drive() local 187 ide_hwif_t *hwif = drive->hwif; in ns87415_dma_end() local 205 static void init_hwif_ns87415 (ide_hwif_t *hwif) in init_hwif_ns87415()
|
D | serverworks.c | 110 static void svwks_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in svwks_set_pio_mode() 135 static void svwks_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in svwks_set_dma_mode() 268 static u8 ata66_svwks_svwks(ide_hwif_t *hwif) in ata66_svwks_svwks() 280 static u8 ata66_svwks_dell(ide_hwif_t *hwif) in ata66_svwks_dell() 299 static u8 ata66_svwks_cobalt(ide_hwif_t *hwif) in ata66_svwks_cobalt() 311 static u8 svwks_cable_detect(ide_hwif_t *hwif) in svwks_cable_detect()
|
D | alim15x3.c | 51 static void ali_fifo_control(ide_hwif_t *hwif, ide_drive_t *drive, int on) in ali_fifo_control() 64 static void ali_program_timings(ide_hwif_t *hwif, ide_drive_t *drive, in ali_program_timings() 102 static void ali_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in ali_set_pio_mode() 164 static void ali_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in ali_set_dma_mode() 381 static u8 ali_cable_detect(ide_hwif_t *hwif) in ali_cable_detect() 418 static void init_hwif_ali15x3(ide_hwif_t *hwif) in init_hwif_ali15x3() 467 static int init_dma_ali15x3(ide_hwif_t *hwif, const struct ide_port_info *d) in init_dma_ali15x3()
|
D | ide-iops.c | 109 ide_hwif_t *hwif = drive->hwif; in __ide_wait_stat() local 236 ide_hwif_t *hwif = drive->hwif; in eighty_ninty_three() local 350 ide_hwif_t *hwif = drive->hwif; in ide_config_drive_speed() local 453 ide_hwif_t *hwif = drive->hwif; in __ide_set_handler() local 465 ide_hwif_t *hwif = drive->hwif; in ide_set_handler() local 490 ide_hwif_t *hwif = drive->hwif; in ide_execute_command() local 513 int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout) in ide_wait_not_busy()
|
D | ide-acpi.c | 39 ide_hwif_t *hwif; member 96 bool ide_port_acpi(ide_hwif_t *hwif) in ide_port_acpi() 180 static acpi_handle ide_acpi_hwif_get_handle(ide_hwif_t *hwif) in ide_acpi_hwif_get_handle() 397 void ide_acpi_get_timing(ide_hwif_t *hwif) in ide_acpi_get_timing() 475 void ide_acpi_push_timing(ide_hwif_t *hwif) in ide_acpi_push_timing() 516 void ide_acpi_set_state(ide_hwif_t *hwif, int on) in ide_acpi_set_state() 552 void ide_acpi_init_port(ide_hwif_t *hwif) in ide_acpi_init_port() 566 void ide_acpi_port_init_devices(ide_hwif_t *hwif) in ide_acpi_port_init_devices()
|