Home
last modified time | relevance | path

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

12

/linux-2.6.39/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->serial_number, dcb->target_id, dcb->target_lun, srb); in srb_waiting_insert()
[all …]
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnv50_display.c168 if (conn->dcb->gpio_tag == 0xff) in nv50_display_init()
171 pgpio->irq_enable(dev, conn->dcb->gpio_tag, true); in nv50_display_init()
277 struct dcb_table *dcb = &dev_priv->vbios.dcb; in nv50_display_create() local
311 for (i = 0 ; i < dcb->entries; i++) { in nv50_display_create()
312 struct dcb_entry *entry = &dcb->entry[i]; in nv50_display_create()
491 nv50_display_script_select(struct drm_device *dev, struct dcb_entry *dcb, in nv50_display_script_select() argument
503 if (nv_encoder->dcb != dcb) in nv50_display_script_select()
510 or = ffs(dcb->or) - 1; in nv50_display_script_select()
511 switch (dcb->type) { in nv50_display_script_select()
608 disp->irq.dcb = NULL; in nv50_display_unk10_handler()
[all …]
Dnouveau_connector.c60 if (type == OUTPUT_ANY || nv_encoder->dcb->type == type) in find_encoder_by_type()
115 pgpio->irq_unregister(dev, nv_connector->dcb->gpio_tag, in nouveau_connector_destroy()
151 if (nv_encoder->dcb->i2c_index < 0xf) in nouveau_connector_ddc_detect()
152 i2c = nouveau_i2c_find(dev, nv_encoder->dcb->i2c_index); in nouveau_connector_ddc_detect()
182 if (nv_encoder->dcb->i2c_index == idx && edid) { in nouveau_connector_of_detect()
205 if (nv_encoder->dcb->type == OUTPUT_LVDS || in nouveau_connector_set_encoder()
206 nv_encoder->dcb->type == OUTPUT_TMDS) { in nouveau_connector_set_encoder()
221 if (nv_connector->dcb->type == DCB_CONNECTOR_DVI_I) { in nouveau_connector_set_encoder()
224 nv_encoder->dcb->type == OUTPUT_TMDS ? in nouveau_connector_set_encoder()
257 if (nv_encoder->dcb->type == OUTPUT_DP && in nouveau_connector_detect()
[all …]
Dnv04_dac.c39 struct dcb_entry *dcb = nouveau_encoder(encoder)->dcb; in nv04_dac_output_offset() local
42 if (dcb->or & (8 | OUTPUT_C)) in nv04_dac_output_offset()
44 if (dcb->or & (8 | OUTPUT_B)) in nv04_dac_output_offset()
224 struct dcb_entry *dcb = nouveau_encoder(encoder)->dcb; in nv17_dac_sample_load() local
231 if (dcb->type == OUTPUT_TV) { in nv17_dac_sample_load()
258 gpio->set(dev, DCB_GPIO_TVDAC1, dcb->type == OUTPUT_TV); in nv17_dac_sample_load()
259 gpio->set(dev, DCB_GPIO_TVDAC0, dcb->type == OUTPUT_TV); in nv17_dac_sample_load()
274 if (dcb->type == OUTPUT_TV) in nv17_dac_sample_load()
319 struct dcb_entry *dcb = nouveau_encoder(encoder)->dcb; in nv17_dac_detect() local
327 '@' + ffs(dcb->or)); in nv17_dac_detect()
[all …]
Dnv04_dfp.c131 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index; in nv04_dfp_update_fp_control()
138 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index); in nv04_dfp_update_fp_control()
154 struct dcb_entry *dcb = nouveau_encoder(encoder)->dcb; in get_tmds_slave() local
157 if (dcb->type != OUTPUT_TMDS || dcb->location == DCB_LOC_ON_CHIP) in get_tmds_slave()
171 struct dcb_entry *slave_dcb = nouveau_encoder(slave)->dcb; in get_tmds_slave()
174 slave_dcb->tmdsconf.slave_addr == dcb->tmdsconf.slave_addr) in get_tmds_slave()
207 uint32_t bits1618 = nv_encoder->dcb->or & 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 == OUTPUT_LVDS && dev_priv->saved_reg.sel_clk & 0xf0) { in nv04_dfp_prepare_sel_clk()
262 if (nv_encoder->dcb->location == DCB_LOC_ON_CHIP) in nv04_dfp_prepare()
[all …]
Dnv50_sor.c76 NV_DEBUG_KMS(dev, "or %d type %d mode %d\n", or, nv_encoder->dcb->type, mode); in nv50_sor_dpms()
83 (nvenc->dcb->type != OUTPUT_TMDS && in nv50_sor_dpms()
84 nvenc->dcb->type != OUTPUT_LVDS && in nv50_sor_dpms()
85 nvenc->dcb->type != OUTPUT_DP) || in nv50_sor_dpms()
86 nvenc->dcb->or != nv_encoder->dcb->or) in nv50_sor_dpms()
117 if (nv_encoder->dcb->type == OUTPUT_DP) { in nv50_sor_dpms()
120 auxch = nouveau_i2c_find(dev, nv_encoder->dcb->i2c_index); in nv50_sor_dpms()
194 nv_encoder->or, nv_encoder->dcb->type, crtc->index); in nv50_sor_mode_set()
198 switch (nv_encoder->dcb->type) { in nv50_sor_mode_set()
200 if (nv_encoder->dcb->sorconf.link & 1) { in nv50_sor_mode_set()
[all …]
Dnouveau_bios.c707 if (dcb_entry > bios->dcb.entries) { in dcb_entry_idx_from_crtchead()
797 struct dcb_table *dcb = &dev_priv->vbios.dcb; in init_i2c_device_find() local
802 int default_indices = dcb->i2c_default_indices; in init_i2c_device_find()
804 if (idx != 0x7f && dcb->entry[idx].i2c_upper_default) in init_i2c_device_find()
810 i2c_index = dcb->i2c_default_indices & 0xf; in init_i2c_device_find()
813 i2c_index = (dcb->i2c_default_indices & 0xf0) >> 4; in init_i2c_device_find()
823 read_dcb_i2c_entry(dev, dcb->version, dcb->i2c_table, in init_i2c_device_find()
824 i2c_index, &dcb->i2c[i2c_index]); in init_i2c_device_find()
856 dacoffset = pramdac_offset[bios->dcb.entry[dcb_entry].or]; in get_tmds_index_reg()
1177 struct dcb_entry *dcb = bios->display.output; in init_dp_condition() local
[all …]
Dnouveau_dp.c40 auxch = nouveau_i2c_find(dev, nv_encoder->dcb->i2c_index); in auxch_rd()
59 auxch = nouveau_i2c_find(dev, nv_encoder->dcb->i2c_index); in auxch_wr()
73 int or = nv_encoder->or, link = !(nv_encoder->dcb->sorconf.link & 1); in nouveau_dp_lane_count_set()
110 int or = nv_encoder->or, link = !(nv_encoder->dcb->sorconf.link & 1); in nouveau_dp_link_train_set()
135 dpe = nouveau_bios_dp_table(dev, nv_encoder->dcb, &dpe_headerlen); in nouveau_dp_max_voltage_swing()
157 dpe = nouveau_bios_dp_table(dev, nv_encoder->dcb, &dpe_headerlen); in nouveau_dp_max_pre_emphasis()
182 dpe = nouveau_bios_dp_table(dev, nv_encoder->dcb, &dpe_headerlen); in nouveau_dp_link_train_adjust()
228 int or = nv_encoder->or, link = !(nv_encoder->dcb->sorconf.link & 1); in nouveau_dp_link_train_commit()
234 dpe = nouveau_bios_dp_table(dev, nv_encoder->dcb, &dpe_headerlen); in nouveau_dp_link_train_commit()
289 dpe = nouveau_bios_dp_table(dev, nv_encoder->dcb, &dpe_headerlen); in nouveau_dp_link_train()
[all …]
Dnv17_tv.c146 struct dcb_entry *dcb = tv_enc->base.dcb; in nv17_tv_detect() local
171 if (dcb->tvconf.has_component_output) in nv17_tv_detect()
189 '@' + ffs(dcb->or)); in nv17_tv_detect()
370 mode, nouveau_encoder(encoder)->dcb->index); in nv17_tv_dpms()
415 struct dcb_entry *dcb = nouveau_encoder(enc)->dcb; in nv17_tv_prepare() local
417 if ((dcb->type == OUTPUT_TMDS || in nv17_tv_prepare()
418 dcb->type == OUTPUT_LVDS) && in nv17_tv_prepare()
420 nv04_dfp_get_bound_head(dev, dcb) == head) { in nv17_tv_prepare()
421 nv04_dfp_bind_head(dev, dcb, head ^ 1, in nv17_tv_prepare()
600 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv17_tv_commit()
[all …]
Dnv04_display.c119 struct dcb_table *dcb = &dev_priv->vbios.dcb; in nv04_display_create() local
154 for (i = 0; i < dcb->entries; i++) { in nv04_display_create()
155 struct dcb_entry *dcbent = &dcb->entry[i]; in nv04_display_create()
Dnouveau_temp.c262 struct dcb_table *dcb = &dev_priv->vbios.dcb; in nouveau_temp_probe_i2c() local
271 int idx = (dcb->version >= 0x40 ? in nouveau_temp_probe_i2c()
272 dcb->i2c_default_indices & 0xf : 2); in nouveau_temp_probe_i2c()
Dnv50_dac.c224 nv_encoder->or, nv_encoder->dcb->type, crtc->index); in nv50_dac_mode_set()
234 if (nv_encoder->dcb->type == OUTPUT_ANALOG) in nv50_dac_mode_set()
237 if (nv_encoder->dcb->type == OUTPUT_TV) in nv50_dac_mode_set()
306 nv_encoder->dcb = entry; in nv50_dac_create()
Dnv04_tv.c73 mode, nv_encoder->dcb->index); in nv04_tv_dpms()
167 '@' + ffs(nv_encoder->dcb->or)); in nv04_tv_commit()
219 nv_encoder->dcb = entry; in nv04_tv_create()
Dnouveau_connector.h36 struct dcb_connector_table_entry *dcb; member
Dnv50_display.h55 struct dcb_entry *dcb; member
Dnouveau_encoder.h38 struct dcb_entry *dcb; member
Dnv04_crtc.c254 (nv_encoder->dcb->type == OUTPUT_LVDS || in nv_crtc_mode_set_vga()
255 nv_encoder->dcb->type == OUTPUT_TMDS)) in nv_crtc_mode_set_vga()
467 if (nv_encoder->dcb->type == OUTPUT_LVDS) in nv_crtc_mode_set_regs()
469 if (nv_encoder->dcb->type == OUTPUT_TV) in nv_crtc_mode_set_regs()
471 if (nv_encoder->dcb->type == OUTPUT_TMDS) in nv_crtc_mode_set_regs()
473 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP && digital) in nv_crtc_mode_set_regs()
Dnouveau_bios.h283 struct dcb_table dcb; member
/linux-2.6.39/drivers/isdn/mISDN/
Dlayer1.c34 dchannel_l1callback *dcb; member
128 l1->dcb(l1->dch, HW_POWERUP_REQ); in l1_deact_cnf()
148 l1->dcb(l1->dch, INFO3_P8); in l1_power_up_s()
171 l1->dcb(l1->dch, INFO3_P8); in l1_info2_ind()
180 l1->dcb(l1->dch, INFO3_P8); in l1_info4_ind()
199 l1->dcb(l1->dch, HW_D_NOBLOCKED); in l1_timer3()
200 l1->dcb(l1->dch, PH_DEACTIVATE_IND); in l1_timer3()
204 l1->dcb(l1->dch, HW_POWERUP_REQ); in l1_timer3()
215 l1->dcb(l1->dch, PH_ACTIVATE_IND); in l1_timer_act()
226 l1->dcb(l1->dch, HW_D_NOBLOCKED); in l1_timer_deact()
[all …]
/linux-2.6.39/net/dcb/
Ddcbnl.c202 struct dcbmsg *dcb; in dcbnl_reply() local
210 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, event, sizeof(*dcb), flags); in dcbnl_reply()
212 dcb = NLMSG_DATA(nlh); in dcbnl_reply()
213 dcb->dcb_family = AF_UNSPEC; in dcbnl_reply()
214 dcb->cmd = cmd; in dcbnl_reply()
215 dcb->dcb_pad = 0; in dcbnl_reply()
254 struct dcbmsg *dcb; in dcbnl_getpfccfg() local
274 nlh = NLMSG_NEW(dcbnl_skb, pid, seq, RTM_GETDCB, sizeof(*dcb), flags); in dcbnl_getpfccfg()
276 dcb = NLMSG_DATA(nlh); in dcbnl_getpfccfg()
277 dcb->dcb_family = AF_UNSPEC; in dcbnl_getpfccfg()
[all …]
/linux-2.6.39/net/dccp/
Doutput.c49 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_transmit_skb() local
54 dccp_packet_hdr_len(dcb->dccpd_type); in dccp_transmit_skb()
61 dcb->dccpd_seq = ADD48(dp->dccps_gss, 1); in dccp_transmit_skb()
63 switch (dcb->dccpd_type) { in dccp_transmit_skb()
75 dcb->dccpd_seq = dp->dccps_iss; in dccp_transmit_skb()
80 ackno = dcb->dccpd_ack_seq; in dccp_transmit_skb()
102 dh->dccph_type = dcb->dccpd_type; in dccp_transmit_skb()
105 dh->dccph_doff = (dccp_header_size + dcb->dccpd_opt_len) / 4; in dccp_transmit_skb()
106 dh->dccph_ccval = dcb->dccpd_ccval; in dccp_transmit_skb()
111 dccp_update_gss(sk, dcb->dccpd_seq); in dccp_transmit_skb()
[all …]
Doptions.c435 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_insert_option_ackvec() local
444 if (dcb->dccpd_opt_len + len > DCCP_MAX_OPT_LEN) { in dccp_insert_option_ackvec()
446 dccp_packet_name(dcb->dccpd_type)); in dccp_insert_option_ackvec()
455 len + dcb->dccpd_opt_len + skb->len > dp->dccps_mss_cache) { in dccp_insert_option_ackvec()
458 dcb->dccpd_opt_len, dp->dccps_mss_cache); in dccp_insert_option_ackvec()
462 dcb->dccpd_opt_len += len; in dccp_insert_option_ackvec()
503 if (dccp_ackvec_update_records(av, dcb->dccpd_seq, nonce)) in dccp_insert_option_ackvec()
Dinput.c578 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_rcv_state_process() local
615 dcb->dccpd_reset_code = DCCP_RESET_CODE_NO_CONNECTION; in dccp_rcv_state_process()
618 dcb->dccpd_reset_code = DCCP_RESET_CODE_NO_CONNECTION; in dccp_rcv_state_process()
661 dccp_send_sync(sk, dcb->dccpd_seq, DCCP_PKT_SYNC); in dccp_rcv_state_process()
698 dccp_send_sync(sk, dcb->dccpd_seq, DCCP_PKT_SYNCACK); in dccp_rcv_state_process()
Dipv4.c580 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v4_conn_request() local
587 dcb->dccpd_reset_code = DCCP_RESET_CODE_BAD_SERVICE_CODE; in dccp_v4_conn_request()
595 dcb->dccpd_reset_code = DCCP_RESET_CODE_TOO_BUSY; in dccp_v4_conn_request()
634 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v4_conn_request()
/linux-2.6.39/net/
DMakefile60 obj-y += dcb/

12