Home
last modified time | relevance | path

Searched refs:client (Results 1 – 19 of 19) sorted by relevance

/arch/arm/plat-s3c24xx/
Dadc.c79 struct s3c_adc_client *client) in s3c_adc_select() argument
83 client->select_cb(1); in s3c_adc_select()
89 if (!client->is_ts) in s3c_adc_select()
90 con |= S3C2410_ADCCON_SELMUX(client->channel); in s3c_adc_select()
123 int s3c_adc_start(struct s3c_adc_client *client, in s3c_adc_start() argument
134 if (client->is_ts && adc->ts_pend) in s3c_adc_start()
139 client->channel = channel; in s3c_adc_start()
140 client->nr_samples = nr_samples; in s3c_adc_start()
142 if (client->is_ts) in s3c_adc_start()
143 adc->ts_pend = client; in s3c_adc_start()
[all …]
Ddma.c735 struct s3c2410_dma_client *client, in s3c2410_dma_request() argument
743 channel, client->name, dev); in s3c2410_dma_request()
755 chan->client = client; in s3c2410_dma_request()
766 client->name, (void *)chan); in s3c2410_dma_request()
776 client->name, chan->irq, chan->number); in s3c2410_dma_request()
805 int s3c2410_dma_free(unsigned int channel, struct s3c2410_dma_client *client) in s3c2410_dma_free() argument
815 if (chan->client != client) { in s3c2410_dma_free()
817 channel, chan->client, client); in s3c2410_dma_free()
830 chan->client = NULL; in s3c2410_dma_free()
/arch/cris/arch-v32/mach-fs/
Darbiter.c71 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/powerpc/platforms/83xx/
Dmcu_mpc8349emitx.c38 struct i2c_client *client; member
51 i2c_smbus_write_byte_data(glob_mcu->client, MCU_REG_CTRL, in mcu_power_off()
68 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, mcu->reg_ctrl); in mcu_gpio_set()
124 static int __devinit mcu_probe(struct i2c_client *client, in mcu_probe() argument
135 mcu->client = client; in mcu_probe()
136 i2c_set_clientdata(client, mcu); in mcu_probe()
138 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in mcu_probe()
151 dev_info(&client->dev, "will provide power-off service\n"); in mcu_probe()
160 static int __devexit mcu_remove(struct i2c_client *client) in mcu_remove() argument
162 struct mcu *mcu = i2c_get_clientdata(client); in mcu_remove()
[all …]
/arch/cris/arch-v32/mach-a3/
Darbiter.c134 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/
Dwarp.c202 static void pika_setup_critical_temp(struct i2c_client *client) in pika_setup_critical_temp() argument
213 i2c_smbus_write_byte_data(client, 2, 65); /* Thigh */ in pika_setup_critical_temp()
214 i2c_smbus_write_byte_data(client, 3, 0); /* Tlow */ in pika_setup_critical_temp()
253 struct i2c_client *client; in pika_dtm_thread() local
264 list_for_each_entry(client, &adap->clients, list) in pika_dtm_thread()
265 if (client->addr == 0x4a) in pika_dtm_thread()
275 pika_setup_critical_temp(client); in pika_dtm_thread()
282 val = i2c_smbus_read_word_data(client, 0); in pika_dtm_thread()
284 dev_dbg(&client->dev, "DTM read temp failed.\n"); in pika_dtm_thread()
/arch/arm/mach-davinci/
Dboard-evm.c169 evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_setup() argument
186 evm_led_dev->dev.parent = &client->dev; in evm_led_setup()
196 evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_teardown() argument
228 evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_setup() argument
238 status = device_create_file(&client->dev, &dev_attr_user_sw); in evm_u18_setup()
258 evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_teardown() argument
265 device_remove_file(&client->dev, &dev_attr_user_sw); in evm_u18_teardown()
282 evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_setup() argument
321 evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_teardown() argument
/arch/arm/plat-s3c/include/plat/
Dadc.h19 extern int s3c_adc_start(struct s3c_adc_client *client,
27 extern void s3c_adc_release(struct s3c_adc_client *client);
/arch/cris/include/arch-v32/mach-fs/mach/
Darbiter.h21 int crisv32_arbiter_allocate_bandwidth(int client, int region,
/arch/powerpc/platforms/powermac/
Dpfunc_core.c860 struct pmf_irq_client *client) in pmf_register_irq_client() argument
880 list_add(&client->link, &func->irq_clients); in pmf_register_irq_client()
883 client->func = func; in pmf_register_irq_client()
890 void pmf_unregister_irq_client(struct pmf_irq_client *client) in pmf_unregister_irq_client() argument
892 struct pmf_function *func = client->func; in pmf_unregister_irq_client()
899 client->func = NULL; in pmf_unregister_irq_client()
903 list_del(&client->link); in pmf_unregister_irq_client()
917 struct pmf_irq_client *client; in pmf_do_irq() local
923 list_for_each_entry(client, &func->irq_clients, link) { in pmf_do_irq()
924 if (!try_module_get(client->owner)) in pmf_do_irq()
[all …]
/arch/cris/include/arch-v32/mach-a3/mach/
Darbiter.h27 int crisv32_arbiter_allocate_bandwidth(int client, int region,
/arch/sparc/include/asm/
Dmdesc.h72 extern void mdesc_register_notifier(struct mdesc_notifier_client *client);
/arch/powerpc/include/asm/
Dpmac_pfunc.h189 struct pmf_irq_client *client);
191 extern void pmf_unregister_irq_client(struct pmf_irq_client *client);
/arch/arm/plat-mxc/include/mach/
Dipu.h164 void *client; /* Only one client per channel */ member
/arch/sparc/kernel/
Dmdesc.c226 void mdesc_register_notifier(struct mdesc_notifier_client *client) in mdesc_register_notifier() argument
231 client->next = client_list; in mdesc_register_notifier()
232 client_list = client; in mdesc_register_notifier()
234 mdesc_for_each_node_by_name(cur_mdesc, node, client->node_name) in mdesc_register_notifier()
235 client->add(cur_mdesc, node); in mdesc_register_notifier()
/arch/arm/mach-omap1/
Dboard-osk.c170 static int osk_tps_setup(struct i2c_client *client, void *context) in osk_tps_setup() argument
204 osk5912_tps_leds.dev.parent = &client->dev; in osk_tps_setup()
Dboard-h2.c310 static int tps_setup(struct i2c_client *client, void *context) in tps_setup() argument
/arch/arm/mach-s3c2410/include/mach/
Ddma.h205 struct s3c2410_dma_client *client; member
/arch/um/
DKconfig.um74 mconsole client (called uml_mconsole) which is present in CVS in