Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 25 of 157) sorted by relevance

1234567

/linux/drivers/net/hamradio/
H A Dbaycom_ser_hdx.c132 static inline void baycom_int_freq(struct baycom_state *bc) in baycom_int_freq() argument
139 bc->debug_vals.cur_intcnt++; in baycom_int_freq()
140 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) { in baycom_int_freq()
141 bc->debug_vals.last_jiffies = cur_jiffies; in baycom_int_freq()
142 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; in baycom_int_freq()
143 bc->debug_vals.cur_intcnt = 0; in baycom_int_freq()
144 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; in baycom_int_freq()
145 bc->debug_vals.cur_pllcorr = 0; in baycom_int_freq()
181 #define SER12_ARB_DIVIDER(bc) (bc->opt_dcd ? 24 : 36) argument
183 #define SER12_DCD_INTERVAL(bc) (bc->opt_dcd ? 12 : 240) argument
[all …]
H A Dbaycom_epp.c260 #define tenms_to_flags(bc,tenms) ((tenms * bc->bitrate) / 800) argument
264 static inline void baycom_int_freq(struct baycom_state *bc) in baycom_int_freq() argument
271 bc->debug_vals.cur_intcnt++; in baycom_int_freq()
272 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) { in baycom_int_freq()
273 bc->debug_vals.last_jiffies = cur_jiffies; in baycom_int_freq()
274 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; in baycom_int_freq()
275 bc->debug_vals.cur_intcnt = 0; in baycom_int_freq()
276 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; in baycom_int_freq()
277 bc->debug_vals.cur_pllcorr = 0; in baycom_int_freq()
292 static int eppconfig(struct baycom_state *bc) in eppconfig() argument
[all …]
H A Dbaycom_ser_fdx.c145 static inline void baycom_int_freq(struct baycom_state *bc) in baycom_int_freq() argument
152 bc->debug_vals.cur_intcnt++; in baycom_int_freq()
153 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) { in baycom_int_freq()
154 bc->debug_vals.last_jiffies = cur_jiffies; in baycom_int_freq()
155 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; in baycom_int_freq()
156 bc->debug_vals.cur_intcnt = 0; in baycom_int_freq()
157 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; in baycom_int_freq()
158 bc->debug_vals.cur_pllcorr = 0; in baycom_int_freq()
191 static __inline__ void ser12_rx(struct net_device *dev, struct baycom_state *bc, struct timespec64 … in ser12_rx() argument
194 int bdus8 = bc->baud_us >> 3; in ser12_rx()
[all …]
H A Dbaycom_par.c143 static inline void baycom_int_freq(struct baycom_state *bc) in baycom_int_freq() argument
150 bc->debug_vals.cur_intcnt++; in baycom_int_freq()
151 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) { in baycom_int_freq()
152 bc->debug_vals.last_jiffies = cur_jiffies; in baycom_int_freq()
153 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; in baycom_int_freq()
154 bc->debug_vals.cur_intcnt = 0; in baycom_int_freq()
155 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; in baycom_int_freq()
156 bc->debug_vals.cur_pllcorr = 0; in baycom_int_freq()
179 static inline void par96_tx(struct net_device *dev, struct baycom_state *bc) in par96_tx() argument
182 unsigned int data = hdlcdrv_getbits(&bc->hdrv); in par96_tx()
[all …]
/linux/drivers/tty/
H A Dehv_bytechan.c86 static void enable_tx_interrupt(struct ehv_bc_data *bc) in enable_tx_interrupt() argument
88 if (!bc->tx_irq_enabled) { in enable_tx_interrupt()
89 enable_irq(bc->tx_irq); in enable_tx_interrupt()
90 bc->tx_irq_enabled = 1; in enable_tx_interrupt()
94 static void disable_tx_interrupt(struct ehv_bc_data *bc) in disable_tx_interrupt() argument
96 if (bc->tx_irq_enabled) { in disable_tx_interrupt()
97 disable_irq_nosync(bc->tx_irq); in disable_tx_interrupt()
98 bc->tx_irq_enabled = 0; in disable_tx_interrupt()
352 struct ehv_bc_data *bc = data; in ehv_bc_tty_rx_isr() local
362 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr()
[all …]
/linux/drivers/pmdomain/imx/
H A Dimx8mp-blk-ctrl.c45 void (*power_off) (struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain);
46 void (*power_on) (struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain);
68 struct imx8mp_blk_ctrl *bc; member
76 int (*probe) (struct imx8mp_blk_ctrl *bc);
78 void (*power_off) (struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain);
79 void (*power_on) (struct imx8mp_blk_ctrl *bc, struct imx8mp_blk_ctrl_domain *domain);
149 static int imx8mp_hsio_blk_ctrl_probe(struct imx8mp_blk_ctrl *bc) in imx8mp_hsio_blk_ctrl_probe() argument
156 clk_hsio_pll = devm_kzalloc(bc->dev, sizeof(*clk_hsio_pll), GFP_KERNEL); in imx8mp_hsio_blk_ctrl_probe()
165 clk_hsio_pll->regmap = bc->regmap; in imx8mp_hsio_blk_ctrl_probe()
169 ret = devm_clk_hw_register(bc->bus_power_dev, hw); in imx8mp_hsio_blk_ctrl_probe()
[all …]
H A Dimx8m-blk-ctrl.c68 struct imx8m_blk_ctrl *bc; member
89 struct imx8m_blk_ctrl *bc = domain->bc; in imx8m_blk_ctrl_power_on() local
93 ret = pm_runtime_get_sync(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
95 pm_runtime_put_noidle(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
96 dev_err(bc->dev, "failed to power up bus domain\n"); in imx8m_blk_ctrl_power_on()
101 regmap_clear_bits(bc->regmap, BLK_SFT_RSTN, data->rst_mask); in imx8m_blk_ctrl_power_on()
103 regmap_clear_bits(bc->regmap, BLK_MIPI_RESET_DIV, data->mipi_phy_rst_mask); in imx8m_blk_ctrl_power_on()
108 dev_err(bc->dev, "failed to enable clocks\n"); in imx8m_blk_ctrl_power_on()
111 regmap_set_bits(bc->regmap, BLK_CLK_EN, data->clk_mask); in imx8m_blk_ctrl_power_on()
116 dev_err(bc->dev, "failed to power up peripheral domain\n"); in imx8m_blk_ctrl_power_on()
[all …]
H A Dimx93-blk-ctrl.c84 struct imx93_blk_ctrl *bc; member
105 struct imx93_blk_ctrl *bc = domain->bc; in imx93_blk_ctrl_set_qos() local
118 regmap_write_bits(bc->regmap, qos->reg, mask, val); in imx93_blk_ctrl_set_qos()
120 dev_dbg(bc->dev, "data->qos[i].reg 0x%x 0x%x\n", qos->reg, val); in imx93_blk_ctrl_set_qos()
130 struct imx93_blk_ctrl *bc = domain->bc; in imx93_blk_ctrl_power_on() local
133 ret = clk_bulk_prepare_enable(bc->num_clks, bc->clks); in imx93_blk_ctrl_power_on()
135 dev_err(bc->dev, "failed to enable bus clocks\n"); in imx93_blk_ctrl_power_on()
141 clk_bulk_disable_unprepare(bc->num_clks, bc->clks); in imx93_blk_ctrl_power_on()
142 dev_err(bc->dev, "failed to enable clocks\n"); in imx93_blk_ctrl_power_on()
146 ret = pm_runtime_get_sync(bc->dev); in imx93_blk_ctrl_power_on()
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A Dnetjet.c78 struct tiger_ch bc[2]; member
96 card->bc[0].bch.debug = debug; in _set_debug()
97 card->bc[1].bch.debug = debug; in _set_debug()
176 fill_mem(struct tiger_ch *bc, u32 idx, u32 cnt, u32 fill) in fill_mem() argument
178 struct tiger_hw *card = bc->bch.hw; in fill_mem()
182 bc->bch.nr, fill, cnt, idx, card->send.idx); in fill_mem()
183 if (bc->bch.nr & 2) { in fill_mem()
199 mode_tiger(struct tiger_ch *bc, u32 protocol) in mode_tiger() argument
201 struct tiger_hw *card = bc->bch.hw; in mode_tiger()
204 bc->bch.nr, bc->bch.state, protocol); in mode_tiger()
[all …]
H A Dw6692.c66 struct w6692_ch bc[2]; member
83 card->bc[0].bch.debug = debug; in _set_debug()
84 card->bc[1].bch.debug = debug; in _set_debug()
127 ReadW6692B(struct w6692_ch *bc, u8 offset) in ReadW6692B() argument
129 return inb(bc->addr + offset); in ReadW6692B()
133 WriteW6692B(struct w6692_ch *bc, u8 offset, u8 value) in WriteW6692B() argument
135 outb(value, bc->addr + offset); in WriteW6692B()
651 struct w6692_ch *wch = &card->bc[ch]; in W6692B_interrupt()
838 w6692_mode(&card->bc[0], ISDN_P_NONE); in initW6692()
839 w6692_mode(&card->bc[1], ISDN_P_NONE); in initW6692()
[all …]
/linux/arch/mips/pci/
H A Dpci-xtalk-bridge.c32 struct bridge_controller *bc = BRIDGE_CONTROLLER(pdev->bus); in phys_to_dma() local
34 return bc->baddr + paddr; in phys_to_dma()
97 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus); in bridge_disable_swapping() local
101 bridge_clr(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR); in bridge_disable_swapping()
102 bridge_read(bc, b_widget.w_tflush); /* Flush */ in bridge_disable_swapping()
122 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); in pci_conf0_read_config() local
123 struct bridge_regs *bridge = bc->base; in pci_conf0_read_config()
141 bc->ioc3_sid[slot]); in pci_conf0_read_config()
159 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); in pci_conf1_read_config() local
160 struct bridge_regs *bridge = bc->base; in pci_conf1_read_config()
[all …]
/linux/kernel/time/
H A Dtick-broadcast.c38 static void tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic);
40 static void tick_resume_broadcast_oneshot(struct clock_event_device *bc);
46 tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic) { BUG(); } in tick_broadcast_setup_oneshot() argument
48 static inline void tick_resume_broadcast_oneshot(struct clock_event_device *bc) { } in tick_resume_broadcast_oneshot() argument
77 static void tick_broadcast_start_periodic(struct clock_event_device *bc) in tick_broadcast_start_periodic() argument
79 if (bc) in tick_broadcast_start_periodic()
80 tick_setup_periodic(bc, 1); in tick_broadcast_start_periodic()
249 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_device_uses_broadcast() local
266 tick_broadcast_start_periodic(bc); in tick_device_uses_broadcast()
268 tick_broadcast_setup_oneshot(bc, false); in tick_device_uses_broadcast()
[all …]
/linux/lib/crypto/
H A Dsha3.c54 u64 t[5], tt, bc[5]; in sha3_keccakf_one_round_generic() local
57 bc[0] = st[0] ^ st[5] ^ st[10] ^ st[15] ^ st[20]; in sha3_keccakf_one_round_generic()
58 bc[1] = st[1] ^ st[6] ^ st[11] ^ st[16] ^ st[21]; in sha3_keccakf_one_round_generic()
59 bc[2] = st[2] ^ st[7] ^ st[12] ^ st[17] ^ st[22]; in sha3_keccakf_one_round_generic()
60 bc[3] = st[3] ^ st[8] ^ st[13] ^ st[18] ^ st[23]; in sha3_keccakf_one_round_generic()
61 bc[4] = st[4] ^ st[9] ^ st[14] ^ st[19] ^ st[24]; in sha3_keccakf_one_round_generic()
63 t[0] = bc[4] ^ rol64(bc[1], 1); in sha3_keccakf_one_round_generic()
64 t[1] = bc[0] ^ rol64(bc[2], 1); in sha3_keccakf_one_round_generic()
65 t[2] = bc[1] ^ rol64(bc[3], 1); in sha3_keccakf_one_round_generic()
66 t[3] = bc[2] ^ rol64(bc[4], 1); in sha3_keccakf_one_round_generic()
[all …]
/linux/drivers/clk/imx/
H A Dclk-imx95-blk-ctl.c353 struct imx95_blk_ctl *bc; in imx95_bc_probe() local
359 bc = devm_kzalloc(dev, sizeof(*bc), GFP_KERNEL); in imx95_bc_probe()
360 if (!bc) in imx95_bc_probe()
362 bc->dev = dev; in imx95_bc_probe()
363 dev_set_drvdata(&pdev->dev, bc); in imx95_bc_probe()
365 spin_lock_init(&bc->lock); in imx95_bc_probe()
371 bc->base = base; in imx95_bc_probe()
372 bc->clk_apb = devm_clk_get(dev, NULL); in imx95_bc_probe()
373 if (IS_ERR(bc->clk_apb)) in imx95_bc_probe()
374 return dev_err_probe(dev, PTR_ERR(bc->clk_apb), "failed to get APB clock\n"); in imx95_bc_probe()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dgen7_renderclear.c91 static void batch_init(struct batch_chunk *bc, in batch_init() argument
95 bc->vma = vma; in batch_init()
96 bc->offset = offset; in batch_init()
97 bc->start = start + bc->offset / sizeof(*bc->start); in batch_init()
98 bc->end = bc->start; in batch_init()
99 bc->max_items = max_bytes / sizeof(*bc->start); in batch_init()
102 static u32 batch_offset(const struct batch_chunk *bc, u32 *cs) in batch_offset() argument
104 return (cs - bc->start) * sizeof(*bc->start) + bc->offset; in batch_offset()
107 static u32 batch_addr(const struct batch_chunk *bc) in batch_addr() argument
109 return i915_vma_offset(bc->vma); in batch_addr()
[all …]
/linux/fs/ocfs2/
H A Dblockcheck.c350 struct ocfs2_block_check *bc) in ocfs2_block_check_compute() argument
355 memset(bc, 0, sizeof(struct ocfs2_block_check)); in ocfs2_block_check_compute()
366 bc->bc_crc32e = cpu_to_le32(crc); in ocfs2_block_check_compute()
367 bc->bc_ecc = cpu_to_le16((u16)ecc); in ocfs2_block_check_compute()
379 struct ocfs2_block_check *bc, in ocfs2_block_check_validate() argument
389 bc_crc32e = le32_to_cpu(bc->bc_crc32e); in ocfs2_block_check_validate()
390 bc_ecc = le16_to_cpu(bc->bc_ecc); in ocfs2_block_check_validate()
392 memset(bc, 0, sizeof(struct ocfs2_block_check)); in ocfs2_block_check_validate()
421 bc->bc_crc32e = cpu_to_le32(bc_crc32e); in ocfs2_block_check_validate()
422 bc->bc_ecc = cpu_to_le16(bc_ecc); in ocfs2_block_check_validate()
[all …]
H A Dblockcheck.h31 struct ocfs2_block_check *bc);
33 struct ocfs2_block_check *bc);
36 struct ocfs2_block_check *bc);
39 struct ocfs2_block_check *bc);
43 struct ocfs2_block_check *bc);
45 struct ocfs2_block_check *bc,
48 struct ocfs2_block_check *bc);
50 struct ocfs2_block_check *bc,
/linux/drivers/spmi/
H A Dhisi-spmi-controller.c112 u8 opc, u8 slave_id, u16 slave_addr, u8 *__buf, size_t bc) in spmi_read_cmd() argument
122 if (bc > SPMI_CONTROLLER_MAX_TRANS_BYTES) { in spmi_read_cmd()
125 SPMI_CONTROLLER_MAX_TRANS_BYTES, bc); in spmi_read_cmd()
146 ((bc - 1) << SPMI_APB_SPMI_CMD_LENGTH_OFFSET) | in spmi_read_cmd()
159 for (i = 0; bc > i * SPMI_PER_DATAREG_BYTE; i++) { in spmi_read_cmd()
165 if ((bc - i * SPMI_PER_DATAREG_BYTE) >> 2) { in spmi_read_cmd()
169 memcpy(buf, &data, bc % SPMI_PER_DATAREG_BYTE); in spmi_read_cmd()
170 buf += (bc % SPMI_PER_DATAREG_BYTE); in spmi_read_cmd()
179 opc, slave_id, slave_addr, bc + 1); in spmi_read_cmd()
182 __func__, slave_id, slave_addr, (int)bc, __buf); in spmi_read_cmd()
[all …]
/linux/fs/xfs/
H A Dxfs_itable.c69 struct xfs_bstat_chunk *bc) in xfs_bulkstat_one_int() argument
74 struct xfs_bulkstat *buf = bc->buf; in xfs_bulkstat_one_int()
109 if (want_metadir_file(ip, bc->breq)) { in xfs_bulkstat_one_int()
119 error = bc->formatter(bc->breq, buf); in xfs_bulkstat_one_int()
156 if (!(bc->breq->flags & XFS_IBULK_NREXT64)) in xfs_bulkstat_one_int()
194 error = bc->formatter(bc->breq, buf); in xfs_bulkstat_one_int()
207 bc->breq->startino = ino + 1; in xfs_bulkstat_one_int()
218 struct xfs_bstat_chunk bc = { in xfs_bulkstat_one() local
233 bc.buf = kzalloc_obj(struct xfs_bulkstat, in xfs_bulkstat_one()
235 if (!bc.buf) in xfs_bulkstat_one()
[all …]
/linux/drivers/md/
H A Ddm-bufio.c405 static inline struct buffer_tree *cache_get_tree(struct dm_buffer_cache *bc, in cache_get_tree() argument
408 return &bc->trees[cache_index(block, bc->num_locks)]; in cache_get_tree()
412 static inline void cache_read_lock(struct dm_buffer_cache *bc, in cache_read_lock() argument
415 if (static_branch_unlikely(&no_sleep_enabled) && bc->no_sleep) in cache_read_lock()
422 static inline void cache_read_unlock(struct dm_buffer_cache *bc, in cache_read_unlock() argument
425 if (static_branch_unlikely(&no_sleep_enabled) && bc->no_sleep) in cache_read_unlock()
432 static inline void cache_write_lock(struct dm_buffer_cache *bc, in cache_write_lock() argument
435 if (static_branch_unlikely(&no_sleep_enabled) && bc->no_sleep) in cache_write_lock()
442 static inline void cache_write_unlock(struct dm_buffer_cache *bc, in cache_write_unlock() argument
445 if (static_branch_unlikely(&no_sleep_enabled) && bc->no_sleep) in cache_write_unlock()
[all …]
/linux/block/
H A Dblk-crypto.c104 struct bio_crypt_ctx *bc; in bio_crypt_set_ctx() local
112 bc = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in bio_crypt_set_ctx()
114 bc->bc_key = key; in bio_crypt_set_ctx()
115 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun)); in bio_crypt_set_ctx()
117 bio->bi_crypt_context = bc; in bio_crypt_set_ctx()
156 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in __bio_crypt_advance() local
158 bio_crypt_dun_increment(bc->bc_dun, in __bio_crypt_advance()
159 bytes >> bc->bc_key->data_unit_size_bits); in __bio_crypt_advance()
166 bool bio_crypt_dun_is_contiguous(const struct bio_crypt_ctx *bc, in bio_crypt_dun_is_contiguous() argument
171 unsigned int carry = bytes >> bc->bc_key->data_unit_size_bits; in bio_crypt_dun_is_contiguous()
[all …]
H A Dblk-crypto-fallback.c244 struct bio_crypt_ctx *bc = src_bio->bi_crypt_context; in __blk_crypto_fallback_encrypt_bio() local
245 int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in __blk_crypto_fallback_encrypt_bio()
259 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun)); in __blk_crypto_fallback_encrypt_bio()
357 struct bio_crypt_ctx *bc = src_bio->bi_crypt_context; in blk_crypto_fallback_encrypt_bio() local
362 bc->bc_key, &slot); in blk_crypto_fallback_encrypt_bio()
374 struct bio_crypt_ctx *bc, struct bvec_iter iter, in __blk_crypto_fallback_decrypt_bio() argument
382 const int data_unit_size = bc->bc_key->crypto_cfg.data_unit_size; in __blk_crypto_fallback_decrypt_bio()
389 memcpy(curr_dun, bc->bc_dun, sizeof(curr_dun)); in __blk_crypto_fallback_decrypt_bio()
426 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx; in blk_crypto_fallback_decrypt_bio() local
431 bc->bc_key, &slot); in blk_crypto_fallback_decrypt_bio()
[all …]
/linux/arch/parisc/kernel/
H A Ddrivers.c313 memset(&path->bc, -1, 6); in get_node_path()
318 path->bc[i--] = PCI_SLOT(devfn); in get_node_path()
325 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); in get_node_path()
327 path->bc[i--] = to_parisc_device(dev)->hw_path; in get_node_path()
337 if (path->bc[i] == -1) in print_hwpath()
339 output += sprintf(output, "%u/", (unsigned char) path->bc[i]); in print_hwpath()
410 if (path.bc[i] == -1) in setup_bus_id()
412 output += sprintf(output, "%u:", (unsigned char) path.bc[i]); in setup_bus_id()
487 if (modpath->bc[i] == -1) in create_parisc_device()
489 parent = &alloc_tree_node(parent, modpath->bc[i])->dev; in create_parisc_device()
[all …]
/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.c266 struct sst_algo_control *bc) in sst_send_algo_cmd() argument
272 len = sizeof(cmd->dst) + sizeof(cmd->command_id) + bc->max; in sst_send_algo_cmd()
278 SST_FILL_DESTINATION(2, cmd->dst, bc->pipe_id, bc->module_id); in sst_send_algo_cmd()
279 cmd->command_id = bc->cmd_id; in sst_send_algo_cmd()
280 memcpy(cmd->params, bc->params, bc->max); in sst_send_algo_cmd()
283 SST_FLAG_BLOCKED, bc->task_id, 0, cmd, len); in sst_send_algo_cmd()
301 struct sst_algo_control *bc; in sst_find_and_send_pipe_algo() local
307 bc = (void *)algo->kctl->private_value; in sst_find_and_send_pipe_algo()
311 ret = sst_send_algo_cmd(drv, bc); in sst_find_and_send_pipe_algo()
321 struct sst_algo_control *bc = (void *)kcontrol->private_value; in sst_algo_bytes_ctl_info() local
[all …]
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_common.c143 struct qlcnic_back_channel *bc; in qlcnic_sriov_init() local
158 bc = &sriov->bc; in qlcnic_sriov_init()
173 bc->bc_trans_wq = wq; in qlcnic_sriov_init()
182 bc->bc_async_wq = wq; in qlcnic_sriov_init()
183 INIT_LIST_HEAD(&bc->async_cmd_list); in qlcnic_sriov_init()
184 INIT_WORK(&bc->vf_async_work, qlcnic_sriov_handle_async_issue_cmd); in qlcnic_sriov_init()
185 spin_lock_init(&bc->queue_lock); in qlcnic_sriov_init()
186 bc->adapter = adapter; in qlcnic_sriov_init()
225 destroy_workqueue(bc->bc_async_wq); in qlcnic_sriov_init()
228 destroy_workqueue(bc->bc_trans_wq); in qlcnic_sriov_init()
[all …]

1234567