Searched defs:th (Results 1 - 25 of 32) sorted by relevance

12

/drivers/sfi/
H A Dsfi_acpi.c81 struct acpi_table_header *th)
83 return (struct sfi_table_header *)th;
87 struct sfi_table_header *th)
89 return (struct acpi_table_header *)th;
97 static int __init sfi_acpi_parse_xsdt(struct sfi_table_header *th) argument
103 xsdt_va = (struct acpi_table_xsdt *)th;
181 struct acpi_table_header *th = NULL; local
189 th = sfi_acpi_get_table(&key);
190 if (!th)
194 th, t
80 acpi_to_sfi_th( struct acpi_table_header *th) argument
86 sfi_to_acpi_th( struct sfi_table_header *th) argument
[all...]
H A Dsfi_core.c166 struct sfi_table_header *th; local
170 th = sfi_map_memory(pa, sizeof(struct sfi_table_header));
172 th = (void *)syst_va + (pa - syst_pa);
175 if (TABLE_ON_PAGE(th, th, th->len))
176 return th;
179 length = th->len;
181 sfi_unmap_memory(th, sizeof(struct sfi_table_header));
192 void sfi_unmap_table(struct sfi_table_header *th) argument
199 sfi_table_check_key(struct sfi_table_header *th, struct sfi_table_key *key) argument
233 struct sfi_table_header *th; local
261 struct sfi_table_header *th; local
274 sfi_put_table(struct sfi_table_header *th) argument
395 struct sfi_table_header *th = NULL; local
421 struct sfi_table_header *th; local
[all...]
/drivers/thermal/st/
H A Dst_thermal.c114 static int st_thermal_get_temp(struct thermal_zone_device *th, argument
117 struct st_thermal_sensor *sensor = th->devdata;
143 static int st_thermal_get_trip_type(struct thermal_zone_device *th, argument
146 struct st_thermal_sensor *sensor = th->devdata;
161 static int st_thermal_get_trip_temp(struct thermal_zone_device *th, argument
164 struct st_thermal_sensor *sensor = th->devdata;
/drivers/net/slip/
H A Dslhc.c235 struct tcphdr *th, *oth; local
259 th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4);
260 hlen = ip->ihl*4 + th->doff*4;
266 if(hlen > isize || th->syn || th->fin || th->rst ||
267 ! (th->ack)){
289 && th->source == cs->cs_tcp.source
290 && th->dest == cs->cs_tcp.dest)
347 || th
[all...]
/drivers/parport/
H A Ddaisy.c96 static const char *th[] = { /*0*/"th", "st", "nd", "rd", "th" }; local
128 extra->name, i + 1, th[i + 1], num_ports,
/drivers/staging/lustre/lustre/obdclass/
H A Dllog_cat.c64 struct thandle *th)
85 rc = llog_create(env, loghandle, th);
132 &loghandle->u.phd.phd_cookie, 1, NULL, index, th);
268 struct thandle *th)
326 void *buf, struct thandle *th)
332 loghandle = llog_cat_current_log(cathandle, th);
337 rc = llog_cat_new_log(env, cathandle, loghandle, th);
344 rc = llog_write_rec(env, loghandle, rec, reccookie, 1, buf, -1, th);
351 loghandle = llog_cat_current_log(cathandle, th);
355 rc = llog_cat_new_log(env, cathandle, loghandle, th);
61 llog_cat_new_log(const struct lu_env *env, struct llog_handle *cathandle, struct llog_handle *loghandle, struct thandle *th) argument
267 llog_cat_current_log(struct llog_handle *cathandle, struct thandle *th) argument
324 llog_cat_add_rec(const struct lu_env *env, struct llog_handle *cathandle, struct llog_rec_hdr *rec, struct llog_cookie *reccookie, void *buf, struct thandle *th) argument
373 llog_cat_declare_add_rec(const struct lu_env *env, struct llog_handle *cathandle, struct llog_rec_hdr *rec, struct thandle *th) argument
442 struct thandle *th = NULL; local
[all...]
H A Dllog.c603 struct llog_handle *loghandle, struct thandle *th)
617 rc = lop->lop_declare_create(env, loghandle, th);
625 struct thandle *th)
639 rc = lop->lop_create(env, handle, th);
649 struct thandle *th)
664 rc = lop->lop_declare_write_rec(env, handle, rec, idx, th);
673 int numcookies, void *buf, int idx, struct thandle *th)
697 buf, idx, th);
706 void *buf, struct thandle *th)
716 rc = lgh->lgh_logops->lop_add(env, lgh, rec, logcookies, buf, th);
602 llog_declare_create(const struct lu_env *env, struct llog_handle *loghandle, struct thandle *th) argument
624 llog_create(const struct lu_env *env, struct llog_handle *handle, struct thandle *th) argument
646 llog_declare_write_rec(const struct lu_env *env, struct llog_handle *handle, struct llog_rec_hdr *rec, int idx, struct thandle *th) argument
671 llog_write_rec(const struct lu_env *env, struct llog_handle *handle, struct llog_rec_hdr *rec, struct llog_cookie *logcookies, int numcookies, void *buf, int idx, struct thandle *th) argument
704 llog_add(const struct lu_env *env, struct llog_handle *lgh, struct llog_rec_hdr *rec, struct llog_cookie *logcookies, void *buf, struct thandle *th) argument
723 llog_declare_add(const struct lu_env *env, struct llog_handle *lgh, struct llog_rec_hdr *rec, struct thandle *th) argument
750 struct thandle *th; local
822 struct thandle *th; local
[all...]
H A Ddt_object.c81 struct dt_device *dev, struct thandle *th)
86 if (th->th_local)
93 rc = cb->dtc_txn_start(env, th, cb->dtc_cookie);
375 struct thandle *th; local
386 th = dt_trans_create(env, dt);
387 if (IS_ERR(th)) {
388 rc = PTR_ERR(th);
392 rc = dt_declare_create(env, dto, at, NULL, dof, th);
396 rc = dt_trans_start_local(env, dt, th);
408 rc = dt_create(env, dto, at, NULL, dof, th);
80 dt_txn_hook_start(const struct lu_env *env, struct dt_device *dev, struct thandle *th) argument
489 dt_record_write(const struct lu_env *env, struct dt_object *dt, const struct lu_buf *buf, loff_t *pos, struct thandle *th) argument
507 dt_declare_version_set(const struct lu_env *env, struct dt_object *o, struct thandle *th) argument
521 dt_version_set(const struct lu_env *env, struct dt_object *o, dt_obj_version_t version, struct thandle *th) argument
[all...]
/drivers/staging/rts5208/
H A Drtsx.c860 struct task_struct *th; local
968 th = kthread_run(rtsx_control_thread, dev, CR_DRIVER_NAME);
969 if (IS_ERR(th)) {
971 err = PTR_ERR(th);
974 dev->ctl_thread = th;
983 th = kthread_run(rtsx_scan_thread, dev, "rtsx-scan");
984 if (IS_ERR(th)) {
988 err = PTR_ERR(th);
993 th = kthread_run(rtsx_polling_thread, dev, "rtsx-polling");
994 if (IS_ERR(th)) {
[all...]
/drivers/char/
H A Dds1620.c335 struct therm th; local
338 ds1620_read_state(&th);
342 th.hi >> 1, th.hi & 1 ? 5 : 0,
343 th.lo >> 1, th.lo & 1 ? 5 : 0,
379 struct therm th, th_start; local
393 ds1620_read_state(&th);
400 ds1620_write_state(&th);
411 ds1620_read_state(&th);
[all...]
/drivers/macintosh/
H A Dtherm_adt746x.c90 static void write_both_fan_speed(struct thermostat *th, int speed);
91 static void write_fan_speed(struct thermostat *th, int speed, int fan);
94 write_reg(struct thermostat* th, int reg, u8 data) argument
101 rc = i2c_master_send(th->clt, (const char *)tmp, 2);
110 read_reg(struct thermostat* th, int reg) argument
116 rc = i2c_master_send(th->clt, &reg_addr, 1);
121 rc = i2c_master_recv(th->clt, (char *)&data, 1);
127 static int read_fan_speed(struct thermostat *th, u8 addr) argument
133 tmp[1] = read_reg(th, addr);
134 tmp[0] = read_reg(th, add
141 write_both_fan_speed(struct thermostat *th, int speed) argument
148 write_fan_speed(struct thermostat *th, int speed, int fan) argument
198 read_sensors(struct thermostat *th) argument
207 display_stats(struct thermostat *th) argument
226 update_fans_speed(struct thermostat *th) argument
283 struct thermostat* th = arg; local
309 set_limit(struct thermostat *th, int i) argument
414 thermostat_create_files(struct thermostat *th) argument
445 thermostat_remove_files(struct thermostat *th) argument
471 struct thermostat* th; local
568 struct thermostat *th = i2c_get_clientdata(client); local
[all...]
/drivers/usb/storage/
H A Dusb.c768 struct task_struct *th; local
785 th = kthread_run(usb_stor_control_thread, us, "usb-storage");
786 if (IS_ERR(th)) {
789 return PTR_ERR(th);
791 us->ctl_thread = th;
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c776 unsigned char *th; local
789 th = skb_inner_transport_header(skb);
791 th = skb_transport_header(skb);
795 hdrlen = (th - skb->data) + (((struct tcphdr *)th)->doff << 2);
/drivers/s390/net/
H A Dctcm_mpc.h105 struct th_header th; member in struct:th_sweep
154 struct th_header *th; member in struct:mpcg_info
/drivers/ata/
H A Dpata_bf54x.c374 unsigned short tm, td, tkr, tkw, teoc, th; local
462 th = num_clocks_min(mdma_thmin[mode], fsclk);
466 ATAPI_SET_MULTI_TIM_2(base, (teoc<<8 | th));
H A Dpata_mpc52xx.c83 u8 th; member in struct:mdmaspec
91 { .t0M = 32, .td = 15, .th = 2, .tj = 2, .tkw = 15, .tm = 4, .tn = 1 },
92 { .t0M = 10, .td = 6, .th = 1, .tj = 1, .tkw = 4, .tm = 2, .tn = 1 },
93 { .t0M = 8, .td = 5, .th = 1, .tj = 1, .tkw = 2, .tm = 2, .tn = 1 },
97 { .t0M = 64, .td = 29, .th = 3, .tj = 3, .tkw = 29, .tm = 7, .tn = 2 },
98 { .t0M = 20, .td = 11, .th = 2, .tj = 1, .tkw = 7, .tm = 4, .tn = 1 },
99 { .t0M = 16, .td = 10, .th = 2, .tj = 1, .tkw = 4, .tm = 4, .tn = 1 },
303 t->mdma2 = ((u32)s->th << 24) | ((u32)s->tj << 16) | ((u32)s->tn << 8);
/drivers/gpu/drm/radeon/
H A Dr600_dpm.c218 int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th) argument
233 *th = t - ah;
/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c1658 struct tcphdr *th; local
1690 th = (struct tcphdr *)(hdr.network + hlen);
1693 if (th->syn && (pf->auto_disable_flags & I40E_FLAG_FD_ATR_ENABLED))
1699 if (!th->fin &&
1700 !th->syn &&
1701 !th->rst &&
1726 dtype_cmd |= (th->fin || th->rst) ?
2199 * 4th descriptor (WB_STRIDE aka 0x3) in a 64B cacheline.
/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c1599 struct tcphdr *th; local
1642 th = (struct tcphdr *)((skb->data + vhdr_len) + (iph->ihl << 2));
1644 length = (iph->ihl << 2) + (th->doff << 2) + lro_length;
1647 th->psh = push;
1648 th->seq = htonl(seq_number);
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c1260 struct tcphdr *th; local
1312 th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr));
1313 length = (th->doff << 2) + lro_length;
1317 th = (struct tcphdr *)(skb->data + (iph->ihl << 2));
1318 length = (iph->ihl << 2) + (th->doff << 2) + lro_length;
1323 th->psh = push;
1324 th->seq = htonl(seq_number);
1782 struct tcphdr *th; local
1834 th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr));
1836 length = (th
[all...]
/drivers/net/ethernet/tile/
H A Dtilegx.c1726 struct tcphdr *th; local
1754 th = tcp_hdr(skb);
1758 tsum_seed = th->check + (0xFFFF ^ htons(skb->len));
1759 seq = ntohl(th->seq);
1785 th = (struct tcphdr *)(buf + th_off);
1786 th->seq = htonl(seq);
1787 th->check = csum_long(tsum_seed + htons(sh_len + p_len));
1789 th->fin = 0;
1790 th->psh = 0;
H A Dtilepro.c394 * assume that the low SIX bits are zero, and the 7th bit is one, that
1693 struct tcphdr *th = (struct tcphdr *)(nh + ih_len); local
1694 unsigned int th_len = th->doff * 4;
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_softmac.c1782 u32 th, tl; local
1801 sleep = ieee80211_sta_ps_sleep(ieee,&th, &tl);
1809 ieee->enter_sleep_state(ieee->dev, th, tl);
1824 ieee->ps_th = th;
/drivers/net/ethernet/neterion/vxge/
H A Dvxge-main.c636 struct tcphdr *th; local
641 th = (struct tcphdr *)(((unsigned char *)ip) +
645 counter = (ntohs(th->source) +
646 ntohs(th->dest)) &
/drivers/staging/lustre/lustre/include/
H A Ddt_object.h99 typedef void (*dt_cb_t)(struct lu_env *env, struct thandle *th,
133 struct dt_device *dev, struct thandle *th);
138 struct thandle *th);
142 int (*dt_trans_cb_add)(struct thandle *th,
394 struct thandle *th);
399 struct thandle *th);
408 struct thandle *th);
410 struct thandle *th);
428 struct dt_object *dt, struct thandle *th);
430 struct dt_object *dt, struct thandle *th);
943 dt_trans_start(const struct lu_env *env, struct dt_device *d, struct thandle *th) argument
951 dt_trans_start_local(const struct lu_env *env, struct dt_device *d, struct thandle *th) argument
959 dt_trans_stop(const struct lu_env *env, struct dt_device *d, struct thandle *th) argument
966 dt_trans_cb_add(struct thandle *th, struct dt_txn_commit_cb *dcb) argument
976 dt_declare_record_write(const struct lu_env *env, struct dt_object *dt, int size, loff_t pos, struct thandle *th) argument
991 dt_declare_create(const struct lu_env *env, struct dt_object *dt, struct lu_attr *attr, struct dt_allocation_hint *hint, struct dt_object_format *dof, struct thandle *th) argument
1004 dt_create(const struct lu_env *env, struct dt_object *dt, struct lu_attr *attr, struct dt_allocation_hint *hint, struct dt_object_format *dof, struct thandle *th) argument
1017 dt_declare_destroy(const struct lu_env *env, struct dt_object *dt, struct thandle *th) argument
1027 dt_destroy(const struct lu_env *env, struct dt_object *dt, struct thandle *th) argument
1093 dt_declare_attr_set(const struct lu_env *env, struct dt_object *dt, const struct lu_attr *la, struct thandle *th) argument
1104 dt_attr_set(const struct lu_env *env, struct dt_object *dt, const struct lu_attr *la, struct thandle *th, struct lustre_capa *capa) argument
1114 dt_declare_ref_add(const struct lu_env *env, struct dt_object *dt, struct thandle *th) argument
1123 dt_ref_add(const struct lu_env *env, struct dt_object *dt, struct thandle *th) argument
1132 dt_declare_ref_del(const struct lu_env *env, struct dt_object *dt, struct thandle *th) argument
1141 dt_ref_del(const struct lu_env *env, struct dt_object *dt, struct thandle *th) argument
1190 dt_declare_write_commit(const struct lu_env *env, struct dt_object *d, struct niobuf_local *lnb, int n, struct thandle *th) argument
1201 dt_write_commit(const struct lu_env *env, struct dt_object *d, struct niobuf_local *lnb, int n, struct thandle *th) argument
1220 dt_declare_punch(const struct lu_env *env, struct dt_object *dt, __u64 start, __u64 end, struct thandle *th) argument
1230 dt_punch(const struct lu_env *env, struct dt_object *dt, __u64 start, __u64 end, struct thandle *th, struct lustre_capa *capa) argument
1295 dt_declare_insert(const struct lu_env *env, struct dt_object *dt, const struct dt_rec *rec, const struct dt_key *key, struct thandle *th) argument
1307 dt_insert(const struct lu_env *env, struct dt_object *dt, const struct dt_rec *rec, const struct dt_key *key, struct thandle *th, struct lustre_capa *capa, int noquota) argument
1322 dt_declare_xattr_del(const struct lu_env *env, struct dt_object *dt, const char *name, struct thandle *th) argument
1333 dt_xattr_del(const struct lu_env *env, struct dt_object *dt, const char *name, struct thandle *th, struct lustre_capa *capa) argument
1344 dt_declare_xattr_set(const struct lu_env *env, struct dt_object *dt, const struct lu_buf *buf, const char *name, int fl, struct thandle *th) argument
1356 dt_xattr_set(const struct lu_env *env, struct dt_object *dt, const struct lu_buf *buf, const char *name, int fl, struct thandle *th, struct lustre_capa *capa) argument
1387 dt_declare_delete(const struct lu_env *env, struct dt_object *dt, const struct dt_key *key, struct thandle *th) argument
1398 dt_delete(const struct lu_env *env, struct dt_object *dt, const struct dt_key *key, struct thandle *th, struct lustre_capa *capa) argument
[all...]

Completed in 531 milliseconds

12