[go: nahoru, domu]

Searched defs:tt (Results 1 - 25 of 34) sorted by relevance

12

/drivers/md/
H A Ddm-target.c23 struct target_type *tt; local
25 list_for_each_entry(tt, &_targets, list)
26 if (!strcmp(name, tt->name))
27 return tt;
34 struct target_type *tt; local
38 tt = __find_target_type(name);
39 if (tt && !try_module_get(tt->module))
40 tt = NULL;
43 return tt;
53 struct target_type *tt = get_target_type(name); local
63 dm_put_target_type(struct target_type *tt) argument
70 dm_target_iterate(void (*iter_func)(struct target_type *tt, void *param), void *param) argument
73 struct target_type *tt; local
83 dm_register_target(struct target_type *tt) argument
97 dm_unregister_target(struct target_type *tt) argument
114 io_err_ctr(struct dm_target *tt, unsigned int argc, char **args) argument
124 io_err_dtr(struct dm_target *tt) argument
129 io_err_map(struct dm_target *tt, struct bio *bio) argument
[all...]
H A Ddm-ioctl.c558 static void list_version_get_needed(struct target_type *tt, void *needed_param) argument
563 *needed += strlen(tt->name);
567 static void list_version_get_info(struct target_type *tt, void *param) argument
572 if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 >
582 info->vers->version[0] = tt->version[0];
583 info->vers->version[1] = tt->version[1];
584 info->vers->version[2] = tt->version[2];
586 strcpy(info->vers->name, tt->name);
589 info->vers = align_ptr(((void *) ++info->vers) + strlen(tt
[all...]
/drivers/gpu/drm/ast/
H A Dast_ttm.c200 static void ast_ttm_backend_destroy(struct ttm_tt *tt) argument
202 ttm_tt_fini(tt);
203 kfree(tt);
215 struct ttm_tt *tt; local
217 tt = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL);
218 if (tt == NULL)
220 tt->func = &ast_tt_backend_func;
221 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
222 kfree(tt);
225 return tt;
[all...]
/drivers/gpu/drm/cirrus/
H A Dcirrus_ttm.c200 static void cirrus_ttm_backend_destroy(struct ttm_tt *tt) argument
202 ttm_tt_fini(tt);
203 kfree(tt);
215 struct ttm_tt *tt; local
217 tt = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL);
218 if (tt == NULL)
220 tt->func = &cirrus_tt_backend_func;
221 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
222 kfree(tt);
225 return tt;
[all...]
/drivers/isdn/pcbit/
H A Dlayer2.c151 unsigned short tt; local
235 tt = ((ushort) (flen - 2)) | 0x8000U; /* Type 1 */
236 pcbit_writew(dev, tt);
326 unsigned short tt; local
336 tt = pcbit_readw(dev);
338 if ((tt & 0x7fffU) > 511) {
340 tt);
344 if (!(tt & 0x8000U)) { /* Type 0 */
423 tt &= 0x7fffU;
428 dev->readptr += tt;
[all...]
/drivers/media/rc/
H A Dttusbir.c58 struct ttusbir *tt = container_of(led_dev, struct ttusbir, led); local
60 return tt->led_on ? LED_FULL : LED_OFF;
63 static void ttusbir_set_led(struct ttusbir *tt) argument
69 if (tt->led_on != tt->is_led_on && tt->udev &&
70 atomic_add_unless(&tt->led_complete, 1, 1)) {
71 tt->bulk_buffer[4] = tt->is_led_on = tt
84 struct ttusbir *tt = container_of(led_dev, struct ttusbir, led); local
96 struct ttusbir *tt = urb->context; local
122 ttusbir_process_ir_data(struct ttusbir *tt, uint8_t *buf) argument
174 struct ttusbir *tt = urb->context; local
200 struct ttusbir *tt; local
375 struct ttusbir *tt = usb_get_intfdata(intf); local
397 struct ttusbir *tt = usb_get_intfdata(intf); local
411 struct ttusbir *tt = usb_get_intfdata(intf); local
[all...]
/drivers/net/wireless/iwlwifi/dvm/
H A Dtt.c40 #include "tt.h"
84 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
86 if (tt->state >= IWL_TI_1)
93 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
95 return tt->tt_power_mode;
100 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
105 restriction = tt->restriction + tt->state;
136 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
141 restriction = tt
147 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
170 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
220 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
260 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
365 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
499 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
528 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
606 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
673 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
[all...]
H A Ddebugfs.c509 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local
517 tt->advanced_tt ? "Advance" : "Legacy");
520 tt->state);
521 if (tt->advanced_tt) {
522 restriction = tt->restriction + tt->state;
/drivers/net/wireless/iwlwifi/mvm/
H A Dtt.c169 struct iwl_mvm_tt_mgmt *tt; local
174 tt = container_of(work, struct iwl_mvm_tt_mgmt, ct_kill_exit.work);
175 mvm = container_of(tt, struct iwl_mvm, thermal_throttle);
177 duration = tt->params->ct_kill_duration;
201 if (temp <= tt->params->ct_kill_exit) {
280 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; local
294 temperature <= tt->params->ct_kill_exit) {
300 if (!tt->dynamic_smps &&
303 tt->dynamic_smps = true;
308 } else if (tt
400 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; local
[all...]
/drivers/usb/core/
H A Dhub.h61 struct usb_tt tt; /* Transaction Translator */ member in struct:usb_hub
/drivers/block/aoe/
H A Daoedev.c199 struct aoetgt *t, **tt, **te; local
217 tt = d->targets;
218 te = tt + d->ntargets;
219 for (; tt < te && (t = *tt); tt++) {
H A Daoecmd.c253 struct aoetgt *t, **tt; local
262 tt = d->tgt; /* last used target */
264 tt++;
265 if (tt >= &d->targets[d->ntargets] || !*tt)
266 tt = d->targets;
267 t = *tt;
278 d->tgt = tt;
282 if (tt == d->tgt) { /* we've looped and found nada */
1488 struct aoetgt **tt; local
1507 struct aoetgt *t, **tt, **te; local
[all...]
/drivers/gpu/drm/bochs/
H A Dbochs_mm.c177 static void bochs_ttm_backend_destroy(struct ttm_tt *tt) argument
179 ttm_tt_fini(tt);
180 kfree(tt);
192 struct ttm_tt *tt; local
194 tt = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL);
195 if (tt == NULL)
197 tt->func = &bochs_tt_backend_func;
198 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
199 kfree(tt);
202 return tt;
[all...]
/drivers/gpu/drm/mgag200/
H A Dmgag200_ttm.c200 static void mgag200_ttm_backend_destroy(struct ttm_tt *tt) argument
202 ttm_tt_fini(tt);
203 kfree(tt);
215 struct ttm_tt *tt; local
217 tt = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL);
218 if (tt == NULL)
220 tt->func = &mgag200_tt_backend_func;
221 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
222 kfree(tt);
225 return tt;
[all...]
/drivers/usb/host/
H A Dehci-q.c170 if (urb->dev->tt && !usb_pipeint(urb->pipe) && !qh->clearing_tt) {
172 struct usb_device *tt = urb->dev->tt->hub; local
173 dev_dbg(&tt->dev,
174 "clear tt buffer port %d, a%d ep%d t%08x\n",
179 || urb->dev->tt->hub !=
767 struct usb_tt *tt = urb->dev->tt; local
845 think_time = tt ? tt
[all...]
H A Dehci-dbg.c539 struct ehci_tt *tt; local
572 list_for_each_entry(tt, &ehci->tt_list, tt_list) {
575 dev_name(&tt->usb_tt->hub->dev),
576 tt->tt_port + !!tt->usb_tt->multi);
580 bf = tt->bandwidth;
592 compute_tt_budget(budget, tt);
602 list_for_each_entry(ps, &tt->ps_list, ps_list) {
H A Dehci-sched.c116 struct usb_tt *utt = udev->tt;
117 struct ehci_tt *tt, **tt_index, **ptt; local
147 tt = *ptt;
148 if (!tt) { /* Create the ehci_tt */
152 tt = kzalloc(sizeof(*tt), GFP_ATOMIC);
153 if (!tt) {
160 list_add_tail(&tt->tt_list, &ehci->tt_list);
161 INIT_LIST_HEAD(&tt->ps_list);
162 tt
174 struct ehci_tt *tt, **tt_index, **ptt; local
226 struct ehci_tt *tt; local
273 compute_tt_budget(u8 budget_table[EHCI_BANDWIDTH_SIZE], struct ehci_tt *tt) argument
378 tt_available( struct ehci_hcd *ehci, struct ehci_per_sched *ps, struct ehci_tt *tt, unsigned frame, unsigned uframe ) argument
866 struct ehci_tt *tt; local
1340 struct ehci_tt *tt; local
1521 struct ehci_tt *tt = find_tt(stream->ps.udev); local
[all...]
/drivers/usb/wusbcore/
H A Ddevconnect.c417 unsigned tt = msecs_to_jiffies(wusbhc->trust_timeout); local
427 if (time_after(jiffies, wusb_dev->entry_ts + tt)) {
431 } else if (time_after(jiffies, wusb_dev->entry_ts + tt/3)) {
/drivers/isdn/hardware/mISDN/
H A DmISDNisar.c1095 int tt; local
1096 tt = isar->cmsb | 0x30;
1097 if (tt == 0x3e)
1098 tt = '*';
1099 else if (tt == 0x3f)
1100 tt = '#';
1101 else if (tt > '9')
1102 tt += 7;
1103 tt |= DTMF_TONE_VAL;
1105 MISDN_ID_ANY, sizeof(tt),
1524 char tt = *val & DTMF_TONE_MASK; local
[all...]
/drivers/isdn/mISDN/
H A Ddsp_cmx.c1316 int r, rr, t, tt, o_r, o_rr; local
1372 tt = dsp->tx_W;
1391 if (!dsp->tx_mix && t != tt) {
1394 sprintf(debugbuf, "TX sending (%04x-%04x)%p: ", t, tt, p);
1396 while (r != rr && t != tt) {
1423 while (r != rr && t != tt) {
1440 while (r != rr && t != tt) {
1476 while (o_r != o_rr && t != tt) {
1491 while (r != rr && t != tt) {
1521 while (r != rr && t != tt) {
[all...]
/drivers/scsi/
H A Daha1740.h116 tt:2, /* Tag Type */ member in struct:ecb
/drivers/leds/
H A Dleds-tca6507.c233 int tt = t + time_codes[c2]; local
235 if (tt < tmin)
237 if (tt > tmax)
240 d = abs(msec - tt);
/drivers/usb/c67x00/
H A Dc67x00-sched.c585 int tt = 0; local
604 tt = TT_ISOCHRONOUS;
608 tt = TT_CONTROL;
611 tt = TT_BULK;
614 tt = TT_INTERRUPT;
636 td->retry_cnt = (tt << TT_OFFSET) | (active_flag << 4) | retry_cnt;
/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c2114 lport->tt.rport_logoff(rdata);
2139 lport->tt.rport_logoff(rdata);
2170 lport->tt.rport_flush_queue();
2459 rdata = lport->tt.rport_create(lport, port_id);
2471 lport->tt.rport_logoff(rdata);
2499 rdata = lport->tt.rport_lookup(lport, port_id);
2588 rdata = lport->tt.rport_lookup(lport, new->ids.port_id);
2597 lport->tt.rport_login(rdata);
2600 kref_put(&rdata->kref, lport->tt.rport_destroy);
2647 lport->tt
2908 fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip, const struct libfc_function_template *tt, int init_fcp) argument
[all...]
/drivers/staging/rtl8188eu/include/
H A Dwlan_bssdef.h222 } tt; member in struct:ndis_802_11_test

Completed in 409 milliseconds

12