/drivers/hwmon/ |
D | fschmd.c | 277 enum chips kind; member 341 if (data->kind == fscher || data->kind >= fschrc) in show_in_value() 386 FSCHMD_REG_TEMP_LIMIT[data->kind][index], v); in store_temp_max() 475 FSCHMD_REG_FAN_RIPPLE[data->kind][index]); in store_fan_div() 482 FSCHMD_REG_FAN_RIPPLE[data->kind][index], reg); in store_fan_div() 524 if (val || data->kind == fscsyl) in show_pwm_auto_point1_pwm() 543 if (v || data->kind == fscsyl) { in store_pwm_auto_point1_pwm() 551 FSCHMD_REG_FAN_MIN[data->kind][index], v); in store_pwm_auto_point1_pwm() 716 int kind = data->kind + 1; /* 0-x array index -> 1-x module param */ in watchdog_set_timeout() local 719 if (timeout <= 510 || kind == fscpos || kind == fscscy) in watchdog_set_timeout() [all …]
|
D | tmp401.c | 163 enum chips kind; member 203 int num_regs = data->kind == tmp411 ? 6 : 4; in tmp401_update_device_reg16() 204 int num_sensors = data->kind == tmp432 ? 3 : 2; in tmp401_update_device_reg16() 213 regaddr = data->kind == tmp432 ? in tmp401_update_device_reg16() 222 regaddr = data->kind == tmp432 ? TMP432_TEMP_LSB[j][i] in tmp401_update_device_reg16() 246 if (data->kind != tmp432) { in tmp401_update_device() 367 regaddr = data->kind == tmp432 ? TMP432_TEMP_MSB_WRITE[nr][index] in store_temp() 371 regaddr = data->kind == tmp432 ? TMP432_TEMP_LSB[nr][index] in store_temp() 642 enum chips kind; in tmp401_detect() local 660 kind = tmp401; in tmp401_detect() [all …]
|
D | lm90.c | 375 int kind; member 482 if (data->kind == max6696) { in lm90_select_remote_channel() 585 if (data->kind == max6696) { in lm90_update_device() 769 if (data->kind == adt7461 || data->kind == tmp451) in show_temp8() 771 else if (data->kind == max6646) in show_temp8() 777 if (data->kind == lm99 && attr->index == 3) in show_temp8() 809 if (data->kind == lm99 && attr->index == 3) in set_temp8() 813 if (data->kind == adt7461 || data->kind == tmp451) in set_temp8() 815 else if (data->kind == max6646) in set_temp8() 835 if (data->kind == adt7461 || data->kind == tmp451) in show_temp11() [all …]
|
D | w83627ehf.c | 515 enum kinds kind; member 678 if (sio_data->kind == nct6776) in w83627ehf_write_fan_div_common() 680 else if (sio_data->kind == nct6775) in w83627ehf_write_fan_div_common() 729 if (sio_data->kind == nct6776) in w83627ehf_update_fan_div_common() 731 else if (sio_data->kind == nct6775) in w83627ehf_update_fan_div_common() 786 if (sio_data->kind == nct6775 || sio_data->kind == nct6776) in w83627ehf_update_pwm_common() 840 && (reg >= 0xff || (sio_data->kind == nct6775 in w83627ehf_update_device() 1409 if (sio_data->kind == nct6776 && nr && val != 1) in show_pwm_reg() 1465 if (sio_data->kind == nct6776 && val == 4) in store_pwm_enable() 1470 if (sio_data->kind == nct6775 || sio_data->kind == nct6776) { in store_pwm_enable() [all …]
|
D | tmp421.c | 236 enum chips kind; in tmp421_detect() local 261 kind = tmp421; in tmp421_detect() 266 kind = tmp422; in tmp421_detect() 271 kind = tmp423; in tmp421_detect() 274 kind = tmp441; in tmp421_detect() 279 kind = tmp442; in tmp421_detect() 285 strlcpy(info->type, tmp421_id[kind].name, I2C_NAME_SIZE); in tmp421_detect() 287 names[kind], client->addr); in tmp421_detect()
|
D | ds1621.c | 127 enum chips kind; /* device type */ member 172 switch (data->kind) { in ds1621_init_client() 348 if (data->kind == ds1621 || data->kind == ds1625) in ds1621_attribute_visible() 373 data->kind = id->driver_data; in ds1621_probe()
|
D | f75375s.c | 100 int kind; member 184 if (data->kind == f75387) in f75375_write_pwm() 233 if (data->kind == f75387) in f75375_update_device() 334 if (data->kind == f75387 && duty_mode_enabled(data->pwm_enable[nr])) in set_fan_target() 385 if (data->kind == f75387) { in set_pwm_enable_direct() 478 if (data->kind == f75373 && val == 0) in set_pwm_mode() 482 if (data->kind == f75387) { in set_pwm_mode() 779 if (data->kind == f75387) { in f75375_init() 849 data->kind = id->driver_data; in f75375_probe() 855 if (data->kind != f75373) { in f75375_probe()
|
D | lm63.c | 158 enum chips kind; member 289 if (data->kind == lm96163) in lm63_update_device() 952 && (data->kind == lm64 || in lm63_attribute_mode() 953 (data->kind == lm96163 && (data->config & 0x02)))) in lm63_attribute_mode() 1046 if (data->kind == lm64) in lm63_init_client() 1054 switch (data->kind) { in lm63_init_client() 1078 if (data->kind == lm96163) { in lm63_init_client() 1092 if (data->kind == lm63) in lm63_init_client() 1120 data->kind = id->driver_data; in lm63_probe() 1121 if (data->kind == lm64) in lm63_probe() [all …]
|
D | ina2xx.c | 88 int kind; member 246 data->kind = id->driver_data; in ina2xx_probe() 247 data->config = &ina2xx_config[data->kind]; in ina2xx_probe()
|
D | nct6775.c | 739 enum kinds kind; member 888 enum kinds kind; member 1023 switch (data->kind) { in is_word_sized() 1159 if (data->kind == nct6775) in nct6775_write_fan_div_common() 1178 if (data->kind == nct6775) in nct6775_update_fan_div_common() 1387 switch (data->kind) { in nct6775_update_pwm_limits() 1897 if (nr == 5 && data->kind != nct6775) in nct6775_fan_is_visible() 2329 if (val == sf3 && data->kind != nct6775) in store_pwm_enable() 2769 if (data->kind != nct6775 && !val) in store_auto_pwm() 2771 if (data->kind != nct6779 && val) in store_auto_pwm() [all …]
|
D | w83781d.c | 869 enum chips kind = data->type; in w83781d_detect_subclients() local 894 if (kind != w83783s) { in w83781d_detect_subclients() 1034 w83781d_create_files(struct device *dev, int kind, int is_isa) in w83781d_create_files() argument 1042 if (kind != w83783s) { in w83781d_create_files() 1047 if (kind != as99127f && kind != w83781d && kind != w83783s) { in w83781d_create_files() 1052 if (kind != w83783s) { in w83781d_create_files() 1057 if (kind != w83781d) { in w83781d_create_files() 1066 if (kind != w83781d && kind != as99127f) { in w83781d_create_files() 1071 if (kind == w83782d && !is_isa) { in w83781d_create_files() 1077 if (kind != as99127f && kind != w83781d) { in w83781d_create_files() [all …]
|
/drivers/staging/comedi/drivers/ |
D | serial2002.c | 63 enum { is_invalid, is_digital, is_channel } kind; member 269 result.kind = is_invalid; in serial2002_read() 286 result.kind = is_digital; in serial2002_read() 290 result.kind = is_digital; in serial2002_read() 296 result.kind = is_channel; in serial2002_read() 308 if (data.kind == is_digital) { in serial2002_write() 341 short int kind; member 351 int kind) in serial2002_setup_subdevice() argument 358 if (cfg[j].kind == kind) in serial2002_setup_subdevice() 372 if (kind == 1 || kind == 2) { in serial2002_setup_subdevice() [all …]
|
/drivers/gpu/drm/nouveau/core/engine/dmaobj/ |
D | nv50.c | 96 u32 user, part, comp, kind; in nv50_dmaobj_ctor() local 110 args->v0.kind); in nv50_dmaobj_ctor() 114 kind = args->v0.kind; in nv50_dmaobj_ctor() 121 kind = NV50_DMA_V0_KIND_PITCH; in nv50_dmaobj_ctor() 126 kind = NV50_DMA_V0_KIND_VM; in nv50_dmaobj_ctor() 131 if (user > 2 || part > 2 || comp > 3 || kind > 0x7f) in nv50_dmaobj_ctor() 133 priv->flags0 = (comp << 29) | (kind << 22) | (user << 20); in nv50_dmaobj_ctor()
|
D | nvd0.c | 89 u32 kind, page; in nvd0_dmaobj_ctor() local 101 args->v0.version, args->v0.page, args->v0.kind); in nvd0_dmaobj_ctor() 102 kind = args->v0.kind; in nvd0_dmaobj_ctor() 107 kind = GF110_DMA_V0_KIND_PITCH; in nvd0_dmaobj_ctor() 110 kind = GF110_DMA_V0_KIND_VM; in nvd0_dmaobj_ctor() 118 priv->flags0 = (kind << 20) | (page << 6); in nvd0_dmaobj_ctor()
|
D | nvc0.c | 85 u32 kind, user, unkn; in nvc0_dmaobj_ctor() local 97 args->v0.version, args->v0.priv, args->v0.kind); in nvc0_dmaobj_ctor() 98 kind = args->v0.kind; in nvc0_dmaobj_ctor() 104 kind = GF100_DMA_V0_KIND_PITCH; in nvc0_dmaobj_ctor() 108 kind = GF100_DMA_V0_KIND_VM; in nvc0_dmaobj_ctor() 117 priv->flags0 |= (kind << 22) | (user << 20); in nvc0_dmaobj_ctor()
|
/drivers/ata/ |
D | pata_macio.c | 227 int kind; member 373 if (priv->kind == controller_sh_ata6 || in pata_macio_apply_timings() 374 priv->kind == controller_un_ata6 || in pata_macio_apply_timings() 375 priv->kind == controller_k2_ata6) { in pata_macio_apply_timings() 446 switch(priv->kind) { in pata_macio_default_timings() 477 if (priv->kind == controller_kl_ata4 || in pata_macio_cable_detect() 478 priv->kind == controller_un_ata6 || in pata_macio_cable_detect() 479 priv->kind == controller_k2_ata6 || in pata_macio_cable_detect() 480 priv->kind == controller_sh_ata6) { in pata_macio_cable_detect() 603 if (priv->kind == controller_kl_ata4 && in pata_macio_bmdma_setup() [all …]
|
/drivers/net/ethernet/tile/ |
D | tilegx.c | 359 static bool tile_net_provide_buffer(int instance, int kind) in tile_net_provide_buffer() argument 362 gxio_mpipe_buffer_size_enum_t bse = buffer_size_enums[kind]; in tile_net_provide_buffer() 383 gxio_mpipe_push_buffer(&md->context, md->first_buffer_stack + kind, in tile_net_provide_buffer() 427 int instance, kind; in tile_net_provide_needed_buffers() local 430 for (kind = 0; kind < MAX_KINDS; kind++) { in tile_net_provide_needed_buffers() 431 while (info->mpipe[instance].num_needed_buffers[kind] in tile_net_provide_needed_buffers() 433 if (!tile_net_provide_buffer(instance, kind)) { in tile_net_provide_needed_buffers() 440 num_needed_buffers[kind]--; in tile_net_provide_needed_buffers() 999 int kind, size_t num_buffers) in create_buffer_stack() argument 1005 int stack_idx = md->first_buffer_stack + kind; in create_buffer_stack() [all …]
|
/drivers/ide/ |
D | pmac.c | 59 int kind; member 457 if (pmif->kind == controller_sh_ata6 || in pmac_ide_do_update_timings() 458 pmif->kind == controller_un_ata6 || in pmac_ide_do_update_timings() 459 pmif->kind == controller_k2_ata6) in pmac_ide_do_update_timings() 514 switch (pmif->kind) { in pmac_ide_set_pio_mode() 794 if (pmif->kind == controller_kl_ata4) in pmac_ide_set_dma_mode() 796 else if (pmif->kind == controller_un_ata6 in pmac_ide_set_dma_mode() 797 || pmif->kind == controller_k2_ata6) in pmac_ide_set_dma_mode() 799 else if (pmif->kind == controller_sh_ata6) in pmac_ide_set_dma_mode() 804 set_timings_mdma(drive, pmif->kind, &tl[0], &tl[1], speed); in pmac_ide_set_dma_mode() [all …]
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv17.c | 305 if (tv_norm->kind == CTV_ENC_MODE) in nv17_tv_get_modes() 316 if (tv_norm->kind == CTV_ENC_MODE) { in nv17_tv_mode_valid() 361 if (tv_norm->kind == CTV_ENC_MODE) in nv17_tv_mode_fixup() 386 if (tv_norm->kind == CTV_ENC_MODE) { in nv17_tv_dpms() 423 if (tv_norm->kind == CTV_ENC_MODE) { in nv17_tv_prepare() 440 if (tv_norm->kind == CTV_ENC_MODE) in nv17_tv_prepare() 449 if (tv_norm->kind == CTV_ENC_MODE) { in nv17_tv_prepare() 483 if (tv_norm->kind == TV_ENC_MODE) { in nv17_tv_mode_set() 588 if (get_tv_norm(encoder)->kind == TV_ENC_MODE) { in nv17_tv_commit() 708 if (tv_norm->kind == CTV_ENC_MODE) in nv17_tv_set_property() [all …]
|
/drivers/media/rc/ |
D | ati_remote.c | 288 unsigned char kind; member 555 for (i = 0; ati_remote_tbl[i].kind != KIND_END; i++) { in ati_remote_input_report() 564 if (index >= 0 && ati_remote_tbl[index].kind == KIND_LITERAL) { in ati_remote_input_report() 574 } else if (index < 0 || ati_remote_tbl[index].kind == KIND_FILTERED) { in ati_remote_input_report() 630 } else if (ati_remote_tbl[index].kind == KIND_ACCEL) { in ati_remote_input_report() 648 ati_remote_tbl[index].kind); in ati_remote_input_report() 739 for (i = 0; ati_remote_tbl[i].kind != KIND_END; i++) in ati_remote_input_init() 740 if (ati_remote_tbl[i].kind == KIND_LITERAL || in ati_remote_input_init() 741 ati_remote_tbl[i].kind == KIND_FILTERED) in ati_remote_input_init()
|
/drivers/input/mouse/ |
D | logips2pp.c | 34 u8 kind; member 291 switch (model_info->kind) { in ps2pp_set_model_properties() 357 if (model_info->kind == PS2PP_KIND_TP3) { /* Touch Pad 3 */ in ps2pp_init() 401 if (model_info->kind != PS2PP_KIND_TP3) { in ps2pp_init()
|
/drivers/net/team/ |
D | team.c | 408 static struct team_mode_item *__find_mode(const char *kind) in __find_mode() argument 413 if (strcmp(mitem->mode->kind, kind) == 0) in __find_mode() 434 if (!is_good_mode_name(mode->kind) || in team_mode_register() 443 if (__find_mode(mode->kind)) { in team_mode_register() 461 mitem = __find_mode(mode->kind); in team_mode_unregister() 470 static const struct team_mode *team_mode_get(const char *kind) in team_mode_get() argument 476 mitem = __find_mode(kind); in team_mode_get() 479 request_module("team-mode-%s", kind); in team_mode_get() 481 mitem = __find_mode(kind); in team_mode_get() 512 .kind = "*NOMODE*", [all …]
|
/drivers/gpu/drm/nouveau/nvif/ |
D | class.h | 206 __u8 kind; member 218 __u8 kind; member 229 __u8 kind; member
|
/drivers/gpu/drm/nouveau/core/include/nvif/ |
D | class.h | 206 __u8 kind; member 218 __u8 kind; member 229 __u8 kind; member
|
/drivers/gpu/drm/radeon/ |
D | radeon_benchmark.c | 78 char *kind) in radeon_benchmark_log_results() argument 83 kind, n, size >> 10, sdomain, ddomain, time, in radeon_benchmark_log_results()
|