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

12

/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);
96 write_reg(struct thermostat* th, int reg, u8 data) argument
103 rc = i2c_master_send(th->clt, (const char *)tmp, 2);
112 read_reg(struct thermostat* th, int reg) argument
118 rc = i2c_master_send(th->clt, &reg_addr, 1);
123 rc = i2c_master_recv(th->clt, (char *)&data, 1);
162 struct thermostat *th = i2c_get_clientdata(client); local
173 th->limits[0], th
189 read_fan_speed(struct thermostat *th, u8 addr) argument
203 write_both_fan_speed(struct thermostat *th, int speed) argument
210 write_fan_speed(struct thermostat *th, int speed, int fan) argument
260 read_sensors(struct thermostat *th) argument
269 display_stats(struct thermostat *th) argument
288 update_fans_speed(struct thermostat *th) argument
345 struct thermostat* th = arg; local
371 set_limit(struct thermostat *th, int i) argument
384 struct thermostat* th; local
[all...]
/drivers/sfi/
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...]
H A Dsfi_acpi.c83 struct acpi_table_header *th)
85 return (struct sfi_table_header *)th;
89 struct sfi_table_header *th)
91 return (struct acpi_table_header *)th;
99 static int __init sfi_acpi_parse_xsdt(struct sfi_table_header *th) argument
105 xsdt_va = (struct acpi_table_xsdt *)th;
183 struct acpi_table_header *th = NULL; local
191 th = sfi_acpi_get_table(&key);
192 if (!th)
196 th, t
82 acpi_to_sfi_th( struct acpi_table_header *th) argument
88 sfi_to_acpi_th( struct sfi_table_header *th) argument
[all...]
/drivers/misc/sgi-gru/
H A Dgrulib.h62 #define CONTEXT_WINDOW_BYTES(th) (GRU_GSEG_PAGESIZE * (th))
63 #define THREAD_POINTER(p, th) (p + GRU_GSEG_PAGESIZE * (th))
/drivers/char/
H A Dds1620.c336 struct therm th; local
339 ds1620_read_state(&th);
344 th.hi >> 1, th.hi & 1 ? 5 : 0,
345 th.lo >> 1, th.lo & 1 ? 5 : 0,
372 struct therm th, th_start; local
386 ds1620_read_state(&th);
393 ds1620_write_state(&th);
407 ds1620_read_state(&th);
[all...]
/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/staging/rts5139/
H A Drts51x.c783 struct task_struct *th; local
844 th = kthread_run(rts51x_control_thread, chip, RTS51X_CTL_THREAD);
845 if (IS_ERR(th)) {
848 result = PTR_ERR(th);
851 rts51x->ctl_thread = th;
860 th = kthread_create(rts51x_scan_thread, chip, RTS51X_SCAN_THREAD);
861 if (IS_ERR(th)) {
866 result = PTR_ERR(th);
870 wake_up_process(th);
876 th
[all...]
/drivers/staging/keucr/
H A Dusb.c442 struct task_struct *th; local
453 th = kthread_run(usb_stor_control_thread, us, "eucr-storage");
454 if (IS_ERR(th))
457 return PTR_ERR(th);
459 us->ctl_thread = th;
585 struct task_struct *th; local
640 th = kthread_create(usb_stor_scan_thread, us, "eucr-stor-scan");
641 if (IS_ERR(th)) {
645 result = PTR_ERR(th);
648 wake_up_process(th);
[all...]
/drivers/staging/rts_pstor/
H A Drtsx.c903 struct task_struct *th; local
1009 th = kthread_run(rtsx_control_thread, dev, CR_DRIVER_NAME);
1010 if (IS_ERR(th)) {
1012 err = PTR_ERR(th);
1015 dev->ctl_thread = th;
1024 th = kthread_create(rtsx_scan_thread, dev, "rtsx-scan");
1025 if (IS_ERR(th)) {
1029 err = PTR_ERR(th);
1033 wake_up_process(th);
1036 th
[all...]
/drivers/s390/net/
H A Dctcm_mpc.h107 struct th_header th; member in struct:th_sweep
156 struct th_header *th; member in struct:mpcg_info
H A Dctcm_main.c636 header->th.th_seg = 0x00 ;
637 header->th.th_ch_flag = TH_SWEEP_REQ; /* 0x0f */
638 header->th.th_blk_flag = 0x00;
639 header->th.th_is_xid = 0x00;
640 header->th.th_seq_num = 0x00;
1415 * 9: write th
1417 * 11: read th from secondary
1423 * 9: read th
1425 * 11: write th
H A Dctcm_mpc.c283 ctcm_pr_debug("th->seg : %02x\n", header->th_seg);
284 ctcm_pr_debug("th->ch : %02x\n", header->th_ch_flag);
285 ctcm_pr_debug("th->blk_flag: %02x\n", header->th_blk_flag);
286 ctcm_pr_debug("th->type : %s\n",
288 ctcm_pr_debug("th->seqnum : %04x\n", header->th_seq_num);
677 header->th.th_seg = 0x00 ;
678 header->th.th_ch_flag = TH_SWEEP_RESP;
679 header->th.th_blk_flag = 0x00;
680 header->th.th_is_xid = 0x00;
681 header->th
[all...]
/drivers/ata/
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);
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));
/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/usb/storage/
H A Dusb.c749 struct task_struct *th; local
766 th = kthread_run(usb_stor_control_thread, us, "usb-storage");
767 if (IS_ERR(th)) {
770 return PTR_ERR(th);
772 us->ctl_thread = th;
/drivers/net/xen-netback/
H A Dnetback.c1119 unsigned char *th; local
1143 th = skb->data + 4 * iph->ihl;
1144 if (th >= skb_tail_pointer(skb))
1147 skb->csum_start = th - skb->head;
1153 struct tcphdr *tcph = (struct tcphdr *)th;
1163 struct udphdr *udph = (struct udphdr *)th;
1177 if ((th + skb->csum_offset + 2) > skb_tail_pointer(skb))
/drivers/net/
H A Dxen-netfront.c793 unsigned char *th; local
818 th = skb->data + 4 * iph->ihl;
819 if (th >= skb_tail_pointer(skb))
822 skb->csum_start = th - skb->head;
828 struct tcphdr *tcph = (struct tcphdr *)th;
838 struct udphdr *udph = (struct udphdr *)th;
852 if ((th + skb->csum_offset + 2) > skb_tail_pointer(skb))
/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c1610 struct tcphdr *th; local
1653 th = (struct tcphdr *)((skb->data + vhdr_len) + (iph->ihl << 2));
1655 length = (iph->ihl << 2) + (th->doff << 2) + lro_length;
1659 th->psh = push;
1660 th->seq = htonl(seq_number);
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_init.c1598 struct tcphdr *th; local
1646 th = (struct tcphdr *)(skb->data + (iph->ihl << 2));
1648 length = (iph->ihl << 2) + (th->doff << 2) + lro_length;
1652 th->psh = push;
1653 th->seq = htonl(seq_number);
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_softmac.c1651 u32 th,tl; local
1671 sleep = ieee80211_sta_ps_sleep(ieee,&th, &tl);
1680 ieee->enter_sleep_state(ieee->dev,th,tl);
1695 ieee->ps_th = th;
H A Dieee80211.h1169 void (*enter_sleep_state) (struct net_device *dev, u32 th, u32 tl);
/drivers/net/ethernet/tile/
H A Dtilepro.c399 * assume that the low SIX bits are zero, and the 7th bit is one, that
1773 struct tcphdr *th = (struct tcphdr *)(nh + ih_len); local
1774 unsigned int th_len = th->doff * 4;
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c6048 struct tcphdr *th; local
6071 th = tcp_hdr(first->skb);
6074 if (!th || th->fin)
6078 if (!th->syn && (ring->atr_count < ring->atr_sample_rate))
6100 common.port.src ^= th->dest ^ __constant_htons(ETH_P_8021Q);
6102 common.port.src ^= th->dest ^ first->protocol;
6103 common.port.dst ^= th->source;
/drivers/net/ethernet/neterion/vxge/
H A Dvxge-main.c631 struct tcphdr *th; local
636 th = (struct tcphdr *)(((unsigned char *)ip) +
640 counter = (ntohs(th->source) +
641 ntohs(th->dest)) &

Completed in 544 milliseconds

12