- 13 5月, 2010 15 次提交
-
-
由 Daniel Walker 提交于
"unsigned" translates to "unsigned int", but this value holds an address. We always want to use unsigned long for addresses since it will change size to fit the machine. This just convert the one address holder to unsigned long. Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Daniel Walker 提交于
This modifies SMD to use either the package v3 or package v4, but not both. The current code tries to allocate as v4 on all system which can produce a scary looking error message on boot up, smem_find(16, 40): wrong size 16424 smd_alloc_channel() cid=02 size=08192 'SMD_RPCCALL' With this error the code then falls back on the package v3 allocation method. This method is inefficient because it causes a slow down on some systems even when the allocation method can be determined at compile time. It also causes a kernel size increase that effects all system and is not needed. This change corrects the allocation to use one method or the other and not both. Signed-off-by: NDaniel Walker <c_dwalke@quicinc.com>
-
由 Daniel Walker 提交于
This cleans up coding style. There are no run time changes. Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Dima Zavin 提交于
Signed-off-by: NDima Zavin <dima@android.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Brian Swetland 提交于
Some smd clients may write from multiple threads, in which case it's not safe to call smd_write without holding a lock. smd_write_atomic() provides the same functionality as smd_write() but obtains the smd lock first. Signed-off-by: NBrian Swetland <swetland@google.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Iliyan Malchev 提交于
Signed-off-by: NIliyan Malchev <malchev@google.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Brian Swetland 提交于
Don't mark a channel as allocated if we failed to allocate it (perhaps the modem updated one table but not the other, etc) Signed-off-by: NBrian Swetland <swetland@google.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Haley Teng 提交于
When we read data out of the sender's fifo, we need to advance the sender's tail pointer, not the receiver's. Signed-off-by: NHaley Teng <Haley_Teng@htc.com> Acked-by: NDima Zavin <dima@android.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Brian Swetland 提交于
- QSD8250 has a DSP that speaks SMD, in addition to the modem - handle a separate list of modem vs dsp channels - install dsp smd irq handler as necessary Signed-off-by: NBrian Swetland <swetland@google.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Brian Swetland 提交于
- pull debug code into smd_debug.c - move necessary structures and defines into smd_private.h - fix some comment formatting, etc Signed-off-by: NBrian Swetland <swetland@google.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Arve Hjønnevåg 提交于
Signed-off-by: NArve Hjønnevåg <arve@android.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Arve Hjønnevåg 提交于
The new protocol require writing to two state fields, and reading several fields. Signed-off-by: NArve Hjønnevåg <arve@android.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Brian Swetland 提交于
- support both v2 and v1 style smd channels - support both v2 and v1 smsm shared state - update smsm state defines and smem item enum - prep work for dealing with smd to qdsp6 - simplify some smem access to minimize use of smem_alloc() at runtime Signed-off-by: NBrian Swetland <swetland@google.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Brian Swetland 提交于
Signed-off-by: NBrian Swetland <swetland@google.com> Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
-
由 Brian Swetland 提交于
This code provides the low level interface to the "shared memory state machine" (smsm), and the virtual serial channels (smd), used to communicate with the baseband processor. Higher level transports (rpc, ethernet, AT command channel, etc) ride on top of this. Signed-off-by: NBrian Swetland <swetland@google.com>
-
- 16 9月, 2009 1 次提交
-
-
由 Brian Swetland 提交于
Infrastructure to support the Qualcomm "shared memory driver" interface, used to communicate with the baseband processor on MSM7k SoCs. The smd core provides low level facilities to interact with the shared memory comms region, and a "virtual serial channel" interface that higher level transports (AT command channel, rmnet virtual ethernet, qmi network management protocol, and oncrpc, for example) are routed over. Signed-off-by: NPavel Machek <pavel@ucw.cz> Cc: Brian Swetland <swetland@google.com> Cc: Iliyan Malchev <ibm@android.com> Cc: San Mehat <san@android.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-