/drivers/gpu/drm/i915/display/ |
D | intel_tc.c | 37 enum intel_display_power_domain (*cold_off_domain)(struct intel_tc_port *tc); 38 u32 (*hpd_live_status)(struct intel_tc_port *tc); 39 bool (*is_ready)(struct intel_tc_port *tc); 40 bool (*is_owned)(struct intel_tc_port *tc); 41 void (*get_hw_state)(struct intel_tc_port *tc); 42 bool (*connect)(struct intel_tc_port *tc, int required_lanes); 43 void (*disconnect)(struct intel_tc_port *tc); 44 void (*init)(struct intel_tc_port *tc); 70 static u32 tc_phy_hpd_live_status(struct intel_tc_port *tc); 71 static bool tc_phy_is_ready(struct intel_tc_port *tc); [all …]
|
D | icl_dsi_regs.h | 12 #define _MMIO_DSI(tc, dsi0, dsi1) _MMIO_TRANS((tc) - TRANSCODER_DSI_0, \ argument 195 #define DSI_TRANS_FUNC_CONF(tc) _MMIO_DSI(tc, \ argument 241 #define DSI_CMD_RXCTL(tc) _MMIO_DSI(tc, \ argument 256 #define DSI_CMD_TXCTL(tc) _MMIO_DSI(tc, \ argument 269 #define DSI_CMD_TXHDR(tc) _MMIO_DSI(tc, \ argument 285 #define DSI_CMD_TXPYLD(tc) _MMIO_DSI(tc, \ argument 291 #define DSI_LP_MSG(tc) _MMIO_DSI(tc, \ argument 302 #define DSI_HSTX_TO(tc) _MMIO_DSI(tc, \ argument 312 #define DSI_LPRX_HOST_TO(tc) _MMIO_DSI(tc, \ argument 322 #define DSI_PWAIT_TO(tc) _MMIO_DSI(tc, \ argument [all …]
|
/drivers/gpu/drm/bridge/ |
D | tc358767.c | 331 static inline int tc_poll_timeout(struct tc_data *tc, unsigned int addr, in tc_poll_timeout() argument 338 return regmap_read_poll_timeout(tc->regmap, addr, val, in tc_poll_timeout() 343 static int tc_aux_wait_busy(struct tc_data *tc) in tc_aux_wait_busy() argument 345 return tc_poll_timeout(tc, DP0_AUXSTATUS, AUX_BUSY, 0, 100, 100000); in tc_aux_wait_busy() 348 static int tc_aux_write_data(struct tc_data *tc, const void *data, in tc_aux_write_data() argument 356 ret = regmap_raw_write(tc->regmap, DP0_AUXWDATA(0), auxwdata, count); in tc_aux_write_data() 363 static int tc_aux_read_data(struct tc_data *tc, void *data, size_t size) in tc_aux_read_data() argument 368 ret = regmap_raw_read(tc->regmap, DP0_AUXRDATA(0), auxrdata, count); in tc_aux_read_data() 392 struct tc_data *tc = aux_to_tc(aux); in tc_aux_transfer() local 398 ret = tc_aux_wait_busy(tc); in tc_aux_transfer() [all …]
|
D | tc358775.c | 283 struct tc_data *tc = bridge_to_tc(bridge); in tc_bridge_pre_enable() local 284 struct device *dev = &tc->dsi->dev; in tc_bridge_pre_enable() 287 ret = regulator_enable(tc->vddio); in tc_bridge_pre_enable() 292 ret = regulator_enable(tc->vdd); in tc_bridge_pre_enable() 297 gpiod_set_value(tc->stby_gpio, 0); in tc_bridge_pre_enable() 300 gpiod_set_value(tc->reset_gpio, 0); in tc_bridge_pre_enable() 306 struct tc_data *tc = bridge_to_tc(bridge); in tc_bridge_post_disable() local 307 struct device *dev = &tc->dsi->dev; in tc_bridge_post_disable() 310 gpiod_set_value(tc->reset_gpio, 1); in tc_bridge_post_disable() 313 gpiod_set_value(tc->stby_gpio, 1); in tc_bridge_post_disable() [all …]
|
/drivers/ntb/test/ |
D | ntb_tool.c | 208 struct tool_ctx *tc; member 233 struct tool_ctx *tc; member 239 struct tool_ctx *tc; member 244 struct tool_ctx *tc; member 291 struct tool_ctx *tc = ctx; in tool_link_event() local 296 up = ntb_link_is_up(tc->ntb, &speed, &width); in tool_link_event() 298 dev_dbg(&tc->ntb->dev, "link is %s speed %d width %d\n", in tool_link_event() 301 wake_up(&tc->link_wq); in tool_link_event() 306 struct tool_ctx *tc = ctx; in tool_db_event() local 309 db_mask = ntb_db_vector_mask(tc->ntb, vec); in tool_db_event() [all …]
|
/drivers/md/ |
D | dm-thin.c | 226 typedef void (*process_bio_fn)(struct thin_c *tc, struct bio *bio); 227 typedef void (*process_cell_fn)(struct thin_c *tc, struct dm_bio_prison_cell *cell); 382 struct thin_c *tc; member 388 static void begin_discard(struct discard_op *op, struct thin_c *tc, struct bio *parent) in begin_discard() argument 392 op->tc = tc; in begin_discard() 400 struct thin_c *tc = op->tc; in issue_discard() local 401 sector_t s = block_to_sectors(tc->pool, data_b); in issue_discard() 402 sector_t len = block_to_sectors(tc->pool, data_e - data_b); in issue_discard() 404 return __blkdev_issue_discard(tc->pool_dev->bdev, s, len, GFP_NOIO, &op->bio); in issue_discard() 586 struct thin_c *tc; member [all …]
|
D | dm-snap-transient.c | 45 struct transient_c *tc = store->context; in transient_prepare_exception() local 48 if (size < (tc->next_free + store->chunk_size)) in transient_prepare_exception() 51 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception() 52 tc->next_free += store->chunk_size; in transient_prepare_exception() 78 struct transient_c *tc; in transient_ctr() local 80 tc = kmalloc(sizeof(struct transient_c), GFP_KERNEL); in transient_ctr() 81 if (!tc) in transient_ctr() 84 tc->next_free = 0; in transient_ctr() 85 store->context = tc; in transient_ctr()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb.c | 165 int tc; in ixgbe_dcb_unpack_pfc() local 167 for (*pfc_en = 0, tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) { in ixgbe_dcb_unpack_pfc() 168 if (tc_config[tc].dcb_pfc != pfc_disabled) in ixgbe_dcb_unpack_pfc() 169 *pfc_en |= BIT(tc); in ixgbe_dcb_unpack_pfc() 177 int tc; in ixgbe_dcb_unpack_refill() local 179 for (tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_refill() 180 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill() 186 int tc; in ixgbe_dcb_unpack_max() local 188 for (tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_max() 189 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max() [all …]
|
/drivers/net/ethernet/sfc/ |
D | tc.c | 133 old = rhashtable_lookup_get_insert_fast(&efx->tc->mac_ht, in efx_tc_flower_get_mac() 157 rhashtable_remove_fast(&efx->tc->mac_ht, &ped->linkage, in efx_tc_flower_get_mac() 168 rhashtable_remove_fast(&efx->tc->mac_ht, &ped->linkage, in efx_tc_flower_put_mac() 486 rhashtable_remove_fast(&efx->tc->encap_match_ht, &encap->linkage, in efx_tc_flower_release_encap_match() 599 old = rhashtable_lookup_get_insert_fast(&efx->tc->encap_match_ht, in efx_tc_flower_record_encap_match() 676 rhashtable_remove_fast(&efx->tc->encap_match_ht, &encap->linkage, in efx_tc_flower_record_encap_match() 701 old = rhashtable_lookup_get_insert_fast(&efx->tc->recirc_ht, in efx_tc_get_recirc_id() 714 rc = ida_alloc_range(&efx->tc->recirc_ida, 1, U8_MAX, GFP_USER); in efx_tc_get_recirc_id() 716 rhashtable_remove_fast(&efx->tc->recirc_ht, in efx_tc_get_recirc_id() 732 rhashtable_remove_fast(&efx->tc->recirc_ht, &rid->linkage, in efx_tc_put_recirc_id() [all …]
|
D | tc_conntrack.c | 63 rc = rhashtable_init(&efx->tc->ct_zone_ht, &efx_tc_ct_zone_ht_params); in efx_tc_init_conntrack() 66 rc = rhashtable_init(&efx->tc->ct_ht, &efx_tc_ct_ht_params); in efx_tc_init_conntrack() 71 rhashtable_destroy(&efx->tc->ct_zone_ht); in efx_tc_init_conntrack() 81 rhashtable_destroy(&efx->tc->ct_ht); in efx_tc_destroy_conntrack() 82 rhashtable_destroy(&efx->tc->ct_zone_ht); in efx_tc_destroy_conntrack() 87 rhashtable_free_and_destroy(&efx->tc->ct_zone_ht, efx_tc_ct_zone_free, NULL); in efx_tc_fini_conntrack() 88 rhashtable_free_and_destroy(&efx->tc->ct_ht, efx_tc_ct_free, efx); in efx_tc_fini_conntrack() 280 struct flow_cls_offload *tc) in efx_tc_ct_replace() argument 282 struct flow_rule *fr = flow_cls_offload_flow_rule(tc); in efx_tc_ct_replace() 289 if (WARN_ON(!efx->tc)) in efx_tc_ct_replace() [all …]
|
D | tc_counters.c | 59 rc = rhashtable_init(&efx->tc->counter_id_ht, &efx_tc_counter_id_ht_params); in efx_tc_init_counters() 62 rc = rhashtable_init(&efx->tc->counter_ht, &efx_tc_counter_ht_params); in efx_tc_init_counters() 67 rhashtable_destroy(&efx->tc->counter_id_ht); in efx_tc_init_counters() 77 rhashtable_destroy(&efx->tc->counter_ht); in efx_tc_destroy_counters() 78 rhashtable_destroy(&efx->tc->counter_id_ht); in efx_tc_destroy_counters() 83 rhashtable_free_and_destroy(&efx->tc->counter_id_ht, efx_tc_counter_id_free, NULL); in efx_tc_fini_counters() 84 rhashtable_free_and_destroy(&efx->tc->counter_ht, efx_tc_counter_free, NULL); in efx_tc_fini_counters() 151 rc = rhashtable_insert_fast(&efx->tc->counter_ht, &cnt->linkage, in efx_tc_flower_allocate_counter() 177 rhashtable_remove_fast(&efx->tc->counter_ht, &cnt->linkage, in efx_tc_flower_release_counter() 205 return rhashtable_lookup_fast(&efx->tc->counter_ht, &key, in efx_tc_flower_find_counter_by_fw_id() [all …]
|
/drivers/clocksource/ |
D | timer-atmel-tcb.c | 256 static int __init setup_clkevents(struct atmel_tc *tc, int divisor_idx) in setup_clkevents() argument 259 struct clk *t2_clk = tc->clk[2]; in setup_clkevents() 260 int irq = tc->irq[2]; in setup_clkevents() 261 int bits = tc->tcb_config->counter_width; in setup_clkevents() 268 clkevt.regs = tc->regs; in setup_clkevents() 275 ret = clk_prepare_enable(tc->slow_clk); in setup_clkevents() 281 clkevt.rate = clk_get_rate(tc->slow_clk); in setup_clkevents() 293 clk_disable_unprepare(tc->slow_clk); in setup_clkevents() 304 static int __init setup_clkevents(struct atmel_tc *tc, int divisor_idx) in setup_clkevents() argument 312 static void __init tcb_setup_dual_chan(struct atmel_tc *tc, int mck_divisor_idx) in tcb_setup_dual_chan() argument [all …]
|
/drivers/hwtracing/coresight/ |
D | coresight-cti-core.c | 250 struct cti_trig_con *tc, in cti_add_connection_entry() argument 256 tc->con_dev = csdev; in cti_add_connection_entry() 262 tc->con_dev_name = dev_name(&csdev->dev); in cti_add_connection_entry() 264 tc->con_dev_name = devm_kstrdup(dev, in cti_add_connection_entry() 266 if (!tc->con_dev_name) in cti_add_connection_entry() 269 list_add_tail(&tc->node, &cti_dev->trig_cons); in cti_add_connection_entry() 273 drvdata->config.trig_in_use |= tc->con_in->used_mask; in cti_add_connection_entry() 274 drvdata->config.trig_out_use |= tc->con_out->used_mask; in cti_add_connection_entry() 283 struct cti_trig_con *tc = NULL; in cti_allocate_trig_con() local 286 tc = devm_kzalloc(dev, sizeof(struct cti_trig_con), GFP_KERNEL); in cti_allocate_trig_con() [all …]
|
D | coresight-cti-platform.c | 121 struct cti_trig_con *tc = NULL; in cti_plat_create_v8_etm_connection() local 133 tc = cti_allocate_trig_con(dev, NR_V8ETM_INOUT_SIGS, in cti_plat_create_v8_etm_connection() 135 if (!tc) in cti_plat_create_v8_etm_connection() 139 tc->con_in->used_mask = 0xF0; /* sigs <4,5,6,7> */ in cti_plat_create_v8_etm_connection() 140 tc->con_out->used_mask = 0xF0; /* sigs <4,5,6,7> */ in cti_plat_create_v8_etm_connection() 147 tc->con_in->sig_types[i] = ETM_EXTOUT; in cti_plat_create_v8_etm_connection() 148 tc->con_out->sig_types[i] = ETM_EXTIN; in cti_plat_create_v8_etm_connection() 162 ret = cti_add_connection_entry(dev, drvdata, tc, csdev, assoc_name); in cti_plat_create_v8_etm_connection() 177 struct cti_trig_con *tc = NULL; in cti_plat_create_v8_connections() local 192 tc = cti_allocate_trig_con(dev, NR_V8PE_IN_SIGS, NR_V8PE_OUT_SIGS); in cti_plat_create_v8_connections() [all …]
|
/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2.c | 116 unsigned int tc, q; in hw_atl2_hw_queue_to_tc_map_set() local 135 for (tc = 0; tc != tcs; tc++) { in hw_atl2_hw_queue_to_tc_map_set() 136 unsigned int tc_q_offset = tc * q_per_tc; in hw_atl2_hw_queue_to_tc_map_set() 139 rx_map |= tc << HW_ATL2_RX_Q_TC_MAP_SHIFT(q); in hw_atl2_hw_queue_to_tc_map_set() 148 tx_map |= tc << HW_ATL2_TX_Q_TC_MAP_SHIFT(q); in hw_atl2_hw_queue_to_tc_map_set() 168 u32 tc = 0U; in hw_atl2_hw_qos_set() local 179 for (tc = 0; tc < cfg->tcs; tc++) { in hw_atl2_hw_qos_set() 183 hw_atl_tpb_tx_pkt_buff_size_per_tc_set(self, tx_buff_size, tc); in hw_atl2_hw_qos_set() 186 hw_atl_tpb_tx_buff_hi_threshold_per_tc_set(self, threshold, tc); in hw_atl2_hw_qos_set() 189 hw_atl_tpb_tx_buff_lo_threshold_per_tc_set(self, threshold, tc); in hw_atl2_hw_qos_set() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | Makefile | 44 mlx5_core-$(CONFIG_MLX5_CLS_ACT) += en_tc.o en/rep/tc.o en/rep/neigh.o \ 49 en/tc/post_act.o en/tc/int_port.o en/tc/meter.o \ 50 en/tc/post_meter.o en/tc/act_stats.o 52 mlx5_core-$(CONFIG_MLX5_CLS_ACT) += en/tc/act/act.o en/tc/act/drop.o en/tc/act/trap.o \ 53 en/tc/act/accept.o en/tc/act/mark.o en/tc/act/goto.o \ 54 en/tc/act/tun.o en/tc/act/csum.o en/tc/act/pedit.o \ 55 en/tc/act/vlan.o en/tc/act/vlan_mangle.o en/tc/act/mpls.o \ 56 en/tc/act/mirred.o en/tc/act/mirred_nic.o \ 57 en/tc/act/ct.o en/tc/act/sample.o en/tc/act/ptype.o \ 58 en/tc/act/redirect_ingress.o en/tc/act/police.o [all …]
|
D | en_tc.c | 153 struct mlx5e_tc_table *tc; in mlx5e_tc_table_alloc() local 155 tc = kvzalloc(sizeof(*tc), GFP_KERNEL); in mlx5e_tc_table_alloc() 156 return tc ? tc : ERR_PTR(-ENOMEM); in mlx5e_tc_table_alloc() 159 void mlx5e_tc_table_free(struct mlx5e_tc_table *tc) in mlx5e_tc_table_free() argument 161 kvfree(tc); in mlx5e_tc_table_free() 164 struct mlx5_fs_chains *mlx5e_nic_chains(struct mlx5e_tc_table *tc) in mlx5e_nic_chains() argument 166 return tc->chains; in mlx5e_nic_chains() 292 struct mlx5e_tc_table *tc = mlx5e_fs_get_tc(priv->fs); in get_act_stats_handle() local 304 return tc->action_stats_handle; in get_act_stats_handle() 351 struct mlx5e_tc_table *tc = mlx5e_fs_get_tc(priv->fs); in get_ct_priv() local [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.c | 318 struct mlx5e_txqsq *sq, int tc, in mlx5e_ptp_alloc_txqsq() argument 338 sq->stats = &c->priv->ptp_stats.sq[tc]; in mlx5e_ptp_alloc_txqsq() 457 int tc, struct mlx5e_ptpsq *ptpsq) in mlx5e_ptp_open_txqsq() argument 465 txqsq, tc, ptpsq); in mlx5e_ptp_open_txqsq() 515 int tc; in mlx5e_ptp_open_txqsqs() local 519 for (tc = 0; tc < num_tc; tc++) { in mlx5e_ptp_open_txqsqs() 520 int txq_ix = ix_base + tc; in mlx5e_ptp_open_txqsqs() 522 err = mlx5e_ptp_open_txqsq(c, c->priv->tisn[c->lag_port][tc], txq_ix, in mlx5e_ptp_open_txqsqs() 523 cparams, tc, &c->ptpsq[tc]); in mlx5e_ptp_open_txqsqs() 531 for (--tc; tc >= 0; tc--) in mlx5e_ptp_open_txqsqs() [all …]
|
D | reporter_tx.c | 227 struct mlx5e_txqsq *sq, int tc) in mlx5e_tx_reporter_build_diagnose_output_sq_common() argument 238 err = devlink_fmsg_u32_pair_put(fmsg, "tc", tc); in mlx5e_tx_reporter_build_diagnose_output_sq_common() 279 struct mlx5e_txqsq *sq, int tc) in mlx5e_tx_reporter_build_diagnose_output() argument 291 err = mlx5e_tx_reporter_build_diagnose_output_sq_common(fmsg, sq, tc); in mlx5e_tx_reporter_build_diagnose_output() 304 struct mlx5e_ptpsq *ptpsq, int tc) in mlx5e_tx_reporter_build_diagnose_output_ptpsq() argument 316 err = mlx5e_tx_reporter_build_diagnose_output_sq_common(fmsg, &ptpsq->txqsq, tc); in mlx5e_tx_reporter_build_diagnose_output_ptpsq() 441 int i, tc, err = 0; in mlx5e_tx_reporter_diagnose() local 459 for (tc = 0; tc < mlx5e_get_dcb_num_tc(&priv->channels.params); tc++) { in mlx5e_tx_reporter_diagnose() 460 struct mlx5e_txqsq *sq = &c->sq[tc]; in mlx5e_tx_reporter_diagnose() 462 err = mlx5e_tx_reporter_build_diagnose_output(fmsg, sq, tc); in mlx5e_tx_reporter_diagnose() [all …]
|
D | qos.c | 463 int tc; in mlx5e_mqprio_rl_init() local 484 for (tc = 0; tc < num_tc; tc++) { in mlx5e_mqprio_rl_init() 487 max_average_bw = mlx5e_qos_bytes2mbits(mdev, max_rate[tc]); in mlx5e_mqprio_rl_init() 489 &rl->leaves_id[tc]); in mlx5e_mqprio_rl_init() 494 tc, rl->leaves_id[tc], max_average_bw); in mlx5e_mqprio_rl_init() 499 while (--tc >= 0) in mlx5e_mqprio_rl_init() 500 mlx5_qos_destroy_node(mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_init() 509 int tc; in mlx5e_mqprio_rl_cleanup() local 511 for (tc = 0; tc < rl->num_tc; tc++) in mlx5e_mqprio_rl_cleanup() 512 mlx5_qos_destroy_node(rl->mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_cleanup() [all …]
|
/drivers/input/touchscreen/ |
D | tsc2007_core.c | 53 static void tsc2007_read_values(struct tsc2007 *tsc, struct ts_event *tc) in tsc2007_read_values() argument 56 tc->y = tsc2007_xfer(tsc, READ_Y); in tsc2007_read_values() 59 tc->x = tsc2007_xfer(tsc, READ_X); in tsc2007_read_values() 62 tc->z1 = tsc2007_xfer(tsc, READ_Z1); in tsc2007_read_values() 63 tc->z2 = tsc2007_xfer(tsc, READ_Z2); in tsc2007_read_values() 69 u32 tsc2007_calculate_resistance(struct tsc2007 *tsc, struct ts_event *tc) in tsc2007_calculate_resistance() argument 74 if (tc->x == MAX_12BIT) in tsc2007_calculate_resistance() 75 tc->x = 0; in tsc2007_calculate_resistance() 77 if (likely(tc->x && tc->z1)) { in tsc2007_calculate_resistance() 79 rt = tc->z2 - tc->z1; in tsc2007_calculate_resistance() [all …]
|
/drivers/net/ethernet/intel/ice/ |
D | ice_sched.c | 288 struct ice_sched_node *ice_sched_get_tc_node(struct ice_port_info *pi, u8 tc) in ice_sched_get_tc_node() argument 295 if (pi->root->children[i]->tc_num == tc) in ice_sched_get_tc_node() 568 ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs) in ice_alloc_lan_q_ctx() argument 578 if (!vsi_ctx->lan_q_ctx[tc]) { in ice_alloc_lan_q_ctx() 589 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx() 590 vsi_ctx->num_lan_q_entries[tc] = new_numqs; in ice_alloc_lan_q_ctx() 594 if (new_numqs > vsi_ctx->num_lan_q_entries[tc]) { in ice_alloc_lan_q_ctx() 595 u16 prev_num = vsi_ctx->num_lan_q_entries[tc]; in ice_alloc_lan_q_ctx() 602 memcpy(q_ctx, vsi_ctx->lan_q_ctx[tc], in ice_alloc_lan_q_ctx() 604 devm_kfree(ice_hw_to_dev(hw), vsi_ctx->lan_q_ctx[tc]); in ice_alloc_lan_q_ctx() [all …]
|
/drivers/scsi/isci/ |
D | request.c | 78 return &ireq->tc->sgl_pair_ab; in to_sgl_element_pair() 80 return &ireq->tc->sgl_pair_cd; in to_sgl_element_pair() 93 offset = (void *) &ireq->tc->sgl_pair_ab - in to_sgl_element_pair_dma() 97 offset = (void *) &ireq->tc->sgl_pair_cd - in to_sgl_element_pair_dma() 296 struct scu_task_context *tc = ireq->tc; in scu_ssp_ireq_dif_insert() local 300 tc->block_guard_enable = 1; in scu_ssp_ireq_dif_insert() 301 tc->blk_prot_en = 1; in scu_ssp_ireq_dif_insert() 302 tc->blk_sz = blk_sz; in scu_ssp_ireq_dif_insert() 304 tc->blk_prot_func = 0x2; in scu_ssp_ireq_dif_insert() 306 tc->transfer_length_bytes += scu_dif_bytes(tc->transfer_length_bytes, in scu_ssp_ireq_dif_insert() [all …]
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | hwif.c | 115 const void *tc; member 135 .tc = NULL, 153 .tc = NULL, 171 .tc = &dwmac510_tc_ops, 189 .tc = &dwmac510_tc_ops, 207 .tc = &dwmac510_tc_ops, 225 .tc = &dwmac510_tc_ops, 244 .tc = &dwmac510_tc_ops, 263 .tc = &dwmac510_tc_ops, 333 mac->tc = mac->tc ? : entry->tc; in stmmac_hwif_init()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_fw_funcs.c | 204 #define PQ_INFO_ELEMENT(vp, pf, tc, port, rl_valid, rl) \ argument 205 (((vp) << 0) | ((pf) << 12) | ((tc) << 16) | ((port) << 20) | \ 293 u8 port_id, u8 tc, u8 max_phys_tcs_per_port) in qed_get_ext_voq() argument 295 if (tc == PURE_LB_TC) in qed_get_ext_voq() 298 return port_id * max_phys_tcs_per_port + tc; in qed_get_ext_voq() 399 u8 tc, ext_voq, port_id, num_tcs_in_port; in qed_cmdq_lines_rt_init() local 420 for (tc = 0; tc < max_phys_tcs_per_port; tc++) in qed_cmdq_lines_rt_init() 422 tc) & 0x1) == 1) in qed_cmdq_lines_rt_init() 427 for (tc = 0; tc < max_phys_tcs_per_port; tc++) { in qed_cmdq_lines_rt_init() 430 tc, max_phys_tcs_per_port); in qed_cmdq_lines_rt_init() [all …]
|