| /drivers/gpu/drm/bridge/ |
| A D | lontium-lt8912b.c | 231 if (!lt) in lt8912_init_i2c() 242 lt->regmap[i] = devm_regmap_init_i2c(lt->i2c_client[i], in lt8912_init_i2c() 264 ret = regulator_bulk_enable(ARRAY_SIZE(lt->supplies), lt->supplies); in lt8912_hard_power_on() 279 regulator_bulk_disable(ARRAY_SIZE(lt->supplies), lt->supplies); in lt8912_hard_power_off() 291 if (!lt) in lt8912_video_setup() 490 lt->dsi = dsi; in lt8912_attach_dsi() 523 drm_bridge_hpd_enable(lt->hdmi_port, lt8912_bridge_hpd_cb, lt); in lt8912_bridge_connector_init() 588 if (lt->connector.dev && lt->hdmi_port->ops & DRM_BRIDGE_OP_HPD) in lt8912_bridge_detach() 684 return devm_regulator_bulk_get(lt->dev, ARRAY_SIZE(lt->supplies), in lt8912_get_regulators() 766 if (IS_ERR(lt)) in lt8912_probe() [all …]
|
| /drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| A D | dp.c | 100 if (lt->repeater) in nvkm_dp_train_sense() 109 if (lt->repeater) in nvkm_dp_train_sense() 123 OUTP_TRACE(outp, "status %6ph pc2 %02x", lt->stat, lt->pc2stat); in nvkm_dp_train_sense() 168 if (lt->repeater != lt->repeaters) in nvkm_dp_train_drive() 184 if (lt->repeater) in nvkm_dp_train_drive() 212 if (lt->repeater) in nvkm_dp_train_pattern() 257 nvkm_dp_train_drive(lt, lt->pc2)) || in nvkm_dp_train_eq() 258 nvkm_dp_train_sense(lt, lt->pc2, usec ? usec : 400)) in nvkm_dp_train_eq() 284 if (lt->outp->dp.dpcd[DPCD_RC00_DPCD_REV] < 0x14 && !lt->repeater) in nvkm_dp_train_cr() 352 for (lt.repeater = lt.repeaters; lt.repeater >= 0; lt.repeater--) { in nvkm_dp_train_link() [all …]
|
| A D | uoutp.c | 120 outp->dp.lt.nr = args->v0.link_nr; in nvkm_uoutp_mthd_dp_train() 121 outp->dp.lt.bw = args->v0.link_bw / 27000; in nvkm_uoutp_mthd_dp_train() 122 outp->dp.lt.mst = args->v0.mst; in nvkm_uoutp_mthd_dp_train() 123 outp->dp.lt.post_adj = args->v0.post_lt_adj; in nvkm_uoutp_mthd_dp_train()
|
| A D | outp.h | 62 } lt; member
|
| /drivers/mtd/nand/raw/ |
| A D | marvell_nand.c | 1099 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page() 1187 lt->ecc_bytes + lt->spare_bytes); in marvell_nfc_hw_ecc_hmg_do_write_page() 1262 int chunk_size = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_bch_read_page_raw() 1263 int ecc_offset = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page_raw() 1448 (chunk < lt->full_chunk_cnt ? lt->data_bytes : in marvell_nfc_hw_ecc_bch_read_page() 1451 (chunk < lt->full_chunk_cnt ? lt->spare_bytes : in marvell_nfc_hw_ecc_bch_read_page() 1456 ecc_off = (lt->full_chunk_cnt * lt->spare_bytes) + in marvell_nfc_hw_ecc_bch_read_page() 1460 data_len = chunk < lt->full_chunk_cnt ? lt->data_bytes : in marvell_nfc_hw_ecc_bch_read_page() 1464 ecc_len = chunk < lt->full_chunk_cnt ? lt->ecc_bytes : in marvell_nfc_hw_ecc_bch_read_page() 1473 if (lt->writesize == 2048 && lt->strength == 8) { in marvell_nfc_hw_ecc_bch_read_page() [all …]
|
| /drivers/gpu/drm/nouveau/ |
| A D | nouveau_dp.c | 316 outp->dp.lt.nr = 0; in nouveau_dp_power_down() 334 outp->dp.lt.nr, in nouveau_dp_train_link() 335 outp->dp.lt.bw, in nouveau_dp_train_link() 336 outp->dp.lt.mst, in nouveau_dp_train_link() 352 if (!drm_dp_channel_eq_ok(stat, outp->dp.lt.nr)) { in nouveau_dp_train_link() 377 for (int i = 0; i < outp->dp.lt.nr; i++) { in nouveau_dp_train_link() 434 outp->dp.lt.nr = nr; in nouveau_dp_train() 435 outp->dp.lt.bw = outp->dp.rate[rate].rate; in nouveau_dp_train() 436 outp->dp.lt.mst = mst; in nouveau_dp_train() 454 if (!outp || !outp->dp.lt.nr) in nouveau_dp_link_check_locked() [all …]
|
| A D | nouveau_encoder.h | 97 } lt; member
|
| /drivers/media/platform/rockchip/rga/ |
| A D | rga-hw.c | 44 struct rga_addr_offset *lt, *lb, *rt, *rb; in rga_get_addr_offset() local 48 lt = &offsets.left_top; in rga_get_addr_offset() 58 lt->y_off = offset->y_off + y * frm->stride + x * pixel_width; in rga_get_addr_offset() 59 lt->u_off = offset->u_off + (y / y_div) * uv_stride + x / x_div; in rga_get_addr_offset() 60 lt->v_off = offset->v_off + (y / y_div) * uv_stride + x / x_div; in rga_get_addr_offset() 62 lb->y_off = lt->y_off + (h - 1) * frm->stride; in rga_get_addr_offset() 63 lb->u_off = lt->u_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset() 64 lb->v_off = lt->v_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset() 66 rt->y_off = lt->y_off + (w - 1) * pixel_width; in rga_get_addr_offset() 67 rt->u_off = lt->u_off + w / x_div - 1; in rga_get_addr_offset() [all …]
|
| /drivers/media/v4l2-core/ |
| A 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/ |
| A D | rvu_npc_fs.c | 159 u64 cfg, u8 lid, u8 lt, u8 intf) in npc_set_layer_mdata() argument 169 input->layer_mdata.ltype = lt; in npc_set_layer_mdata() 204 u8 nr_bits, lid, lt, ld; in npc_check_overlap() local 216 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_check_overlap() 220 (intf, lid, lt, ld)); in npc_check_overlap() 225 lid, lt, intf); in npc_check_overlap() 460 u8 lt, u64 cfg, u8 intf) in npc_scan_ldata() argument 636 u8 lid, lt, ld, bitnr; in npc_scan_kex() local 665 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_scan_kex() 669 (intf, lid, lt, ld)); in npc_scan_kex() [all …]
|
| A D | rvu_npc_hash.c | 104 u8 intf, int lid, int lt, int ld) in npc_update_use_hash() argument 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() 182 intf, lid, lt, ld); in npc_program_mkex_hash_tx() [all …]
|
| A D | rvu_npc.c | 1263 int lid, lt, ld, fl; in npc_program_mkex_rx() local 1273 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_rx() 1275 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_rx() 1277 [lid][lt][ld]); in npc_program_mkex_rx() 1292 int lid, lt, ld, fl; in npc_program_mkex_tx() local 1302 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_tx() 1304 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_tx() 1306 [lid][lt][ld]); in npc_program_mkex_tx() 3359 #define GET_KEX_LD(intf, lid, lt, ld) \ argument 3370 int lid, lt, ld, fl; in rvu_mbox_handler_npc_get_kex_cfg() local [all …]
|
| /drivers/power/supply/ |
| A 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/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
| A D | disp.c | 1030 int ret = r535_dp_train_target(outp, target, outp->dp.lt.mst, in r535_dp_train() 1031 outp->dp.lt.nr, in r535_dp_train() 1032 outp->dp.lt.bw); in r535_dp_train() 1130 if (!outp->dp.lt.bw) { in r535_dp_release() 1132 outp->dp.lt.bw = outp->dp.rate[0].rate / 27000; in r535_dp_release() 1134 outp->dp.lt.bw = 0x06; in r535_dp_release() 1137 outp->dp.lt.nr = 0; in r535_dp_release() 1139 r535_dp_train_target(outp, 0, outp->dp.lt.mst, outp->dp.lt.nr, outp->dp.lt.bw); in r535_dp_release()
|
| /drivers/scsi/be2iscsi/ |
| A D | be_main.h | 710 u8 lt; /* DWORD 0 */ member 778 u8 lt; /* DWORD 11 */ member 866 u8 lt; /* DWORD 0 */ member
|
| /drivers/gpu/drm/amd/display/dc/dml2/ |
| A D | Makefile | 41 ifeq ($(call test-lt, $(CONFIG_FRAME_WARN), $(frame_warn_limit)),y)
|
| /drivers/gpu/drm/amd/display/dc/dml/ |
| A D | Makefile | 38 ifeq ($(call test-lt, $(CONFIG_FRAME_WARN), $(frame_warn_limit)),y)
|
| /drivers/hid/ |
| A 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/memory/tegra/ |
| A D | tegra210-emc-cc-r21021.c | 186 #define __COPY_EMA(nt, lt, dev) \ in periodic_compensation_handler() argument 187 ({ __MOVAVG(nt, dev) = __MOVAVG(lt, dev) * \ in periodic_compensation_handler()
|
| /drivers/net/ethernet/cavium/liquidio/ |
| A D | lio_main.c | 612 struct lio_time *lt; in lio_sync_octeon_time() local 622 lt = (struct lio_time *)sc->virtdptr; in lio_sync_octeon_time() 626 lt->sec = ts.tv_sec; in lio_sync_octeon_time() 627 lt->nsec = ts.tv_nsec; in lio_sync_octeon_time() 628 octeon_swap_8B_data((u64 *)lt, (sizeof(struct lio_time)) / 8); in lio_sync_octeon_time()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | fw.c | 797 __DEF_FW_FEAT_COND(lt, <); /* less than */ 822 __CFG_FW_FEAT(RTL8852A, lt, 0, 13, 37, 0, NO_WOW_CPU_IO_RX), 823 __CFG_FW_FEAT(RTL8852A, lt, 0, 13, 38, 0, NO_PACKET_DROP), 829 __CFG_FW_FEAT(RTL8852B, lt, 0, 29, 30, 0, NO_WOW_CPU_IO_RX), 855 __CFG_FW_FEAT(RTL8922A, lt, 0, 35, 28, 0, RFK_IQK_V0), 856 __CFG_FW_FEAT(RTL8922A, lt, 0, 35, 31, 0, RFK_PRE_NOTIFY_V0), 857 __CFG_FW_FEAT(RTL8922A, lt, 0, 35, 31, 0, LPS_CH_INFO), 858 __CFG_FW_FEAT(RTL8922A, lt, 0, 35, 42, 0, RFK_RXDCK_V0), 860 __CFG_FW_FEAT(RTL8922A, lt, 0, 35, 47, 0, CH_INFO_BE_V0), 861 __CFG_FW_FEAT(RTL8922A, lt, 0, 35, 49, 0, RFK_PRE_NOTIFY_V1), [all …]
|
| /drivers/infiniband/core/ |
| A D | verbs.c | 236 enum rdma_transport_type lt; in rdma_port_get_link_layer() local 240 lt = rdma_node_get_transport(device->node_type); in rdma_port_get_link_layer() 241 if (lt == RDMA_TRANSPORT_IB) in rdma_port_get_link_layer()
|