/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | nve4.c | 203 int gpc, tpc, rop; local 232 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; 234 data[i / 8] |= tpc << ((i % 8) * 4); 278 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { 279 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x508), 0xffffffff); 280 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x50c), 0xffffffff); 281 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x224), 0xc0000000); 282 nv_wr32(priv, TPC_UNIT(gpc, tpc, [all...] |
H A D | ctxnvc0.h | 33 const struct nvc0_graph_pack *tpc; member in struct:nvc0_grctx_oclass
|
H A D | ctxnvc1.c | 744 int gpc, tpc; local 752 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { 756 const u32 o = TPC_UNIT(gpc, tpc, 0x500); 793 .tpc = nvc1_grctx_pack_tpc,
|
H A D | ctxgm107.c | 935 int gpc, tpc, id; local 937 for (tpc = 0, id = 0; tpc < 4; tpc++) { 939 if (tpc < priv->tpc_nr[gpc]) { 940 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x698), id); 941 nv_wr32(priv, GPC_UNIT(gpc, 0x0c10 + tpc * 4), id); 942 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x088), id); 961 nvc0_graph_mmio(priv, oclass->tpc); 1017 .tpc [all...] |
H A D | ctxnve4.c | 889 int gpc, tpc, i; local 895 for (tpc = 0; tpc < priv->tpc_total; tpc++) { 901 data[tpc / 6] |= gpc << ((tpc % 6) * 5); 904 for (; tpc < 32; tpc++) 905 data[tpc / 6] |= 7 << ((tpc [all...] |
H A D | gm107.c | 329 int gpc, tpc, ppc, rop; local 354 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; 356 data[i / 8] |= tpc << ((i % 8) * 4); 399 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { 400 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x508), 0xffffffff); 401 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x50c), 0xffffffff); 402 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x224), 0xc0000000); 403 nv_wr32(priv, TPC_UNIT(gpc, tpc, [all...] |
H A D | ctxnvc0.c | 1059 int gpc, tpc; local 1067 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { 1068 const u32 o = TPC_UNIT(gpc, tpc, 0x0520); 1084 int gpc, tpc, id; local 1086 for (tpc = 0, id = 0; tpc < 4; tpc++) { 1088 if (tpc < pri 1118 int gpc, tpc, i; local 1142 int gpc, tpc, i; local 1199 int gpc, tpc; local [all...] |
H A D | nvc0.c | 807 nvc0_graph_trap_mp(struct nvc0_graph_priv *priv, int gpc, int tpc) argument 809 u32 werr = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x648)); 810 u32 gerr = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x650)); 812 nv_error(priv, "GPC%i/TPC%i/MP trap:", gpc, tpc); 820 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x648), 0x00000000); 821 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x650), gerr); 825 nvc0_graph_trap_tpc(struct nvc0_graph_priv *priv, int gpc, int tpc) argument 827 u32 stat = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x0508)); 830 u32 trap = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x0224)); 831 nv_error(priv, "GPC%d/TPC%d/TEX: 0x%08x\n", gpc, tpc, tra 864 int tpc; local 1374 int gpc, tpc, rop; local [all...] |
/drivers/memstick/core/ |
H A D | memstick.c | 265 * @tpc - memstick Transport Protocol Command 268 void memstick_init_req_sg(struct memstick_request *mrq, unsigned char tpc, argument 271 mrq->tpc = tpc; 272 if (tpc & 8) 280 if (tpc == MS_TPC_SET_CMD || tpc == MS_TPC_EX_SET_CMD) 290 * @tpc - memstick Transport Protocol Command 298 void memstick_init_req(struct memstick_request *mrq, unsigned char tpc, argument 301 mrq->tpc [all...] |
/drivers/memstick/host/ |
H A D | rtsx_pci_ms.c | 141 u8 tpc, u8 cfg, struct scatterlist *sg) 151 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x, data_dir = %s, length = %d\n", 152 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", local 165 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); 211 static int ms_write_bytes(struct realtek_pci_ms *host, u8 tpc, argument 217 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); local 231 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); 258 if (!(tpc & 0x08)) { 279 static int ms_read_bytes(struct realtek_pci_ms *host, u8 tpc, argument 140 ms_transfer_data(struct realtek_pci_ms *host, unsigned char data_dir, u8 tpc, u8 cfg, struct scatterlist *sg) argument 286 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\\n", __func__, tpc); local [all...] |
H A D | r592.c | 50 const char *memstick_debug_get_tpc_name(int tpc) argument 52 return tpc_names[tpc-1]; 419 bool is_write = dev->req->tpc >= MS_TPC_SET_RW_REG_ADRS; 464 message("BUG: tpc execution without request!"); 468 is_write = dev->req->tpc >= MS_TPC_SET_RW_REG_ADRS; 486 memstick_debug_get_tpc_name(dev->req->tpc), len); 511 (dev->req->tpc << R592_TPC_EXEC_TPC_SHIFT) |
|
H A D | rtsx_usb_ms.c | 243 u8 tpc, u8 cfg, struct scatterlist *sg) 253 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x, data_dir = %s, length = %d\n", 254 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", local 277 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); 328 static int ms_write_bytes(struct rtsx_usb_ms *host, u8 tpc, argument 334 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); local 346 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); 376 if (!(tpc & 0x08)) { 395 static int ms_read_bytes(struct rtsx_usb_ms *host, u8 tpc, argument 242 ms_transfer_data(struct rtsx_usb_ms *host, unsigned char data_dir, u8 tpc, u8 cfg, struct scatterlist *sg) argument 402 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\\n", __func__, tpc); local [all...] |
/drivers/acpi/ |
H A D | processor_throttling.c | 295 unsigned long long tpc = 0; local 303 status = acpi_evaluate_integer(pr->handle, "_TPC", NULL, &tpc); 312 pr->throttling_platform_limit = (int)tpc;
|
/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 708 unsigned int *phyrate, unsigned int *tpc, unsigned int *chains) 715 *tpc = 0; 721 *tpc += 2; 735 *tpc += txpower[idx & 7]; 748 *tpc += txpower[(rate->hw_value & 0x30) >> 4]; 762 *tpc = min_t(unsigned int, *tpc, ar->hw->conf.power_level * 2); 706 carl9170_tx_rate_tpc_chains(struct ar9170 *ar, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *txrate, unsigned int *phyrate, unsigned int *tpc, unsigned int *chains) argument
|
/drivers/net/ethernet/ibm/emac/ |
H A D | emac.h | 102 u32 tpc; /* Reset, T */ member in struct:emac_regs::__anon3079::__anon3081
|
/drivers/staging/rts5208/ |
H A D | ms.c | 54 u8 tpc, u8 cnt, u8 cfg) 60 dev_dbg(rtsx_dev(chip), "%s: tpc = 0x%x\n", __func__, tpc); local 64 rtsx_add_cmd(chip, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); 86 if (!(tpc & 0x08)) { /* Read Packet */ 110 u8 tpc, u16 sec_cnt, u8 cfg, int mode_2k, 132 rtsx_add_cmd(chip, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); 174 u8 tpc, u8 cnt, u8 cfg, u8 *data, int data_len) 191 rtsx_add_cmd(chip, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); 211 if (!(tpc 53 ms_transfer_tpc(struct rtsx_chip *chip, u8 trans_mode, u8 tpc, u8 cnt, u8 cfg) argument 109 ms_transfer_data(struct rtsx_chip *chip, u8 trans_mode, u8 tpc, u16 sec_cnt, u8 cfg, int mode_2k, int use_sg, void *buf, int buf_len) argument 173 ms_write_bytes(struct rtsx_chip *chip, u8 tpc, u8 cnt, u8 cfg, u8 *data, int data_len) argument 238 ms_read_bytes(struct rtsx_chip *chip, u8 tpc, u8 cnt, u8 cfg, u8 *data, int data_len) argument [all...] |
/drivers/hwmon/ |
H A D | dme1737.c | 342 static inline int FAN_FROM_REG(int reg, int tpc) argument 344 if (tpc) 345 return tpc * reg; 350 static inline int FAN_TO_REG(long val, int tpc) argument 352 if (tpc) { 353 return clamp_val(val / tpc, 0, 0xffff); 363 * is configured in legacy (non-tpc) mode
|
/drivers/net/wireless/iwlegacy/ |
H A D | commands.h | 235 struct il3945_tx_power tpc; member in struct:il3945_power_per_rate 2379 struct il3945_tx_power tpc; member in struct:il3945_scan_channel
|
H A D | common.h | 465 struct il3945_tx_power tpc; /* actual radio and DSP gain settings */ member in struct:il3945_channel_power_info 474 struct il3945_tx_power tpc; /* actual radio and DSP gain settings */ member in struct:il3945_scan_power_info
|