Home
last modified time | relevance | path

Searched refs:se_idx (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_tbf.c12 u32 se_idx; in lan966x_tbf_add() local
21 se_idx = SE_IDX_PORT + port->chip_port; in lan966x_tbf_add()
23 se_idx = SE_IDX_QUEUE + port->chip_port * NUM_PRIO_QUEUES + queue; in lan966x_tbf_add()
46 lan966x, QSYS_SE_CFG(se_idx)); in lan966x_tbf_add()
50 lan966x, QSYS_CIR_CFG(se_idx)); in lan966x_tbf_add()
61 u32 se_idx; in lan966x_tbf_del() local
70 se_idx = SE_IDX_PORT + port->chip_port; in lan966x_tbf_del()
72 se_idx = SE_IDX_QUEUE + port->chip_port * NUM_PRIO_QUEUES + queue; in lan966x_tbf_del()
78 lan966x, QSYS_SE_CFG(se_idx)); in lan966x_tbf_del()
82 lan966x, QSYS_CIR_CFG(se_idx)); in lan966x_tbf_del()
A Dlan966x_cbs.c10 u8 se_idx; in lan966x_cbs_add() local
18 se_idx = SE_IDX_QUEUE + port->chip_port * NUM_PRIO_QUEUES + qopt->queue; in lan966x_cbs_add()
42 lan966x, QSYS_SE_CFG(se_idx)); in lan966x_cbs_add()
46 lan966x, QSYS_CIR_CFG(se_idx)); in lan966x_cbs_add()
55 u8 se_idx; in lan966x_cbs_del() local
57 se_idx = SE_IDX_QUEUE + port->chip_port * NUM_PRIO_QUEUES + qopt->queue; in lan966x_cbs_del()
63 lan966x, QSYS_SE_CFG(se_idx)); in lan966x_cbs_del()
67 lan966x, QSYS_CIR_CFG(se_idx)); in lan966x_cbs_del()
A Dlan966x_ets.c25 u32 se_idx; in lan966x_ets_add() local
48 se_idx = SE_IDX_PORT + port->chip_port; in lan966x_ets_add()
65 lan966x, QSYS_SE_DWRR_CFG(se_idx, 7 - i)); in lan966x_ets_add()
72 lan966x, QSYS_SE_CFG(se_idx)); in lan966x_ets_add()
81 u32 se_idx; in lan966x_ets_del() local
84 se_idx = SE_IDX_PORT + port->chip_port; in lan966x_ets_del()
87 lan_wr(0, lan966x, QSYS_SE_DWRR_CFG(se_idx, i)); in lan966x_ets_del()
93 lan966x, QSYS_SE_CFG(se_idx)); in lan966x_ets_del()
/linux-6.3-rc2/drivers/nfc/st21nfca/
A Dse.c94 switch (se_idx) { in st21nfca_hci_control_se()
139 sk_host_list->data[i] != se_idx; i++) in st21nfca_hci_control_se()
144 if (state == ST21NFCA_SE_MODE_ON && host_id == se_idx) in st21nfca_hci_control_se()
145 return se_idx; in st21nfca_hci_control_se()
146 else if (state == ST21NFCA_SE_MODE_OFF && host_id != se_idx) in st21nfca_hci_control_se()
147 return se_idx; in st21nfca_hci_control_se()
174 int st21nfca_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx) in st21nfca_hci_enable_se() argument
195 nfc_remove_se(hdev->ndev, se_idx); in st21nfca_hci_enable_se()
220 int st21nfca_hci_se_io(struct nfc_hci_dev *hdev, u32 se_idx, in st21nfca_hci_se_io() argument
226 pr_debug("se_io %x\n", se_idx); in st21nfca_hci_se_io()
[all …]
A Dst21nfca.h188 int st21nfca_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx);
189 int st21nfca_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx);
190 int st21nfca_hci_se_io(struct nfc_hci_dev *hdev, u32 se_idx,
/linux-6.3-rc2/net/nfc/
A Dcore.c539 if (se->idx == se_idx) in nfc_find_se()
575 se = nfc_find_se(dev, se_idx); in nfc_enable_se()
586 rc = dev->ops->enable_se(dev, se_idx); in nfc_enable_se()
619 se = nfc_find_se(dev, se_idx); in nfc_disable_se()
630 rc = dev->ops->disable_se(dev, se_idx); in nfc_disable_se()
878 se = nfc_find_se(dev, se_idx); in nfc_add_se()
886 se->idx = se_idx; in nfc_add_se()
913 if (se->idx == se_idx) { in nfc_remove_se()
914 rc = nfc_genl_se_removed(dev, se_idx); in nfc_remove_se()
933 pr_debug("transaction: %x\n", se_idx); in nfc_se_transaction()
[all …]
A Dnfc.h92 int nfc_genl_se_added(struct nfc_dev *dev, u32 se_idx, u16 type);
93 int nfc_genl_se_removed(struct nfc_dev *dev, u32 se_idx);
94 int nfc_genl_se_transaction(struct nfc_dev *dev, u8 se_idx,
96 int nfc_genl_se_connectivity(struct nfc_dev *dev, u8 se_idx);
147 int nfc_enable_se(struct nfc_dev *dev, u32 se_idx);
148 int nfc_disable_se(struct nfc_dev *dev, u32 se_idx);
A Dnetlink.c501 se = nfc_find_se(dev, se_idx); in nfc_genl_se_transaction()
546 se = nfc_find_se(dev, se_idx); in nfc_genl_se_connectivity()
1277 u32 idx, se_idx; in nfc_genl_enable_se() local
1290 rc = nfc_enable_se(dev, se_idx); in nfc_genl_enable_se()
1300 u32 idx, se_idx; in nfc_genl_disable_se() local
1313 rc = nfc_disable_se(dev, se_idx); in nfc_genl_disable_se()
1431 se = nfc_find_se(dev, se_idx); in nfc_se_io()
1442 rc = dev->ops->se_io(dev, se_idx, apdu, in nfc_se_io()
1456 u32 se_idx; member
1501 u32 dev_idx, se_idx; in nfc_genl_se_io() local
[all …]
/linux-6.3-rc2/drivers/nfc/st-nci/
A Dse.c436 switch (se_idx) { in st_nci_control_se()
454 r = nci_nfcee_mode_set(ndev, se_idx, state); in st_nci_control_se()
480 sk_host_list->data[i] != se_idx; i++) in st_nci_control_se()
484 if (state == ST_NCI_SE_MODE_ON && host_id == se_idx) in st_nci_control_se()
485 return se_idx; in st_nci_control_se()
487 return se_idx; in st_nci_control_se()
504 if (se_idx == NFC_SE_EMBEDDED) { in st_nci_disable_se()
516 int st_nci_enable_se(struct nci_dev *ndev, u32 se_idx) in st_nci_enable_se() argument
537 nfc_remove_se(ndev->nfc_dev, se_idx); in st_nci_enable_se()
658 int st_nci_se_io(struct nci_dev *ndev, u32 se_idx, in st_nci_se_io() argument
[all …]
A Dst-nci.h129 int st_nci_enable_se(struct nci_dev *ndev, u32 se_idx);
130 int st_nci_disable_se(struct nci_dev *ndev, u32 se_idx);
131 int st_nci_se_io(struct nci_dev *ndev, u32 se_idx,
/linux-6.3-rc2/include/net/nfc/
A Dnfc.h70 int (*enable_se)(struct nfc_dev *dev, u32 se_idx);
71 int (*disable_se)(struct nfc_dev *dev, u32 se_idx);
72 int (*se_io) (struct nfc_dev *dev, u32 se_idx,
289 int nfc_se_transaction(struct nfc_dev *dev, u8 se_idx,
291 int nfc_se_connectivity(struct nfc_dev *dev, u8 se_idx);
292 int nfc_add_se(struct nfc_dev *dev, u32 se_idx, u16 type);
293 int nfc_remove_se(struct nfc_dev *dev, u32 se_idx);
294 struct nfc_se *nfc_find_se(struct nfc_dev *dev, u32 se_idx);
A Dhci.h48 int (*enable_se)(struct nfc_hci_dev *dev, u32 se_idx);
49 int (*disable_se)(struct nfc_hci_dev *dev, u32 se_idx);
50 int (*se_io)(struct nfc_hci_dev *dev, u32 se_idx,
A Dnci_core.h75 int (*disable_se)(struct nci_dev *ndev, u32 se_idx);
76 int (*enable_se)(struct nci_dev *ndev, u32 se_idx);
77 int (*se_io)(struct nci_dev *ndev, u32 se_idx,
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_tc.c91 u32 layer, se_idx; in sparx5_tc_setup_qdisc_tbf() local
94 &se_idx); in sparx5_tc_setup_qdisc_tbf()
99 se_idx); in sparx5_tc_setup_qdisc_tbf()
101 return sparx5_tc_tbf_del(port, layer, se_idx); in sparx5_tc_setup_qdisc_tbf()
/linux-6.3-rc2/drivers/nfc/pn544/
A Dpn544.c783 u32 se_idx = 0; in pn544_hci_discover_se() local
793 nfc_add_se(hdev->ndev, se_idx++, NFC_SE_UICC); in pn544_hci_discover_se()
802 nfc_add_se(hdev->ndev, se_idx++, NFC_SE_EMBEDDED); in pn544_hci_discover_se()
804 return !se_idx; in pn544_hci_discover_se()
809 static int pn544_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx) in pn544_hci_enable_se() argument
828 se = nfc_find_se(hdev->ndev, se_idx); in pn544_hci_enable_se()
864 static int pn544_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx) in pn544_hci_disable_se() argument
869 se = nfc_find_se(hdev->ndev, se_idx); in pn544_hci_disable_se()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd_gfx_v9.c763 int se_idx; in kgd_gfx_v9_get_cu_occupancy() local
787 for (se_idx = 0; se_idx < se_cnt; se_idx++) { in kgd_gfx_v9_get_cu_occupancy()
790 amdgpu_gfx_select_se_sh(adev, se_idx, sh_idx, 0xffffffff); in kgd_gfx_v9_get_cu_occupancy()
A Dgfx_v9_4_2.c1879 uint32_t se_idx, sh_idx, cu_idx; in gfx_v9_4_2_query_sq_timeout_status() local
1883 for (se_idx = 0; se_idx < adev->gfx.config.max_shader_engines; in gfx_v9_4_2_query_sq_timeout_status()
1884 se_idx++) { in gfx_v9_4_2_query_sq_timeout_status()
1890 gfx_v9_4_2_select_se_sh(adev, se_idx, sh_idx, in gfx_v9_4_2_query_sq_timeout_status()
1898 se_idx, sh_idx, cu_idx); in gfx_v9_4_2_query_sq_timeout_status()
1913 uint32_t se_idx, sh_idx, cu_idx; in gfx_v9_4_2_reset_sq_timeout_status() local
1916 for (se_idx = 0; se_idx < adev->gfx.config.max_shader_engines; in gfx_v9_4_2_reset_sq_timeout_status()
1917 se_idx++) { in gfx_v9_4_2_reset_sq_timeout_status()
1923 gfx_v9_4_2_select_se_sh(adev, se_idx, sh_idx, in gfx_v9_4_2_reset_sq_timeout_status()
A Dcik.c1128 unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; in cik_get_register_value() local
1133 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in cik_get_register_value()
1135 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in cik_get_register_value()
1137 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in cik_get_register_value()
1139 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config_1; in cik_get_register_value()
A Dvi.c753 unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; in vi_get_register_value() local
758 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in vi_get_register_value()
760 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in vi_get_register_value()
762 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in vi_get_register_value()
764 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config_1; in vi_get_register_value()
A Dsi.c1170 unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; in si_get_register_value() local
1175 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in si_get_register_value()
1177 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in si_get_register_value()
1179 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in si_get_register_value()
/linux-6.3-rc2/net/nfc/hci/
A Dcore.c801 static int hci_enable_se(struct nfc_dev *nfc_dev, u32 se_idx) in hci_enable_se() argument
806 return hdev->ops->enable_se(hdev, se_idx); in hci_enable_se()
811 static int hci_disable_se(struct nfc_dev *nfc_dev, u32 se_idx) in hci_disable_se() argument
816 return hdev->ops->disable_se(hdev, se_idx); in hci_disable_se()
821 static int hci_se_io(struct nfc_dev *nfc_dev, u32 se_idx, in hci_se_io() argument
828 return hdev->ops->se_io(hdev, se_idx, apdu, in hci_se_io()
/linux-6.3-rc2/net/nfc/nci/
A Dcore.c1058 static int nci_enable_se(struct nfc_dev *nfc_dev, u32 se_idx) in nci_enable_se() argument
1063 return ndev->ops->enable_se(ndev, se_idx); in nci_enable_se()
1068 static int nci_disable_se(struct nfc_dev *nfc_dev, u32 se_idx) in nci_disable_se() argument
1073 return ndev->ops->disable_se(ndev, se_idx); in nci_disable_se()
1094 static int nci_se_io(struct nfc_dev *nfc_dev, u32 se_idx, in nci_se_io() argument
1101 return ndev->ops->se_io(ndev, se_idx, apdu, in nci_se_io()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dmt76_connac_mcu.h459 u8 se_idx; member

Completed in 62 milliseconds