/arch/arm/plat-samsung/ |
D | adc.c | 92 struct s3c_adc_client *client) in s3c_adc_select() argument 97 client->select_cb(client, 1); in s3c_adc_select() 104 if (!client->is_ts) { in s3c_adc_select() 106 writel(client->channel & 0xf, adc->regs + S5P_ADCMUX); in s3c_adc_select() 108 writel(client->channel & 0xf, in s3c_adc_select() 111 con |= S3C2410_ADCCON_SELMUX(client->channel); in s3c_adc_select() 145 int s3c_adc_start(struct s3c_adc_client *client, in s3c_adc_start() argument 158 if (client->is_ts && adc->ts_pend) { in s3c_adc_start() 163 client->channel = channel; in s3c_adc_start() 164 client->nr_samples = nr_samples; in s3c_adc_start() [all …]
|
/arch/powerpc/platforms/83xx/ |
D | mcu_mpc8349emitx.c | 36 struct i2c_client *client; member 50 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in shutdown_thread_fn() 57 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, in shutdown_thread_fn() 76 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in show_status() 91 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, in mcu_power_off() 107 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, mcu->reg_ctrl); in mcu_gpio_set() 145 static int mcu_probe(struct i2c_client *client, const struct i2c_device_id *id) in mcu_probe() argument 155 mcu->client = client; in mcu_probe() 156 i2c_set_clientdata(client, mcu); in mcu_probe() 158 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in mcu_probe() [all …]
|
/arch/arm/plat-samsung/include/plat/ |
D | adc.h | 16 extern int s3c_adc_start(struct s3c_adc_client *client, 19 extern int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch); 23 void (*select)(struct s3c_adc_client *client, 25 void (*conv)(struct s3c_adc_client *client, 30 extern void s3c_adc_release(struct s3c_adc_client *client);
|
/arch/powerpc/platforms/44x/ |
D | warp.c | 189 struct i2c_client *client) in pika_setup_critical_temp() argument 199 i2c_smbus_write_byte_data(client, 2, 65); /* Thigh */ in pika_setup_critical_temp() 200 i2c_smbus_write_byte_data(client, 3, 0); /* Tlow */ in pika_setup_critical_temp() 232 struct i2c_client *client; in pika_dtm_thread() local 238 client = of_find_i2c_device_by_node(np); in pika_dtm_thread() 239 if (client == NULL) { in pika_dtm_thread() 244 pika_setup_critical_temp(np, client); in pika_dtm_thread() 253 val = i2c_smbus_read_word_data(client, 0); in pika_dtm_thread() 255 dev_dbg(&client->dev, "DTM read temp failed.\n"); in pika_dtm_thread()
|
D | ppc476.c | 89 static int avr_probe(struct i2c_client *client, in avr_probe() argument 92 avr_i2c_client = client; in avr_probe()
|
/arch/arm/mach-davinci/ |
D | board-dm646x-evm.c | 163 static int cpld_reg0_probe(struct i2c_client *client, in cpld_reg0_probe() argument 170 .addr = client->addr, in cpld_reg0_probe() 176 .addr = client->addr, in cpld_reg0_probe() 184 i2c_transfer(client->adapter, msg, 1); in cpld_reg0_probe() 186 i2c_transfer(client->adapter, msg + 1, 1); in cpld_reg0_probe() 219 static int evm_led_setup(struct i2c_client *client, int gpio, in evm_led_setup() argument 234 evm_led_dev->dev.parent = &client->dev; in evm_led_setup() 243 static int evm_led_teardown(struct i2c_client *client, int gpio, in evm_led_teardown() argument 255 static int evm_sw_setup(struct i2c_client *client, int gpio, in evm_sw_setup() argument 294 static int evm_sw_teardown(struct i2c_client *client, int gpio, in evm_sw_teardown() argument [all …]
|
D | board-dm644x-evm.c | 341 evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_setup() argument 358 evm_led_dev->dev.parent = &client->dev; in evm_led_setup() 368 evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_teardown() argument 400 evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_setup() argument 410 status = device_create_file(&client->dev, &dev_attr_user_sw); in evm_u18_setup() 430 evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_teardown() argument 437 device_remove_file(&client->dev, &dev_attr_user_sw); in evm_u18_teardown() 454 evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_setup() argument 490 evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_teardown() argument 549 static int dm6446evm_msp_probe(struct i2c_client *client, in dm6446evm_msp_probe() argument [all …]
|
D | board-da830-evm.c | 457 static int __init da830_evm_ui_expander_setup(struct i2c_client *client, in da830_evm_ui_expander_setup() argument 472 static int da830_evm_ui_expander_teardown(struct i2c_client *client, int gpio, in da830_evm_ui_expander_teardown() argument
|
D | board-da850-evm.c | 463 static int da850_evm_ui_expander_setup(struct i2c_client *client, unsigned gpio, in da850_evm_ui_expander_setup() argument 522 static int da850_evm_ui_expander_teardown(struct i2c_client *client, in da850_evm_ui_expander_teardown() argument 671 static int da850_evm_bb_expander_setup(struct i2c_client *client, in da850_evm_bb_expander_setup() argument 703 static int da850_evm_bb_expander_teardown(struct i2c_client *client, in da850_evm_bb_expander_teardown() argument
|
/arch/arm/mach-shmobile/ |
D | regulator-quirk-rcar-gen2.c | 78 struct i2c_client *client; in regulator_quirk_notify() local 94 client = to_i2c_client(dev); in regulator_quirk_notify() 95 dev_dbg(dev, "Detected %s\n", client->name); in regulator_quirk_notify() 106 if (pos->np->parent != client->dev.parent->of_node) in regulator_quirk_notify() 109 dev_info(&client->dev, "clearing %s@0x%02x interrupts\n", in regulator_quirk_notify() 112 ret = i2c_transfer(client->adapter, &pos->i2c_msg, 1); in regulator_quirk_notify() 114 dev_err(&client->dev, "i2c error %d\n", ret); in regulator_quirk_notify()
|
/arch/arm/boot/dts/ |
D | kirkwood-openrd-client.dts | 8 * client variant of the Marvell Kirkwood Development Board. 17 …compatible = "marvell,openrd-client", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkw…
|
D | omap3-n950-n9.dtsi | 455 modem: hsi-client {
|
/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 864 struct pmf_irq_client *client) in pmf_register_irq_client() argument 884 list_add(&client->link, &func->irq_clients); in pmf_register_irq_client() 887 client->func = func; in pmf_register_irq_client() 894 void pmf_unregister_irq_client(struct pmf_irq_client *client) in pmf_unregister_irq_client() argument 896 struct pmf_function *func = client->func; in pmf_unregister_irq_client() 903 client->func = NULL; in pmf_unregister_irq_client() 907 list_del(&client->link); in pmf_unregister_irq_client() 921 struct pmf_irq_client *client; in pmf_do_irq() local 927 list_for_each_entry(client, &func->irq_clients, link) { in pmf_do_irq() 928 if (!try_module_get(client->owner)) in pmf_do_irq() [all …]
|
/arch/arm/mach-s3c24xx/ |
D | mach-osiris.c | 312 static int osiris_tps_setup(struct i2c_client *client, void *context) in osiris_tps_setup() argument 314 osiris_tps_device.dev.parent = &client->dev; in osiris_tps_setup() 318 static int osiris_tps_remove(struct i2c_client *client, void *context) in osiris_tps_remove() argument
|
/arch/powerpc/include/asm/ |
D | pmac_pfunc.h | 190 struct pmf_irq_client *client); 192 extern void pmf_unregister_irq_client(struct pmf_irq_client *client);
|
/arch/sparc/include/asm/ |
D | mdesc.h | 75 void mdesc_register_notifier(struct mdesc_notifier_client *client);
|
/arch/sparc/kernel/ |
D | mdesc.c | 288 void mdesc_register_notifier(struct mdesc_notifier_client *client) in mdesc_register_notifier() argument 298 if (strcmp(md_node_ops_table[i].name, client->node_name) == 0) { in mdesc_register_notifier() 305 pr_err("MD: %s node not supported\n", client->node_name); in mdesc_register_notifier() 310 client->next = client_list; in mdesc_register_notifier() 311 client_list = client; in mdesc_register_notifier() 313 mdesc_for_each_node_by_name(cur_mdesc, node, client->node_name) in mdesc_register_notifier() 314 client->add(cur_mdesc, node, client->node_name); in mdesc_register_notifier()
|
/arch/arm/mach-pxa/ |
D | zeus.c | 740 static int zeus_get_pcb_info(struct i2c_client *client, unsigned gpio, in zeus_get_pcb_info() argument 750 dev_err(&client->dev, "Can't request pcb info %d\n", i); in zeus_get_pcb_info() 755 dev_err(&client->dev, "Can't read pcb info %d\n", i); in zeus_get_pcb_info() 765 dev_info(&client->dev, "Zeus PCB version %d issue %d\n", in zeus_get_pcb_info()
|
/arch/x86/platform/intel-mid/ |
D | sfi.c | 286 struct i2c_client *client; in intel_scu_devices_create() local 290 client = i2c_new_device(adapter, i2c_devs[i]); in intel_scu_devices_create() 291 if (!client) in intel_scu_devices_create()
|
/arch/arm/mach-omap1/ |
D | board-osk.c | 192 static int osk_tps_setup(struct i2c_client *client, void *context) in osk_tps_setup() argument 229 osk5912_tps_leds.dev.parent = &client->dev; in osk_tps_setup()
|
D | board-h2.c | 315 static int tps_setup(struct i2c_client *client, void *context) in tps_setup() argument
|
/arch/arm/mm/ |
D | proc-fa526.S | 152 mov r0, #0x1f @ Domains 0, 1 = manager, 2 = client
|
/arch/um/ |
D | Kconfig | 134 mconsole client (called uml_mconsole) which is present in CVS in
|
/arch/arm64/boot/dts/qcom/ |
D | sm8150.dtsi | 210 qcom,client-id = <1>;
|
/arch/powerpc/platforms/ |
D | Kconfig | 55 Open Firmware client interface. This enables the kernel to
|