Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 25 of 100) sorted by relevance

1234

/device/soc/esp/esp32/components/driver/
Dsdspi_host.c76 static esp_err_t start_command_read_blocks(slot_info_t *slot, sdspi_hw_cmd_t *cmd,
79 static esp_err_t start_command_write_blocks(slot_info_t *slot, sdspi_hw_cmd_t *cmd,
82 static esp_err_t start_command_default(slot_info_t *slot, int flags, sdspi_hw_cmd_t *cmd);
99 static sdspi_dev_handle_t store_slot_info(slot_info_t *slot) in store_slot_info() argument
106 if (s_slots[slot->host_id] == NULL) { in store_slot_info()
107 s_slots[slot->host_id] = slot; in store_slot_info()
108 return slot->host_id; in store_slot_info()
110 return (sdspi_dev_handle_t)slot; in store_slot_info()
118 slot_info_t* slot = s_slots[handle]; in remove_slot_info() local
120 return slot; in remove_slot_info()
[all …]
Dsdmmc_host.c110 static void sdmmc_host_clock_update_command(int slot) in sdmmc_host_clock_update_command() argument
114 .card_num = slot, in sdmmc_host_clock_update_command()
120 sdmmc_host_start_command(slot, cmd_val, 0); in sdmmc_host_clock_update_command()
139 esp_err_t sdmmc_host_set_card_clk(int slot, uint32_t freq_khz) in sdmmc_host_set_card_clk() argument
141 if (!(slot == 0 || slot == 1)) { in sdmmc_host_set_card_clk()
147 SDMMC.clkena.cclk_enable &= ~BIT(slot); in sdmmc_host_set_card_clk()
148 sdmmc_host_clock_update_command(slot); in sdmmc_host_set_card_clk()
169 slot, host_div, card_div, in sdmmc_host_set_card_clk()
173 switch(slot) { in sdmmc_host_set_card_clk()
184 sdmmc_host_clock_update_command(slot); in sdmmc_host_set_card_clk()
[all …]
Dsdio_slave.c295 const sdio_slave_slot_info_t *slot = &sdio_slave_slot_info[1]; in sdio_slave_hw_init() local
298 configure_pin(slot->clk_gpio, slot->func, false); //clk doesn't need a pullup in sdio_slave_hw_init()
299 configure_pin(slot->cmd_gpio, slot->func, pullup); in sdio_slave_hw_init()
300 configure_pin(slot->d0_gpio, slot->func, pullup); in sdio_slave_hw_init()
302 configure_pin(slot->d1_gpio, slot->func, pullup); in sdio_slave_hw_init()
305 configure_pin(slot->d2_gpio, slot->func, pullup); in sdio_slave_hw_init()
307 configure_pin(slot->d3_gpio, slot->func, pullup); in sdio_slave_hw_init()
332 const sdio_slave_slot_info_t *slot = &sdio_slave_slot_info[1]; in sdio_slave_hw_deinit() local
333 recover_pin(slot->clk_gpio, slot->func); in sdio_slave_hw_deinit()
334 recover_pin(slot->cmd_gpio, slot->func); in sdio_slave_hw_deinit()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimcu/
Ddvb_ca_en50221_cimcu.c202 static int dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot, u8 * ebuf, int ecount);
203 static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot, u8 * ebuf, int ecount);
239 static int dvb_ca_en50221_check_camstatus(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_check_camstatus() argument
247 return (atomic_read(&ca->slot_info[slot].camchange_count) != 0); in dvb_ca_en50221_check_camstatus()
251 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
256 int cam_present_old = (ca->slot_info[slot].slot_state != DVB_CA_SLOTSTATE_NONE); in dvb_ca_en50221_check_camstatus()
262 ca->slot_info[slot].camchange_type = DVB_CA_EN50221_CAMCHANGE_REMOVED; in dvb_ca_en50221_check_camstatus()
264 ca->slot_info[slot].camchange_type = DVB_CA_EN50221_CAMCHANGE_INSERTED; in dvb_ca_en50221_check_camstatus()
266 atomic_set(&ca->slot_info[slot].camchange_count, 1); in dvb_ca_en50221_check_camstatus()
268 if ((ca->slot_info[slot].slot_state == DVB_CA_SLOTSTATE_WAITREADY) && in dvb_ca_en50221_check_camstatus()
[all …]
Ddvb_ca_en50221_cimcu.h60 int slot, int address);
62 int slot, int address, u8 value);
65 int slot, u8 address);
67 int slot, u8 address, u8 value);
69 int (*slot_reset)(struct dvb_ca_en50221_cimcu *ca, int slot);
70 int (*slot_shutdown)(struct dvb_ca_en50221_cimcu *ca, int slot);
71 int (*slot_ts_enable)(struct dvb_ca_en50221_cimcu *ca, int slot);
73 int (*poll_slot_status)(struct dvb_ca_en50221_cimcu *ca, int slot, int open);
91 void dvb_ca_en50221_cimcu_camchange_irq(struct dvb_ca_en50221_cimcu *pubca, int slot,
100 void dvb_ca_en50221_cimcu_camready_irq(struct dvb_ca_en50221_cimcu *pubca, int slot);
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/
Ddvb_ca_en50221_cimax.c186 int slot, u8 *ebuf, int ecount);
188 int slot, u8 *ebuf, int ecount);
224 static int dvb_ca_en50221_check_camstatus(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_check_camstatus() argument
232 return atomic_read(&ca->slot_info[slot].camchange_count) != 0; in dvb_ca_en50221_check_camstatus()
235 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
241 (ca->slot_info[slot].slot_state in dvb_ca_en50221_check_camstatus()
248 ca->slot_info[slot].camchange_type = in dvb_ca_en50221_check_camstatus()
251 ca->slot_info[slot].camchange_type = in dvb_ca_en50221_check_camstatus()
254 atomic_set(&ca->slot_info[slot].camchange_count, 1); in dvb_ca_en50221_check_camstatus()
256 if ((ca->slot_info[slot].slot_state in dvb_ca_en50221_check_camstatus()
[all …]
Ddvb_ca_en50221_cimax.h57 int slot, u8 *buf, int size);
59 int slot, int address, u8 *buf);
61 int (*negotiate)(struct dvb_ca_en50221_cimax *ca, int slot, int size);
65 int slot, u8 *buf, int size);
67 int slot, u8 *buf, int size);
69 int (*cam_reset)(struct dvb_ca_en50221_cimax *ca, int slot);
70 int (*read_cam_status)(struct dvb_ca_en50221_cimax *ca, int slot);
71 int (*get_capbility)(struct dvb_ca_en50221_cimax *ca, int slot);
74 int (*slot_reset)(struct dvb_ca_en50221_cimax *ca, int slot);
75 int (*slot_shutdown)(struct dvb_ca_en50221_cimax *ca, int slot);
[all …]
Daml_cimax.h33 int (*read_cis)(struct aml_cimax *cimax, int slot, u8 *buf, int size);
35 int slot, int address, u8 *buf);
36 int (*negotiate)(struct aml_cimax *cimax, int slot, int size);
37 int (*read_lpdu)(struct aml_cimax *cimax, int slot, u8 *buf, int size);
38 int (*write_lpdu)(struct aml_cimax *cimax, int slot, u8 *buf, int size);
39 int (*read_cam_status)(struct aml_cimax *cimax, int slot);
40 int (*cam_reset)(struct aml_cimax *cimax, int slot);
41 int (*get_capblility)(struct aml_cimax *cimax, int slot);
43 int (*slot_reset)(struct aml_cimax *cimax, int slot);
44 int (*slot_shutdown)(struct aml_cimax *cimax, int slot);
[all …]
Daml_cimax.c55 static int aml_cimax_slot_reset(struct aml_ci *ci, int slot) in aml_cimax_slot_reset() argument
59 pr_dbg("cimax: slot(%d) reset\n", slot); in aml_cimax_slot_reset()
61 ret = cimax->ops.slot_reset(cimax, slot); in aml_cimax_slot_reset()
65 static int aml_cimax_slot_shutdown(struct aml_ci *ci, int slot) in aml_cimax_slot_shutdown() argument
67 pr_dbg("slot(%d) shutdown\n", slot); in aml_cimax_slot_shutdown()
71 static int aml_cimax_slot_ts_enable(struct aml_ci *ci, int slot) in aml_cimax_slot_ts_enable() argument
73 pr_dbg("slot(%d) ts control\n", slot); in aml_cimax_slot_ts_enable()
77 static int aml_cimax_slot_status(struct aml_ci *ci, int slot, int open) in aml_cimax_slot_status() argument
84 ret = cimax->ops.slot_status(cimax, slot); in aml_cimax_slot_status()
104 static int aml_cimax_write_cor(struct aml_ci *ci, int slot, int addr, u8 *buf) in DEF_FUNC_WRAPPER3()
[all …]
Daml_cimax_usb.c513 static int cam_usb_cam_detect(struct cimax_usb *usb, int slot, int flag) in cam_usb_cam_detect() argument
515 usb->cam_inserted[slot] = flag; in cam_usb_cam_detect()
517 slot, usb->cam_inserted[slot], in cam_usb_cam_detect()
523 aml_cimax_slot_state_changed(usb->cimax, slot, in cam_usb_cam_detect()
524 usb->cam_inserted[slot]); in cam_usb_cam_detect()
528 static inline void set_usb_cam_ready(struct cimax_usb *usb, int slot) in set_usb_cam_ready() argument
530 if (usb->cam_inserted[slot] & IN_POWERED) { in set_usb_cam_ready()
531 cam_usb_cam_detect(usb, slot, in set_usb_cam_ready()
532 usb->cam_inserted[slot] | IN_LINKED); in set_usb_cam_ready()
668 static int cimax_usb_access_cam(struct cimax_usb *usb, int slot, in cimax_usb_access_cam() argument
[all …]
Daml_cimax_spi.c498 static inline void set_spi_cam_ready(struct cimax_spi *spi, int slot) in set_spi_cam_ready() argument
500 if (spi->cam_inserted[slot] == 1) { in set_spi_cam_ready()
501 spi->cam_inserted[slot] = 2; in set_spi_cam_ready()
503 slot, spi->cam_inserted[slot]); in set_spi_cam_ready()
719 static int cimax_spi_access_cam(struct cimax_spi *spi, int slot, in cimax_spi_access_cam() argument
725 cmd |= slot ? 0x80 : 0; in cimax_spi_access_cam()
735 if (cam_hdr_slot(spi) != slot) { in cimax_spi_access_cam()
737 slot, cam_hdr_slot(spi)); in cimax_spi_access_cam()
763 static int aml_cimax_spi_read_cis(struct aml_cimax *cimax, int slot, in aml_cimax_spi_read_cis() argument
772 err = cimax_spi_access_cam(spi, slot, CIMAX_CAM_CIS, NULL, 0); in aml_cimax_spi_read_cis()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/spp/
Dbtc_spp.c123 spp_slot_t **slot = NULL; in spp_malloc_slot() local
128 slot = &spp_local_param.spp_slots[i]; in spp_malloc_slot()
129 if ((*slot) == NULL) { in spp_malloc_slot()
130 if (((*slot) = (spp_slot_t *)osi_malloc(sizeof(spp_slot_t))) == NULL) { in spp_malloc_slot()
133 (*slot)->id = spp_local_param.spp_slot_id; in spp_malloc_slot()
134 (*slot)->serial = i; in spp_malloc_slot()
135 (*slot)->sdp_handle = 0; in spp_malloc_slot()
136 (*slot)->rfc_handle = 0; in spp_malloc_slot()
137 (*slot)->rfc_port_handle = 0; in spp_malloc_slot()
138 (*slot)->connected = 0; in spp_malloc_slot()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/
Daml_ci.c57 static int aml_ci_mem_read(struct dvb_ca_en50221_cimcu *en50221, int slot, int addr) in aml_ci_mem_read() argument
61 if (slot != 0) { in aml_ci_mem_read()
62 pr_error("slot !=0 %s :%d\r\n", __func__, slot); in aml_ci_mem_read()
67 return ci->ci_mem_read(ci, slot, addr); in aml_ci_mem_read()
82 int slot, int addr, u8 data) in aml_ci_mem_write() argument
87 if (slot != 0) { in aml_ci_mem_write()
88 pr_error("slot not 0 %s :%d\r\n", __func__, slot); in aml_ci_mem_write()
93 return ci->ci_mem_write(ci, slot, addr, data); in aml_ci_mem_write()
105 static int aml_ci_io_read(struct dvb_ca_en50221_cimcu *en50221, int slot, u8 addr) in aml_ci_io_read() argument
109 if (slot != 0) { in aml_ci_io_read()
[all …]
Daml_ci.h55 int (*ci_mem_read)(struct aml_ci *ca, int slot, int address);
56 int (*ci_mem_write)(struct aml_ci *ca, int slot, int address, u8 value);
59 int (*ci_io_read)(struct aml_ci *ca, int slot, int address);
60 int (*ci_io_write)(struct aml_ci *ca, int slot, int address, u8 value);
63 int (*ci_slot_reset)(struct aml_ci *ca, int slot);
64 int (*ci_slot_shutdown)(struct aml_ci *ca, int slot);
65 int (*ci_slot_ts_enable)(struct aml_ci *ca, int slot);
71 int (*ci_poll_slot_status)(struct aml_ci *ca, int slot, int open);
76 int (*ci_read_cis)(struct aml_ci *ca, int slot, u8 *buf, int size);
77 int (*ci_write_cor)(struct aml_ci *ca, int slot, int address, u8 *buf);
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/
Dcodec_mm_scatter.c74 #define SLOT_TO_SID(slot) HASH_PAGE_ADDR(((slot->phy_addr)>>PAGE_SHIFT)) argument
95 #define VALID_BIT(slot, bit) (bit >= 0 && ((slot->pagemap_size << 3) > bit)) argument
455 struct codec_mm_slot *slot;
468 slot = list_entry(list, struct codec_mm_slot,
470 total_pages += slot->page_num;
471 alloced_pages += slot->alloced_page_num;
473 if (slot->page_num - slot->alloced_page_num >
475 max_free_pages_sg = slot->page_num -
476 slot->alloced_page_num;
492 struct codec_mm_slot *slot) in codec_mm_set_slot_in_hash() argument
[all …]
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/
Dcodec_mm_scatter.c70 #define SLOT_TO_SID(slot) HASH_PAGE_ADDR((((slot)->phy_addr) >> PAGE_SHIFT)) argument
87 #define VALID_BIT(slot, bit) ((bit) >= 0 && (((slot)->pagemap_size << 3) > (bit))) argument
417 static int codec_mm_set_slot_in_hash(struct codec_mm_scatter_mgt *smgt, struct codec_mm_slot *slot) in codec_mm_set_slot_in_hash() argument
419 page_sid_type sid = SLOT_TO_SID(slot); in codec_mm_set_slot_in_hash()
425 slot->sid = sid; in codec_mm_set_slot_in_hash()
426 INIT_LIST_HEAD(&slot->sid_list); in codec_mm_set_slot_in_hash()
427 INIT_LIST_HEAD(&slot->free_list); in codec_mm_set_slot_in_hash()
430 smgt->slot_list_map[sid] = slot; in codec_mm_set_slot_in_hash()
431 slot->isroot = 1; in codec_mm_set_slot_in_hash()
435 list_add_tail(&slot->sid_list, &f_slot->sid_list); in codec_mm_set_slot_in_hash()
[all …]
/device/soc/esp/esp32/components/driver/include/driver/
Dsdmmc_host.h43 .slot = SDMMC_HOST_SLOT_1, \
117 esp_err_t sdmmc_host_init_slot(int slot, const sdmmc_slot_config_t* slot_config);
133 esp_err_t sdmmc_host_set_bus_width(int slot, size_t width);
141 size_t sdmmc_host_get_slot_width(int slot);
158 esp_err_t sdmmc_host_set_card_clk(int slot, uint32_t freq_khz);
168 esp_err_t sdmmc_host_set_bus_ddr_mode(int slot, bool ddr_enabled);
193 esp_err_t sdmmc_host_do_transaction(int slot, sdmmc_command_t* cmdinfo);
203 esp_err_t sdmmc_host_io_int_enable(int slot);
213 esp_err_t sdmmc_host_io_int_wait(int slot, TickType_t timeout_ticks);
241 esp_err_t sdmmc_host_pullup_en(int slot, int width);
Dsdmmc_types.h134 int slot; /*!< slot number, to be passed to host functions */ member
143 esp_err_t (*set_bus_width)(int slot, size_t width); /*!< host function to set bus width */
144 size_t (*get_bus_width)(int slot); /*!< host function to get bus width */
145 esp_err_t (*set_bus_ddr_mode)(int slot, bool ddr_enable); /*!< host function to set DDR mode */
146 …esp_err_t (*set_card_clk)(int slot, uint32_t freq_khz); /*!< host function to set card clock frequ…
147 …esp_err_t (*do_transaction)(int slot, sdmmc_command_t* cmdinfo); /*!< host function to do a tra…
150 …esp_err_t (*deinit_p)(int slot); /*!< host function to deinitialize the driver, called with the `…
152 esp_err_t (*io_int_enable)(int slot); /*!< Host function to enable SDIO interrupt line */
153 …esp_err_t (*io_int_wait)(int slot, TickType_t timeout_ticks); /*!< Host function to wait for SDIO …
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_dummy_job_wa.c113 static inline int run_job(struct kbase_device *kbdev, int as, int slot, u64 cores, u64 jc) in run_job() argument
118 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_HEAD_NEXT_LO), jc & U32_MAX); in run_job()
119 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_HEAD_NEXT_HI), jc >> 0x20); in run_job()
120 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_AFFINITY_NEXT_LO), cores & U32_MAX); in run_job()
121 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_AFFINITY_NEXT_HI), cores >> 0x20); in run_job()
122 …kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_CONFIG_NEXT), JS_CONFIG_DISABLE_DESCRIPTOR_WR_BK | as… in run_job()
125 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_COMMAND_NEXT), JS_COMMAND_START); in run_job()
128 … done = wait_any(kbdev, JOB_CONTROL_REG(JOB_IRQ_RAWSTAT), (1ul << (0x10 + slot)) | (1ul << slot)); in run_job()
131 if (done != (1ul << slot)) { in run_job()
132 dev_err(kbdev->dev, "Failed to run WA job on slot %d cores 0x%llx: done 0x%lx\n", slot, in run_job()
[all …]
Dmali_kbase_kinstr_jm.c141 u8 slot; member
824 change.data.start.slot = katom->jobslot; in kbasep_kinstr_jm_atom_state()
842 const int slot = katom->slot_nr; in kbasep_kinstr_jm_atom_hw_submit() local
843 struct kbase_jd_atom *const submitted = kbase_gpu_inspect(kbdev, slot, 0); in kbasep_kinstr_jm_atom_hw_submit()
849 if (WARN_ON(slot < 0 || slot >= GPU_MAX_JOB_SLOTS)) { in kbasep_kinstr_jm_atom_hw_submit()
865 const int slot = katom->slot_nr; in kbasep_kinstr_jm_atom_hw_release() local
866 struct kbase_jd_atom *const submitted = kbase_gpu_inspect(kbdev, slot, 0); in kbasep_kinstr_jm_atom_hw_release()
867 struct kbase_jd_atom *const queued = kbase_gpu_inspect(kbdev, slot, 1); in kbasep_kinstr_jm_atom_hw_release()
873 if (WARN_ON(slot < 0 || slot >= GPU_MAX_JOB_SLOTS)) { in kbasep_kinstr_jm_atom_hw_release()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_dummy_job_wa.c113 static inline int run_job(struct kbase_device *kbdev, int as, int slot, in run_job() argument
119 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_HEAD_NEXT_LO), in run_job()
121 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_HEAD_NEXT_HI), in run_job()
123 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_AFFINITY_NEXT_LO), in run_job()
125 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_AFFINITY_NEXT_HI), in run_job()
127 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_CONFIG_NEXT), in run_job()
131 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_COMMAND_NEXT), in run_job()
136 (1ul << (16+slot)) | (1ul << slot)); in run_job()
139 if (done != (1ul << slot)) { in run_job()
142 slot, (unsigned long long)cores, in run_job()
[all …]
Dmali_kbase_kinstr_jm.c140 u8 slot; member
833 change.data.start.slot = katom->slot_nr; in kbasep_kinstr_jm_atom_state()
852 const int slot = katom->slot_nr; in kbasep_kinstr_jm_atom_hw_submit() local
853 struct kbase_jd_atom *const submitted = kbase_gpu_inspect(kbdev, slot, 0); in kbasep_kinstr_jm_atom_hw_submit()
859 if (WARN_ON(slot < 0 || slot >= GPU_MAX_JOB_SLOTS)) in kbasep_kinstr_jm_atom_hw_submit()
872 const int slot = katom->slot_nr; in kbasep_kinstr_jm_atom_hw_release() local
873 struct kbase_jd_atom *const submitted = kbase_gpu_inspect(kbdev, slot, 0); in kbasep_kinstr_jm_atom_hw_release()
874 struct kbase_jd_atom *const queued = kbase_gpu_inspect(kbdev, slot, 1); in kbasep_kinstr_jm_atom_hw_release()
880 if (WARN_ON(slot < 0 || slot >= GPU_MAX_JOB_SLOTS)) in kbasep_kinstr_jm_atom_hw_release()
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/
Dcqhci-core.c635 cq_host->slot[tag].mrq = mrq; in cqhci_request()
636 cq_host->slot[tag].flags = 0; in cqhci_request()
686 struct cqhci_slot *slot; in cqhci_error_irq() local
711 slot = &cq_host->slot[tag]; in cqhci_error_irq()
712 if (slot->mrq) { in cqhci_error_irq()
713 slot->flags = cqhci_error_flags(cmd_error, data_error); in cqhci_error_irq()
714 cqhci_recovery_needed(mmc, slot->mrq, true); in cqhci_error_irq()
720 slot = &cq_host->slot[tag]; in cqhci_error_irq()
721 if (slot->mrq) { in cqhci_error_irq()
722 slot->flags = cqhci_error_flags(data_error, cmd_error); in cqhci_error_irq()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/debug/backend/
Dmali_kbase_debug_ktrace_csf.c44 const s8 slot = be_msg->gpu.csg_nr; in kbasep_ktrace_backend_format_msg() local
48 "%u,%d,", be_msg->gpu.group_handle, slot), 0); in kbasep_ktrace_backend_format_msg()
51 if (slot >= 0) in kbasep_ktrace_backend_format_msg()
133 const s8 slot = group->csg_nr; in kbasep_ktrace_add_csf() local
137 trace_msg->backend.gpu.csg_nr = slot; in kbasep_ktrace_add_csf()
139 if (slot >= 0) { in kbasep_ktrace_add_csf()
141 &kbdev->csf.scheduler.csg_slots[slot]; in kbasep_ktrace_add_csf()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
Dmali_kbase_csf_scheduler.c444 static inline bool csg_slot_in_use(struct kbase_device *kbdev, int slot) in csg_slot_in_use() argument
448 return (kbdev->csf.scheduler.csg_slots[slot].resident_group != NULL); in csg_slot_in_use()
946 struct kbase_device *kbdev, int slot) in kbase_csf_scheduler_get_group_on_slot() argument
950 return kbdev->csf.scheduler.csg_slots[slot].resident_group; in kbase_csf_scheduler_get_group_on_slot()
1028 int slot; in can_halt_stream() local
1034 slot = kbase_csf_scheduler_group_get_slot_locked(group); in can_halt_stream()
1035 can_halt = (slot >= 0) && in can_halt_stream()
1036 (atomic_read(&csg_slot[slot].state) == CSG_SLOT_RUNNING); in can_halt_stream()
1068 int slot; in sched_halt_stream() local
1079 slot = kbase_csf_scheduler_group_get_slot(group); in sched_halt_stream()
[all …]

1234