/arch/arm/plat-samsung/ |
D | adc.c | 96 struct s3c_adc_client *client) in s3c_adc_select() argument 101 client->select_cb(client, 1); in s3c_adc_select() 108 if (!client->is_ts) { in s3c_adc_select() 110 writel(client->channel & 0xf, adc->regs + S5P_ADCMUX); in s3c_adc_select() 112 writel(client->channel & 0xf, in s3c_adc_select() 115 con |= S3C2410_ADCCON_SELMUX(client->channel); in s3c_adc_select() 149 int s3c_adc_start(struct s3c_adc_client *client, in s3c_adc_start() argument 162 if (client->is_ts && adc->ts_pend) { in s3c_adc_start() 167 client->channel = channel; in s3c_adc_start() 168 client->nr_samples = nr_samples; in s3c_adc_start() [all …]
|
/arch/powerpc/platforms/83xx/ |
D | mcu_mpc8349emitx.c | 40 struct i2c_client *client; member 54 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in shutdown_thread_fn() 61 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, in shutdown_thread_fn() 80 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in show_status() 95 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, in mcu_power_off() 111 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, mcu->reg_ctrl); in mcu_gpio_set() 148 static int mcu_probe(struct i2c_client *client, const struct i2c_device_id *id) in mcu_probe() argument 158 mcu->client = client; in mcu_probe() 159 i2c_set_clientdata(client, mcu); in mcu_probe() 161 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in mcu_probe() [all …]
|
/arch/arm/mach-shmobile/ |
D | regulator-quirk-rcar-gen2.c | 69 struct i2c_client *client; in regulator_quirk_notify() local 80 client = to_i2c_client(dev); in regulator_quirk_notify() 81 dev_dbg(dev, "Detected %s\n", client->name); in regulator_quirk_notify() 83 if ((client->addr == 0x58 && !strcmp(client->name, "da9063")) || in regulator_quirk_notify() 84 (client->addr == 0x68 && !strcmp(client->name, "da9210"))) { in regulator_quirk_notify() 87 dev_info(&client->dev, "clearing da9063/da9210 interrupts\n"); in regulator_quirk_notify() 88 ret = i2c_transfer(client->adapter, da9xxx_msgs, ARRAY_SIZE(da9xxx_msgs)); in regulator_quirk_notify() 90 dev_err(&client->dev, "i2c error %d\n", ret); in regulator_quirk_notify()
|
/arch/cris/arch-v32/mach-fs/ |
D | arbiter.c | 71 int client; in crisv32_arbiter_config() local 86 for (client = 0; client < NBR_OF_CLIENTS; client++) { in crisv32_arbiter_config() 105 if (!requested_slots[region][client]) { in crisv32_arbiter_config() 111 if (!active_clients[region][client] in crisv32_arbiter_config() 121 NBR_OF_SLOTS / requested_slots[region][client]; in crisv32_arbiter_config() 128 val[pos] = client; in crisv32_arbiter_config() 134 client = 0; in crisv32_arbiter_config() 143 int first = client; in crisv32_arbiter_config() 144 while (!active_clients[region][client]) { in crisv32_arbiter_config() 145 client = (client + 1) % NBR_OF_CLIENTS; in crisv32_arbiter_config() [all …]
|
/arch/arm/plat-samsung/include/plat/ |
D | adc.h | 20 extern int s3c_adc_start(struct s3c_adc_client *client, 23 extern int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch); 27 void (*select)(struct s3c_adc_client *client, 29 void (*conv)(struct s3c_adc_client *client, 34 extern void s3c_adc_release(struct s3c_adc_client *client);
|
/arch/cris/arch-v32/mach-a3/ |
D | arbiter.c | 134 int client; in crisv32_arbiter_config() local 149 for (client = 0; client < arbiters[arbiter].nbr_clients; client++) { in crisv32_arbiter_config() 168 if (!arbiters[arbiter].requested_slots[region][client]) { in crisv32_arbiter_config() 174 if (!arbiters[arbiter].active_clients[region][client] || in crisv32_arbiter_config() 184 arbiters[arbiter].requested_slots[region][client]; in crisv32_arbiter_config() 191 val[pos] = client; in crisv32_arbiter_config() 197 client = 0; in crisv32_arbiter_config() 206 int first = client; in crisv32_arbiter_config() 207 while (!arbiters[arbiter].active_clients[region][client]) { in crisv32_arbiter_config() 208 client = (client + 1) % in crisv32_arbiter_config() [all …]
|
/arch/powerpc/platforms/44x/ |
D | warp.c | 193 struct i2c_client *client) in pika_setup_critical_temp() argument 203 i2c_smbus_write_byte_data(client, 2, 65); /* Thigh */ in pika_setup_critical_temp() 204 i2c_smbus_write_byte_data(client, 3, 0); /* Tlow */ in pika_setup_critical_temp() 236 struct i2c_client *client; in pika_dtm_thread() local 242 client = of_find_i2c_device_by_node(np); in pika_dtm_thread() 243 if (client == NULL) { in pika_dtm_thread() 248 pika_setup_critical_temp(np, client); in pika_dtm_thread() 257 val = i2c_smbus_read_word_data(client, 0); in pika_dtm_thread() 259 dev_dbg(&client->dev, "DTM read temp failed.\n"); in pika_dtm_thread()
|
D | ppc476.c | 92 static int avr_probe(struct i2c_client *client, in avr_probe() argument 95 avr_i2c_client = client; in avr_probe()
|
/arch/arm/mach-davinci/ |
D | board-dm646x-evm.c | 130 static int cpld_reg0_probe(struct i2c_client *client, in cpld_reg0_probe() argument 137 .addr = client->addr, in cpld_reg0_probe() 143 .addr = client->addr, in cpld_reg0_probe() 151 i2c_transfer(client->adapter, msg, 1); in cpld_reg0_probe() 153 i2c_transfer(client->adapter, msg + 1, 1); in cpld_reg0_probe() 186 static int evm_led_setup(struct i2c_client *client, int gpio, in evm_led_setup() argument 201 evm_led_dev->dev.parent = &client->dev; in evm_led_setup() 210 static int evm_led_teardown(struct i2c_client *client, int gpio, in evm_led_teardown() argument 222 static int evm_sw_setup(struct i2c_client *client, int gpio, in evm_sw_setup() argument 261 static int evm_sw_teardown(struct i2c_client *client, int gpio, in evm_sw_teardown() argument [all …]
|
D | board-dm644x-evm.c | 300 evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_setup() argument 317 evm_led_dev->dev.parent = &client->dev; in evm_led_setup() 327 evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_teardown() argument 359 evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_setup() argument 369 status = device_create_file(&client->dev, &dev_attr_user_sw); in evm_u18_setup() 389 evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_teardown() argument 396 device_remove_file(&client->dev, &dev_attr_user_sw); in evm_u18_teardown() 413 evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_setup() argument 449 evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_teardown() argument 490 static int dm6446evm_msp_probe(struct i2c_client *client, in dm6446evm_msp_probe() argument [all …]
|
D | board-da830-evm.c | 451 static int __init da830_evm_ui_expander_setup(struct i2c_client *client, in da830_evm_ui_expander_setup() argument 466 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 | 465 static int da850_evm_ui_expander_setup(struct i2c_client *client, unsigned gpio, in da850_evm_ui_expander_setup() argument 524 static int da850_evm_ui_expander_teardown(struct i2c_client *client, in da850_evm_ui_expander_teardown() argument 674 static int da850_evm_bb_expander_setup(struct i2c_client *client, in da850_evm_bb_expander_setup() argument 706 static int da850_evm_bb_expander_teardown(struct i2c_client *client, in da850_evm_bb_expander_teardown() argument
|
/arch/arm/boot/dts/ |
D | kirkwood-openrd-client.dts | 11 * client variant of the Marvell Kirkwood Development Board. 20 …compatible = "marvell,openrd-client", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkw…
|
/arch/cris/include/arch-v32/mach-fs/mach/ |
D | arbiter.h | 21 int crisv32_arbiter_allocate_bandwidth(int client, int region,
|
/arch/cris/include/arch-v32/mach-a3/mach/ |
D | arbiter.h | 27 int crisv32_arbiter_allocate_bandwidth(int client, int region,
|
/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 863 struct pmf_irq_client *client) in pmf_register_irq_client() argument 883 list_add(&client->link, &func->irq_clients); in pmf_register_irq_client() 886 client->func = func; in pmf_register_irq_client() 893 void pmf_unregister_irq_client(struct pmf_irq_client *client) in pmf_unregister_irq_client() argument 895 struct pmf_function *func = client->func; in pmf_unregister_irq_client() 902 client->func = NULL; in pmf_unregister_irq_client() 906 list_del(&client->link); in pmf_unregister_irq_client() 920 struct pmf_irq_client *client; in pmf_do_irq() local 926 list_for_each_entry(client, &func->irq_clients, link) { in pmf_do_irq() 927 if (!try_module_get(client->owner)) in pmf_do_irq() [all …]
|
/arch/arm/mach-s3c24xx/ |
D | mach-osiris.c | 315 static int osiris_tps_setup(struct i2c_client *client, void *context) in osiris_tps_setup() argument 317 osiris_tps_device.dev.parent = &client->dev; in osiris_tps_setup() 321 static int osiris_tps_remove(struct i2c_client *client, void *context) in osiris_tps_remove() argument
|
/arch/sparc/include/asm/ |
D | mdesc.h | 72 void mdesc_register_notifier(struct mdesc_notifier_client *client);
|
/arch/powerpc/include/asm/ |
D | pmac_pfunc.h | 189 struct pmf_irq_client *client); 191 extern void pmf_unregister_irq_client(struct pmf_irq_client *client);
|
/arch/arm/mach-pxa/ |
D | zeus.c | 717 static int zeus_get_pcb_info(struct i2c_client *client, unsigned gpio, in zeus_get_pcb_info() argument 727 dev_err(&client->dev, "Can't request pcb info %d\n", i); in zeus_get_pcb_info() 732 dev_err(&client->dev, "Can't read pcb info %d\n", i); in zeus_get_pcb_info() 742 dev_info(&client->dev, "Zeus PCB version %d issue %d\n", in zeus_get_pcb_info()
|
/arch/x86/platform/intel-mid/ |
D | sfi.c | 292 struct i2c_client *client; in intel_scu_devices_create() local 296 client = i2c_new_device(adapter, i2c_devs[i]); in intel_scu_devices_create() 297 if (!client) in intel_scu_devices_create()
|
/arch/arm/mach-ks8695/ |
D | board-acs5k.c | 57 static int acs5k_pca9555_setup(struct i2c_client *client, in acs5k_pca9555_setup() argument
|
/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 | 319 static int tps_setup(struct i2c_client *client, void *context) in tps_setup() argument
|
/arch/sparc/kernel/ |
D | mdesc.c | 219 void mdesc_register_notifier(struct mdesc_notifier_client *client) in mdesc_register_notifier() argument 224 client->next = client_list; in mdesc_register_notifier() 225 client_list = client; in mdesc_register_notifier() 227 mdesc_for_each_node_by_name(cur_mdesc, node, client->node_name) in mdesc_register_notifier() 228 client->add(cur_mdesc, node); in mdesc_register_notifier()
|