Home
last modified time | relevance | path

Searched refs:cont (Results 1 – 25 of 52) sorted by relevance

123

/drivers/base/
Dattribute_container.c28 struct attribute_container *cont; member
59 return ic->cont; in attribute_container_classdev_to_container()
74 attribute_container_register(struct attribute_container *cont) in attribute_container_register() argument
76 INIT_LIST_HEAD(&cont->node); in attribute_container_register()
77 klist_init(&cont->containers, internal_container_klist_get, in attribute_container_register()
81 list_add_tail(&cont->node, &attribute_container_list); in attribute_container_register()
94 attribute_container_unregister(struct attribute_container *cont) in attribute_container_unregister() argument
99 spin_lock(&cont->containers.k_lock); in attribute_container_unregister()
100 if (!list_empty(&cont->containers.k_list)) in attribute_container_unregister()
103 list_del(&cont->node); in attribute_container_unregister()
[all …]
Dtransport_class.c117 static int transport_setup_classdev(struct attribute_container *cont, in transport_setup_classdev() argument
121 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_setup_classdev()
122 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_setup_classdev()
151 static int transport_add_class_device(struct attribute_container *cont, in transport_add_class_device() argument
157 attribute_container_to_transport_container(cont); in transport_add_class_device()
183 static int transport_configure(struct attribute_container *cont, in transport_configure() argument
187 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_configure()
188 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_configure()
214 static int transport_remove_classdev(struct attribute_container *cont, in transport_remove_classdev() argument
219 attribute_container_to_transport_container(cont); in transport_remove_classdev()
[all …]
/drivers/spi/
Dspi-bcm53xx.c127 size_t len, bool cont) in bcm53xxspi_buf_write() argument
141 if (!cont && i == len - 1) in bcm53xxspi_buf_write()
152 if (cont) in bcm53xxspi_buf_write()
158 if (cont) in bcm53xxspi_buf_write()
165 if (!cont) in bcm53xxspi_buf_write()
172 size_t len, bool cont) in bcm53xxspi_buf_read() argument
180 if (!cont && i == b53spi->read_offset + len - 1) in bcm53xxspi_buf_read()
192 if (cont) in bcm53xxspi_buf_read()
198 if (cont) in bcm53xxspi_buf_read()
205 if (!cont) in bcm53xxspi_buf_read()
[all …]
/drivers/block/paride/
Dbpck6.c59 static int bpck6_read_regr(PIA *pi, int cont, int reg) in bpck6_read_regr() argument
64 if (reg<0 || reg>7 || cont<0 || cont>2) in bpck6_read_regr()
68 out=ppc6_rd_port(PPCSTRUCT(pi),cont?reg|8:reg); in bpck6_read_regr()
72 static void bpck6_write_regr(PIA *pi, int cont, int reg, int val) in bpck6_write_regr() argument
75 if (reg>=0 && reg<=7 && cont>=0 && cont<=1) in bpck6_write_regr()
77 ppc6_wr_port(PPCSTRUCT(pi),cont?reg|8:reg,(u8)val); in bpck6_write_regr()
Dparide.c45 void pi_write_regr(PIA * pi, int cont, int regr, int val) in pi_write_regr() argument
47 pi->proto->write_regr(pi, cont, regr, val); in pi_write_regr()
52 int pi_read_regr(PIA * pi, int cont, int regr) in pi_read_regr() argument
54 return pi->proto->read_regr(pi, cont, regr); in pi_read_regr()
77 void (*cont) (void) = NULL; in pi_wake_up() local
82 cont = pi->claim_cont; in pi_wake_up()
91 if (cont) in pi_wake_up()
92 cont(); in pi_wake_up()
95 int pi_schedule_claimed(PIA * pi, void (*cont) (void)) in pi_schedule_claimed()
101 pi->claim_cont = cont; in pi_schedule_claimed()
[all …]
Dfit2.c40 static void fit2_write_regr( PIA *pi, int cont, int regr, int val) in fit2_write_regr() argument
42 { if (cont == 1) return; in fit2_write_regr()
46 static int fit2_read_regr( PIA *pi, int cont, int regr ) in fit2_read_regr() argument
50 if (cont) { in fit2_read_regr()
Dktti.c32 static void ktti_write_regr( PIA *pi, int cont, int regr, int val) in ktti_write_regr() argument
36 r = regr + cont_map[cont]; in ktti_write_regr()
42 static int ktti_read_regr( PIA *pi, int cont, int regr ) in ktti_read_regr() argument
46 r = regr + cont_map[cont]; in ktti_read_regr()
Don20.c36 static int on20_read_regr( PIA *pi, int cont, int regr ) in on20_read_regr() argument
40 r = (regr<<2) + 1 + cont; in on20_read_regr()
59 static void on20_write_regr( PIA *pi, int cont, int regr, int val ) in on20_write_regr() argument
63 r = (regr<<2) + 1 + cont; in on20_write_regr()
Dparide.h83 extern void pi_write_regr(PIA *pi, int cont, int regr, int val);
85 extern int pi_read_regr(PIA *pi, int cont, int regr);
95 extern void pi_do_claimed(PIA *pi, void (*cont)(void));
96 extern int pi_schedule_claimed(PIA *pi, void (*cont)(void));
Daten.c38 static void aten_write_regr( PIA *pi, int cont, int regr, int val) in aten_write_regr() argument
42 r = regr + cont_map[cont] + 0x80; in aten_write_regr()
47 static int aten_read_regr( PIA *pi, int cont, int regr ) in aten_read_regr() argument
51 r = regr + cont_map[cont] + 0x40; in aten_read_regr()
Dfit3.c42 static void fit3_write_regr( PIA *pi, int cont, int regr, int val) in fit3_write_regr() argument
44 { if (cont == 1) return; in fit3_write_regr()
62 static int fit3_read_regr( PIA *pi, int cont, int regr ) in fit3_read_regr() argument
66 if (cont) { in fit3_read_regr()
Dcomm.c45 static int comm_read_regr( PIA *pi, int cont, int regr ) in comm_read_regr() argument
49 r = regr + cont_map[cont]; in comm_read_regr()
71 static void comm_write_regr( PIA *pi, int cont, int regr, int val ) in comm_write_regr() argument
75 r = regr + cont_map[cont]; in comm_write_regr()
Ddstr.c47 static int dstr_read_regr( PIA *pi, int cont, int regr ) in dstr_read_regr() argument
51 r = regr + cont_map[cont]; in dstr_read_regr()
74 static void dstr_write_regr( PIA *pi, int cont, int regr, int val ) in dstr_write_regr() argument
78 r = regr + cont_map[cont]; in dstr_write_regr()
Dfriq.c51 static int friq_read_regr( PIA *pi, int cont, int regr ) in friq_read_regr() argument
55 r = regr + cont_map[cont]; in friq_read_regr()
66 static void friq_write_regr( PIA *pi, int cont, int regr, int val) in friq_write_regr() argument
70 r = regr + cont_map[cont]; in friq_write_regr()
Dfrpw.c47 static int frpw_read_regr( PIA *pi, int cont, int regr ) in frpw_read_regr() argument
51 r = regr + cont_map[cont]; in frpw_read_regr()
63 static void frpw_write_regr( PIA *pi, int cont, int regr, int val) in frpw_write_regr() argument
67 r = regr + cont_map[cont]; in frpw_write_regr()
Depia.c49 static int epia_read_regr( PIA *pi, int cont, int regr ) in epia_read_regr() argument
53 regr += cont_map[cont]; in epia_read_regr()
82 static void epia_write_regr( PIA *pi, int cont, int regr, int val) in epia_write_regr() argument
86 regr += cont_map[cont]; in epia_write_regr()
Dkbic.c45 static int kbic_read_regr( PIA *pi, int cont, int regr ) in kbic_read_regr() argument
49 s = cont_map[cont]; in kbic_read_regr()
75 static void kbic_write_regr( PIA *pi, int cont, int regr, int val) in kbic_write_regr() argument
79 s = cont_map[cont]; in kbic_write_regr()
Depat.c47 static void epat_write_regr( PIA *pi, int cont, int regr, int val) in epat_write_regr() argument
51 r = regr + cont_map[cont]; in epat_write_regr()
68 static int epat_read_regr( PIA *pi, int cont, int regr ) in epat_read_regr() argument
72 r = regr + cont_map[cont]; in epat_read_regr()
Don26.c47 static int on26_read_regr( PIA *pi, int cont, int regr ) in on26_read_regr() argument
51 r = (regr<<2) + 1 + cont; in on26_read_regr()
76 static void on26_write_regr( PIA *pi, int cont, int regr, int val ) in on26_write_regr() argument
80 r = (regr<<2) + 1 + cont; in on26_write_regr()
/drivers/infiniband/sw/rxe/
Drxe_task.c60 int cont; in rxe_do_task() local
86 cont = 0; in rxe_do_task()
95 cont = 1; in rxe_do_task()
104 cont = 1; in rxe_do_task()
112 } while (cont); in rxe_do_task()
/drivers/block/
Dfloppy.c549 } *cont; variable
895 cont = NULL; in unlock_fdc()
1006 cont->done(0); in fd_watchdog()
1018 cont->interrupt(); in main_command_interrupt()
1052 cont->done(0); in setup_DMA()
1058 cont->done(0); in setup_DMA()
1069 cont->done(0); in setup_DMA()
1197 cont->done(0); in perpendicular_mode()
1417 cont->done(0); in interpret_errors()
1434 cont->done(0); in interpret_errors()
[all …]
/drivers/iio/pressure/
Dzpa2326.c800 bool cont; in zpa2326_handle_threaded_irq() local
807 cont = (iio_buffer_enabled(indio_dev) && in zpa2326_handle_threaded_irq()
816 if (cont) in zpa2326_handle_threaded_irq()
833 if (cont) in zpa2326_handle_threaded_irq()
843 if (cont) in zpa2326_handle_threaded_irq()
1173 bool cont; in zpa2326_trigger_handler() local
1180 cont = iio_trigger_using_own(indio_dev); in zpa2326_trigger_handler()
1182 if (!cont) { in zpa2326_trigger_handler()
1206 if (!cont) in zpa2326_trigger_handler()
/drivers/net/can/
Dpch_can.c146 u32 cont; member
218 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_INIT); in pch_can_set_run_mode()
222 pch_can_bit_set(&priv->regs->cont, PCH_CTRL_INIT); in pch_can_set_run_mode()
241 pch_can_bit_set(&priv->regs->cont, PCH_CTRL_OPT); in pch_can_set_optmode()
267 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE); in pch_can_set_int_enables()
271 pch_can_bit_set(&priv->regs->cont, PCH_CTRL_IE_SIE_EIE); in pch_can_set_int_enables()
275 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE_SIE_EIE); in pch_can_set_int_enables()
791 pch_can_bit_set(&priv->regs->cont, PCH_CTRL_CCE); in pch_set_bittiming()
800 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_CCE); in pch_set_bittiming()
975 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE_SIE_EIE); in pch_can_set_int_custom()
[all …]
/drivers/ata/
Dlibata-transport.c241 static int ata_tport_match(struct attribute_container *cont, in ata_tport_match() argument
246 return &ata_scsi_transport_template->host_attrs.ac == cont; in ata_tport_match()
364 static int ata_tlink_match(struct attribute_container *cont, in ata_tlink_match() argument
370 return &i->link_attr_cont.ac == cont; in ata_tlink_match()
604 static int ata_tdev_match(struct attribute_container *cont, in ata_tdev_match() argument
610 return &i->dev_attr_cont.ac == cont; in ata_tdev_match()
/drivers/scsi/aic94xx/
Daic94xx_scb.c321 u32 cont = dl->status_block[2] << ((reg & 3)*8); in asd_primitive_rcvd_tasklet() local
326 switch (cont) { in asd_primitive_rcvd_tasklet()
332 phy_id, cont); in asd_primitive_rcvd_tasklet()
334 sas_phy->sas_prim = ffs(cont); in asd_primitive_rcvd_tasklet()
345 phy_id, reg, cont); in asd_primitive_rcvd_tasklet()
350 switch (cont) { in asd_primitive_rcvd_tasklet()
362 phy_id, reg, cont); in asd_primitive_rcvd_tasklet()

123