/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.h | 45 static inline void qlcnic_clear_dcb_ops(struct qlcnic_dcb *dcb) argument 47 kfree(dcb); 48 dcb = NULL; 51 static inline int qlcnic_dcb_get_hw_capability(struct qlcnic_dcb *dcb) argument 53 if (dcb && dcb->ops->get_hw_capability) 54 return dcb->ops->get_hw_capability(dcb); 59 static inline void qlcnic_dcb_free(struct qlcnic_dcb *dcb) argument 61 if (dcb 65 qlcnic_dcb_attach(struct qlcnic_dcb *dcb) argument 74 qlcnic_dcb_query_hw_capability(struct qlcnic_dcb *dcb, char *buf) argument 82 qlcnic_dcb_get_info(struct qlcnic_dcb *dcb) argument 89 qlcnic_dcb_query_cee_param(struct qlcnic_dcb *dcb, char *buf, u8 type) argument 97 qlcnic_dcb_get_cee_cfg(struct qlcnic_dcb *dcb) argument 105 qlcnic_dcb_aen_handler(struct qlcnic_dcb *dcb, void *msg) argument 111 qlcnic_dcb_init_dcbnl_ops(struct qlcnic_dcb *dcb) argument 117 qlcnic_dcb_enable(struct qlcnic_dcb *dcb) argument [all...] |
H A D | qlcnic_dcb.c | 242 static inline void __qlcnic_init_dcbnl_ops(struct qlcnic_dcb *dcb) argument 244 if (test_bit(QLCNIC_DCB_STATE, &dcb->state)) 245 dcb->adapter->netdev->dcbnl_ops = &qlcnic_dcbnl_ops; 251 adapter->dcb->ops = &qlcnic_82xx_dcb_ops; 253 adapter->dcb->ops = &qlcnic_83xx_dcb_ops; 258 struct qlcnic_dcb *dcb; local 263 dcb = kzalloc(sizeof(struct qlcnic_dcb), GFP_ATOMIC); 264 if (!dcb) 267 adapter->dcb = dcb; 275 __qlcnic_dcb_free(struct qlcnic_dcb *dcb) argument 302 __qlcnic_dcb_get_info(struct qlcnic_dcb *dcb) argument 308 __qlcnic_dcb_attach(struct qlcnic_dcb *dcb) argument 345 __qlcnic_dcb_query_hw_capability(struct qlcnic_dcb *dcb, char *buf) argument 371 __qlcnic_dcb_get_capability(struct qlcnic_dcb *dcb, u32 *val) argument 404 qlcnic_82xx_dcb_get_hw_capability(struct qlcnic_dcb *dcb) argument 424 qlcnic_82xx_dcb_query_cee_param(struct qlcnic_dcb *dcb, char *buf, u8 type) argument 493 qlcnic_82xx_dcb_get_cee_cfg(struct qlcnic_dcb *dcb) argument 526 struct qlcnic_dcb *dcb; local 534 qlcnic_82xx_dcb_aen_handler(struct qlcnic_dcb *dcb, void *data) argument 542 qlcnic_83xx_dcb_get_hw_capability(struct qlcnic_dcb *dcb) argument 565 qlcnic_83xx_dcb_query_cee_param(struct qlcnic_dcb *dcb, char *buf, u8 idx) argument 628 qlcnic_83xx_dcb_get_cee_cfg(struct qlcnic_dcb *dcb) argument 641 qlcnic_83xx_dcb_aen_handler(struct qlcnic_dcb *dcb, void *data) argument 946 struct qlcnic_dcb *dcb = adapter->dcb; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_dcb.c | 40 struct port_dcb_info *dcb = &pi->dcb; local 41 int version_temp = dcb->dcb_version; 43 memset(dcb, 0, sizeof(struct port_dcb_info)); 44 dcb->state = CXGB4_DCB_STATE_START; 46 dcb->dcb_version = version_temp; 55 struct port_dcb_info *dcb = &pi->dcb; local 60 dcb->dcb_version = FW_PORT_DCB_VER_AUTO; 67 struct port_dcb_info *dcb local 106 struct port_dcb_info *dcb = &pi->dcb; local 249 struct port_dcb_info *dcb = &pi->dcb; local 601 struct port_dcb_info *dcb = &pi->dcb; local 894 struct port_dcb_info *dcb = &pi->dcb; local [all...] |
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
H A D | dcb.c | 28 #include "subdev/bios/dcb.h" 34 u16 dcb = 0x0000; local 37 dcb = nv_ro16(bios, 0x36); 38 if (!dcb) { 40 return dcb; 43 *ver = nv_ro08(bios, dcb); 50 if (nv_ro32(bios, dcb + 6) == 0x4edcbdcb) { 51 *hdr = nv_ro08(bios, dcb + 1); 52 *cnt = nv_ro08(bios, dcb + 2); 53 *len = nv_ro08(bios, dcb 104 u16 dcb = dcb_table(bios, ver, &hdr, &cnt, len); local 126 u16 dcb = dcb_outp(bios, idx, ver, len); local 197 u16 dcb, idx = 0; local [all...] |
H A D | extdev.c | 26 #include <subdev/bios/dcb.h> 33 u16 dcb, extdev = 0; local 35 dcb = dcb_table(bios, &dcb_ver, &dcb_hdr, &dcb_cnt, &dcb_len); 36 if (!dcb || (dcb_ver != 0x30 && dcb_ver != 0x40)) 39 extdev = nv_ro16(bios, dcb + 18);
|
H A D | gpio.c | 26 #include <subdev/bios/dcb.h> 34 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); local 35 if (dcb) { 37 data = nv_ro16(bios, dcb + 0x0a); 39 if (*ver >= 0x22 && nv_ro08(bios, dcb - 1) >= 0x13) 40 data = nv_ro16(bios, dcb - 0x0f);
|
H A D | conn.c | 28 #include <subdev/bios/dcb.h> 34 u32 dcb = dcb_table(bios, ver, hdr, cnt, len); local 35 if (dcb && *ver >= 0x30 && *hdr >= 0x16) { 36 u32 data = nv_ro16(bios, dcb + 0x14);
|
H A D | i2c.c | 27 #include "subdev/bios/dcb.h" 34 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); local 35 if (dcb) { 37 i2c = nv_ro16(bios, dcb + 2); 39 i2c = nv_ro16(bios, dcb + 4);
|
/drivers/scsi/ |
H A D | dc395x.c | 230 struct DeviceCtlBlk *dcb; member in struct:ScsiReqBlk 270 struct list_head list; /* next/prev ptrs for the dcb list */ 302 struct list_head dcb_list; /* head of going dcb list */ 380 static u8 start_scsi(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, 384 static void build_srb(struct scsi_cmnd *cmd, struct DeviceCtlBlk *dcb, 392 static void srb_done(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, 394 static void request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, 397 struct DeviceCtlBlk *dcb); 717 /* find supplied dcb and then select the next one */ 736 static void free_tag(struct DeviceCtlBlk *dcb, struc argument 778 srb_waiting_insert(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 787 srb_waiting_append(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 796 srb_going_append(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 804 srb_going_remove(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 819 srb_waiting_remove(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 835 srb_going_to_waiting_move(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 845 srb_waiting_to_going_move(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 877 struct DeviceCtlBlk *dcb; local 961 struct DeviceCtlBlk *dcb = srb->dcb; local 980 build_srb(struct scsi_cmnd *cmd, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 1085 struct DeviceCtlBlk *dcb; local 1191 dump_register_info(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 1273 struct DeviceCtlBlk *dcb; local 1369 struct DeviceCtlBlk *dcb; local 1403 build_sdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 1431 build_wdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 1492 start_scsi(struct AdapterCtlBlk* acb, struct DeviceCtlBlk* dcb, struct ScsiReqBlk* srb) argument 1702 struct DeviceCtlBlk *dcb; local 1898 struct DeviceCtlBlk *dcb; local 2040 struct DeviceCtlBlk *dcb = srb->dcb; local 2405 struct DeviceCtlBlk *dcb = srb->dcb; local 2632 msgin_qtag(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, u8 tag) argument 2685 reprogram_regs(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb) argument 2698 struct DeviceCtlBlk *dcb = srb->dcb; local 2721 struct DeviceCtlBlk *dcb = srb->dcb; local 2795 struct DeviceCtlBlk *dcb = srb->dcb; local 2813 struct DeviceCtlBlk *dcb = srb->dcb; local 2866 struct DeviceCtlBlk *dcb = acb->active_dcb; local 3002 set_xfer_rate(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb) argument 3027 struct DeviceCtlBlk *dcb = acb->active_dcb; local 3123 struct DeviceCtlBlk *dcb = acb->active_dcb; local 3236 disc_tagq_set(struct DeviceCtlBlk *dcb, struct ScsiInqData *ptr) argument 3257 add_dev(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiInqData *ptr) argument 3312 srb_done(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 3525 struct DeviceCtlBlk *dcb; local 3675 request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) argument 3736 struct DeviceCtlBlk *dcb; local 3800 adapter_add_device(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb) argument 3828 adapter_remove_device(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb) argument 3863 adapter_remove_and_free_device(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb) argument 3886 struct DeviceCtlBlk *dcb; local 3906 struct DeviceCtlBlk *dcb; local 3926 struct DeviceCtlBlk *dcb = find_dcb(acb, scsi_device->id, scsi_device->lun); local 4625 struct DeviceCtlBlk *dcb; local [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 76 nv_encoder->dcb->dpconf.link_nr, 77 nv_encoder->dcb->dpconf.link_bw); 79 if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr) 80 nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr; 81 if (nv_encoder->dcb->dpconf.link_bw < nv_encoder->dp.link_bw) 82 nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw;
|
H A D | nouveau_encoder.h | 30 #include <subdev/bios/dcb.h> 42 struct dcb_output *dcb; member in struct:nouveau_encoder
|
H A D | nouveau_bios.c | 1252 u8 *dcb = NULL; local 1255 dcb = ROMPTR(dev, drm->vbios.data[0x36]); 1256 if (!dcb) { 1261 if (dcb[0] >= 0x41) { 1262 NV_WARN(drm, "DCB version 0x%02x unknown\n", dcb[0]); 1265 if (dcb[0] >= 0x30) { 1266 if (ROM32(dcb[6]) == 0x4edcbdcb) 1267 return dcb; 1269 if (dcb[0] >= 0x20) { 1270 if (ROM32(dcb[ 1305 u8 *dcb = olddcb_table(dev); local 1354 u8 *dcb = olddcb_table(dev); local 1372 new_dcb_entry(struct dcb_table *dcb) argument 1382 fabricate_dcb_output(struct dcb_table *dcb, int type, int i2c, int heads, int or) argument 1396 parse_dcb20_entry(struct drm_device *dev, struct dcb_table *dcb, uint32_t conn, uint32_t conf, struct dcb_output *entry) argument 1536 parse_dcb15_entry(struct drm_device *dev, struct dcb_table *dcb, uint32_t conn, uint32_t conf, struct dcb_output *entry) argument 1590 merge_like_dcb_entries(struct drm_device *dev, struct dcb_table *dcb) argument 1643 struct dcb_table *dcb = &drm->vbios.dcb; local 1749 struct dcb_table *dcb = &bios->dcb; local 1781 struct dcb_table *dcb = &drm->vbios.dcb; local 1860 struct dcb_table *dcb = &bios->dcb; local [all...] |
H A D | nouveau_connector.c | 78 (nv_encoder->dcb && nv_encoder->dcb->type == type)) 145 if (nv_encoder->dcb->type == DCB_OUTPUT_DP) { 184 if (nv_encoder->dcb->i2c_index == idx && edid) { 211 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS || 212 nv_encoder->dcb->type == DCB_OUTPUT_TMDS) { 230 nv_encoder->dcb->type == DCB_OUTPUT_TMDS ? 277 if (nv_encoder->dcb->type == DCB_OUTPUT_TMDS) 279 if (nv_encoder->dcb->type == DCB_OUTPUT_ANALOG) 282 if (nv_partner && ((nv_encoder->dcb 799 struct dcb_output *dcb = nv_connector->detected_encoder->dcb; local 998 drm_conntype_from_dcb(enum dcb_connector_type dcb) argument [all...] |
H A D | nouveau_connector.h | 66 u8 *dcb; member in struct:nouveau_connector
|
H A D | nouveau_bios.h | 53 #include <subdev/bios/dcb.h> 112 struct dcb_table dcb; member in struct:nvbios
|
/drivers/net/ethernet/amd/xgbe/ |
H A D | Makefile | 7 amd-xgbe-$(CONFIG_AMD_XGBE_DCB) += xgbe-dcb.o
|
/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | dac.c | 43 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local 46 if (dcb->or & (8 | DCB_OUTPUT_C)) 48 if (dcb->or & (8 | DCB_OUTPUT_B)) 236 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local 243 if (dcb->type == DCB_OUTPUT_TV) { 270 gpio->set(gpio, 0, DCB_GPIO_TVDAC1, 0xff, dcb->type == DCB_OUTPUT_TV); 271 gpio->set(gpio, 0, DCB_GPIO_TVDAC0, 0xff, dcb->type == DCB_OUTPUT_TV); 287 if (dcb 334 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local 424 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local 449 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local [all...] |
H A D | dfp.c | 132 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index; 139 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index); 155 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local 158 if (dcb->type != DCB_OUTPUT_TMDS || dcb->location == DCB_LOC_ON_CHIP) 172 struct dcb_output *slave_dcb = nouveau_encoder(slave)->dcb; 175 slave_dcb->tmdsconf.slave_addr == dcb->tmdsconf.slave_addr) 207 uint32_t bits1618 = nv_encoder->dcb->or & DCB_OUTPUT_A ? 0x10000 : 0x40000; 209 if (nv_encoder->dcb 624 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local [all...] |
H A D | disp.c | 57 struct dcb_table *dcb = &drm->vbios.dcb; local 81 for (i = 0; i < dcb->entries; i++) { 82 struct dcb_output *dcbent = &dcb->entry[i]; 122 nv_encoder->i2c = i2c->find(i2c, nv_encoder->dcb->i2c_index);
|
H A D | tvnv17.c | 158 struct dcb_output *dcb = tv_enc->base.dcb; local 183 if (dcb->tvconf.has_component_output) 201 '@' + ffs(dcb->or)); 382 mode, nouveau_encoder(encoder)->dcb->index); 427 struct dcb_output *dcb = nouveau_encoder(enc)->dcb; local 429 if ((dcb->type == DCB_OUTPUT_TMDS || 430 dcb->type == DCB_OUTPUT_LVDS) && 432 nv04_dfp_get_bound_head(dev, dcb) 649 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; local [all...] |
/drivers/isdn/mISDN/ |
H A D | layer1.c | 36 dchannel_l1callback *dcb; member in struct:layer1 130 l1->dcb(l1->dch, HW_POWERUP_REQ); 150 l1->dcb(l1->dch, INFO3_P8); 173 l1->dcb(l1->dch, INFO3_P8); 182 l1->dcb(l1->dch, INFO3_P8); 201 l1->dcb(l1->dch, HW_D_NOBLOCKED); 202 l1->dcb(l1->dch, PH_DEACTIVATE_IND); 217 l1->dcb(l1->dch, PH_ACTIVATE_IND); 228 l1->dcb(l1->dch, HW_D_NOBLOCKED); 229 l1->dcb(l 383 create_l1(struct dchannel *dch, dchannel_l1callback *dcb) argument [all...] |
/drivers/dma-buf/ |
H A D | dma-buf.c | 124 struct dma_buf_poll_cb_t *dcb = (struct dma_buf_poll_cb_t *)cb; local 127 spin_lock_irqsave(&dcb->poll->lock, flags); 128 wake_up_locked_poll(dcb->poll, dcb->active); 129 dcb->active = 0; 130 spin_unlock_irqrestore(&dcb->poll->lock, flags); 170 struct dma_buf_poll_cb_t *dcb = &dmabuf->cb_excl; local 177 if (dcb->active) { 178 dcb->active |= pevents; 181 dcb 205 struct dma_buf_poll_cb_t *dcb = &dmabuf->cb_shared; local [all...] |
/drivers/gpu/drm/nouveau/core/engine/disp/ |
H A D | sornv50.c | 30 #include <subdev/bios/dcb.h>
|
H A D | priv.h | 5 #include <subdev/bios/dcb.h>
|
/drivers/gpu/drm/nouveau/core/subdev/mxm/ |
H A D | nv50.c | 28 #include <subdev/bios/dcb.h> 64 /* match dcb encoder type to mxm-ods device type */ 78 /* check dcb entry has a compatible link field */ 108 /* look for an output device structure that matches this dcb entry. 119 * with the mapping from mxm ddc/aux port to dcb i2c_index in the 133 /* override dcb sorconf.link, based on what mxm data says */ 196 u16 dcb = dcb_table(bios, &ver, &hdr, &cnt, &len); local 197 if (dcb == 0x0000 || ver != 0x40) {
|