| /drivers/macintosh/ |
| A D | therm_adt746x.c | 211 if (th->temps[0] != th->cached_temp[0] in display_stats() 212 || th->temps[1] != th->cached_temp[1] in display_stats() 213 || th->temps[2] != th->cached_temp[2]) { in display_stats() 218 th->temps[0], th->temps[1], th->temps[2], in display_stats() 219 th->limits[0], th->limits[1], th->limits[2], in display_stats() 222 th->cached_temp[0] = th->temps[0]; in display_stats() 223 th->cached_temp[1] = th->temps[1]; in display_stats() 224 th->cached_temp[2] = th->temps[2]; in display_stats() 237 int var = th->temps[i] - th->limits[i]; in update_fans_speed() 535 th->initial_limits[2], th->limits[0], th->limits[1], in probe_thermostat() [all …]
|
| /drivers/hwtracing/intel_th/ |
| A D | core.c | 129 th->thdev[lowest] = th->thdev[i]; in intel_th_remove() 250 ret = th->activate(th); in intel_th_output_activate() 267 th->deactivate(th); in intel_th_output_activate() 291 th->deactivate(th); in intel_th_output_deactivate() 760 th->thdev[th->num_thdevs++] = thdev; in intel_th_output_enable() 799 th->thdev[th->num_thdevs++] = thdev; in intel_th_populate() 871 th = kzalloc(sizeof(*th), GFP_KERNEL); in intel_th_alloc() 872 if (!th) in intel_th_alloc() 928 return th; in intel_th_alloc() 952 if (th->thdev[i] != th->hub) in intel_th_free() [all …]
|
| A D | pci.c | 32 struct pci_dev *pdev = to_pci_dev(th->dev); in intel_th_pci_activate() 36 if (!INTEL_TH_CAP(th, tscu_enable)) in intel_th_pci_activate() 53 struct pci_dev *pdev = to_pci_dev(th->dev); in intel_th_pci_deactivate() 57 if (!INTEL_TH_CAP(th, tscu_enable)) in intel_th_pci_deactivate() 79 struct intel_th *th; in intel_th_pci_probe() local 108 if (IS_ERR(th)) { in intel_th_pci_probe() 109 err = PTR_ERR(th); in intel_th_pci_probe() 113 th->activate = intel_th_pci_activate; in intel_th_pci_probe() 114 th->deactivate = intel_th_pci_deactivate; in intel_th_pci_probe() 127 struct intel_th *th = pci_get_drvdata(pdev); in intel_th_pci_remove() local [all …]
|
| A D | acpi.c | 42 struct intel_th *th; in intel_th_acpi_probe() local 54 th = intel_th_alloc(&pdev->dev, (void *)id->driver_data, resource, r); in intel_th_acpi_probe() 55 if (IS_ERR(th)) in intel_th_acpi_probe() 56 return PTR_ERR(th); in intel_th_acpi_probe() 58 adev->driver_data = th; in intel_th_acpi_probe() 65 struct intel_th *th = platform_get_drvdata(pdev); in intel_th_acpi_remove() local 67 intel_th_free(th); in intel_th_acpi_remove()
|
| /drivers/thermal/ |
| A D | db8500_thermal.c | 87 th->cur_index = idx; in db8500_thermal_update_config() 118 dev_dbg(th->dev, in prcmu_low_irq_handler() 140 dev_dbg(th->dev, in prcmu_high_irq_handler() 157 th = devm_kzalloc(dev, sizeof(*th), GFP_KERNEL); in db8500_thermal_probe() 158 if (!th) in db8500_thermal_probe() 161 th->dev = dev; in db8500_thermal_probe() 169 "dbx500_temp_low", th); in db8500_thermal_probe() 181 "dbx500_temp_high", th); in db8500_thermal_probe() 188 th->tz = devm_thermal_of_zone_register(dev, 0, th, &thdev_ops); in db8500_thermal_probe() 189 if (IS_ERR(th->tz)) { in db8500_thermal_probe() [all …]
|
| /drivers/net/slip/ |
| A D | slhc.c | 276 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress() 277 ! (th->ack)){ in slhc_compress() 359 || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4) != 0)){ in slhc_compress() 369 if(th->urg){ in slhc_compress() 436 if(th->psh) in slhc_compress() 441 csum = th->check; in slhc_compress() 480 if (th->doff > 5) in slhc_compress() 481 memcpy(cs->cs_tcpopt, th+1, ((th->doff) - 5) * 4); in slhc_compress() 691 memcpy(&cs->cs_tcp, th, sizeof(*th)); in slhc_remember() 694 if (th->doff > 5) in slhc_remember() [all …]
|
| /drivers/char/ |
| A D | ds1620.c | 336 struct therm th; in ds1620_proc_therm_show() local 339 ds1620_read_state(&th); in ds1620_proc_therm_show() 343 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_proc_therm_show() 344 th.lo >> 1, th.lo & 1 ? 5 : 0, in ds1620_proc_therm_show() 367 struct therm th, th_start; in ds1620_init() local 381 ds1620_read_state(&th); in ds1620_init() 388 ds1620_write_state(&th); in ds1620_init() 399 ds1620_read_state(&th); in ds1620_init() 404 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_init() 405 th.lo >> 1, th.lo & 1 ? 5 : 0, in ds1620_init()
|
| /drivers/acpi/ |
| A D | prmt.c | 99 struct prm_handler_info *th; in acpi_parse_prmt() local 150 th = &tm->handlers[cur_handler]; in acpi_parse_prmt() 152 guid_copy(&th->guid, (guid_t *)handler_info->handler_guid); in acpi_parse_prmt() 153 th->handler_addr = in acpi_parse_prmt() 154 (void *)efi_pa_va_lookup(&th->guid, handler_info->handler_address); in acpi_parse_prmt() 159 if (unlikely(!th->handler_addr)) in acpi_parse_prmt() 161 &th->guid, handler_info->handler_address); in acpi_parse_prmt() 163 th->static_data_buffer_addr = in acpi_parse_prmt() 172 &th->guid, handler_info->static_data_buffer_address); in acpi_parse_prmt() 174 th->acpi_param_buffer_addr = in acpi_parse_prmt() [all …]
|
| A D | sysfs.c | 445 static int acpi_bert_data_init(void *th, struct acpi_data_attr *data_attr) in acpi_bert_data_init() argument 447 struct acpi_table_bert *bert = th; in acpi_bert_data_init() 461 static int acpi_ccel_data_init(void *th, struct acpi_data_attr *data_attr) in acpi_ccel_data_init() argument 463 struct acpi_table_ccel *ccel = th; in acpi_ccel_data_init() 487 static int acpi_table_data_init(struct acpi_table_header *th) in acpi_table_data_init() argument 493 if (ACPI_COMPARE_NAMESEG(th->signature, acpi_data_objs[i].name)) { in acpi_table_data_init() 500 return acpi_data_objs[i].fn(th, data_attr); in acpi_table_data_init()
|
| /drivers/misc/sgi-gru/ |
| A D | grulib.h | 62 #define CONTEXT_WINDOW_BYTES(th) (GRU_GSEG_PAGESIZE * (th)) argument 63 #define THREAD_POINTER(p, th) (p + GRU_GSEG_PAGESIZE * (th)) argument
|
| /drivers/thermal/st/ |
| A D | stm_thermal.c | 271 int temp, u32 *th) in stm_thermal_calculate_threshold() argument 280 *th = clk_get_rate(sensor->clk) * SAMPLING_TIME / freqM; in stm_thermal_calculate_threshold() 281 if (!*th) in stm_thermal_calculate_threshold() 284 dev_dbg(sensor->dev, "freqM=%d Hz, threshold=0x%x", freqM, *th); in stm_thermal_calculate_threshold() 305 u32 itr1, th; in stm_thermal_set_trips() local 322 ret = stm_thermal_calculate_threshold(sensor, low - 500, &th); in stm_thermal_set_trips() 326 itr1 |= (TS1_HITTHD_MASK & (th << TS1_HITTHD_POS)); in stm_thermal_set_trips() 334 ret = stm_thermal_calculate_threshold(sensor, high, &th); in stm_thermal_set_trips() 338 itr1 |= (TS1_LITTHD_MASK & (th << TS1_LITTHD_POS)); in stm_thermal_set_trips()
|
| /drivers/net/ethernet/wangxun/txgbe/ |
| A D | txgbe_fdir.c | 236 struct tcphdr *th; in txgbe_atr() local 248 th = inner_tcp_hdr(first->skb); in txgbe_atr() 254 th = tcp_hdr(first->skb); in txgbe_atr() 258 if (!th || th->fin) in txgbe_atr() 262 if (!th->syn && ring->atr_count < ring->atr_sample_rate) in txgbe_atr() 280 common.port.src ^= th->dest ^ first->skb->protocol; in txgbe_atr() 282 common.port.src ^= th->dest ^ first->skb->vlan_proto; in txgbe_atr() 284 common.port.src ^= th->dest ^ first->protocol; in txgbe_atr() 285 common.port.dst ^= th->source; in txgbe_atr()
|
| /drivers/platform/surface/aggregator/ |
| A D | Kconfig | 11 embedded controller (EC) found on 5th- and later-generation Microsoft 17 - EC access from ACPI via Surface ACPI Notify (5th- and 6th-generation) 34 Note: While 4th-generation Surface devices also make use of a SAM EC, 36 only 5th and later generations are currently supported. Specifically, 38 SAM-over-HID, which is used on the 4th generation, are currently not
|
| /drivers/pinctrl/aspeed/ |
| A D | Kconfig | 16 Say Y here to enable pin controller support for Aspeed's 4th 24 Say Y here to enable pin controller support for Aspeed's 5th 32 Say Y here to enable pin controller support for Aspeed's 6th
|
| /drivers/net/ethernet/netronome/nfp/crypto/ |
| A D | tls.c | 479 struct tcphdr *th; in nfp_net_tls_rx_resync_req() local 487 th = pkt + req->l4_offset; in nfp_net_tls_rx_resync_req() 489 if ((u8 *)&th[1] > (u8 *)pkt + pkt_len) { in nfp_net_tls_rx_resync_req() 499 iph->saddr, th->source, iph->daddr, in nfp_net_tls_rx_resync_req() 500 th->dest, netdev->ifindex); in nfp_net_tls_rx_resync_req() 505 &ipv6h->saddr, th->source, in nfp_net_tls_rx_resync_req() 506 &ipv6h->daddr, ntohs(th->dest), in nfp_net_tls_rx_resync_req()
|
| /drivers/net/ethernet/fungible/funeth/ |
| A D | funeth_tx.c | 102 static __be16 tcp_hdr_doff_flags(const struct tcphdr *th) in tcp_hdr_doff_flags() argument 104 return *(__be16 *)&tcp_flag_word(th); in tcp_hdr_doff_flags() 159 const struct tcphdr *th; in write_pkt_desc() local 210 th = inner_tcp_hdr(skb); in write_pkt_desc() 211 l4_hlen = __tcp_hdrlen(th); in write_pkt_desc() 214 tcp_hdr_doff_flags(th), 0, in write_pkt_desc() 246 th = tcp_hdr(skb); in write_pkt_desc() 247 l4_hlen = __tcp_hdrlen(th); in write_pkt_desc() 250 tcp_hdr_doff_flags(th), 0, in write_pkt_desc()
|
| /drivers/media/v4l2-core/ |
| A D | v4l2-jpeg.c | 487 u8 tc, th, *table; in jpeg_parse_huffman_tables() local 500 th = tc_th & 0xf; in jpeg_parse_huffman_tables() 502 if (th > 1) in jpeg_parse_huffman_tables() 523 tables[(tc << 1) | th].start = table; in jpeg_parse_huffman_tables() 524 tables[(tc << 1) | th].length = stream->curr - table; in jpeg_parse_huffman_tables()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ktls_rx.c | 490 struct tcphdr *th; in resync_update_sn() local 499 th = (void *)iph + sizeof(struct iphdr); in resync_update_sn() 502 iph->saddr, th->source, iph->daddr, in resync_update_sn() 503 th->dest, netdev->ifindex); in resync_update_sn() 509 th = (void *)ipv6h + sizeof(struct ipv6hdr); in resync_update_sn() 512 &ipv6h->saddr, th->source, in resync_update_sn() 513 &ipv6h->daddr, ntohs(th->dest), in resync_update_sn() 529 seq = th->seq; in resync_update_sn()
|
| /drivers/gpu/drm/msm/disp/ |
| A D | mdp_format.c | 90 alpha, bp, flg, fm, np, th) \ argument 106 .tile_height = th \ 149 flg, fm, np, th) \ argument 165 .tile_height = th \ 188 flg, fm, np, th) \ argument 204 .tile_height = th \
|
| /drivers/platform/surface/ |
| A D | Kconfig | 47 on 5th- and 6th-generation Microsoft Surface devices (including 92 - HID input devices (7th-generation and later models with detachable 116 - Platform profile (performance-/cooling-mode) device (5th- and later 118 - Battery/AC devices (7th-generation). 119 - HID input devices (7th-generation). 208 Provides support for the ACPI platform profile on 5th- and later
|
| /drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| A D | chcr_ktls.c | 1897 struct tcphdr *th; in chcr_ktls_sw_fallback() local 1904 th = tcp_hdr(nskb); in chcr_ktls_sw_fallback() 1935 tcp_seq = ntohl(th->seq); in chcr_ktls_xmit() 1965 if (!th->fin && chcr_ktls_check_tcp_options(th)) { in chcr_ktls_xmit() 2010 ntohs(th->window), in chcr_ktls_xmit() 2019 if (th->fin) in chcr_ktls_xmit() 2036 (!th->fin && th->psh), q, in chcr_ktls_xmit() 2059 (!th->fin && th->psh), q, in chcr_ktls_xmit() 2073 (!th->fin && th->psh), in chcr_ktls_xmit() 2082 if (th->fin) in chcr_ktls_xmit() [all …]
|
| /drivers/ata/ |
| A D | pata_mpc52xx.c | 85 u8 th; member 93 { .t0M = 32, .td = 15, .th = 2, .tj = 2, .tkw = 15, .tm = 4, .tn = 1 }, 94 { .t0M = 10, .td = 6, .th = 1, .tj = 1, .tkw = 4, .tm = 2, .tn = 1 }, 95 { .t0M = 8, .td = 5, .th = 1, .tj = 1, .tkw = 2, .tm = 2, .tn = 1 }, 99 { .t0M = 64, .td = 29, .th = 3, .tj = 3, .tkw = 29, .tm = 7, .tn = 2 }, 100 { .t0M = 20, .td = 11, .th = 2, .tj = 1, .tkw = 7, .tm = 4, .tn = 1 }, 101 { .t0M = 16, .td = 10, .th = 2, .tj = 1, .tkw = 4, .tm = 4, .tn = 1 }, 305 t->mdma2 = ((u32)s->th << 24) | ((u32)s->tj << 16) | ((u32)s->tn << 8); in mpc52xx_ata_compute_mdma_timings()
|
| /drivers/hid/surface-hid/ |
| A D | Kconfig | 15 7th-generation Microsoft Surface devices, i.e. Surface Book 3 and 20 integrated touchpad and keyboard, on 7th generation Microsoft Surface
|
| /drivers/iio/accel/ |
| A D | adxl380.c | 306 unsigned int th) in adxl380_write_act_inact_threshold() argument 311 if (th > ADXL380_THRESH_MAX) in adxl380_write_act_inact_threshold() 314 ret = regmap_write(st->regmap, reg + 1, th & GENMASK(7, 0)); in adxl380_write_act_inact_threshold() 318 ret = regmap_update_bits(st->regmap, reg, GENMASK(2, 0), th >> 8); in adxl380_write_act_inact_threshold() 323 st->act_threshold = th; in adxl380_write_act_inact_threshold() 325 st->inact_threshold = th; in adxl380_write_act_inact_threshold() 332 u16 th) in adxl380_set_act_inact_threshold() argument 343 ret = adxl380_write_act_inact_threshold(st, act, th); in adxl380_set_act_inact_threshold() 350 static int adxl380_set_tap_threshold_value(struct iio_dev *indio_dev, u8 th) in adxl380_set_tap_threshold_value() argument 361 ret = regmap_write(st->regmap, ADXL380_TAP_THRESH_REG, th); in adxl380_set_tap_threshold_value() [all …]
|
| /drivers/s390/net/ |
| A D | ctcm_mpc.h | 106 struct th_header th; member 155 struct th_header *th; member
|