/drivers/gpu/drm/bridge/ |
D | lontium-lt8912b.c | 50 static int lt8912_write_init_config(struct lt8912 *lt) in lt8912_write_init_config() argument 87 return regmap_multi_reg_write(lt->regmap[I2C_MAIN], seq, ARRAY_SIZE(seq)); in lt8912_write_init_config() 90 static int lt8912_write_mipi_basic_config(struct lt8912 *lt) in lt8912_write_mipi_basic_config() argument 100 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_mipi_basic_config() 103 static int lt8912_write_dds_config(struct lt8912 *lt) in lt8912_write_dds_config() argument 153 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_dds_config() 156 static int lt8912_write_rxlogicres_config(struct lt8912 *lt) in lt8912_write_rxlogicres_config() argument 160 ret = regmap_write(lt->regmap[I2C_MAIN], 0x03, 0x7f); in lt8912_write_rxlogicres_config() 162 ret |= regmap_write(lt->regmap[I2C_MAIN], 0x03, 0xff); in lt8912_write_rxlogicres_config() 168 static int lt8912_write_lvds_config(struct lt8912 *lt) in lt8912_write_lvds_config() argument [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dp.c | 58 nvkm_dp_train_sense(struct lt_state *lt, bool pc, u32 delay) in nvkm_dp_train_sense() argument 60 struct nvkm_outp *outp = lt->outp; in nvkm_dp_train_sense() 66 if (lt->repeater) in nvkm_dp_train_sense() 67 addr = DPCD_LTTPR_LANE0_1_STATUS(lt->repeater); in nvkm_dp_train_sense() 71 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[0], 3); in nvkm_dp_train_sense() 75 if (lt->repeater) in nvkm_dp_train_sense() 76 addr = DPCD_LTTPR_LANE0_1_ADJUST(lt->repeater); in nvkm_dp_train_sense() 80 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[4], 2); in nvkm_dp_train_sense() 85 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, <->pc2stat, 1); in nvkm_dp_train_sense() 87 lt->pc2stat = 0x00; in nvkm_dp_train_sense() [all …]
|
D | uoutp.c | 54 if (!atomic_read(&outp->dp.lt.done)) in nvkm_uoutp_mthd_dp_retrain() 159 outp->dp.lt.nr = link_nr; in nvkm_uoutp_mthd_acquire_dp() 160 outp->dp.lt.bw = link_bw; in nvkm_uoutp_mthd_acquire_dp() 161 outp->dp.lt.mst = mst; in nvkm_uoutp_mthd_acquire_dp()
|
D | outp.h | 61 } lt; member
|
/drivers/mtd/nand/raw/ |
D | marvell_nand.c | 1040 const struct marvell_hw_ecc_layout *lt = to_marvell_nand(chip)->layout; in marvell_nfc_hw_ecc_hmg_do_read_page() local 1050 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page() 1075 lt->data_bytes + oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page() 1076 memcpy(data_buf, nfc->dma_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page() 1077 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page() 1079 marvell_nfc_xfer_data_in_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page() 1098 const struct marvell_hw_ecc_layout *lt = to_marvell_nand(chip)->layout; in marvell_nfc_hw_ecc_hmg_read_page() local 1099 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page() 1122 lt->data_bytes, true, page); in marvell_nfc_hw_ecc_hmg_read_page() 1154 const struct marvell_hw_ecc_layout *lt = to_marvell_nand(chip)->layout; in marvell_nfc_hw_ecc_hmg_do_write_page() local [all …]
|
/drivers/media/platform/rockchip/rga/ |
D | rga-hw.c | 50 struct rga_addr_offset *lt, *lb, *rt, *rb; in rga_get_addr_offset() local 54 lt = &offsets.left_top; in rga_get_addr_offset() 65 lt->y_off = y * frm->stride + x * pixel_width; in rga_get_addr_offset() 66 lt->u_off = in rga_get_addr_offset() 68 lt->v_off = lt->u_off + frm->width * frm->height / uv_factor; in rga_get_addr_offset() 70 lb->y_off = lt->y_off + (h - 1) * frm->stride; in rga_get_addr_offset() 71 lb->u_off = lt->u_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset() 72 lb->v_off = lt->v_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset() 74 rt->y_off = lt->y_off + (w - 1) * pixel_width; in rga_get_addr_offset() 75 rt->u_off = lt->u_off + w / x_div - 1; in rga_get_addr_offset() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-h264.c | 263 u8 lt, i = 0, j = 0, k = 0; in reorder_field_reflist() local 267 for (lt = 0; lt <= 1; lt++) { in reorder_field_reflist() 269 for (; i < b->num_valid && b->refs[tmplist[i].index].longterm == lt; i++) { in reorder_field_reflist() 276 for (; j < b->num_valid && b->refs[tmplist[j].index].longterm == lt; j++) { in reorder_field_reflist() 282 } while ((i < b->num_valid && b->refs[tmplist[i].index].longterm == lt) || in reorder_field_reflist() 283 (j < b->num_valid && b->refs[tmplist[j].index].longterm == lt)); in reorder_field_reflist()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_fs.c | 148 u64 cfg, u8 lid, u8 lt, u8 intf) in npc_set_layer_mdata() argument 158 input->layer_mdata.ltype = lt; in npc_set_layer_mdata() 193 u8 nr_bits, lid, lt, ld; in npc_check_overlap() local 205 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_check_overlap() 209 (intf, lid, lt, ld)); in npc_check_overlap() 214 lid, lt, intf); in npc_check_overlap() 449 u8 lt, u64 cfg, u8 intf) in npc_scan_ldata() argument 477 if (lid == (hlid) && lt == (hlt)) { \ in npc_scan_ldata() 481 npc_set_layer_mdata(mcam, (name), cfg, lid, lt, intf); \ in npc_scan_ldata() 501 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][0]) in npc_scan_ldata() [all …]
|
D | rvu_npc_hash.c | 104 u8 intf, int lid, int lt, int ld) in npc_update_use_hash() argument 109 cfg = rvu_read64(rvu, blkaddr, NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, lt, ld)); in npc_update_use_hash() 126 int lid, lt, ld, hash_cnt = 0; in npc_program_mkex_hash_rx() local 133 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_hash_rx() 135 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][ld]) { in npc_program_mkex_hash_rx() 142 intf, lid, lt, ld); in npc_program_mkex_hash_rx() 144 SET_KEX_LD(intf, lid, lt, ld, cfg); in npc_program_mkex_hash_rx() 166 int lid, lt, ld, hash_cnt = 0; in npc_program_mkex_hash_tx() local 173 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_hash_tx() 175 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][ld]) { in npc_program_mkex_hash_tx() [all …]
|
D | rvu_npc.c | 1287 int lid, lt, ld, fl; in npc_program_mkex_rx() local 1297 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_rx() 1299 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_rx() 1301 [lid][lt][ld]); in npc_program_mkex_rx() 1316 int lid, lt, ld, fl; in npc_program_mkex_tx() local 1326 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_tx() 1328 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_tx() 1330 [lid][lt][ld]); in npc_program_mkex_tx() 3258 #define GET_KEX_LD(intf, lid, lt, ld) \ argument 3260 NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, lt, ld)) [all …]
|
/drivers/power/supply/ |
D | bq25890_charger.c | 341 struct bq25890_lookup lt; member 356 [TBL_TREG] = { .lt = {bq25890_treg_tbl, BQ25890_TREG_TBL_SIZE} }, 357 [TBL_BOOSTI] = { .lt = {bq25890_boosti_tbl, BQ25890_BOOSTI_TBL_SIZE} }, 358 [TBL_TSPCT] = { .lt = {bq25890_tspct_tbl, BQ25890_TSPCT_TBL_SIZE} } 385 const u32 *tbl = bq25890_tables[id].lt.tbl; in bq25890_find_idx() 386 u32 tbl_size = bq25890_tables[id].lt.size; in bq25890_find_idx() 411 return bq25890_tables[id].lt.tbl[idx]; in bq25890_find_val()
|
/drivers/scsi/be2iscsi/ |
D | be_main.h | 710 u8 lt; /* DWORD 0 */ member 778 u8 lt; /* DWORD 11 */ member 866 u8 lt; /* DWORD 0 */ member
|
/drivers/hid/ |
D | hid-wiimote-modules.c | 1046 __s8 rx, ry, lx, ly, lt, rt; in wiimod_classic_in_ext() local 1121 lt = (ext[2] >> 2) & 0x18; in wiimod_classic_in_ext() 1122 lt |= (ext[3] >> 5) & 0x07; in wiimod_classic_in_ext() 1127 lt <<= 1; in wiimod_classic_in_ext() 1134 input_report_abs(wdata->extension.input, ABS_HAT3Y, lt); in wiimod_classic_in_ext()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 618 struct lio_time *lt; in lio_sync_octeon_time() local 628 lt = (struct lio_time *)sc->virtdptr; in lio_sync_octeon_time() 632 lt->sec = ts.tv_sec; in lio_sync_octeon_time() 633 lt->nsec = ts.tv_nsec; in lio_sync_octeon_time() 634 octeon_swap_8B_data((u64 *)lt, (sizeof(struct lio_time)) / 8); in lio_sync_octeon_time()
|
/drivers/infiniband/core/ |
D | verbs.c | 233 enum rdma_transport_type lt; in rdma_port_get_link_layer() local 237 lt = rdma_node_get_transport(device->node_type); in rdma_port_get_link_layer() 238 if (lt == RDMA_TRANSPORT_IB) in rdma_port_get_link_layer()
|
/drivers/memory/tegra/ |
D | tegra210-emc-cc-r21021.c | 407 #define __COPY_EMA(nt, lt, dev) \ in periodic_compensation_handler() argument 408 ({ __MOVAVG(nt, dev) = __MOVAVG(lt, dev) * \ in periodic_compensation_handler()
|
/drivers/net/wireless/realtek/rtw89/ |
D | fw.c | 413 __DEF_FW_FEAT_COND(lt, <); /* less than */ 438 __CFG_FW_FEAT(RTL8852A, lt, 0, 13, 38, 0, NO_PACKET_DROP),
|