/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 …]
|
D | s3c-dma-ops.c | 44 if (s3c2410_dma_request(dma_ch, param->client, NULL) < 0) { in s3c_dma_request() 45 s3c2410_dma_free(dma_ch, param->client); in s3c_dma_request()
|
/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/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);
|
D | dma-ops.h | 21 struct s3c2410_dma_client *client; member
|
/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 | 195 struct i2c_client *client) in pika_setup_critical_temp() argument 205 i2c_smbus_write_byte_data(client, 2, 65); /* Thigh */ in pika_setup_critical_temp() 206 i2c_smbus_write_byte_data(client, 3, 0); /* Tlow */ in pika_setup_critical_temp() 238 struct i2c_client *client; in pika_dtm_thread() local 244 client = of_find_i2c_device_by_node(np); in pika_dtm_thread() 245 if (client == NULL) { in pika_dtm_thread() 250 pika_setup_critical_temp(np, client); in pika_dtm_thread() 259 val = i2c_smbus_read_word_data(client, 0); in pika_dtm_thread() 261 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 | 302 evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_setup() argument 319 evm_led_dev->dev.parent = &client->dev; in evm_led_setup() 329 evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_teardown() argument 361 evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_setup() argument 371 status = device_create_file(&client->dev, &dev_attr_user_sw); in evm_u18_setup() 391 evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_teardown() argument 398 device_remove_file(&client->dev, &dev_attr_user_sw); in evm_u18_teardown() 415 evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_setup() argument 451 evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_teardown() argument 492 static int dm6446evm_msp_probe(struct i2c_client *client, in dm6446evm_msp_probe() argument [all …]
|
D | cdce949.c | 252 static int cdce_probe(struct i2c_client *client, in cdce_probe() argument 255 cdce_i2c_client = client; in cdce_probe() 259 static int cdce_remove(struct i2c_client *client) in cdce_remove() 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/arm/mach-s3c24xx/ |
D | dma.c | 715 struct s3c2410_dma_client *client, in s3c2410_dma_request() argument 723 channel, client->name, dev); in s3c2410_dma_request() 735 chan->client = client; in s3c2410_dma_request() 746 client->name, (void *)chan); in s3c2410_dma_request() 756 client->name, chan->irq, chan->number); in s3c2410_dma_request() 785 int s3c2410_dma_free(enum dma_ch channel, struct s3c2410_dma_client *client) in s3c2410_dma_free() argument 795 if (chan->client != client) { in s3c2410_dma_free() 797 channel, chan->client, client); in s3c2410_dma_free() 810 chan->client = NULL; in s3c2410_dma_free()
|
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/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/sparc/include/asm/ |
D | mdesc.h | 72 void mdesc_register_notifier(struct mdesc_notifier_client *client);
|
/arch/arm/mach-s3c24xx/include/mach/ |
D | dma.h | 178 struct s3c2410_dma_client *client; member
|
/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 | 716 static int zeus_get_pcb_info(struct i2c_client *client, unsigned gpio, in zeus_get_pcb_info() argument 726 dev_err(&client->dev, "Can't request pcb info %d\n", i); in zeus_get_pcb_info() 731 dev_err(&client->dev, "Can't read pcb info %d\n", i); in zeus_get_pcb_info() 741 dev_info(&client->dev, "Zeus PCB version %d issue %d\n", in zeus_get_pcb_info()
|
/arch/x86/platform/intel-mid/ |
D | sfi.c | 295 struct i2c_client *client; in intel_scu_devices_create() local 299 client = i2c_new_device(adapter, i2c_devs[i]); in intel_scu_devices_create() 300 if (!client) in intel_scu_devices_create()
|
/arch/arm/mach-at91/ |
D | board-gsia18s.c | 424 static int pcf8574x_0x20_setup(struct i2c_client *client, int gpio, in pcf8574x_0x20_setup() argument 457 static int pcf8574x_0x20_teardown(struct i2c_client *client, int gpio, in pcf8574x_0x20_teardown() argument
|
/arch/arm/mach-ks8695/ |
D | board-acs5k.c | 57 static int acs5k_pca9555_setup(struct i2c_client *client, in acs5k_pca9555_setup() argument
|