/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_dcb.h | 59 if (dcb && dcb->ops->free) in qlcnic_dcb_free() 60 dcb->ops->free(dcb); in qlcnic_dcb_free() 65 if (dcb && dcb->ops->attach) in qlcnic_dcb_attach() 66 return dcb->ops->attach(dcb); in qlcnic_dcb_attach() 82 if (dcb && dcb->ops->get_info) in qlcnic_dcb_get_info() 83 dcb->ops->get_info(dcb); in qlcnic_dcb_get_info() 97 if (dcb && dcb->ops->get_cee_cfg) in qlcnic_dcb_get_cee_cfg() 105 if (dcb && dcb->ops->aen_handler) in qlcnic_dcb_aen_handler() 106 dcb->ops->aen_handler(dcb, msg); in qlcnic_dcb_aen_handler() 112 dcb->ops->init_dcbnl_ops(dcb); in qlcnic_dcb_init_dcbnl_ops() [all …]
|
A D | qlcnic_dcb.c | 263 if (!dcb) in qlcnic_register_dcb() 266 adapter->dcb = dcb; in qlcnic_register_dcb() 269 dcb->state = 0; in qlcnic_register_dcb() 278 if (!dcb) in __qlcnic_dcb_free() 288 if (dcb->wq) { in __qlcnic_dcb_free() 297 kfree(dcb); in __qlcnic_dcb_free() 314 if (!dcb->wq) { in __qlcnic_dcb_attach() 339 dcb->wq = NULL; in __qlcnic_dcb_attach() 538 queue_delayed_work(dcb->wq, &dcb->aen_work, 0); in qlcnic_82xx_dcb_aen_handler() 652 queue_delayed_work(dcb->wq, &dcb->aen_work, 0); in qlcnic_83xx_dcb_aen_handler() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_dcb.c | 36 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_dcb_state_init() local 51 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_dcb_version_init() local 63 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_dcb_cleanup_apps() local 129 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_dcb_state_fsm() local 280 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_dcb_handle_fw_update() local 635 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_getpfccfg() local 663 pcmd.u.dcb.pfc.pfcen = pi->dcb.pfcen; in cxgb4_setpfccfg() 676 pi->dcb.pfcen = pcmd.u.dcb.pfc.pfcen; in cxgb4_setpfccfg() 930 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_ieee_negotiation_complete() local 944 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_ieee_read_ets() local [all …]
|
/linux/drivers/scsi/ |
A D | dc395x.c | 843 struct DeviceCtlBlk *dcb = srb->dcb; in send_srb() local 870 srb->dcb = dcb; in build_srb() 1883 struct DeviceCtlBlk *dcb = srb->dcb; in data_out_phase0() local 2248 struct DeviceCtlBlk *dcb = srb->dcb; in data_io_transfer() local 2540 struct DeviceCtlBlk *dcb = srb->dcb; in msgin_set_async() local 2542 dcb->target_id, dcb->target_lun); in msgin_set_async() 2893 dcb->target_id, dcb->target_lun); in disconnect() 3018 dcb->target_id, dcb->target_lun); in reselect() 3631 acb->children[dcb->target_id][dcb->target_lun] = dcb; in adapter_add_device() 3650 dcb->target_id, dcb->target_lun); in adapter_remove_device() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
A D | dcb.c | 32 u16 dcb = 0x0000; in dcb_table() local 36 if (!dcb) { in dcb_table() 38 return dcb; in dcb_table() 52 return dcb; in dcb_table() 61 return dcb; in dcb_table() 70 return dcb; in dcb_table() 126 if (dcb) { in dcb_outp_parse() 138 dcb = 0x0000; in dcb_outp_parse() 193 return dcb; in dcb_outp_parse() 200 u16 dcb, idx = 0; in dcb_outp_match() local [all …]
|
A D | gpio.c | 33 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); in dcb_gpio_table() local 34 if (dcb) { in dcb_gpio_table() 36 data = nvbios_rd16(bios, dcb + 0x0a); in dcb_gpio_table() 38 if (*ver >= 0x22 && nvbios_rd08(bios, dcb - 1) >= 0x13) in dcb_gpio_table() 39 data = nvbios_rd16(bios, dcb - 0x0f); in dcb_gpio_table()
|
A D | extdev.c | 32 u16 dcb, extdev = 0; in extdev_table() local 34 dcb = dcb_table(bios, &dcb_ver, &dcb_hdr, &dcb_cnt, &dcb_len); in extdev_table() 35 if (!dcb || (dcb_ver != 0x30 && dcb_ver != 0x40 && dcb_ver != 0x41)) in extdev_table() 38 extdev = nvbios_rd16(bios, dcb + 18); in extdev_table()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_dcbnl.c | 17 return edev->ops->dcb->getstate(edev->cdev); in qede_dcbnl_getstate() 24 return edev->ops->dcb->setstate(edev->cdev, state); in qede_dcbnl_setstate() 48 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgtx() 74 edev->ops->dcb->getpfccfg(edev->cdev, prio, setting); in qede_dcbnl_getpfccfg() 82 edev->ops->dcb->setpfccfg(edev->cdev, prio, setting); in qede_dcbnl_setpfccfg() 89 return edev->ops->dcb->getcap(edev->cdev, capid, cap); in qede_dcbnl_getcap() 103 return edev->ops->dcb->getpfcstate(edev->cdev); in qede_dcbnl_getpfcstate() 117 return edev->ops->dcb->getdcbx(edev->cdev); in qede_dcbnl_getdcbx() 158 return edev->ops->dcb->setall(edev->cdev); in qede_dcbnl_setall() 187 return edev->ops->dcb->setdcbx(edev->cdev, state); in qede_dcbnl_setdcbx() [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
A D | qos_headroom.sh | 34 dcb -j buffer show dev $swp | 42 dcb -j pfc show dev $swp | 50 dcb -j ets show dev $swp | 131 dcb ets set dev $swp prio-tc all:0 214 dcb pfc set dev $swp delay 1000 226 dcb ets set dev $swp prio-tc all:0 260 dcb buffer set dev $swp prio-buffer all:0 262 dcb ets set dev $swp prio-tc all:0 287 dcb buffer set dev $swp buffer-size all:0 296 dcb buffer set dev $swp buffer-size all:0 [all …]
|
A D | qos_pfc.sh | 174 dcb buffer set dev $swp1 prio-buffer all:0 1:1 212 dcb buffer set dev $swp3 prio-buffer all:0 1:1 213 dcb pfc set dev $swp3 prio-pfc all:off 1:on 229 dcb buffer set dev $swp4 prio-buffer all:0 1:1 230 dcb pfc set dev $swp4 prio-pfc all:off 1:on 276 dcb buffer set dev $swp4 buffer-size all:0 277 dcb pfc set dev $swp4 prio-pfc all:off 278 dcb buffer set dev $swp4 prio-buffer all:0 291 dcb pfc set dev $swp3 prio-pfc all:off 292 dcb buffer set dev $swp3 prio-buffer all:0 [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_bios.c | 1258 if (!dcb) { in olddcb_table() 1308 if (dcb && dcb[0] >= 0x30) { in olddcb_outp() 1310 return dcb + dcb[1] + (idx * dcb[3]); in olddcb_outp() 1312 if (dcb && dcb[0] >= 0x20) { in olddcb_outp() 1318 if (dcb && dcb[0] >= 0x15) { in olddcb_outp() 1357 if (dcb && dcb[0] >= 0x30 && dcb[1] >= 0x16) { in olddcb_conntab() 1639 dcb->entry[newentries] = dcb->entry[i]; in merge_like_dcb_entries() 1652 struct dcb_table *dcb = &drm->vbios.dcb; in apply_dcb_encoder_quirks() local 1758 struct dcb_table *dcb = &bios->dcb; in fabricate_dcb_encoder_table() local 1790 struct dcb_table *dcb = &drm->vbios.dcb; in parse_dcb_entry() local [all …]
|
A D | nouveau_connector.c | 388 (nv_encoder->dcb && nv_encoder->dcb->type == type)) in find_encoder() 423 switch (nv_encoder->dcb->type) { in nouveau_connector_ddc_detect() 502 if (nv_encoder->dcb->type == DCB_OUTPUT_DP) in nouveau_connector_set_encoder() 991 if (nv_encoder->dcb->type == DCB_OUTPUT_TV) in nouveau_connector_get_modes() 1008 struct dcb_output *dcb = nv_connector->detected_encoder->dcb; in get_tmds_link_bandwidth() local 1038 if (dcb->location != DCB_LOC_ON_CHIP || in get_tmds_link_bandwidth() 1058 switch (nv_encoder->dcb->type) { in nouveau_connector_mode_valid() 1218 switch (dcb) { in drm_conntype_from_dcb() 1280 if (nv_connector->dcb) { in nouveau_connector_create() 1281 u32 entry = ROM16(nv_connector->dcb[0]); in nouveau_connector_create() [all …]
|
A D | nouveau_dp.c | 154 nv_encoder->dcb->dpconf.link_nr, in nouveau_dp_detect() 155 nv_encoder->dcb->dpconf.link_bw); in nouveau_dp_detect() 157 if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr) in nouveau_dp_detect() 158 nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr; in nouveau_dp_detect() 159 if (nv_encoder->dcb->dpconf.link_bw < nv_encoder->dp.link_bw) in nouveau_dp_detect() 160 nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw; in nouveau_dp_detect()
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
A D | dac.c | 43 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() 241 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv17_dac_sample_load() local 292 if (dcb->type == DCB_OUTPUT_TV) in nv17_dac_sample_load() 339 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv17_dac_detect() local 347 '@' + ffs(dcb->or)); in nv17_dac_detect() 429 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv04_dac_update_dacclk() local 454 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv04_dac_in_use() local 457 (nv04_display(dev)->dac_users[ffs(dcb->or) - 1] & ~(1 << dcb->index)); in nv04_dac_in_use() [all …]
|
A D | dfp.c | 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() 265 *cr_lcd |= (nv_encoder->dcb->or << 4) & 0x30; in nv04_dfp_prepare() 266 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS) in nv04_dfp_prepare() 453 struct dcb_output *dcbe = nv_encoder->dcb; in nv04_dfp_commit() 527 mode, nv_encoder->dcb->index); in nv04_lvds_dpms() 540 call_lvds_script(dev, nv_encoder->dcb, head, in nv04_lvds_dpms() 546 call_lvds_script(dev, nv_encoder->dcb, head, in nv04_lvds_dpms() 572 mode, nv_encoder->dcb->index); in nv04_tmds_dpms() 627 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv04_tmds_slave_init() local [all …]
|
A D | tvnv17.c | 150 struct dcb_output *dcb = tv_enc->base.dcb; in nv17_tv_detect() local 175 if (dcb->tvconf.has_component_output) in nv17_tv_detect() 193 '@' + ffs(dcb->or)); in nv17_tv_detect() 374 mode, nouveau_encoder(encoder)->dcb->index); in nv17_tv_dpms() 419 struct dcb_output *dcb = nouveau_encoder(enc)->dcb; in nv17_tv_prepare() local 421 if ((dcb->type == DCB_OUTPUT_TMDS || in nv17_tv_prepare() 422 dcb->type == DCB_OUTPUT_LVDS) && in nv17_tv_prepare() 425 nv04_dfp_bind_head(dev, dcb, head ^ 1, in nv17_tv_prepare() 603 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv17_tv_commit() 641 struct dcb_output *dcb = nouveau_encoder(encoder)->dcb; in nv17_tv_create_resources() local [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_dcb.c | 303 mlxsw_sp_port->dcb.trust_state = ts; in mlxsw_sp_port_dcb_toggle_trust() 308 mlxsw_sp_port->dcb.trust_state); in mlxsw_sp_port_dcb_toggle_trust() 670 mlxsw_sp_port->dcb.ets = kzalloc(sizeof(*mlxsw_sp_port->dcb.ets), in mlxsw_sp_port_ets_init() 672 if (!mlxsw_sp_port->dcb.ets) in mlxsw_sp_port_ets_init() 682 kfree(mlxsw_sp_port->dcb.ets); in mlxsw_sp_port_ets_fini() 689 mlxsw_sp_port->dcb.maxrate = kmalloc(sizeof(*mlxsw_sp_port->dcb.maxrate), in mlxsw_sp_port_maxrate_init() 691 if (!mlxsw_sp_port->dcb.maxrate) in mlxsw_sp_port_maxrate_init() 702 kfree(mlxsw_sp_port->dcb.maxrate); in mlxsw_sp_port_maxrate_fini() 707 mlxsw_sp_port->dcb.pfc = kzalloc(sizeof(*mlxsw_sp_port->dcb.pfc), in mlxsw_sp_port_pfc_init() 709 if (!mlxsw_sp_port->dcb.pfc) in mlxsw_sp_port_pfc_init() [all …]
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_fdma.c | 94 rx->last_entry = dcb; in sparx5_fdma_rx_add_dcb() 298 next_dcb = dcb; in sparx5_fdma_next_dcb() 345 struct sparx5_rx_dcb_hw *dcb; in sparx5_fdma_rx_alloc() local 360 dcb = &rx->dcb_entries[idx]; in sparx5_fdma_rx_alloc() 361 dcb->info = 0; in sparx5_fdma_rx_alloc() 380 sparx5_fdma_rx_add_dcb(rx, dcb, rx->dma + sizeof(*dcb) * idx); in sparx5_fdma_rx_alloc() 391 struct sparx5_tx_dcb_hw *dcb; in sparx5_fdma_tx_alloc() local 405 dcb = &tx->curr_entry[idx]; in sparx5_fdma_tx_alloc() 406 dcb->info = 0; in sparx5_fdma_tx_alloc() 426 sparx5_fdma_tx_add_dcb(tx, dcb, tx->dma + sizeof(*dcb) * idx); in sparx5_fdma_tx_alloc() [all …]
|
/linux/drivers/isdn/mISDN/ |
A D | layer1.c | 27 dchannel_l1callback *dcb; member 121 l1->dcb(l1->dch, HW_POWERUP_REQ); in l1_deact_cnf() 141 l1->dcb(l1->dch, INFO3_P8); in l1_power_up_s() 164 l1->dcb(l1->dch, INFO3_P8); in l1_info2_ind() 173 l1->dcb(l1->dch, INFO3_P8); in l1_info4_ind() 192 l1->dcb(l1->dch, HW_D_NOBLOCKED); in l1_timer3() 208 l1->dcb(l1->dch, PH_ACTIVATE_IND); in l1_timer_act() 219 l1->dcb(l1->dch, HW_D_NOBLOCKED); in l1_timer_deact() 221 l1->dcb(l1->dch, HW_DEACT_REQ); in l1_timer_deact() 232 l1->dcb(l1->dch, HW_RESET_REQ); in l1_activate_s() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/ |
A D | dc_bios_types.h | 52 struct dc_bios *dcb, 128 void (*bios_parser_destroy)(struct dc_bios **dcb); 131 struct dc_bios *dcb, 134 struct dc_bios *dcb, 138 struct dc_bios *dcb); 146 struct dc_bios *dcb, 150 struct dc_bios *dcb, 154 struct dc_bios *dcb, 157 struct dc_bios *dcb,
|
/linux/drivers/gpu/drm/amd/display/dc/bios/ |
A D | bios_parser2.c | 86 struct dc_bios *dcb, 90 struct dc_bios *dcb, 136 *dcb = NULL; in firmware_parser_destroy() 176 struct dc_bios *dcb, in bios_parser_get_connector_id() argument 425 struct dc_bios *dcb, in bios_parser_get_hpd_info() argument 503 struct dc_bios *dcb, in bios_parser_get_gpio_pin_info() argument 628 struct dc_bios *dcb, in bios_parser_get_device_tag() argument 821 struct dc_bios *dcb, in bios_parser_get_spread_spectrum_info() argument 891 struct dc_bios *dcb, in bios_parser_get_soc_bb_info() argument 1027 struct dc_bios *dcb, in bios_parser_get_lttpr_interop() argument [all …]
|
A D | bios_parser.c | 88 struct dc_bios *dcb); 91 struct dc_bios *dcb, 132 *dcb = NULL; in bios_parser_destroy() 158 struct dc_bios *dcb, in bios_parser_get_connector_id() argument 328 struct dc_bios *dcb, in bios_parser_get_device_tag() argument 376 struct dc_bios *dcb, in bios_parser_get_firmware_info() argument 727 struct dc_bios *dcb, in bios_parser_transmitter_control() argument 739 struct dc_bios *dcb, in bios_parser_encoder_control() argument 751 struct dc_bios *dcb, in bios_parser_adjust_pixel_clock() argument 763 struct dc_bios *dcb, in bios_parser_set_pixel_clock() argument [all …]
|
A D | bios_parser_interface.c | 50 void dal_bios_parser_destroy(struct dc_bios **dcb) in dal_bios_parser_destroy() argument 52 struct dc_bios *bios = *dcb; in dal_bios_parser_destroy() 54 bios->funcs->bios_parser_destroy(dcb); in dal_bios_parser_destroy()
|
/linux/net/dccp/ |
A D | output.c | 53 dccp_packet_hdr_len(dcb->dccpd_type); in dccp_transmit_skb() 60 dcb->dccpd_seq = ADD48(dp->dccps_gss, 1); in dccp_transmit_skb() 62 switch (dcb->dccpd_type) { in dccp_transmit_skb() 74 dcb->dccpd_seq = dp->dccps_iss; in dccp_transmit_skb() 79 ackno = dcb->dccpd_ack_seq; in dccp_transmit_skb() 101 dh->dccph_type = dcb->dccpd_type; in dccp_transmit_skb() 105 dh->dccph_ccval = dcb->dccpd_ccval; in dccp_transmit_skb() 110 dccp_update_gss(sk, dcb->dccpd_seq); in dccp_transmit_skb() 115 switch (dcb->dccpd_type) { in dccp_transmit_skb() 127 dcb->dccpd_reset_code; in dccp_transmit_skb() [all …]
|
/linux/drivers/dma-buf/ |
A D | dma-buf.c | 203 spin_lock_irqsave(&dcb->poll->lock, flags); in dma_buf_poll_cb() 204 wake_up_locked_poll(dcb->poll, dcb->active); in dma_buf_poll_cb() 205 dcb->active = 0; in dma_buf_poll_cb() 213 struct dma_buf_poll_cb_t *dcb) in dma_buf_poll_add_cb() argument 255 if (dcb->active) in dma_buf_poll() 258 dcb->active = EPOLLOUT; in dma_buf_poll() 265 if (!dma_buf_poll_add_cb(resv, true, dcb)) in dma_buf_poll() 267 dma_buf_poll_cb(NULL, &dcb->cb); in dma_buf_poll() 278 if (dcb->active) in dma_buf_poll() 281 dcb->active = EPOLLIN; in dma_buf_poll() [all …]
|