Home
last modified time | relevance | path

Searched defs:cb (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/drivers/misc/habanalabs/common/
Dcommand_buffer.c15 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem()
114 static void cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_unmap_mem()
140 static void cb_fini(struct hl_device *hdev, struct hl_cb *cb) in cb_fini()
152 static void cb_do_release(struct hl_device *hdev, struct hl_cb *cb) in cb_do_release()
166 struct hl_cb *cb; in cb_release() local
184 struct hl_cb *cb = NULL; in hl_cb_alloc() local
245 struct hl_cb *cb; in hl_cb_create() local
354 struct hl_cb *cb; in hl_cb_destroy() local
385 struct hl_cb *cb; in hl_cb_info() local
468 struct hl_cb *cb = (struct hl_cb *) vma->vm_private_data; in cb_vm_close() local
[all …]
/drivers/scsi/
Dmyrb.c90 static bool myrb_create_mempools(struct pci_dev *pdev, struct myrb_hba *cb) in myrb_create_mempools()
140 static void myrb_destroy_mempools(struct myrb_hba *cb) in myrb_destroy_mempools()
163 static void myrb_qcmd(struct myrb_hba *cb, struct myrb_cmdblk *cmd_blk) in myrb_qcmd()
185 static unsigned short myrb_exec_cmd(struct myrb_hba *cb, in myrb_exec_cmd()
206 static unsigned short myrb_exec_type3(struct myrb_hba *cb, in myrb_exec_type3()
228 static unsigned short myrb_exec_type3D(struct myrb_hba *cb, in myrb_exec_type3D()
284 static void myrb_get_event(struct myrb_hba *cb, unsigned int event) in myrb_get_event()
340 static void myrb_get_errtable(struct myrb_hba *cb) in myrb_get_errtable()
387 static unsigned short myrb_get_ldev_info(struct myrb_hba *cb) in myrb_get_ldev_info()
438 static unsigned short myrb_get_rbld_progress(struct myrb_hba *cb, in myrb_get_rbld_progress()
[all …]
/drivers/staging/media/atomisp/pci/base/circbuf/interface/
Dia_css_circbuf.h147 ia_css_circbuf_t *cb, in ia_css_circbuf_get_pos_at_offset()
180 ia_css_circbuf_t *cb, in ia_css_circbuf_get_offset()
205 ia_css_circbuf_t *cb) in ia_css_circbuf_get_size()
221 ia_css_circbuf_t *cb) in ia_css_circbuf_get_num_elems()
243 ia_css_circbuf_t *cb) in ia_css_circbuf_is_empty()
260 static inline bool ia_css_circbuf_is_full(ia_css_circbuf_t *cb) in ia_css_circbuf_is_full()
278 ia_css_circbuf_t *cb, in ia_css_circbuf_write()
302 ia_css_circbuf_t *cb, in ia_css_circbuf_push()
325 ia_css_circbuf_t *cb) in ia_css_circbuf_get_free_elems()
/drivers/staging/media/atomisp/pci/base/circbuf/src/
Dcircbuf.c72 ia_css_circbuf_create(ia_css_circbuf_t *cb, in ia_css_circbuf_create()
96 void ia_css_circbuf_destroy(ia_css_circbuf_t *cb) in ia_css_circbuf_destroy()
107 uint32_t ia_css_circbuf_pop(ia_css_circbuf_t *cb) in ia_css_circbuf_pop()
124 uint32_t ia_css_circbuf_extract(ia_css_circbuf_t *cb, int offset) in ia_css_circbuf_extract()
174 uint32_t ia_css_circbuf_peek(ia_css_circbuf_t *cb, int offset) in ia_css_circbuf_peek()
188 uint32_t ia_css_circbuf_peek_from_start(ia_css_circbuf_t *cb, int offset) in ia_css_circbuf_peek_from_start()
204 ia_css_circbuf_t *cb, in ia_css_circbuf_increase_size()
272 ia_css_circbuf_read(ia_css_circbuf_t *cb) in ia_css_circbuf_read()
292 ia_css_circbuf_shift_chunk(ia_css_circbuf_t *cb, in ia_css_circbuf_shift_chunk()
/drivers/misc/mei/
Dclient.c318 void mei_io_cb_free(struct mei_cl_cb *cb) in mei_io_cb_free()
336 static inline void mei_tx_cb_enqueue(struct mei_cl_cb *cb, in mei_tx_cb_enqueue()
350 static inline void mei_tx_cb_dequeue(struct mei_cl_cb *cb) in mei_tx_cb_dequeue()
392 struct mei_cl_cb *cb; in mei_io_cb_init() local
417 struct mei_cl_cb *cb, *next; in mei_io_list_flush_cl() local
439 struct mei_cl_cb *cb, *next; in mei_io_tx_list_free_cl() local
455 struct mei_cl_cb *cb, *next; in mei_io_list_free_fp() local
469 struct mei_cl_cb *cb; in mei_cl_free_pending() local
489 struct mei_cl_cb *cb; in mei_cl_alloc_cb() local
524 struct mei_cl_cb *cb; in mei_cl_enqueue_ctrl_wr_cb() local
[all …]
Dinterrupt.c31 struct mei_cl_cb *cb, *next; in mei_irq_compl_handler() local
99 struct mei_cl_cb *cb; in mei_cl_irq_read_msg() local
221 static int mei_cl_irq_disconnect_rsp(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_disconnect_rsp()
253 static int mei_cl_irq_read(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_read()
479 struct mei_cl_cb *cb, *next; in mei_irq_write_handler() local
/drivers/mfd/
Dlm3533-ctrlbank.c28 static inline u8 lm3533_ctrlbank_get_reg(struct lm3533_ctrlbank *cb, u8 base) in lm3533_ctrlbank_get_reg()
33 int lm3533_ctrlbank_enable(struct lm3533_ctrlbank *cb) in lm3533_ctrlbank_enable()
50 int lm3533_ctrlbank_disable(struct lm3533_ctrlbank *cb) in lm3533_ctrlbank_disable()
71 int lm3533_ctrlbank_set_max_current(struct lm3533_ctrlbank *cb, u16 imax) in lm3533_ctrlbank_set_max_current()
91 int lm3533_ctrlbank_set_brightness(struct lm3533_ctrlbank *cb, u8 val) in lm3533_ctrlbank_set_brightness()
105 int lm3533_ctrlbank_get_brightness(struct lm3533_ctrlbank *cb, u8 *val) in lm3533_ctrlbank_get_brightness()
129 int lm3533_ctrlbank_set_pwm(struct lm3533_ctrlbank *cb, u8 val) in lm3533_ctrlbank_set_pwm()
146 int lm3533_ctrlbank_get_pwm(struct lm3533_ctrlbank *cb, u8 *val) in lm3533_ctrlbank_get_pwm()
/drivers/misc/sgi-gru/
Dgrukservices.c255 static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr) in gru_get_cpu_resources()
272 static void gru_free_cpu_resources(void *cb, void *dsr) in gru_free_cpu_resources()
359 void gru_lock_async_resource(unsigned long han, void **cb, void **dsr) in gru_lock_async_resource()
387 int gru_get_cb_exception_detail(void *cb, in gru_get_cb_exception_detail()
425 static char *gru_get_cb_exception_detail_str(int ret, void *cb, in gru_get_cb_exception_detail_str()
453 static int gru_retry_exception(void *cb) in gru_retry_exception()
476 int gru_check_status_proc(void *cb) in gru_check_status_proc()
489 int gru_wait_proc(void *cb) in gru_wait_proc()
501 static void gru_abort(int ret, void *cb, char *str) in gru_abort()
509 void gru_wait_abort_proc(void *cb) in gru_wait_abort_proc()
[all …]
Dgru_instructions.h79 unsigned long cb; member
359 static inline void gru_vload_phys(void *cb, unsigned long gpa, in gru_vload_phys()
371 static inline void gru_vstore_phys(void *cb, unsigned long gpa, in gru_vstore_phys()
383 static inline void gru_vload(void *cb, unsigned long mem_addr, in gru_vload()
396 static inline void gru_vstore(void *cb, unsigned long mem_addr, in gru_vstore()
409 static inline void gru_ivload(void *cb, unsigned long mem_addr, in gru_ivload()
422 static inline void gru_ivstore(void *cb, unsigned long mem_addr, in gru_ivstore()
435 static inline void gru_vset(void *cb, unsigned long mem_addr, in gru_vset()
449 static inline void gru_ivset(void *cb, unsigned long mem_addr, in gru_ivset()
463 static inline void gru_vflush(void *cb, unsigned long mem_addr, in gru_vflush()
[all …]
/drivers/dma-buf/
Dst-dma-fence.c37 struct dma_fence_cb cb; member
41 static void mock_wakeup(struct dma_fence *f, struct dma_fence_cb *cb) in mock_wakeup()
49 struct wait_cb cb = { .task = current }; in mock_wait() local
147 struct dma_fence_cb cb; member
151 static void simple_callback(struct dma_fence *f, struct dma_fence_cb *cb) in simple_callback()
158 struct simple_cb cb = {}; in test_add_callback() local
185 struct simple_cb cb = {}; in test_late_add_callback() local
214 struct simple_cb cb = {}; in test_rm_callback() local
246 struct simple_cb cb = {}; in test_late_rm_callback() local
453 struct simple_cb cb; in thread_signal_callback() local
Ddma-fence.c637 int dma_fence_add_callback(struct dma_fence *fence, struct dma_fence_cb *cb, in dma_fence_add_callback()
711 dma_fence_remove_callback(struct dma_fence *fence, struct dma_fence_cb *cb) in dma_fence_remove_callback()
734 dma_fence_default_wait_cb(struct dma_fence *fence, struct dma_fence_cb *cb) in dma_fence_default_wait_cb()
757 struct default_wait_cb cb; in dma_fence_default_wait() local
848 struct default_wait_cb *cb; in dma_fence_wait_any_timeout() local
/drivers/net/ethernet/netronome/nfp/
Dccm_mbox.c64 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_msg_init() local
75 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_maxlen() local
82 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_done() local
89 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_in_progress() local
97 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_set_busy() local
104 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_is_posted() local
111 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_mark_posted() local
123 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; in nfp_ccm_mbox_should_run() local
130 struct nfp_ccm_mbox_cmsg_cb *cb; in nfp_ccm_mbox_mark_next_runner() local
216 struct nfp_ccm_mbox_cmsg_cb *cb; in nfp_ccm_mbox_copy_out() local
[all …]
/drivers/scsi/elx/efct/
Defct_scsi.c115 efct_scsi_io_cb_t cb; in efct_target_io_cb() local
260 efct_hw_done_t cb = io->hw_cb; in efct_scsi_check_pending_async_cb() local
368 efct_hw_done_t cb = io->hw_cb; in efct_scsi_io_dispatch_no_hw_io() local
518 efct_scsi_io_dispatch(struct efct_io *io, void *cb) in efct_scsi_io_dispatch()
586 efct_scsi_io_dispatch_abort(struct efct_io *io, void *cb) in efct_scsi_io_dispatch_abort()
622 efct_scsi_io_cb_t cb, void *arg) in efct_scsi_xfer_data()
714 efct_scsi_io_cb_t cb, void *arg) in efct_scsi_send_rd_data()
724 efct_scsi_io_cb_t cb, void *arg) in efct_scsi_recv_wr_data()
734 efct_scsi_io_cb_t cb, void *arg) in efct_scsi_send_resp()
872 efct_scsi_io_cb_t cb, void *arg) in efct_target_send_bls_resp()
[all …]
/drivers/infiniband/core/
Diwpm_msg.c385 int iwpm_register_pid_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_register_pid_cb()
457 int iwpm_add_mapping_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_add_mapping_cb()
536 struct netlink_callback *cb) in iwpm_add_and_query_mapping_cb()
619 int iwpm_remote_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_remote_info_cb()
694 int iwpm_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_mapping_info_cb()
746 int iwpm_ack_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_ack_mapping_info_cb()
776 int iwpm_mapping_error_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_mapping_error_cb()
824 int iwpm_hello_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_hello_cb()
/drivers/mcb/
Dmcb-parse.c30 struct chameleon_bar *cb, in chameleon_parse_bdd()
37 struct chameleon_bar *cb, in chameleon_parse_gdd()
115 struct chameleon_bar *cb, int bar_count) in chameleon_parse_bar()
132 struct chameleon_bar **cb) in chameleon_get_bar()
179 struct chameleon_bar *cb; in chameleon_parse_cells() local
/drivers/dma/
Ddmaengine.h115 struct dmaengine_desc_callback *cb) in dmaengine_desc_get_callback()
132 dmaengine_desc_callback_invoke(struct dmaengine_desc_callback *cb, in dmaengine_desc_callback_invoke()
163 struct dmaengine_desc_callback cb; in dmaengine_desc_get_callback_invoke() local
177 dmaengine_desc_callback_valid(struct dmaengine_desc_callback *cb) in dmaengine_desc_callback_valid()
/drivers/platform/x86/intel/speed_select_if/
Disst_if_common.c152 static void isst_mbox_resume_command(struct isst_if_cmd_cb *cb, in isst_mbox_resume_command()
179 struct isst_if_cmd_cb *cb; in isst_resume_common() local
529 static long isst_if_exec_multi_cmd(void __user *argp, struct isst_if_cmd_cb *cb) in isst_if_exec_multi_cmd()
586 struct isst_if_cmd_cb *cb; in isst_if_def_ioctl() local
637 struct isst_if_cmd_cb *cb = &punit_callbacks[i]; in isst_if_open() local
648 struct isst_if_cmd_cb *cb; in isst_if_open() local
669 struct isst_if_cmd_cb *cb = &punit_callbacks[i]; in isst_if_relase() local
743 int isst_if_cdev_register(int device_type, struct isst_if_cmd_cb *cb) in isst_if_cdev_register()
/drivers/net/wireless/marvell/mwifiex/
Dutil.h55 struct mwifiex_cb *cb = (struct mwifiex_cb *)skb->cb; in MWIFIEX_SKB_RXCB() local
63 struct mwifiex_cb *cb = (struct mwifiex_cb *)skb->cb; in MWIFIEX_SKB_TXCB() local
71 struct mwifiex_cb *cb = (struct mwifiex_cb *)skb->cb; in mwifiex_store_mapping() local
79 struct mwifiex_cb *cb = (struct mwifiex_cb *)skb->cb; in mwifiex_get_mapping() local
/drivers/net/mdio/
Dmdio-mux.c40 struct mdio_mux_child_bus *cb = bus->priv; in mdio_mux_read() local
64 struct mdio_mux_child_bus *cb = bus->priv; in mdio_mux_write() local
87 struct mdio_mux_child_bus *cb = pb->children; in mdio_mux_uninit_children() local
108 struct mdio_mux_child_bus *cb; in mdio_mux_init() local
/drivers/gpu/drm/i915/
Di915_sw_fence.c417 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); in dma_i915_sw_fence_wake() local
426 struct i915_sw_dma_fence_cb_timer *cb = from_timer(cb, t, timer); in timer_i915_sw_fence_wake() local
446 struct i915_sw_dma_fence_cb_timer *cb = in dma_i915_sw_fence_wake_timer() local
461 struct i915_sw_dma_fence_cb_timer *cb = in irq_i915_sw_fence_work() local
475 struct i915_sw_dma_fence_cb *cb; in i915_sw_fence_await_dma_fence() local
536 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); in __dma_i915_sw_fence_wake() local
544 struct i915_sw_dma_fence_cb *cb) in __i915_sw_fence_await_dma_fence()
/drivers/s390/net/
Dsmsgiucv.c55 struct smsg_callback *cb; in smsg_message_pending() local
91 struct smsg_callback *cb; in smsg_register_callback() local
109 struct smsg_callback *cb, *tmp; in smsg_unregister_callback() local
/drivers/net/ethernet/hisilicon/hns/
Dhnae.c36 static int hnae_alloc_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_alloc_buffer()
54 static void hnae_free_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_free_buffer()
67 static int hnae_map_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_map_buffer()
78 static void hnae_unmap_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_unmap_buffer()
/drivers/net/wireguard/
Dnetlink.c103 #define DUMP_CTX(cb) ((struct dump_ctx *)(cb)->args) argument
199 static int wg_get_device_start(struct netlink_callback *cb) in wg_get_device_start()
210 static int wg_get_device_dump(struct sk_buff *skb, struct netlink_callback *cb) in wg_get_device_dump()
304 static int wg_get_device_done(struct netlink_callback *cb) in wg_get_device_done()
/drivers/net/ethernet/intel/
De100.c474 struct cb { struct
496 struct cb *next, *prev; argument
497 dma_addr_t dma_addr;
498 struct sk_buff *skb;
845 int (*cb_prepare)(struct nic *, struct cb *, struct sk_buff *)) in e100_exec_cb()
847 struct cb *cb; in e100_exec_cb() local
1069 static int e100_configure(struct nic *nic, struct cb *cb, struct sk_buff *skb) in e100_configure()
1307 static int e100_setup_ucode(struct nic *nic, struct cb *cb, in e100_setup_ucode()
1341 struct cb *cb = nic->cb_to_clean; in e100_load_ucode_wait() local
1377 static int e100_setup_iaaddr(struct nic *nic, struct cb *cb, in e100_setup_iaaddr()
[all …]
/drivers/nfc/
Dnfcsim.c46 nfc_digital_cmd_complete_t cb; member
202 u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) in nfcsim_send()
281 nfc_digital_cmd_complete_t cb, void *arg) in nfcsim_in_send_cmd()
311 nfc_digital_cmd_complete_t cb, void *arg) in nfcsim_tg_send_cmd()
317 nfc_digital_cmd_complete_t cb, void *arg) in nfcsim_tg_listen()

12345678910>>...13