H A D | pci.c | 169 struct mlxsw_pci { struct 259 mlxsw_pci_queue_type_group_get(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_queue_type_group_get() argument 265 static u8 __mlxsw_pci_queue_count(struct mlxsw_pci *mlxsw_pci, __mlxsw_pci_queue_count() argument 274 static u8 mlxsw_pci_sdq_count(struct mlxsw_pci *mlxsw_pci) mlxsw_pci_sdq_count() argument 279 static u8 mlxsw_pci_rdq_count(struct mlxsw_pci *mlxsw_pci) mlxsw_pci_rdq_count() argument 284 static u8 mlxsw_pci_cq_count(struct mlxsw_pci *mlxsw_pci) mlxsw_pci_cq_count() argument 289 static u8 mlxsw_pci_eq_count(struct mlxsw_pci *mlxsw_pci) mlxsw_pci_eq_count() argument 295 __mlxsw_pci_queue_get(struct mlxsw_pci *mlxsw_pci, __mlxsw_pci_queue_get() argument 301 static struct mlxsw_pci_queue *mlxsw_pci_sdq_get(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_sdq_get() argument 308 static struct mlxsw_pci_queue *mlxsw_pci_rdq_get(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_rdq_get() argument 315 static struct mlxsw_pci_queue *mlxsw_pci_cq_get(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_cq_get() argument 321 static struct mlxsw_pci_queue *mlxsw_pci_eq_get(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_eq_get() argument 327 static void __mlxsw_pci_queue_doorbell_set(struct mlxsw_pci *mlxsw_pci, __mlxsw_pci_queue_doorbell_set() argument 337 static void __mlxsw_pci_queue_doorbell_arm_set(struct mlxsw_pci *mlxsw_pci, __mlxsw_pci_queue_doorbell_arm_set() argument 347 static void mlxsw_pci_queue_doorbell_producer_ring(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_queue_doorbell_producer_ring() argument 354 static void mlxsw_pci_queue_doorbell_consumer_ring(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_queue_doorbell_consumer_ring() argument 363 mlxsw_pci_queue_doorbell_arm_consumer_ring(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_queue_doorbell_arm_consumer_ring() argument 376 static int mlxsw_pci_sdq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, mlxsw_pci_sdq_init() argument 402 static void mlxsw_pci_sdq_fini(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_sdq_fini() argument 410 struct mlxsw_pci *mlxsw_pci = dev_get_drvdata(file->private); mlxsw_pci_sdq_dbg_read() local 428 static int mlxsw_pci_wqe_frag_map(struct mlxsw_pci *mlxsw_pci, char *wqe, mlxsw_pci_wqe_frag_map() argument 445 static void mlxsw_pci_wqe_frag_unmap(struct mlxsw_pci *mlxsw_pci, char *wqe, mlxsw_pci_wqe_frag_unmap() argument 457 static int mlxsw_pci_rdq_skb_alloc(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_rdq_skb_alloc() argument 485 static void mlxsw_pci_rdq_skb_free(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_rdq_skb_free() argument 498 static int mlxsw_pci_rdq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, mlxsw_pci_rdq_init() argument 549 static void mlxsw_pci_rdq_fini(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_rdq_fini() argument 564 struct mlxsw_pci *mlxsw_pci = dev_get_drvdata(file->private); mlxsw_pci_rdq_dbg_read() local 582 static int mlxsw_pci_cq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, mlxsw_pci_cq_init() argument 614 static void mlxsw_pci_cq_fini(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_cq_fini() argument 622 struct mlxsw_pci *mlxsw_pci = dev_get_drvdata(file->private); mlxsw_pci_cq_dbg_read() local 641 static void mlxsw_pci_cqe_sdq_handle(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_cqe_sdq_handle() argument 666 static void mlxsw_pci_cqe_rdq_handle(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_cqe_rdq_handle() argument 725 struct mlxsw_pci *mlxsw_pci = q->pci; mlxsw_pci_cq_tasklet() local 759 static int mlxsw_pci_eq_init(struct mlxsw_pci *mlxsw_pci, char *mbox, mlxsw_pci_eq_init() argument 790 static void mlxsw_pci_eq_fini(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_eq_fini() argument 798 struct mlxsw_pci *mlxsw_pci = dev_get_drvdata(file->private); mlxsw_pci_eq_dbg_read() local 817 static void mlxsw_pci_eq_cmd_event(struct mlxsw_pci *mlxsw_pci, char *eqe) mlxsw_pci_eq_cmd_event() argument 835 struct mlxsw_pci *mlxsw_pci = q->pci; mlxsw_pci_eq_tasklet() local 930 static int mlxsw_pci_queue_init(struct mlxsw_pci *mlxsw_pci, char *mbox, mlxsw_pci_queue_init() argument 987 static void mlxsw_pci_queue_fini(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_queue_fini() argument 999 static int mlxsw_pci_queue_group_init(struct mlxsw_pci *mlxsw_pci, char *mbox, mlxsw_pci_queue_group_init() argument 1035 static void mlxsw_pci_queue_group_fini(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_queue_group_fini() argument 1047 static int mlxsw_pci_aqs_init(struct mlxsw_pci *mlxsw_pci, char *mbox) mlxsw_pci_aqs_init() argument 1129 static void mlxsw_pci_aqs_fini(struct mlxsw_pci *mlxsw_pci) mlxsw_pci_aqs_fini() argument 1139 mlxsw_pci_config_profile_swid_config(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_config_profile_swid_config() argument 1158 static int mlxsw_pci_config_profile(struct mlxsw_pci *mlxsw_pci, char *mbox, mlxsw_pci_config_profile() argument 1267 static int mlxsw_pci_boardinfo(struct mlxsw_pci *mlxsw_pci, char *mbox) mlxsw_pci_boardinfo() argument 1281 static int mlxsw_pci_fw_area_init(struct mlxsw_pci *mlxsw_pci, char *mbox, mlxsw_pci_fw_area_init() argument 1338 static void mlxsw_pci_fw_area_fini(struct mlxsw_pci *mlxsw_pci) mlxsw_pci_fw_area_fini() argument 1356 struct mlxsw_pci *mlxsw_pci = dev_id; mlxsw_pci_eq_irq_handler() local 1367 static int mlxsw_pci_mbox_alloc(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_mbox_alloc() argument 1384 static void mlxsw_pci_mbox_free(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_mbox_free() argument 1396 struct mlxsw_pci *mlxsw_pci = bus_priv; mlxsw_pci_init() local 1491 struct mlxsw_pci *mlxsw_pci = bus_priv; mlxsw_pci_fini() local 1501 mlxsw_pci_sdq_pick(struct mlxsw_pci *mlxsw_pci, mlxsw_pci_sdq_pick() argument 1512 struct mlxsw_pci *mlxsw_pci = bus_priv; mlxsw_pci_skb_transmit_busy() local 1521 struct mlxsw_pci *mlxsw_pci = bus_priv; mlxsw_pci_skb_transmit() local 1589 struct mlxsw_pci *mlxsw_pci = bus_priv; mlxsw_pci_cmd_exec() local 1683 static int mlxsw_pci_sw_reset(struct mlxsw_pci *mlxsw_pci) mlxsw_pci_sw_reset() argument 1695 struct mlxsw_pci *mlxsw_pci; mlxsw_pci_probe() local 1800 struct mlxsw_pci *mlxsw_pci = pci_get_drvdata(pdev); mlxsw_pci_remove() local
|