Searched refs:inst (Results 1 - 25 of 55) sorted by relevance

123

/drivers/crypto/qat/qat_common/
H A Dqat_crypto.c61 void qat_crypto_put_instance(struct qat_crypto_instance *inst) argument
63 if (atomic_sub_return(1, &inst->refctr) == 0)
64 adf_dev_put(inst->accel_dev);
69 struct qat_crypto_instance *inst; local
74 inst = list_entry(list_ptr, struct qat_crypto_instance, list);
76 for (i = 0; i < atomic_read(&inst->refctr); i++)
77 qat_crypto_put_instance(inst);
79 if (inst->sym_tx)
80 adf_remove_ring(inst->sym_tx);
82 if (inst
126 struct qat_crypto_instance *inst; local
154 struct qat_crypto_instance *inst; local
[all...]
H A Dqat_algs.c118 struct qat_crypto_instance *inst; member in struct:qat_alg_session_ctx
495 dev = &GET_DEV(ctx->inst->accel_dev);
505 struct qat_crypto_instance *inst = local
507 if (!inst) {
512 dev = &GET_DEV(inst->accel_dev);
513 ctx->inst = inst;
548 static void qat_alg_free_bufl(struct qat_crypto_instance *inst, argument
551 struct device *dev = &GET_DEV(inst->accel_dev);
579 static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst, argument
712 struct qat_crypto_instance *inst = ctx->inst; local
869 struct qat_crypto_instance *inst = ctx->inst; local
[all...]
/drivers/scsi/
H A Datari_scsi.h51 #define NCR5380_dma_read_setup(inst,d,c) atari_scsi_dma_setup (inst, d, c, 0)
52 #define NCR5380_dma_write_setup(inst,d,c) atari_scsi_dma_setup (inst, d, c, 1)
53 #define NCR5380_dma_residual(inst) atari_scsi_dma_residual( inst )
/drivers/phy/
H A Dphy-exynos4x12-usb2.c168 static void exynos4x12_isol(struct samsung_usb2_phy_instance *inst, bool on) argument
170 struct samsung_usb2_phy_driver *drv = inst->drv;
174 switch (inst->cfg->id) {
195 static void exynos4x12_setup_clk(struct samsung_usb2_phy_instance *inst) argument
197 struct samsung_usb2_phy_driver *drv = inst->drv;
211 static void exynos4x12_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) argument
213 struct samsung_usb2_phy_driver *drv = inst->drv;
219 switch (inst->cfg->id) {
263 static void exynos4x12_power_on_int(struct samsung_usb2_phy_instance *inst) argument
265 if (inst
273 exynos4x12_power_on(struct samsung_usb2_phy_instance *inst) argument
303 exynos4x12_power_off_int(struct samsung_usb2_phy_instance *inst) argument
312 exynos4x12_power_off(struct samsung_usb2_phy_instance *inst) argument
[all...]
H A Dphy-s5pv210-usb2.c92 static void s5pv210_isol(struct samsung_usb2_phy_instance *inst, bool on) argument
94 struct samsung_usb2_phy_driver *drv = inst->drv;
97 switch (inst->cfg->id) {
112 static void s5pv210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) argument
114 struct samsung_usb2_phy_driver *drv = inst->drv;
120 switch (inst->cfg->id) {
152 static int s5pv210_power_on(struct samsung_usb2_phy_instance *inst) argument
154 s5pv210_isol(inst, 0);
155 s5pv210_phy_pwr(inst, 1);
160 static int s5pv210_power_off(struct samsung_usb2_phy_instance *inst) argument
[all...]
H A Dphy-exynos4210-usb2.c127 static void exynos4210_isol(struct samsung_usb2_phy_instance *inst, bool on) argument
129 struct samsung_usb2_phy_driver *drv = inst->drv;
133 switch (inst->cfg->id) {
149 static void exynos4210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) argument
151 struct samsung_usb2_phy_driver *drv = inst->drv;
158 switch (inst->cfg->id) {
210 static int exynos4210_power_on(struct samsung_usb2_phy_instance *inst) argument
213 exynos4210_phy_pwr(inst, 1);
214 exynos4210_isol(inst, 0);
219 static int exynos4210_power_off(struct samsung_usb2_phy_instance *inst) argument
[all...]
H A Dphy-samsung-usb2.c24 struct samsung_usb2_phy_instance *inst = phy_get_drvdata(phy); local
25 struct samsung_usb2_phy_driver *drv = inst->drv;
29 inst->cfg->label);
36 if (inst->cfg->power_on) {
38 ret = inst->cfg->power_on(inst);
52 struct samsung_usb2_phy_instance *inst = phy_get_drvdata(phy); local
53 struct samsung_usb2_phy_driver *drv = inst->drv;
57 inst->cfg->label);
58 if (inst
[all...]
H A Dphy-exynos5-usbdrd.c135 void (*phy_isol)(struct phy_usb_instance *inst, u32 on);
137 unsigned int (*set_refclk)(struct phy_usb_instance *inst);
178 struct exynos5_usbdrd_phy *to_usbdrd_phy(struct phy_usb_instance *inst) argument
180 return container_of((inst), struct exynos5_usbdrd_phy,
181 phys[(inst)->index]);
221 static void exynos5_usbdrd_phy_isol(struct phy_usb_instance *inst, argument
226 if (!inst->reg_pmu)
231 regmap_update_bits(inst->reg_pmu, inst->pmu_offset,
241 exynos5_usbdrd_pipe3_set_refclk(struct phy_usb_instance *inst) argument
287 exynos5_usbdrd_utmi_set_refclk(struct phy_usb_instance *inst) argument
349 struct phy_usb_instance *inst = phy_get_drvdata(phy); local
411 struct phy_usb_instance *inst = phy_get_drvdata(phy); local
444 struct phy_usb_instance *inst = phy_get_drvdata(phy); local
473 struct phy_usb_instance *inst = phy_get_drvdata(phy); local
[all...]
H A Dphy-exynos5250-usb2.c178 static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on) argument
180 struct samsung_usb2_phy_driver *drv = inst->drv;
184 switch (inst->cfg->id) {
200 static int exynos5250_power_on(struct samsung_usb2_phy_instance *inst) argument
202 struct samsung_usb2_phy_driver *drv = inst->drv;
209 switch (inst->cfg->id) {
321 exynos5250_isol(inst, 0);
326 static int exynos5250_power_off(struct samsung_usb2_phy_instance *inst) argument
328 struct samsung_usb2_phy_driver *drv = inst->drv;
333 exynos5250_isol(inst,
[all...]
/drivers/soc/ti/
H A Dknav_qmss_queue.c63 #define for_each_handle_rcu(qh, inst) \
64 list_for_each_entry_rcu(qh, &inst->handles, list)
66 #define for_each_instance(idx, inst, kdev) \
67 for (idx = 0, inst = kdev->instances; \
69 idx++, inst = knav_queue_idx_to_inst(kdev, idx))
74 * @inst: qmss queue instance like accumulator
76 void knav_queue_notify(struct knav_queue_inst *inst) argument
80 if (!inst)
84 for_each_handle_rcu(qh, inst) {
98 struct knav_queue_inst *inst local
104 knav_queue_setup_irq(struct knav_range_info *range, struct knav_queue_inst *inst) argument
131 knav_queue_free_irq(struct knav_queue_inst *inst) argument
144 knav_queue_is_busy(struct knav_queue_inst *inst) argument
149 knav_queue_is_reserved(struct knav_queue_inst *inst) argument
154 knav_queue_is_shared(struct knav_queue_inst *inst) argument
169 knav_queue_match_type(struct knav_queue_inst *inst, unsigned type) argument
189 struct knav_queue_inst *inst; local
209 __knav_queue_open(struct knav_queue_inst *inst, const char *name, unsigned flags) argument
247 struct knav_queue_inst *inst; local
277 struct knav_queue_inst *inst; local
299 knav_queue_set_notify(struct knav_queue_inst *inst, bool enabled) argument
309 struct knav_queue_inst *inst = qh->inst; local
330 struct knav_queue_inst *inst = qh->inst; local
367 knav_gp_set_notify(struct knav_range_info *range, struct knav_queue_inst *inst, bool enabled) argument
383 knav_gp_open_queue(struct knav_range_info *range, struct knav_queue_inst *inst, unsigned flags) argument
389 knav_gp_close_queue(struct knav_range_info *range, struct knav_queue_inst *inst) argument
406 struct knav_queue_inst *inst = qh->inst; local
412 knav_queue_debug_show_instance(struct seq_file *s, struct knav_queue_inst *inst) argument
442 struct knav_queue_inst *inst; local
489 struct knav_queue_inst *inst = qh->inst; local
538 struct knav_queue_inst *inst = qh->inst; local
640 struct knav_queue_inst *inst = qh->inst; local
1602 knav_queue_init_queue(struct knav_device *kdev, struct knav_range_info *range, struct knav_queue_inst *inst, unsigned id) argument
[all...]
H A Dknav_qmss.h274 * @inst: qmss queue instace properties
284 struct knav_queue_inst *inst; member in struct:knav_queue
313 struct knav_queue_inst *inst);
315 struct knav_queue_inst *inst, unsigned flags);
317 struct knav_queue_inst *inst);
319 struct knav_queue_inst *inst, bool enabled);
384 extern void knav_queue_notify(struct knav_queue_inst *inst);
H A Dknav_qmss_acc.c44 struct knav_queue_inst *inst; local
51 inst = knav_range_offset_to_inst(kdev, range,
53 if (inst->notify_needed) {
54 inst->notify_needed = 0;
57 knav_queue_notify(inst);
62 inst = knav_range_offset_to_inst(kdev, range, queue);
65 knav_queue_notify(inst);
425 struct knav_queue_inst *inst, unsigned flags)
427 unsigned id = inst->id - range->queue_base;
433 struct knav_queue_inst *inst)
424 knav_acc_open_queue(struct knav_range_info *range, struct knav_queue_inst *inst, unsigned flags) argument
432 knav_acc_close_queue(struct knav_range_info *range, struct knav_queue_inst *inst) argument
[all...]
/drivers/net/ethernet/broadcom/
H A Dbnx2_fw.h21 .inst = BNX2_COM_CPU_INSTRUCTION,
37 .inst = BNX2_CP_CPU_INSTRUCTION,
53 .inst = BNX2_RXP_CPU_INSTRUCTION,
69 .inst = BNX2_TPAT_CPU_INSTRUCTION,
85 .inst = BNX2_TXP_CPU_INSTRUCTION,
/drivers/gpu/drm/nouveau/core/engine/mpeg/
H A Dnv40.c44 u32 inst = *(u32 *)arg << 4; local
45 u32 dma0 = nv_ro32(imem, inst + 0);
46 u32 dma1 = nv_ro32(imem, inst + 4);
47 u32 dma2 = nv_ro32(imem, inst + 8);
H A Dnv44.c75 u32 inst = 0x80000000 | nv_gpuobj(chan)->addr >> 4; local
78 if (nv_rd32(priv, 0x00b318) == inst)
109 u32 inst = nv_rd32(priv, 0x00b318) & 0x000fffff; local
117 engctx = nouveau_engctx_get(engine, inst);
141 chid, inst << 4, nouveau_client_name(engctx), stat,
H A Dnv31.c69 u32 inst = *(u32 *)arg << 4; local
70 u32 dma0 = nv_ro32(imem, inst + 0);
71 u32 dma1 = nv_ro32(imem, inst + 4);
72 u32 dma2 = nv_ro32(imem, inst + 8);
/drivers/edac/
H A Damd8131_edac.c71 .inst = NORTH_A,
76 .inst = NORTH_B,
81 .inst = SOUTH_A,
86 .inst = SOUTH_B,
90 {.inst = NO_BRIDGE,},
253 for (dev_info = amd8131_chipset.devices; dev_info->inst != NO_BRIDGE;
258 if (dev_info->inst == NO_BRIDGE) /* should never happen */
317 for (dev_info = amd8131_chipset.devices; dev_info->inst != NO_BRIDGE;
322 if (dev_info->inst == NO_BRIDGE) /* should never happen */
H A Dedac_device.c77 struct edac_device_instance *dev_inst, *inst; local
164 inst = &dev_inst[instance];
165 inst->ctl = dev_ctl;
166 inst->nr_blocks = nr_blocks;
168 inst->blocks = blk_p;
171 snprintf(inst->name, sizeof(inst->name),
177 blk->instance = inst;
182 instance, inst, block, blk, blk->name);
H A Damd8131_edac.h93 enum pcix_bridge_inst inst; member in struct:amd8131_dev_info
/drivers/gpu/drm/nouveau/core/engine/copy/
H A Dnva3.c90 u64 inst = nv_ro32(falcon, 0x050) & 0x3fffffff; local
98 engctx = nouveau_engctx_get(engine, inst);
105 chid, inst << 12, nouveau_client_name(engctx), subc,
/drivers/gpu/drm/nouveau/core/engine/crypt/
H A Dnv84.c122 u32 inst = nv_rd32(priv, 0x102188) & 0x7fffffff; local
125 engctx = nouveau_engctx_get(engine, inst);
132 chid, (u64)inst << 12, nouveau_client_name(engctx),
H A Dnv98.c91 u32 inst = nv_rd32(priv, 0x087050) & 0x3fffffff; local
99 engctx = nouveau_engctx_get(engine, inst);
106 chid, (u64)inst << 12, nouveau_client_name(engctx),
/drivers/mcb/
H A Dmcb-internal.h58 * @inst: the instance number of the device, 0 is first instance
93 * @inst: the instance number of the device, 0 is first instance
106 unsigned int inst:6; member in struct:chameleon_bdd
/drivers/gpu/drm/nouveau/core/engine/graph/
H A Dctx.h22 cp_out(struct nouveau_grctx *ctx, u32 inst) argument
30 ctxprog[ctx->ctxprog_len++] = inst;
/drivers/media/platform/vivid/
H A Dvivid-core.c635 static int __init vivid_create_instance(int inst) argument
641 int ccs_cap = ccs_cap_mode[inst];
642 int ccs_out = ccs_out_mode[inst];
648 unsigned node_type = node_types[inst];
658 dev->inst = inst;
662 "%s-%03d", VIVID_MODULE_NAME, inst);
670 dev->multiplanar = multiplanar[inst] > 1;
675 dev->num_inputs = num_inputs[inst];
681 dev->input_type[i] = (input_types[inst] >> (
[all...]

Completed in 792 milliseconds

123