Home
last modified time | relevance | path

Searched refs:dcb (Results 1 – 25 of 26) sorted by relevance

12

/drivers/scsi/
Ddc395x.c230 struct DeviceCtlBlk *dcb; member
378 static u8 start_scsi(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb,
382 static void build_srb(struct scsi_cmnd *cmd, struct DeviceCtlBlk *dcb,
390 static void srb_done(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb,
392 static void request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb,
395 struct DeviceCtlBlk *dcb);
736 static void free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in free_tag() argument
739 dcb->tag_mask &= ~(1 << srb->tag_number); /* free tag mask */ in free_tag()
778 static void srb_waiting_insert(struct DeviceCtlBlk *dcb, in srb_waiting_insert() argument
782 srb->cmd, dcb->target_id, dcb->target_lun, srb); in srb_waiting_insert()
[all …]
Dtmscsim.c1890 struct dc390_dcb *dcb = sdev->hostdata; in DC390_queuecommand_lck() local
1893 if (sdev->queue_depth <= dcb->GoingSRBCnt) in DC390_queuecommand_lck()
1911 srb->pSRBDCB = dcb; in DC390_queuecommand_lck()
1930 if (dc390_StartSCSI(acb, dcb, srb)) { in DC390_queuecommand_lck()
1935 dc390_Going_append(dcb, srb); in DC390_queuecommand_lck()
2187 struct dc390_dcb *dcb = (struct dc390_dcb *)sdev->hostdata; in dc390_slave_configure() local
2190 if (sdev->tagged_supported && (dcb->DevMode & TAG_QUEUEING_)) { in dc390_slave_configure()
2191 dcb->SyncMode |= EN_TAG_QUEUEING; in dc390_slave_configure()
/drivers/gpu/drm/nouveau/core/subdev/bios/
Ddcb.c34 u16 dcb = 0x0000; in dcb_table() local
37 dcb = nv_ro16(bios, 0x36); in dcb_table()
38 if (!dcb) { in dcb_table()
40 return dcb; in dcb_table()
43 *ver = nv_ro08(bios, dcb); in dcb_table()
50 if (nv_ro32(bios, dcb + 6) == 0x4edcbdcb) { in dcb_table()
51 *hdr = nv_ro08(bios, dcb + 1); in dcb_table()
52 *cnt = nv_ro08(bios, dcb + 2); in dcb_table()
53 *len = nv_ro08(bios, dcb + 3); in dcb_table()
54 return dcb; in dcb_table()
[all …]
Dgpio.c34 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); in dcb_gpio_table() local
35 if (dcb) { in dcb_gpio_table()
37 data = nv_ro16(bios, dcb + 0x0a); in dcb_gpio_table()
39 if (*ver >= 0x22 && nv_ro08(bios, dcb - 1) >= 0x13) in dcb_gpio_table()
40 data = nv_ro16(bios, dcb - 0x0f); in dcb_gpio_table()
Dextdev.c33 u16 dcb, extdev = 0; in extdev_table() local
35 dcb = dcb_table(bios, &dcb_ver, &dcb_hdr, &dcb_cnt, &dcb_len); in extdev_table()
36 if (!dcb || (dcb_ver != 0x30 && dcb_ver != 0x40)) in extdev_table()
39 extdev = nv_ro16(bios, dcb + 18); in extdev_table()
Dconn.c34 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); in dcb_conntab() local
35 if (dcb && *ver >= 0x30 && *hdr >= 0x16) { in dcb_conntab()
36 u16 data = nv_ro16(bios, dcb + 0x14); in dcb_conntab()
Di2c.c34 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); in dcb_i2c_table() local
35 if (dcb) { in dcb_i2c_table()
37 i2c = nv_ro16(bios, dcb + 2); in dcb_i2c_table()
39 i2c = nv_ro16(bios, dcb + 4); in dcb_i2c_table()
/drivers/gpu/drm/nouveau/
Dnouveau_bios.c1254 u8 *dcb = NULL; in olddcb_table() local
1257 dcb = ROMPTR(dev, drm->vbios.data[0x36]); in olddcb_table()
1258 if (!dcb) { in olddcb_table()
1263 if (dcb[0] >= 0x41) { in olddcb_table()
1264 NV_WARN(drm, "DCB version 0x%02x unknown\n", dcb[0]); in olddcb_table()
1267 if (dcb[0] >= 0x30) { in olddcb_table()
1268 if (ROM32(dcb[6]) == 0x4edcbdcb) in olddcb_table()
1269 return dcb; in olddcb_table()
1271 if (dcb[0] >= 0x20) { in olddcb_table()
1272 if (ROM32(dcb[4]) == 0x4edcbdcb) in olddcb_table()
[all …]
Dnouveau_connector.c76 if (type == DCB_OUTPUT_ANY || nv_encoder->dcb->type == type) in find_encoder()
181 if (nv_encoder->dcb->i2c_index == idx && edid) { in nouveau_connector_of_detect()
208 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS || in nouveau_connector_set_encoder()
209 nv_encoder->dcb->type == DCB_OUTPUT_TMDS) { in nouveau_connector_set_encoder()
227 nv_encoder->dcb->type == DCB_OUTPUT_TMDS ? in nouveau_connector_set_encoder()
262 if (nv_encoder->dcb->type == DCB_OUTPUT_DP && in nouveau_connector_detect()
275 if (nv_encoder->dcb->type == DCB_OUTPUT_TMDS) in nouveau_connector_detect()
277 if (nv_encoder->dcb->type == DCB_OUTPUT_ANALOG) in nouveau_connector_detect()
280 if (nv_partner && ((nv_encoder->dcb->type == DCB_OUTPUT_ANALOG && in nouveau_connector_detect()
281 nv_partner->dcb->type == DCB_OUTPUT_TMDS) || in nouveau_connector_detect()
[all …]
Dnouveau_dp.c82 nv_encoder->dcb->dpconf.link_nr, in nouveau_dp_detect()
83 nv_encoder->dcb->dpconf.link_bw); in nouveau_dp_detect()
85 if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr) in nouveau_dp_detect()
86 nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr; in nouveau_dp_detect()
87 if (nv_encoder->dcb->dpconf.link_bw < nv_encoder->dp.link_bw) in nouveau_dp_detect()
88 nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw; in nouveau_dp_detect()
Dnv50_display.c1602 nv_encoder->dcb = dcbe; in nv50_dac_create()
1710 nv_partner->dcb->or == nv_encoder->dcb->or) { in nv50_sor_dpms()
1793 switch (nv_encoder->dcb->type) { in nv50_sor_mode_set()
1795 if (nv_encoder->dcb->sorconf.link & 1) { in nv50_sor_mode_set()
1850 if (nv_encoder->dcb->sorconf.link & 1) in nv50_sor_mode_set()
1939 nv_encoder->dcb = dcbe; in nv50_sor_create()
1963 u32 mthd = (nv_encoder->dcb->type << 12) | nv_encoder->or; in nv50_pior_dpms()
2014 switch (nv_encoder->dcb->type) { in nv50_pior_mode_set()
2115 nv_encoder->dcb = dcbe; in nv50_pior_create()
2190 struct dcb_table *dcb = &drm->vbios.dcb; in nv50_display_create() local
[all …]
Dnouveau_encoder.h42 struct dcb_output *dcb; member
Dnouveau_connector.h68 u8 *dcb; member
Dnouveau_bios.h112 struct dcb_table dcb; member
DMakefile33 nouveau-y += core/subdev/bios/dcb.o
/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c43 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv04_dac_output_offset() local
46 if (dcb->or & (8 | DCB_OUTPUT_C)) in nv04_dac_output_offset()
48 if (dcb->or & (8 | DCB_OUTPUT_B)) in nv04_dac_output_offset()
236 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv17_dac_sample_load() local
243 if (dcb->type == DCB_OUTPUT_TV) { in nv17_dac_sample_load()
270 gpio->set(gpio, 0, DCB_GPIO_TVDAC1, 0xff, dcb->type == DCB_OUTPUT_TV); in nv17_dac_sample_load()
271 gpio->set(gpio, 0, DCB_GPIO_TVDAC0, 0xff, dcb->type == DCB_OUTPUT_TV); in nv17_dac_sample_load()
287 if (dcb->type == DCB_OUTPUT_TV) in nv17_dac_sample_load()
334 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv17_dac_detect() local
342 '@' + ffs(dcb->or)); in nv17_dac_detect()
[all …]
Ddfp.c132 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index; in nv04_dfp_update_fp_control()
139 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index); in nv04_dfp_update_fp_control()
155 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in get_tmds_slave() local
158 if (dcb->type != DCB_OUTPUT_TMDS || dcb->location == DCB_LOC_ON_CHIP) in get_tmds_slave()
172 struct dcb_output *slave_dcb = nouveau_encoder(slave)->dcb; in get_tmds_slave()
175 slave_dcb->tmdsconf.slave_addr == dcb->tmdsconf.slave_addr) in get_tmds_slave()
207 uint32_t bits1618 = nv_encoder->dcb->or & DCB_OUTPUT_A ? 0x10000 : 0x40000; in nv04_dfp_prepare_sel_clk()
209 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP) in nv04_dfp_prepare_sel_clk()
236 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS && nv04_display(dev)->saved_reg.sel_clk & 0xf0) { in nv04_dfp_prepare_sel_clk()
261 if (nv_encoder->dcb->location == DCB_LOC_ON_CHIP) in nv04_dfp_prepare()
[all …]
Dtvnv17.c163 struct dcb_output *dcb = tv_enc->base.dcb; in nv17_tv_detect() local
188 if (dcb->tvconf.has_component_output) in nv17_tv_detect()
206 '@' + ffs(dcb->or)); in nv17_tv_detect()
387 mode, nouveau_encoder(encoder)->dcb->index); in nv17_tv_dpms()
432 struct dcb_output *dcb = nouveau_encoder(enc)->dcb; in nv17_tv_prepare() local
434 if ((dcb->type == DCB_OUTPUT_TMDS || in nv17_tv_prepare()
435 dcb->type == DCB_OUTPUT_LVDS) && in nv17_tv_prepare()
437 nv04_dfp_get_bound_head(dev, dcb) == head) { in nv17_tv_prepare()
438 nv04_dfp_bind_head(dev, dcb, head ^ 1, in nv17_tv_prepare()
617 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv17_tv_commit()
[all …]
Ddisp.c62 struct dcb_table *dcb = &drm->vbios.dcb; in nv04_display_create() local
89 for (i = 0; i < dcb->entries; i++) { in nv04_display_create()
90 struct dcb_output *dcbent = &dcb->entry[i]; in nv04_display_create()
130 nv_encoder->i2c = i2c->find(i2c, nv_encoder->dcb->i2c_index); in nv04_display_create()
Dtvnv04.c79 mode, nv_encoder->dcb->index); in nv04_tv_dpms()
171 …&nouveau_encoder_connector_get(nv_encoder)->base), nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_tv_commit()
227 nv_encoder->dcb = entry; in nv04_tv_create()
Dcrtc.c264 (nv_encoder->dcb->type == DCB_OUTPUT_LVDS || in nv_crtc_mode_set_vga()
265 nv_encoder->dcb->type == DCB_OUTPUT_TMDS)) in nv_crtc_mode_set_vga()
480 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS) in nv_crtc_mode_set_regs()
482 if (nv_encoder->dcb->type == DCB_OUTPUT_TV) in nv_crtc_mode_set_regs()
484 if (nv_encoder->dcb->type == DCB_OUTPUT_TMDS) in nv_crtc_mode_set_regs()
486 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP && digital) in nv_crtc_mode_set_regs()
/drivers/isdn/mISDN/
Dlayer1.c36 dchannel_l1callback *dcb; member
130 l1->dcb(l1->dch, HW_POWERUP_REQ); in l1_deact_cnf()
150 l1->dcb(l1->dch, INFO3_P8); in l1_power_up_s()
173 l1->dcb(l1->dch, INFO3_P8); in l1_info2_ind()
182 l1->dcb(l1->dch, INFO3_P8); in l1_info4_ind()
201 l1->dcb(l1->dch, HW_D_NOBLOCKED); in l1_timer3()
202 l1->dcb(l1->dch, PH_DEACTIVATE_IND); in l1_timer3()
217 l1->dcb(l1->dch, PH_ACTIVATE_IND); in l1_timer_act()
228 l1->dcb(l1->dch, HW_D_NOBLOCKED); in l1_timer_deact()
229 l1->dcb(l1->dch, PH_DEACTIVATE_IND); in l1_timer_deact()
[all …]
/drivers/gpu/drm/nouveau/core/engine/disp/
Dnvd0.c590 struct dcb_output *dcb, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in exec_lookup() argument
612 dcb->sorconf.link = mask; in exec_lookup()
619 data = dcb_outp_match(bios, type, mask, ver, hdr, dcb); in exec_lookup()
631 struct dcb_output dcb; in exec_script() local
646 data = exec_lookup(priv, head, outp, ctrl, &dcb, &ver, &hdr, &cnt, &len, &info); in exec_script()
652 .outp = &dcb, in exec_script()
665 u32 pclk, struct dcb_output *dcb) in exec_clkcmp() argument
684 data = exec_lookup(priv, head, outp, ctrl, dcb, &ver, &hdr, &cnt, &len, &info1); in exec_clkcmp()
688 switch (dcb->type) { in exec_clkcmp()
714 .outp = dcb, in exec_clkcmp()
Dnv50.c778 struct dcb_output *dcb, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in exec_lookup() argument
817 data = dcb_outp_match(bios, type, mask, ver, hdr, dcb); in exec_lookup()
822 if (dcb->location != 0) in exec_lookup()
823 type |= dcb->extdev << 8; in exec_lookup()
833 struct dcb_output dcb; in exec_script() local
869 data = exec_lookup(priv, head, i, ctrl, &dcb, &ver, &hdr, &cnt, &len, &info); in exec_script()
875 .outp = &dcb, in exec_script()
/drivers/gpu/drm/nouveau/core/subdev/mxm/
Dnv50.c196 u16 dcb = dcb_table(bios, &ver, &hdr, &cnt, &len); in mxm_dcb_sanitise() local
197 if (dcb == 0x0000 || ver != 0x40) { in mxm_dcb_sanitise()

12