/drivers/md/ |
H A D | dm-target.c | 23 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, union map_info *map_context) argument [all...] |
H A D | dm.h | 96 void dm_put_target_type(struct target_type *tt); 97 int dm_target_iterate(void (*iter_func)(struct target_type *tt,
|
H A D | dm-ioctl.c | 536 static void list_version_get_needed(struct target_type *tt, void *needed_param) argument 541 *needed += strlen(tt->name); 545 static void list_version_get_info(struct target_type *tt, void *param) argument 550 if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 > 560 info->vers->version[0] = tt->version[0]; 561 info->vers->version[1] = tt->version[1]; 562 info->vers->version[2] = tt->version[2]; 564 strcpy(info->vers->name, tt->name); 567 info->vers = align_ptr(((void *) ++info->vers) + strlen(tt [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-agn-tt.c | 44 #include "iwl-agn-tt.h" 88 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 90 if (tt->state >= IWL_TI_1) 97 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 99 return tt->tt_power_mode; 104 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 109 restriction = tt->restriction + tt->state; 140 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 145 restriction = tt 151 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 174 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 226 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 266 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 371 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 505 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 534 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 612 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local 679 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; local [all...] |
H A D | Makefile | 6 iwlwifi-objs += iwl-agn-tt.o iwl-agn-sta.o iwl-agn-rx.o
|
/drivers/scsi/libfc/ |
H A D | fc_disc.c | 73 lport->tt.rport_logoff(rdata); 153 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL); 181 lport->tt.seq_els_rsp_send(fp, ELS_LS_RJT, &rjt_data); 296 lport->tt.rport_login(rdata); 298 lport->tt.rport_logoff(rdata); 375 if (lport->tt.elsct_send(lport, 0, fp, 449 rdata = lport->tt.rport_create(lport, ids.port_id); 616 lport->tt.rport_logoff(rdata); 618 new_rdata = lport->tt.rport_create(lport, 622 lport->tt [all...] |
H A D | fc_elsct.c | 70 return lport->tt.exch_seq_send(lport, fp, resp, NULL, arg, timer_msec); 80 if (!lport->tt.elsct_send) 81 lport->tt.elsct_send = fc_elsct_send;
|
H A D | fc_rport.c | 125 rdata = lport->tt.rport_lookup(lport, port_id); 150 rdata->lld_event_callback = lport->tt.rport_event_callback; 273 lport->tt.rport_logoff(rdata); 274 kref_put(&rdata->kref, lport->tt.rport_destroy); 300 kref_put(&rdata->kref, lport->tt.rport_destroy); 331 lport->tt.exch_mgr_reset(lport, 0, port_id); 332 lport->tt.exch_mgr_reset(lport, port_id, 0); 349 kref_put(&rdata->kref, lport->tt.rport_destroy); 362 kref_put(&rdata->kref, lport->tt.rport_destroy); 705 kref_put(&rdata->kref, rdata->local_port->tt [all...] |
H A D | fc_lport.c | 203 lport->tt.rport_logoff(rdata); 247 lport->tt.rport_logoff(lport->ptp_rdata); 248 kref_put(&lport->ptp_rdata->kref, lport->tt.rport_destroy); 250 lport->ptp_rdata = lport->tt.rport_create(lport, remote_fid); 256 lport->tt.rport_login(lport->ptp_rdata); 408 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL); 443 lport->tt.frame_send(lport, fp); 477 lport->tt.seq_els_rsp_send(in_fp, ELS_LS_RJT, &rjt_data); 501 lport->tt.frame_send(lport, fp); 517 lport->tt [all...] |
H A D | fc_exch.c | 496 error = lport->tt.frame_send(lport, fp); 1187 lport->tt.frame_send(lport, fp); 1256 lport->tt.frame_send(lport, fp); 1382 return lport->tt.lport_recv(lport, fp); 1405 lport->tt.lport_recv(lport, fp); 1694 lport->tt.frame_send(lport, fp); 1723 lport->tt.frame_send(lport, fp); 1902 lport->tt.frame_send(lport, fp); 2017 if (unlikely(lport->tt.frame_send(lport, fp))) 2437 if (!lport->tt [all...] |
H A D | fc_fcp.c | 268 return fsp->lp->tt.seq_exch_abort(fsp->seq_ptr, 0); 283 fsp->lp->tt.exch_done(fsp->seq_ptr); 304 (lport->lro_enabled) && (lport->tt.ddp_setup)) { 305 if (lport->tt.ddp_setup(lport, xid, scsi_sglist(fsp->cmd), 327 if (lport->tt.ddp_done) { 328 fsp->xfer_len = lport->tt.ddp_done(lport, fsp->xfer_ddp); 604 seq = lport->tt.seq_start_next(seq); 682 error = lport->tt.seq_send(lport, seq, fp); 964 csp = lport->tt.seq_start_next(seq); 973 lport->tt [all...] |
/drivers/target/tcm_fc/ |
H A D | tfc_cmd.c | 93 lport->tt.seq_release(fr_seq(fp)); 161 cmd->seq = lport->tt.seq_start_next(cmd->seq); 165 lport->tt.seq_send(lport, cmd->seq, fp); 166 lport->tt.exch_done(cmd->seq); 204 cmd->seq = lport->tt.seq_start_next(cmd->seq); 229 if (cmd->sg && lport->tt.ddp_target(lport, ep->xid, 235 lport->tt.seq_send(lport, cmd->seq, fp); 323 lport->tt.seq_send(lport, sp, fp); 324 lport->tt.exch_done(sp); 326 lport->tt [all...] |
H A D | tfc_io.c | 88 cmd->seq = lport->tt.seq_start_next(cmd->seq); 173 error = lport->tt.seq_send(lport, cmd->seq, fp); 338 cmd->write_data_len = lport->tt.ddp_done(lport,
|
/drivers/isdn/pcbit/ |
H A D | layer2.c | 151 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/block/aoe/ |
H A D | aoecmd.c | 481 struct aoetgt *t, **tt, **te; local 499 tt = d->targets; 500 te = tt + NTARGETS; 501 for (; tt < te && *tt; tt++) { 502 t = *tt; 518 && (tt != d->targets || d->targets[1])) 519 d->htgt = tt; 930 struct aoetgt *t, **tt, **t local [all...] |
/drivers/usb/host/ |
H A D | ehci-q.c | 169 if (urb->dev->tt && !usb_pipeint(urb->pipe) && !qh->clearing_tt) { 171 struct usb_device *tt = urb->dev->tt->hub; local 172 dev_dbg(&tt->dev, 173 "clear tt buffer port %d, a%d ep%d t%08x\n", 178 || urb->dev->tt->hub != 802 struct usb_tt *tt = urb->dev->tt; local 872 think_time = tt ? tt [all...] |
H A D | xhci-mem.c | 825 struct usb_tt *tt, gfp_t mem_flags) 831 if (!tt->multi) 846 if (tt->multi) 1122 if (!udev->tt || !udev->tt->hub->parent) { 1131 if (tt_bw->slot_id != udev->tt->hub->slot_id) 1134 if (!dev->udev->tt->multi || 1135 (udev->tt->multi && 1147 if (udev->tt && udev->tt 822 xhci_alloc_tt_info(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_device *hdev, struct usb_tt *tt, gfp_t mem_flags) argument 1845 struct xhci_tt_bw_info *tt, *n; local [all...] |
/drivers/usb/core/ |
H A D | hub.c | 72 struct usb_tt tt; /* Transaction Translator */ member in struct:usb_hub 488 hub_clear_tt_buffer (struct usb_device *hdev, u16 devinfo, u16 tt) argument 492 tt, NULL, 0, 1000); 504 container_of(work, struct usb_hub, tt.clear_work); 508 spin_lock_irqsave (&hub->tt.lock, flags); 509 while (--limit && !list_empty (&hub->tt.clear_list)) { 516 next = hub->tt.clear_list.next; 521 spin_unlock_irqrestore (&hub->tt.lock, flags); 522 status = hub_clear_tt_buffer (hdev, clear->devinfo, clear->tt); 525 "clear tt 555 struct usb_tt *tt = udev->tt; local [all...] |
/drivers/scsi/ |
H A D | libiscsi_tcp.c | 246 if (!(tcp_conn->iscsi_conn->session->tt->caps & CAP_PADDING_OFFLOAD)) { 437 !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD)) 695 !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD)) 824 !(conn->session->tt->caps & CAP_DIGEST_OFFLOAD)) { 964 return conn->session->tt->init_pdu(task, 0, task->data_count); 974 err = conn->session->tt->init_pdu(task, 0, task->imm_count); 1036 rc = session->tt->xmit_pdu(task); 1058 rc = conn->session->tt->alloc_pdu(task, ISCSI_OP_SCSI_DATA_OUT); 1067 rc = conn->session->tt->init_pdu(task, r2t->data_offset + r2t->sent,
|
H A D | aha1740.h | 116 tt:2, /* Tag Type */ member in struct:ecb
|
/drivers/isdn/hardware/mISDN/ |
H A D | mISDNisar.c | 1093 int tt; local 1094 tt = isar->cmsb | 0x30; 1095 if (tt == 0x3e) 1096 tt = '*'; 1097 else if (tt == 0x3f) 1098 tt = '#'; 1099 else if (tt > '9') 1100 tt += 7; 1101 tt |= DTMF_TONE_VAL; 1103 MISDN_ID_ANY, sizeof(tt), 1526 char tt = *val & DTMF_TONE_MASK; local [all...] |
/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 1973 lport->tt.rport_logoff(rdata); 2025 lport->tt.rport_flush_queue(); 2314 rdata = lport->tt.rport_create(lport, port_id); 2326 lport->tt.rport_logoff(rdata); 2354 rdata = lport->tt.rport_lookup(lport, port_id); 2443 rdata = lport->tt.rport_lookup(lport, new->ids.port_id); 2452 lport->tt.rport_login(rdata); 2455 kref_put(&rdata->kref, lport->tt.rport_destroy); 2502 lport->tt.rport_logoff(rdata); 2579 lport->tt 2722 fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip, const struct libfc_function_template *tt, int init_fcp) argument [all...] |
/drivers/leds/ |
H A D | leds-tca6507.c | 221 int tt = t + time_codes[c2]; local 223 if (tt < tmin) 225 if (tt > tmax) 228 d = abs(msec - tt);
|
/drivers/video/ |
H A D | atafb.c | 129 } tt, st; member in union:atafb_par::__anon5762 450 { /* tt low */ 454 { /* tt mid */ 458 { /* tt high */ 515 "tt-low", 60, 320, 480, 31041, 120, 100, 8, 16, 140, 30, 519 "tt-mid", 60, 640, 480, 31041, 120, 100, 8, 16, 140, 30, 523 "tt-high", 57, 640, 960, 31041, 120, 100, 8, 16, 140, 30, 558 #define DEFMODE_TT 5 /* "tt-high" for TT */ 600 mode = par->hw.tt.mode & TT_SHIFTER_MODEMASK; 626 par->hw.tt [all...] |
/drivers/isdn/mISDN/ |
H A D | dsp_cmx.c | 1311 int r, rr, t, tt, o_r, o_rr; local 1367 tt = dsp->tx_W; 1386 if (!dsp->tx_mix && t != tt) { 1389 sprintf(debugbuf, "TX sending (%04x-%04x)%p: ", t, tt, p); 1391 while (r != rr && t != tt) { 1418 while (r != rr && t != tt) { 1435 while (r != rr && t != tt) { 1471 while (o_r != o_rr && t != tt) { 1486 while (r != rr && t != tt) { 1519 while (r != rr && t != tt) { [all...] |