Home
last modified time | relevance | path

Searched refs:adapter (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/linux-4.19.296/drivers/s390/scsi/
Dzfcp_aux.c59 struct zfcp_adapter *adapter; in zfcp_init_device_configure() local
69 adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_init_device_configure()
70 if (!adapter) in zfcp_init_device_configure()
73 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_init_device_configure()
82 zfcp_ccw_adapter_put(adapter); in zfcp_init_device_configure()
184 struct zfcp_port *zfcp_get_port_by_wwpn(struct zfcp_adapter *adapter, in zfcp_get_port_by_wwpn() argument
190 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn()
191 list_for_each_entry(port, &adapter->port_list, list) in zfcp_get_port_by_wwpn()
195 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn()
198 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn()
[all …]
Dzfcp_ccw.c23 struct zfcp_adapter *adapter; in zfcp_ccw_adapter_by_cdev() local
27 adapter = dev_get_drvdata(&cdev->dev); in zfcp_ccw_adapter_by_cdev()
28 if (adapter) in zfcp_ccw_adapter_by_cdev()
29 kref_get(&adapter->ref); in zfcp_ccw_adapter_by_cdev()
31 return adapter; in zfcp_ccw_adapter_by_cdev()
34 void zfcp_ccw_adapter_put(struct zfcp_adapter *adapter) in zfcp_ccw_adapter_put() argument
39 kref_put(&adapter->ref, zfcp_adapter_release); in zfcp_ccw_adapter_put()
51 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_ccw_activate() local
53 if (!adapter) in zfcp_ccw_activate()
56 zfcp_erp_clear_adapter_status(adapter, clear); in zfcp_ccw_activate()
[all …]
Dzfcp_erp.c70 static void zfcp_erp_adapter_block(struct zfcp_adapter *adapter, int mask) in zfcp_erp_adapter_block() argument
72 zfcp_erp_clear_adapter_status(adapter, in zfcp_erp_adapter_block()
80 list_for_each_entry(curr_act, &act->adapter->erp_running_head, list) in zfcp_erp_action_is_running()
88 struct zfcp_adapter *adapter = act->adapter; in zfcp_erp_action_ready() local
90 list_move(&act->list, &act->adapter->erp_ready_head); in zfcp_erp_action_ready()
92 wake_up(&adapter->erp_ready_wq); in zfcp_erp_action_ready()
118 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
119 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_action_dismiss_port()
122 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
126 static void zfcp_erp_action_dismiss_adapter(struct zfcp_adapter *adapter) in zfcp_erp_action_dismiss_adapter() argument
[all …]
Dzfcp_scsi.c112 struct zfcp_adapter *adapter = in zfcp_scsi_slave_alloc() local
117 int npiv = adapter->connection_features & FSF_FEATURE_NPIV_MODE; in zfcp_scsi_slave_alloc()
119 zfcp_sdev->erp_action.adapter = adapter; in zfcp_scsi_slave_alloc()
122 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_scsi_slave_alloc()
157 zfcp_erp_wait(port->adapter); in zfcp_scsi_slave_alloc()
165 struct zfcp_adapter *adapter = in zfcp_scsi_eh_abort_handler() local
175 write_lock_irqsave(&adapter->abort_lock, flags); in zfcp_scsi_eh_abort_handler()
177 old_req = zfcp_reqlist_find(adapter->req_list, old_reqid); in zfcp_scsi_eh_abort_handler()
179 write_unlock_irqrestore(&adapter->abort_lock, flags); in zfcp_scsi_eh_abort_handler()
186 write_unlock_irqrestore(&adapter->abort_lock, flags); in zfcp_scsi_eh_abort_handler()
[all …]
Dzfcp_fc.c54 static void zfcp_fc_port_scan_time(struct zfcp_adapter *adapter) in zfcp_fc_port_scan_time() argument
59 adapter->next_port_scan = jiffies + interval + backoff; in zfcp_fc_port_scan_time()
62 static void zfcp_fc_port_scan(struct zfcp_adapter *adapter) in zfcp_fc_port_scan() argument
65 unsigned long next = adapter->next_port_scan; in zfcp_fc_port_scan()
76 queue_delayed_work(adapter->work_queue, &adapter->scan_work, delay); in zfcp_fc_port_scan()
79 void zfcp_fc_conditional_port_scan(struct zfcp_adapter *adapter) in zfcp_fc_conditional_port_scan() argument
84 zfcp_fc_port_scan(adapter); in zfcp_fc_conditional_port_scan()
87 void zfcp_fc_inverse_conditional_port_scan(struct zfcp_adapter *adapter) in zfcp_fc_inverse_conditional_port_scan() argument
92 zfcp_fc_port_scan(adapter); in zfcp_fc_inverse_conditional_port_scan()
105 struct zfcp_adapter *adapter = container_of(events, struct zfcp_adapter, in zfcp_fc_post_event() local
[all …]
Dzfcp_fsf.c32 struct zfcp_adapter *adapter = fsf_req->adapter; in zfcp_fsf_request_timeout_handler() local
34 zfcp_qdio_siosl(adapter); in zfcp_fsf_request_timeout_handler()
35 zfcp_erp_adapter_reopen(adapter, ZFCP_STATUS_COMMON_ERP_FAILED, in zfcp_fsf_request_timeout_handler()
74 dev_err(&req->adapter->ccw_device->dev, "FCP device not " in zfcp_fsf_class_not_supp()
76 zfcp_erp_adapter_shutdown(req->adapter, 0, "fscns_1"); in zfcp_fsf_class_not_supp()
88 mempool_free(req->qtcb, req->adapter->pool.qtcb_pool); in zfcp_fsf_req_free()
102 struct zfcp_adapter *adapter = req->adapter; in zfcp_fsf_status_read_port_closed() local
106 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_fsf_status_read_port_closed()
107 list_for_each_entry(port, &adapter->port_list, list) in zfcp_fsf_status_read_port_closed()
112 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_fsf_status_read_port_closed()
[all …]
Dzfcp_qdio.c25 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_qdio_handler_error() local
27 dev_warn(&adapter->ccw_device->dev, "A QDIO problem occurred\n"); in zfcp_qdio_handler_error()
30 zfcp_qdio_siosl(adapter); in zfcp_qdio_handler_error()
31 zfcp_erp_adapter_shutdown(adapter, 0, id); in zfcp_qdio_handler_error()
34 zfcp_erp_adapter_reopen(adapter, in zfcp_qdio_handler_error()
88 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_qdio_int_resp() local
92 if (zfcp_adapter_multi_buffer_active(adapter)) { in zfcp_qdio_int_resp()
111 zfcp_dbf_hba_def_err(adapter, req_id, scount, pl); in zfcp_qdio_int_resp()
131 zfcp_erp_adapter_reopen(qdio->adapter, 0, "qdires2"); in zfcp_qdio_int_resp()
212 !(atomic_read(&qdio->adapter->status) & ZFCP_STATUS_ADAPTER_QDIOUP)) in zfcp_qdio_sbal_check()
[all …]
Dzfcp_sysfs.c47 struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev); \
50 if (!adapter) \
54 zfcp_ccw_adapter_put(adapter); \
57 static ZFCP_DEV_ATTR(adapter, _name, S_IRUGO, \
60 ZFCP_DEFINE_A_ATTR(status, "0x%08x\n", atomic_read(&adapter->status));
62 (unsigned long long) adapter->peer_wwnn);
64 (unsigned long long) adapter->peer_wwpn);
65 ZFCP_DEFINE_A_ATTR(peer_d_id, "0x%06x\n", adapter->peer_d_id);
66 ZFCP_DEFINE_A_ATTR(card_version, "0x%04x\n", adapter->hydra_version);
67 ZFCP_DEFINE_A_ATTR(lic_version, "0x%08x\n", adapter->fsf_lic_version);
[all …]
/linux-4.19.296/drivers/isdn/hisax/
Dhisax_fcpcipnp.c155 struct fritz_adapter *adapter = isac->priv; in fcpci_read_isac() local
161 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_isac()
162 outb(idx, adapter->io + AVM_INDEX); in fcpci_read_isac()
163 val = inb(adapter->io + AVM_DATA + (offset & 0xf)); in fcpci_read_isac()
164 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_isac()
173 struct fritz_adapter *adapter = isac->priv; in fcpci_write_isac() local
180 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_isac()
181 outb(idx, adapter->io + AVM_INDEX); in fcpci_write_isac()
182 outb(value, adapter->io + AVM_DATA + (offset & 0xf)); in fcpci_write_isac()
183 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_isac()
[all …]
Dst5481_d.c19 static void ph_connect(struct st5481_adapter *adapter);
20 static void ph_disconnect(struct st5481_adapter *adapter);
56 static inline void D_L1L2(struct st5481_adapter *adapter, int pr, void *arg) in D_L1L2() argument
58 struct hisax_if *ifc = (struct hisax_if *) &adapter->hisax_d_if; in D_L1L2()
66 struct st5481_adapter *adapter = fi->userdata; in l1_go_f3() local
69 ph_disconnect(adapter); in l1_go_f3()
72 D_L1L2(adapter, PH_DEACTIVATE | INDICATION, NULL); in l1_go_f3()
78 struct st5481_adapter *adapter = fi->userdata; in l1_go_f6() local
81 ph_disconnect(adapter); in l1_go_f6()
89 struct st5481_adapter *adapter = fi->userdata; in l1_go_f7() local
[all …]
Dst5481_init.c61 struct st5481_adapter *adapter; in probe_st5481() local
70 adapter = kzalloc(sizeof(struct st5481_adapter), GFP_KERNEL); in probe_st5481()
71 if (!adapter) in probe_st5481()
74 adapter->number_of_leds = number_of_leds; in probe_st5481()
75 adapter->usb_dev = dev; in probe_st5481()
77 adapter->hisax_d_if.owner = THIS_MODULE; in probe_st5481()
78 adapter->hisax_d_if.ifc.priv = adapter; in probe_st5481()
79 adapter->hisax_d_if.ifc.l2l1 = st5481_d_l2l1; in probe_st5481()
82 adapter->bcs[i].adapter = adapter; in probe_st5481()
83 adapter->bcs[i].channel = i; in probe_st5481()
[all …]
Dst5481_usb.c29 struct st5481_adapter *adapter) in usb_next_ctrl_msg() argument
31 struct st5481_ctrl *ctrl = &adapter->ctrl; in usb_next_ctrl_msg()
51 urb->dev = adapter->usb_dev; in usb_next_ctrl_msg()
60 static void usb_ctrl_msg(struct st5481_adapter *adapter, in usb_ctrl_msg() argument
64 struct st5481_ctrl *ctrl = &adapter->ctrl; in usb_ctrl_msg()
82 usb_next_ctrl_msg(ctrl->urb, adapter); in usb_ctrl_msg()
88 void st5481_usb_device_ctrl_msg(struct st5481_adapter *adapter, in st5481_usb_device_ctrl_msg() argument
92 usb_ctrl_msg(adapter, request, in st5481_usb_device_ctrl_msg()
100 void st5481_usb_pipe_reset(struct st5481_adapter *adapter, in st5481_usb_pipe_reset() argument
106 usb_ctrl_msg(adapter, in st5481_usb_pipe_reset()
[all …]
/linux-4.19.296/drivers/media/common/b2c2/
Dflexcop-sram.c76 static void flexcop_sram_write(struct adapter *adapter, u32 bank, u32 addr, u8 *buf, u32 len)
86 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) {
94 write_reg_dw(adapter, 0x700, command);
101 static void flex_sram_read(struct adapter *adapter, u32 bank, u32 addr, u8 *buf, u32 len)
111 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) {
119 write_reg_dw(adapter, 0x700, command);
123 while (((read_reg_dw(adapter, 0x700) & 0x80000000) != 0) && (retries > 0)) {
131 value = read_reg_dw(adapter, 0x700) >> 0x10;
140 static void sram_write_chunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
146 if (adapter->dw_sram_type == 0x20000) {
[all …]
/linux-4.19.296/drivers/i2c/busses/
Di2c-parport.c42 struct i2c_adapter adapter; member
157 struct i2c_par *adapter = data; in i2c_parport_irq() local
158 struct i2c_client *ara = adapter->ara; in i2c_parport_irq()
164 dev_dbg(&adapter->adapter.dev, in i2c_parport_irq()
170 struct i2c_par *adapter; in i2c_parport_attach() local
185 adapter = kzalloc(sizeof(struct i2c_par), GFP_KERNEL); in i2c_parport_attach()
186 if (!adapter) in i2c_parport_attach()
191 i2c_parport_cb.private = adapter; in i2c_parport_attach()
195 adapter->pdev = parport_register_dev_model(port, "i2c-parport", in i2c_parport_attach()
197 if (!adapter->pdev) { in i2c_parport_attach()
[all …]
Di2c-robotfuzz-osif.c35 struct i2c_adapter adapter; member
39 static int osif_usb_read(struct i2c_adapter *adapter, int cmd, in osif_usb_read() argument
42 struct osif_priv *priv = adapter->algo_data; in osif_usb_read()
49 static int osif_usb_write(struct i2c_adapter *adapter, int cmd, in osif_usb_write() argument
53 struct osif_priv *priv = adapter->algo_data; in osif_usb_write()
60 static int osif_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, in osif_xfer() argument
63 struct osif_priv *priv = adapter->algo_data; in osif_xfer()
72 ret = osif_usb_read(adapter, OSIFI2C_READ, in osif_xfer()
76 dev_err(&adapter->dev, "failure reading data\n"); in osif_xfer()
80 ret = osif_usb_write(adapter, OSIFI2C_WRITE, in osif_xfer()
[all …]
Di2c-tiny-usb.c43 static int usb_read(struct i2c_adapter *adapter, int cmd,
46 static int usb_write(struct i2c_adapter *adapter, int cmd,
55 static int usb_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num) in usb_xfer() argument
61 dev_dbg(&adapter->dev, "master xfer %d messages:\n", num); in usb_xfer()
78 dev_dbg(&adapter->dev, in usb_xfer()
86 if (usb_read(adapter, cmd, in usb_xfer()
89 dev_err(&adapter->dev, in usb_xfer()
96 if (usb_write(adapter, cmd, in usb_xfer()
99 dev_err(&adapter->dev, in usb_xfer()
107 if (usb_read(adapter, CMD_GET_STATUS, 0, 0, pstatus, 1) != 1) { in usb_xfer()
[all …]
Di2c-taos-evm.c41 struct i2c_adapter adapter; member
55 static struct i2c_client *taos_instantiate_device(struct i2c_adapter *adapter) in taos_instantiate_device() argument
57 if (!strncmp(adapter->name, "TAOS TSL2550 EVM", 16)) { in taos_instantiate_device()
58 dev_info(&adapter->dev, "Instantiating device %s at 0x%02x\n", in taos_instantiate_device()
60 return i2c_new_device(adapter, &tsl2550_info); in taos_instantiate_device()
66 static int taos_smbus_xfer(struct i2c_adapter *adapter, u16 addr, in taos_smbus_xfer() argument
70 struct serio *serio = adapter->algo_data; in taos_smbus_xfer()
97 dev_warn(&adapter->dev, "Unsupported transaction %d\n", size); in taos_smbus_xfer()
102 dev_dbg(&adapter->dev, "Command buffer: %s\n", taos->buffer); in taos_smbus_xfer()
116 dev_err(&adapter->dev, "Transaction timeout (pos=%d)\n", in taos_smbus_xfer()
[all …]
/linux-4.19.296/drivers/misc/
Dibmvmc.c124 struct crq_server_adapter *adapter = in ibmvmc_handle_event() local
127 vio_disable_interrupts(to_vio_dev(adapter->dev)); in ibmvmc_handle_event()
128 tasklet_schedule(&adapter->work_task); in ibmvmc_handle_event()
142 static void ibmvmc_release_crq_queue(struct crq_server_adapter *adapter) in ibmvmc_release_crq_queue() argument
144 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_release_crq_queue()
145 struct crq_queue *queue = &adapter->queue; in ibmvmc_release_crq_queue()
147 free_irq(vdev->irq, (void *)adapter); in ibmvmc_release_crq_queue()
148 tasklet_kill(&adapter->work_task); in ibmvmc_release_crq_queue()
150 if (adapter->reset_task) in ibmvmc_release_crq_queue()
151 kthread_stop(adapter->reset_task); in ibmvmc_release_crq_queue()
[all …]
/linux-4.19.296/drivers/misc/cxl/
Dpci.c487 static int init_implementation_adapter_regs_psl9(struct cxl *adapter, in init_implementation_adapter_regs_psl9() argument
505 cxl_p1_write(adapter, CXL_XSL9_DSNCTL, xsl_dsnctl); in init_implementation_adapter_regs_psl9()
511 cxl_p1_write(adapter, CXL_PSL9_FIR_CNTL, psl_fircntl); in init_implementation_adapter_regs_psl9()
516 cxl_p1_write(adapter, CXL_PSL9_DSNDCTL, 0x0001001000012A10ULL); in init_implementation_adapter_regs_psl9()
526 cxl_p1_write(adapter, CXL_XSL9_DEF, 0x51F8000000000005ULL); in init_implementation_adapter_regs_psl9()
529 cxl_p1_write(adapter, CXL_XSL9_INV, 0x0000040007FFC200ULL); in init_implementation_adapter_regs_psl9()
533 cxl_p1_write(adapter, CXL_PSL9_APCDEDTYPE, 0x40000FF3FFFF0000ULL); in init_implementation_adapter_regs_psl9()
537 cxl_p1_write(adapter, CXL_PSL9_APCDEDALLOC, 0x800F000200000000ULL); in init_implementation_adapter_regs_psl9()
540 cxl_p1_write(adapter, CXL_PSL9_DEBUG, 0xC000000000000000ULL); in init_implementation_adapter_regs_psl9()
546 psl_debug = cxl_p1_read(adapter, CXL_PSL9_DEBUG); in init_implementation_adapter_regs_psl9()
[all …]
Dmain.c53 if (!cxl_ops->link_ok(afu->adapter, afu)) in cxl_afu_slbia()
68 ctx->afu->adapter->adapter_num, ctx->afu->slice, ctx->pe); in _cxl_slbia()
80 struct cxl *adapter; in cxl_slbia_core() local
88 idr_for_each_entry(&cxl_adapter_idr, adapter, card) { in cxl_slbia_core()
90 spin_lock(&adapter->afu_list_lock); in cxl_slbia_core()
91 for (slice = 0; slice < adapter->slices; slice++) { in cxl_slbia_core()
92 afu = adapter->afu[slice]; in cxl_slbia_core()
100 spin_unlock(&adapter->afu_list_lock); in cxl_slbia_core()
188 struct cxl *adapter; in get_cxl_adapter() local
191 if ((adapter = idr_find(&cxl_adapter_idr, num))) in get_cxl_adapter()
[all …]
Ddebugfs.c40 void cxl_debugfs_add_adapter_regs_psl9(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl9() argument
42 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_FIR1)); in cxl_debugfs_add_adapter_regs_psl9()
44 _cxl_p1_addr(adapter, CXL_PSL9_FIR_MASK)); in cxl_debugfs_add_adapter_regs_psl9()
45 debugfs_create_io_x64("fir_cntl", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_FIR_CNTL)); in cxl_debugfs_add_adapter_regs_psl9()
46 debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_TRACECFG)); in cxl_debugfs_add_adapter_regs_psl9()
48 _cxl_p1_addr(adapter, CXL_PSL9_DEBUG)); in cxl_debugfs_add_adapter_regs_psl9()
50 _cxl_p1_addr(adapter, CXL_XSL9_DBG)); in cxl_debugfs_add_adapter_regs_psl9()
53 void cxl_debugfs_add_adapter_regs_psl8(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl8() argument
55 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR1)); in cxl_debugfs_add_adapter_regs_psl8()
56 debugfs_create_io_x64("fir2", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR2)); in cxl_debugfs_add_adapter_regs_psl8()
[all …]
Dof.c100 afu->adapter->ps_size = size; in read_phys_addr()
115 static int read_vpd(struct cxl *adapter, struct cxl_afu *afu) in read_vpd() argument
123 if (adapter) in read_vpd()
124 rc = cxl_guest_read_adapter_vpd(adapter, vpd, len); in read_vpd()
277 afu->psn_phys, afu->adapter->ps_size); in cxl_of_read_afu_properties()
287 static int read_adapter_irq_config(struct cxl *adapter, struct device_node *np) in read_adapter_irq_config() argument
305 adapter->guest->irq_avail = kcalloc(nranges, sizeof(struct irq_avail), in read_adapter_irq_config()
307 if (adapter->guest->irq_avail == NULL) in read_adapter_irq_config()
310 adapter->guest->irq_base_offset = be32_to_cpu(ranges[0]); in read_adapter_irq_config()
312 cur = &adapter->guest->irq_avail[i]; in read_adapter_irq_config()
[all …]
Dguest.c68 static ssize_t guest_collect_vpd(struct cxl *adapter, struct cxl_afu *afu, in guest_collect_vpd() argument
114 if (adapter) in guest_collect_vpd()
115 rc = cxl_h_collect_vpd_adapter(adapter->guest->handle, in guest_collect_vpd()
221 static int irq_alloc_range(struct cxl *adapter, int len, int *irq) in irq_alloc_range() argument
226 for (i = 0; i < adapter->guest->irq_nranges; i++) { in irq_alloc_range()
227 cur = &adapter->guest->irq_avail[i]; in irq_alloc_range()
242 static int irq_free_range(struct cxl *adapter, int irq, int len) in irq_free_range() argument
250 for (i = 0; i < adapter->guest->irq_nranges; i++) { in irq_free_range()
251 cur = &adapter->guest->irq_avail[i]; in irq_free_range()
264 static int guest_reset(struct cxl *adapter) in guest_reset() argument
[all …]
Dflash.c173 static int update_devicetree(struct cxl *adapter, s32 scope) in update_devicetree() argument
190 unwa->unit_address = cpu_to_be64(adapter->guest->handle); in update_devicetree()
227 static int handle_image(struct cxl *adapter, int operation, in handle_image() argument
244 header->vendor = cpu_to_be16(adapter->guest->vendor); in handle_image()
245 header->device = cpu_to_be16(adapter->guest->device); in handle_image()
246 header->subsystem_vendor = cpu_to_be16(adapter->guest->subsystem_vendor); in handle_image()
247 header->subsystem = cpu_to_be16(adapter->guest->subsystem); in handle_image()
311 rc = fct(adapter->guest->handle, virt_to_phys(le), entries, in handle_image()
322 static int transfer_image(struct cxl *adapter, int operation, in transfer_image() argument
330 rc = handle_image(adapter, operation, in transfer_image()
[all …]
/linux-4.19.296/drivers/bluetooth/
Dbtmrvl_main.c39 priv->adapter->ps_state = PS_AWAKE; in btmrvl_interrupt()
41 priv->adapter->wakeup_tries = 0; in btmrvl_interrupt()
43 priv->adapter->int_count++; in btmrvl_interrupt()
45 if (priv->adapter->hs_state == HS_ACTIVATED) { in btmrvl_interrupt()
47 priv->adapter->hs_state = HS_DEACTIVATED; in btmrvl_interrupt()
67 priv->adapter->cmd_complete = true; in btmrvl_check_evtpkt()
68 wake_up_interruptible(&priv->adapter->cmd_wait_q); in btmrvl_check_evtpkt()
85 struct btmrvl_adapter *adapter = priv->adapter; in btmrvl_process_event() local
100 adapter->psmode = 1; in btmrvl_process_event()
102 adapter->psmode = 0; in btmrvl_process_event()
[all …]

12345678910>>...14