Home
last modified time | relevance | path

Searched refs:tps (Results 1 – 61 of 61) sorted by relevance

/linux-4.4.14/drivers/regulator/
Dtps62360-regulator.c95 static bool find_voltage_set_register(struct tps62360_chip *tps, in find_voltage_set_register() argument
100 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register()
104 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
105 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register()
114 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
116 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register()
123 struct tps62360_chip *tps = rdev_get_drvdata(dev); in tps62360_dcdc_get_voltage_sel() local
128 ret = regmap_read(tps->regmap, REG_VSET0 + tps->curr_vset_id, &data); in tps62360_dcdc_get_voltage_sel()
130 dev_err(tps->dev, "%s(): register %d read failed with err %d\n", in tps62360_dcdc_get_voltage_sel()
131 __func__, REG_VSET0 + tps->curr_vset_id, ret); in tps62360_dcdc_get_voltage_sel()
[all …]
Dtps6507x-regulator.c122 static inline int tps6507x_pmic_read(struct tps6507x_pmic *tps, u8 reg) in tps6507x_pmic_read() argument
127 err = tps->mfd->read_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_read()
135 static inline int tps6507x_pmic_write(struct tps6507x_pmic *tps, u8 reg, u8 val) in tps6507x_pmic_write() argument
137 return tps->mfd->write_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_write()
140 static int tps6507x_pmic_set_bits(struct tps6507x_pmic *tps, u8 reg, u8 mask) in tps6507x_pmic_set_bits() argument
144 mutex_lock(&tps->io_lock); in tps6507x_pmic_set_bits()
146 data = tps6507x_pmic_read(tps, reg); in tps6507x_pmic_set_bits()
148 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits()
154 err = tps6507x_pmic_write(tps, reg, data); in tps6507x_pmic_set_bits()
156 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits()
[all …]
Dtps51632-regulator.c96 struct tps51632_chip *tps = rdev_get_drvdata(rdev); in tps51632_dcdc_set_ramp_delay() local
102 ret = regmap_write(tps->regmap, TPS51632_SLEW_REGS, BIT(bit)); in tps51632_dcdc_set_ramp_delay()
104 dev_err(tps->dev, "SLEW reg write failed, err %d\n", ret); in tps51632_dcdc_set_ramp_delay()
116 static int tps51632_init_dcdc(struct tps51632_chip *tps, in tps51632_init_dcdc() argument
128 ret = regmap_write(tps->regmap, TPS51632_VOLTAGE_BASE_REG, vsel); in tps51632_init_dcdc()
130 dev_err(tps->dev, "BASE reg write failed, err %d\n", ret); in tps51632_init_dcdc()
145 ret = regmap_read(tps->regmap, TPS51632_VMAX_REG, &vmax); in tps51632_init_dcdc()
147 dev_err(tps->dev, "VMAX read failed, err %d\n", ret); in tps51632_init_dcdc()
152 ret = regmap_write(tps->regmap, TPS51632_VMAX_REG, in tps51632_init_dcdc()
155 dev_err(tps->dev, in tps51632_init_dcdc()
[all …]
Dtps65023-regulator.c178 struct tps_pmic *tps = rdev_get_drvdata(dev); in tps65023_dcdc_get_voltage_sel() local
184 if (dcdc != tps->driver_data->core_regulator) in tps65023_dcdc_get_voltage_sel()
193 struct tps_pmic *tps = rdev_get_drvdata(dev); in tps65023_dcdc_set_voltage_sel() local
196 if (dcdc != tps->driver_data->core_regulator) in tps65023_dcdc_set_voltage_sel()
273 struct tps_pmic *tps; in tps_65023_probe() local
277 tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL); in tps_65023_probe()
278 if (!tps) in tps_65023_probe()
281 tps->driver_data = (struct tps_driver_data *)id->driver_data; in tps_65023_probe()
283 tps->regmap = devm_regmap_init_i2c(client, &tps65023_regmap_config); in tps_65023_probe()
284 if (IS_ERR(tps->regmap)) { in tps_65023_probe()
[all …]
Dtps65217-regulator.c73 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_enable() local
80 return tps65217_set_bits(tps, TPS65217_REG_ENABLE, in tps65217_pmic_enable()
87 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_disable() local
94 return tps65217_clear_bits(tps, TPS65217_REG_ENABLE, in tps65217_pmic_disable()
102 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_voltage_sel() local
106 ret = tps65217_set_bits(tps, dev->desc->vsel_reg, dev->desc->vsel_mask, in tps65217_pmic_set_voltage_sel()
112 ret = tps65217_set_bits(tps, TPS65217_REG_DEFSLEW, in tps65217_pmic_set_voltage_sel()
180 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); in tps65217_regulator_probe() local
181 struct tps65217_board *pdata = dev_get_platdata(tps->dev); in tps65217_regulator_probe()
186 if (tps65217_chip_id(tps) != TPS65217) { in tps65217_regulator_probe()
[all …]
Dtps65218-regulator.c107 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_voltage_sel() local
111 ret = tps65218_set_bits(tps, dev->desc->vsel_reg, dev->desc->vsel_mask, in tps65218_pmic_set_voltage_sel()
118 ret = tps65218_set_bits(tps, TPS65218_REG_CONTRL_SLEW_RATE, in tps65218_pmic_set_voltage_sel()
130 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_enable() local
137 return tps65218_set_bits(tps, dev->desc->enable_reg, in tps65218_pmic_enable()
144 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_disable() local
151 return tps65218_clear_bits(tps, dev->desc->enable_reg, in tps65218_pmic_disable()
220 struct tps65218 *tps = dev_get_drvdata(pdev->dev.parent); in tps65218_regulator_probe() local
237 platform_set_drvdata(pdev, tps); in tps65218_regulator_probe()
239 tps->info[id] = &tps65218_pmic_regs[id]; in tps65218_regulator_probe()
[all …]
Dmax8973-regulator.c132 static bool find_voltage_set_register(struct max8973_chip *tps, in find_voltage_set_register() argument
137 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register()
141 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
142 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register()
151 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
153 tps->lru_index[0] = new_vout_reg; in find_voltage_set_register()
/linux-4.4.14/drivers/mfd/
Dtps65217.c55 int tps65217_reg_read(struct tps65217 *tps, unsigned int reg, in tps65217_reg_read() argument
58 return regmap_read(tps->regmap, reg, val); in tps65217_reg_read()
70 int tps65217_reg_write(struct tps65217 *tps, unsigned int reg, in tps65217_reg_write() argument
78 return regmap_write(tps->regmap, reg, val); in tps65217_reg_write()
81 ret = regmap_write(tps->regmap, TPS65217_REG_PASSWORD, in tps65217_reg_write()
86 return regmap_write(tps->regmap, reg, val); in tps65217_reg_write()
89 ret = regmap_write(tps->regmap, TPS65217_REG_PASSWORD, in tps65217_reg_write()
93 ret = regmap_write(tps->regmap, reg, val); in tps65217_reg_write()
96 ret = regmap_write(tps->regmap, TPS65217_REG_PASSWORD, in tps65217_reg_write()
100 return regmap_write(tps->regmap, reg, val); in tps65217_reg_write()
[all …]
Dtps65218.c43 int tps65218_reg_read(struct tps65218 *tps, unsigned int reg, in tps65218_reg_read() argument
46 return regmap_read(tps->regmap, reg, val); in tps65218_reg_read()
58 int tps65218_reg_write(struct tps65218 *tps, unsigned int reg, in tps65218_reg_write() argument
66 return regmap_write(tps->regmap, reg, val); in tps65218_reg_write()
69 ret = regmap_write(tps->regmap, TPS65218_REG_PASSWORD, in tps65218_reg_write()
74 return regmap_write(tps->regmap, reg, val); in tps65218_reg_write()
90 static int tps65218_update_bits(struct tps65218 *tps, unsigned int reg, in tps65218_update_bits() argument
96 ret = tps65218_reg_read(tps, reg, &data); in tps65218_update_bits()
98 dev_err(tps->dev, "Read from reg 0x%x failed\n", reg); in tps65218_update_bits()
105 mutex_lock(&tps->tps_lock); in tps65218_update_bits()
[all …]
Dtps65010.c197 struct tps65010 *tps = s->private; in dbg_show() local
203 switch (tps->model) { in dbg_show()
213 mutex_lock(&tps->lock); in dbg_show()
219 seq_printf(s, "%scharging\n\n", tps->charging ? "" : "(not) "); in dbg_show()
225 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG); in dbg_show()
226 dbg_chgconf(tps->por, buf, sizeof buf, value); in dbg_show()
229 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS); in dbg_show()
232 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK1); in dbg_show()
237 value = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS); in dbg_show()
240 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK2); in dbg_show()
[all …]
/linux-4.4.14/drivers/media/usb/dvb-usb/
DcinergyT2-fe.c45 uint16_t tps = 0; in compute_tps() local
49 tps |= (1 << 7); in compute_tps()
52 tps |= (2 << 7); in compute_tps()
55 tps |= (3 << 7); in compute_tps()
58 tps |= (4 << 7); in compute_tps()
68 tps |= (1 << 4); in compute_tps()
71 tps |= (2 << 4); in compute_tps()
74 tps |= (3 << 4); in compute_tps()
77 tps |= (4 << 4); in compute_tps()
87 tps |= (1 << 13); in compute_tps()
[all …]
DcinergyT2.h71 uint16_t tps; member
87 __le16 tps; member
/linux-4.4.14/tools/perf/util/
Dtrace-event-info.c162 static bool name_in_tp_list(char *sys, struct tracepoint_path *tps) in name_in_tp_list() argument
164 while (tps) { in name_in_tp_list()
165 if (!strcmp(sys, tps->name)) in name_in_tp_list()
167 tps = tps->next; in name_in_tp_list()
173 static int copy_event_system(const char *sys, struct tracepoint_path *tps) in copy_event_system() argument
193 !name_in_tp_list(dent->d_name, tps)) in copy_event_system()
217 !name_in_tp_list(dent->d_name, tps)) in copy_event_system()
240 static int record_ftrace_files(struct tracepoint_path *tps) in record_ftrace_files() argument
251 ret = copy_event_system(path, tps); in record_ftrace_files()
258 static bool system_in_tp_list(char *sys, struct tracepoint_path *tps) in system_in_tp_list() argument
[all …]
/linux-4.4.14/drivers/media/dvb-frontends/
Dmt352.c176 unsigned int tps = 0; in mt352_set_parameters() local
180 tps |= (1 << 7); in mt352_set_parameters()
183 tps |= (2 << 7); in mt352_set_parameters()
186 tps |= (3 << 7); in mt352_set_parameters()
189 tps |= (4 << 7); in mt352_set_parameters()
200 tps |= (1 << 4); in mt352_set_parameters()
203 tps |= (2 << 4); in mt352_set_parameters()
206 tps |= (3 << 4); in mt352_set_parameters()
209 tps |= (4 << 4); in mt352_set_parameters()
227 tps |= (1 << 13); in mt352_set_parameters()
[all …]
Dzl10353.c188 u16 tps = 0; in zl10353_set_parameters() local
239 tps |= (1 << 7); in zl10353_set_parameters()
242 tps |= (2 << 7); in zl10353_set_parameters()
245 tps |= (3 << 7); in zl10353_set_parameters()
248 tps |= (4 << 7); in zl10353_set_parameters()
259 tps |= (1 << 4); in zl10353_set_parameters()
262 tps |= (2 << 4); in zl10353_set_parameters()
265 tps |= (3 << 4); in zl10353_set_parameters()
268 tps |= (4 << 4); in zl10353_set_parameters()
286 tps |= (1 << 13); in zl10353_set_parameters()
[all …]
Das102_fe.c198 struct as10x_tps tps = { 0 }; in as102_fe_get_frontend() local
201 ret = state->ops->get_tps(state->priv, &tps); in as102_fe_get_frontend()
206 switch (tps.modulation) { in as102_fe_get_frontend()
219 switch (tps.hierarchy) { in as102_fe_get_frontend()
235 switch (tps.code_rate_HP) { in as102_fe_get_frontend()
254 switch (tps.code_rate_LP) { in as102_fe_get_frontend()
273 switch (tps.guard_interval) { in as102_fe_get_frontend()
289 switch (tps.transmission_mode) { in as102_fe_get_frontend()
Das102_fe.h20 int (*get_tps)(void *priv, struct as10x_tps *tps);
Ddib3000mc.c643 u16 tps = dib3000mc_read_word(state,458); in dib3000mc_get_frontend() local
649 switch ((tps >> 8) & 0x1) { in dib3000mc_get_frontend()
654 switch (tps & 0x3) { in dib3000mc_get_frontend()
661 switch ((tps >> 13) & 0x3) { in dib3000mc_get_frontend()
672 switch ((tps >> 5) & 0x7) { in dib3000mc_get_frontend()
682 switch ((tps >> 2) & 0x7) { in dib3000mc_get_frontend()
Ddib7000m.c1158 u16 tps = dib7000m_read_word(state,480); in dib7000m_get_frontend() local
1164 switch ((tps >> 8) & 0x3) { in dib7000m_get_frontend()
1170 switch (tps & 0x3) { in dib7000m_get_frontend()
1177 switch ((tps >> 14) & 0x3) { in dib7000m_get_frontend()
1188 switch ((tps >> 5) & 0x7) { in dib7000m_get_frontend()
1198 switch ((tps >> 2) & 0x7) { in dib7000m_get_frontend()
Ddibx000_common.h212 u16 tps[9]; member
Ddib7000p.c1412 u16 tps = dib7000p_read_word(state, 463); in dib7000p_get_frontend() local
1418 switch ((tps >> 8) & 0x3) { in dib7000p_get_frontend()
1428 switch (tps & 0x3) { in dib7000p_get_frontend()
1443 switch ((tps >> 14) & 0x3) { in dib7000p_get_frontend()
1460 switch ((tps >> 5) & 0x7) { in dib7000p_get_frontend()
1480 switch ((tps >> 2) & 0x7) { in dib7000p_get_frontend()
/linux-4.4.14/drivers/rtc/
Drtc-tps65910.c38 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_alarm_irq_enable() local
44 return regmap_write(tps->regmap, TPS65910_RTC_INTERRUPTS, val); in tps65910_rtc_alarm_irq_enable()
59 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_time() local
63 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_read_time()
70 ret = regmap_bulk_read(tps->regmap, TPS65910_SECONDS, rtc_data, in tps65910_rtc_read_time()
90 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_time() local
101 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_set_time()
109 ret = regmap_bulk_write(tps->regmap, TPS65910_SECONDS, rtc_data, in tps65910_rtc_set_time()
117 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_set_time()
132 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_alarm() local
[all …]
/linux-4.4.14/include/linux/mfd/
Dtps65090.h123 struct tps65090 *tps = dev_get_drvdata(dev); in tps65090_write() local
125 return regmap_write(tps->rmap, reg, val); in tps65090_write()
130 struct tps65090 *tps = dev_get_drvdata(dev); in tps65090_read() local
134 ret = regmap_read(tps->rmap, reg, &temp_val); in tps65090_read()
143 struct tps65090 *tps = dev_get_drvdata(dev); in tps65090_set_bits() local
145 return regmap_update_bits(tps->rmap, reg, BIT(bit_num), ~0u); in tps65090_set_bits()
151 struct tps65090 *tps = dev_get_drvdata(dev); in tps65090_clr_bits() local
153 return regmap_update_bits(tps->rmap, reg, BIT(bit_num), 0u); in tps65090_clr_bits()
Dtps65217.h272 int tps65217_reg_read(struct tps65217 *tps, unsigned int reg,
274 int tps65217_reg_write(struct tps65217 *tps, unsigned int reg,
276 int tps65217_set_bits(struct tps65217 *tps, unsigned int reg,
278 int tps65217_clear_bits(struct tps65217 *tps, unsigned int reg,
Dtps65218.h274 int tps65218_reg_read(struct tps65218 *tps, unsigned int reg,
276 int tps65218_reg_write(struct tps65218 *tps, unsigned int reg,
278 int tps65218_set_bits(struct tps65218 *tps, unsigned int reg,
280 int tps65218_clear_bits(struct tps65218 *tps, unsigned int reg,
/linux-4.4.14/drivers/video/backlight/
Dtps65217_bl.c29 struct tps65217 *tps; member
39 rc = tps65217_set_bits(tps65217_bl->tps, TPS65217_REG_WLEDCTRL1, in tps65217_bl_enable()
59 rc = tps65217_clear_bits(tps65217_bl->tps, in tps65217_bl_disable()
91 rc = tps65217_reg_write(tps65217_bl->tps, in tps65217_bl_update_status()
129 rc = tps65217_clear_bits(tps65217_bl->tps, in tps65217_bl_hw_init()
146 rc = tps65217_set_bits(tps65217_bl->tps, TPS65217_REG_WLEDCTRL1, in tps65217_bl_hw_init()
167 rc = tps65217_set_bits(tps65217_bl->tps, in tps65217_bl_hw_init()
186 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); in tps65217_bl_parse_dt() local
187 struct device_node *node = of_node_get(tps->dev->of_node); in tps65217_bl_parse_dt()
273 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); in tps65217_bl_probe() local
[all …]
/linux-4.4.14/drivers/power/
Dtps65217_charger.c41 struct tps65217 *tps; member
79 ret = tps65217_clear_bits(charger->tps, TPS65217_REG_CHGCONFIG1, in tps65217_config_charger()
100 ret = tps65217_set_bits(charger->tps, TPS65217_REG_CHGCONFIG1, in tps65217_enable_charging()
136 ret = tps65217_reg_read(charger->tps, TPS65217_REG_STATUS, &val); in tps65217_charger_irq()
160 ret = tps65217_reg_read(charger->tps, TPS65217_REG_CHGCONFIG0, &val); in tps65217_charger_irq()
198 struct tps65217 *tps = dev_get_drvdata(pdev->dev.parent); in tps65217_charger_probe() local
208 charger->tps = tps; in tps65217_charger_probe()
/linux-4.4.14/drivers/input/misc/
Dtps65218-pwrbutton.c29 struct tps65218 *tps; member
39 error = tps65218_reg_read(pwr->tps, TPS65218_REG_STATUS, &reg); in tps65218_pwr_irq()
60 struct tps65218 *tps = dev_get_drvdata(pdev->dev.parent); in tps65218_pwron_probe() local
82 pwr->tps = tps; in tps65218_pwron_probe()
/linux-4.4.14/drivers/media/usb/as102/
Das10x_cmd.c253 ptps->modulation = prsp->body.get_tps.rsp.tps.modulation; in as10x_cmd_get_tps()
254 ptps->hierarchy = prsp->body.get_tps.rsp.tps.hierarchy; in as10x_cmd_get_tps()
255 ptps->interleaving_mode = prsp->body.get_tps.rsp.tps.interleaving_mode; in as10x_cmd_get_tps()
256 ptps->code_rate_HP = prsp->body.get_tps.rsp.tps.code_rate_HP; in as10x_cmd_get_tps()
257 ptps->code_rate_LP = prsp->body.get_tps.rsp.tps.code_rate_LP; in as10x_cmd_get_tps()
258 ptps->guard_interval = prsp->body.get_tps.rsp.tps.guard_interval; in as10x_cmd_get_tps()
259 ptps->transmission_mode = prsp->body.get_tps.rsp.tps.transmission_mode; in as10x_cmd_get_tps()
260 ptps->DVBH_mask_HP = prsp->body.get_tps.rsp.tps.DVBH_mask_HP; in as10x_cmd_get_tps()
261 ptps->DVBH_mask_LP = prsp->body.get_tps.rsp.tps.DVBH_mask_LP; in as10x_cmd_get_tps()
262 ptps->cell_ID = le16_to_cpu((__force __le16)prsp->body.get_tps.rsp.tps.cell_ID); in as10x_cmd_get_tps()
Das102_drv.c200 static int as102_get_tps(void *priv, struct as10x_tps *tps) in as102_get_tps() argument
209 ret = as10x_cmd_get_tps(bus_adap, tps); in as102_get_tps()
Das10x_cmd.h168 struct as10x_tps tps; member
/linux-4.4.14/Documentation/devicetree/bindings/leds/backlight/
Dtps65217-backlight.txt18 tps: tps@24 {
/linux-4.4.14/arch/arm/boot/dts/
Dam3517-craneboard.dts43 tps: tps@2d { label
85 &tps {
Dda850-evm.dts51 tps: tps@48 { label
177 &tps {
Dam335x-chilisom.dtsi125 tps: tps@24 { label
133 &tps {
Drk3066a-marsboard.dts78 tps: tps@2d { label
162 /* must be included after &tps gets defined */
Dam335x-bone-common.dtsi224 tps: tps@24 { label
291 &tps {
304 * &tps { /delete-property/ ti,pmic-shutdown-controller; }
Drk3066a-bqcurie2.dts100 tps: tps@2d { label
179 /* must be included after &tps gets defined */
Dam335x-igep0033.dtsi198 tps: tps@2d { label
246 &tps {
Dtps6507x.dtsi14 &tps {
Dtps65217.dtsi14 &tps {
Dam335x-lxm.dts173 tps: tps@2d { label
181 &tps {
Dtps65910.dtsi14 &tps {
Dam335x-nano.dts222 tps: tps@24 { label
380 &tps {
Dam335x-sl50.dts266 tps: tps@24 { label
380 &tps {
Drk3066a-rayeager.dts213 tps: tps@2d { label
415 tps {
Dam335x-baltos-ir5221.dts319 tps: tps@2d { label
379 &tps {
Dam335x-phycore-som.dtsi118 tps: pmic@2d { label
244 &tps {
Dam335x-pepper.dts65 tps: tps@24 { label
432 &tps {
Dam437x-idk-evm.dts273 tps: tps62362@60 { label
414 cpu0-supply = <&tps>;
Dam335x-evmsk.dts453 tps: tps@2d { label
540 &tps {
Dam335x-evm.dts405 tps: tps@2d { label
618 &tps {
Dam437x-sk-evm.dts423 tps@24 {
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Dtps65217.txt24 tps: tps@24 {
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dtps65218-pwrbutton.txt12 &tps {
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dtp.h67 void t1_tp_get_mib_statistics(adapter_t *adap, struct tp_mib_statistics *tps);
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv50.c329 int tps = 0; in nv50_gr_tp_trap() local
343 tps++; in nv50_gr_tp_trap()
388 if (!tps && display) in nv50_gr_tp_trap()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c2706 unsigned int tps = core_clk >> tre; in tp_set_timers() local
2722 #define SECONDS * tps in tp_set_timers()
2725 t3_write_reg(adap, A_TP_RXT_MIN, tps / (1000 / TP_RTO_MIN)); in tp_set_timers()
2902 void t3_tp_get_mib_stats(struct adapter *adap, struct tp_mib_stats *tps) in t3_tp_get_mib_stats() argument
2904 t3_read_indirect(adap, A_TP_MIB_INDEX, A_TP_MIB_RDATA, (u32 *) tps, in t3_tp_get_mib_stats()
2905 sizeof(*tps) / sizeof(u32), 0); in t3_tp_get_mib_stats()
3004 unsigned int v, tps, cpt, bpt, delta, mindelta = ~0; in t3_config_sched() local
3011 tps = clk / cpt; in t3_config_sched()
3012 bpt = (kbps + tps / 2) / tps; in t3_config_sched()
3014 v = bpt * tps; in t3_config_sched()
Dcommon.h725 void t3_tp_get_mib_stats(struct adapter *adap, struct tp_mib_stats *tps);
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c1933 kib_tx_poolset_t *tps = container_of(pool->po_owner, kib_tx_poolset_t, in kiblnd_tx_init() local
1937 tx->tx_cookie = tps->tps_next_tx_cookie++; in kiblnd_tx_init()
1945 kib_tx_poolset_t *tps; in kiblnd_net_fini_pools() local
1949 tps = net->ibn_tx_ps[i]; in kiblnd_net_fini_pools()
1950 kiblnd_fini_poolset(&tps->tps_poolset); in kiblnd_net_fini_pools()
Do2iblnd_cb.c110 kib_tx_poolset_t *tps; in kiblnd_get_idle_tx() local
112 tps = net->ibn_tx_ps[lnet_cpt_of_nid(target)]; in kiblnd_get_idle_tx()
113 node = kiblnd_pool_alloc_node(&tps->tps_poolset); in kiblnd_get_idle_tx()