/linux-2.6.39/drivers/scsi/ |
D | dc395x.c | 230 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/ |
D | nv50_display.c | 168 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 …]
|
D | nouveau_connector.c | 60 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 …]
|
D | nv04_dac.c | 39 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 …]
|
D | nv04_dfp.c | 131 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 …]
|
D | nv50_sor.c | 76 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 …]
|
D | nouveau_bios.c | 707 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 …]
|
D | nouveau_dp.c | 40 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 …]
|
D | nv17_tv.c | 146 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 …]
|
D | nv04_display.c | 119 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()
|
D | nouveau_temp.c | 262 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()
|
D | nv50_dac.c | 224 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()
|
D | nv04_tv.c | 73 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()
|
D | nouveau_connector.h | 36 struct dcb_connector_table_entry *dcb; member
|
D | nv50_display.h | 55 struct dcb_entry *dcb; member
|
D | nouveau_encoder.h | 38 struct dcb_entry *dcb; member
|
D | nv04_crtc.c | 254 (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()
|
D | nouveau_bios.h | 283 struct dcb_table dcb; member
|
/linux-2.6.39/drivers/isdn/mISDN/ |
D | layer1.c | 34 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/ |
D | dcbnl.c | 202 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/ |
D | output.c | 49 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 …]
|
D | options.c | 435 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()
|
D | input.c | 578 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()
|
D | ipv4.c | 580 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/ |
D | Makefile | 60 obj-y += dcb/
|