Home
last modified time | relevance | path

Searched refs:ddb (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/scsi/aic94xx/
Daic94xx_dev.c23 int ddb, i; in asd_get_ddb() local
25 ddb = FIND_FREE_DDB(asd_ha); in asd_get_ddb()
26 if (ddb >= asd_ha->hw_prof.max_ddbs) { in asd_get_ddb()
27 ddb = -ENOMEM; in asd_get_ddb()
30 SET_DDB(ddb, asd_ha); in asd_get_ddb()
33 asd_ddbsite_write_dword(asd_ha, ddb, i, 0); in asd_get_ddb()
35 return ddb; in asd_get_ddb()
57 static void asd_free_ddb(struct asd_ha_struct *asd_ha, int ddb) in asd_free_ddb() argument
59 if (!ddb || ddb >= 0xFFFF) in asd_free_ddb()
61 asd_ddbsite_write_byte(asd_ha, ddb, DDB_TYPE, DDB_TYPE_UNUSED); in asd_free_ddb()
[all …]
/linux-6.6.21/drivers/media/pci/ddbridge/
Dddbridge.h129 struct ddb;
200 struct ddb *dev;
212 struct ddb *dev;
294 struct ddb *dev;
310 struct ddb { struct
350 int ddbridge_flashread(struct ddb *dev, u32 link, u8 *buf, u32 addr, u32 len); argument
355 struct ddb_irq *ddb_irq_set(struct ddb *dev, u32 link, u32 nr,
357 void ddb_ports_detach(struct ddb *dev);
358 void ddb_ports_release(struct ddb *dev);
359 void ddb_buffers_free(struct ddb *dev);
[all …]
Dddbridge-io.h29 static inline u32 ddbreadl(struct ddb *dev, u32 adr) in ddbreadl()
34 static inline void ddbwritel(struct ddb *dev, u32 val, u32 adr) in ddbwritel()
39 static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count) in ddbcpyto()
44 static inline void ddbcpyfrom(struct ddb *dev, void *dst, u32 adr, long count) in ddbcpyfrom()
49 static inline u32 safe_ddbreadl(struct ddb *dev, u32 adr) in safe_ddbreadl()
Dddbridge-core.c107 static struct ddb *ddbs[DDB_MAX_ADAPTER];
113 struct ddb_irq *ddb_irq_set(struct ddb *dev, u32 link, u32 nr, in ddb_irq_set()
125 struct ddb *dev = io->port->dev; in ddb_set_dma_table()
142 static void ddb_set_dma_tables(struct ddb *dev) in ddb_set_dma_tables()
160 static void ddb_redirect_dma(struct ddb *dev, in ddb_redirect_dma()
220 struct ddb *idev = ddbs[(i >> 4) & 0x3f]; in ddb_redirect()
222 struct ddb *pdev = ddbs[(p >> 4) & 0x3f]; in ddb_redirect()
327 int ddb_buffers_alloc(struct ddb *dev) in ddb_buffers_alloc()
364 void ddb_buffers_free(struct ddb *dev) in ddb_buffers_free()
383 struct ddb *dev = output->port->dev; in calc_con()
[all …]
Dddbridge-main.c53 static void ddb_irq_disable(struct ddb *dev) in ddb_irq_disable()
59 static void ddb_msi_exit(struct ddb *dev) in ddb_msi_exit()
67 static void ddb_irq_exit(struct ddb *dev) in ddb_irq_exit()
77 struct ddb *dev = (struct ddb *)pci_get_drvdata(pdev); in ddb_remove()
94 static void ddb_irq_msi(struct ddb *dev, int nr) in ddb_irq_msi()
112 static int ddb_irq_init(struct ddb *dev) in ddb_irq_init()
166 struct ddb *dev; in ddb_probe()
Dddbridge-max.c49 static int lnb_command(struct ddb *dev, u32 link, u32 lnb, u32 cmd) in lnb_command()
72 struct ddb *dev = port->dev; in max_send_master_cmd()
92 static int lnb_send_diseqc(struct ddb *dev, u32 link, u32 input, in lnb_send_diseqc()
105 static int lnb_set_sat(struct ddb *dev, u32 link, u32 input, u32 sat, u32 band, in lnb_set_sat()
117 static int lnb_set_tone(struct ddb *dev, u32 link, u32 input, in lnb_set_tone()
143 static int lnb_set_voltage(struct ddb *dev, u32 link, u32 input, in lnb_set_voltage()
174 struct ddb *dev = port->dev; in max_set_input_unlocked()
197 struct ddb *dev = port->dev; in max_set_tone()
235 struct ddb *dev = port->dev; in max_set_voltage()
348 struct ddb *dev = link->dev; in mxl_fw_read()
[all …]
Dddbridge-i2c.c33 struct ddb *dev = i2c->dev; in ddb_i2c_cmd()
79 struct ddb *dev = i2c->dev; in ddb_i2c_master_xfer()
133 void ddb_i2c_release(struct ddb *dev) in ddb_i2c_release()
151 static int ddb_i2c_add(struct ddb *dev, struct ddb_i2c *i2c, in ddb_i2c_add()
188 int ddb_i2c_init(struct ddb *dev) in ddb_i2c_init()
Dddbridge-i2c.h19 void ddb_i2c_release(struct ddb *dev);
20 int ddb_i2c_init(struct ddb *dev);
Dddbridge-max.h17 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm);
Dddbridge-mci.c122 struct ddb *dev = port->dev; in ddb_mci_attach()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dskl_watermark.c516 struct skl_ddb_entry *ddb) in skl_ddb_entry_for_slices() argument
521 ddb->start = 0; in skl_ddb_entry_for_slices()
522 ddb->end = 0; in skl_ddb_entry_for_slices()
526 ddb->start = (ffs(slice_mask) - 1) * slice_size; in skl_ddb_entry_for_slices()
527 ddb->end = fls(slice_mask) * slice_size; in skl_ddb_entry_for_slices()
529 WARN_ON(ddb->start >= ddb->end); in skl_ddb_entry_for_slices()
530 WARN_ON(ddb->end > DISPLAY_INFO(i915)->dbuf.size); in skl_ddb_entry_for_slices()
535 struct skl_ddb_entry ddb; in mbus_ddb_offset() local
542 skl_ddb_entry_for_slices(i915, slice_mask, &ddb); in mbus_ddb_offset()
544 return ddb.start; in mbus_ddb_offset()
[all …]
Dskl_watermark.h37 bool skl_ddb_allocation_overlaps(const struct skl_ddb_entry *ddb,
54 struct skl_ddb_entry ddb[I915_MAX_PIPES]; member
Dintel_atomic_plane.c724 struct skl_ddb_entry ddb[I915_MAX_PLANES], in skl_next_plane_to_commit()
745 ddb, I915_MAX_PLANES, plane_id) || in skl_next_plane_to_commit()
751 ddb[plane_id] = crtc_state->wm.skl.plane_ddb[plane_id]; in skl_next_plane_to_commit()
834 struct skl_ddb_entry ddb[I915_MAX_PLANES]; in skl_crtc_planes_update_arm() local
839 memcpy(ddb, old_crtc_state->wm.skl.plane_ddb, in skl_crtc_planes_update_arm()
844 while ((plane = skl_next_plane_to_commit(state, crtc, ddb, ddb_y, &update_mask))) { in skl_crtc_planes_update_arm()
Dintel_bw.c1039 const struct skl_ddb_entry *ddb, in skl_plane_calc_dbuf_bw() argument
1044 unsigned int dbuf_mask = skl_ddb_dbuf_slice_mask(i915, ddb); in skl_plane_calc_dbuf_bw()
Dintel_display.c6752 entries[pipe] = old_crtc_state->wm.skl.ddb; in skl_commit_modeset_enables()
6776 if (skl_ddb_allocation_overlaps(&new_crtc_state->wm.skl.ddb, in skl_commit_modeset_enables()
6780 entries[pipe] = new_crtc_state->wm.skl.ddb; in skl_commit_modeset_enables()
6791 if (!skl_ddb_entry_equal(&new_crtc_state->wm.skl.ddb, in skl_commit_modeset_enables()
6792 &old_crtc_state->wm.skl.ddb) && in skl_commit_modeset_enables()
6844 drm_WARN_ON(&dev_priv->drm, skl_ddb_allocation_overlaps(&new_crtc_state->wm.skl.ddb, in skl_commit_modeset_enables()
6847 entries[pipe] = new_crtc_state->wm.skl.ddb; in skl_commit_modeset_enables()
Dintel_display_types.h938 struct skl_ddb_entry ddb; member
/linux-6.6.21/drivers/scsi/qla4xxx/
Dql4_iocb.c284 ddb_entry = srb->ddb; in qla4xxx_send_command_to_isp()
Dql4_def.h237 struct ddb_entry *ddb; member
Dql4_isr.c146 ddb_entry = srb->ddb; in qla4xxx_status_entry()
Dql4_os.c4063 srb->ddb = ddb_entry; in qla4xxx_get_new_srb()
9059 struct ddb_entry *ddb; in qla4xxx_slave_alloc() local
9064 ddb = sess->dd_data; in qla4xxx_slave_alloc()
9066 sdev->hostdata = ddb; in qla4xxx_slave_alloc()
Dql4_mbx.c1192 mbox_cmd[1] = srb->ddb->fw_ddb_index; in qla4xxx_abort_task()
/linux-6.6.21/arch/s390/tools/
Dopcodes.txt1198 ed1d ddb RXE_FRRD